browserstack-node-sdk 1.34.9 → 1.34.11
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_0x189fd5=a1_0x3df0;(function(_0x3091c7,_0x40a822){const _0x56efef=a1_0x3df0,_0x4ce559=_0x3091c7();while(!![]){try{const _0x87eb74=-parseInt(_0x56efef(0x115))/0x1+parseInt(_0x56efef(0x123))/0x2*(parseInt(_0x56efef(0xf4))/0x3)+parseInt(_0x56efef(0x161))/0x4+parseInt(_0x56efef(0x146))/0x5+parseInt(_0x56efef(0x155))/0x6*(parseInt(_0x56efef(0xf9))/0x7)+parseInt(_0x56efef(0x104))/0x8*(-parseInt(_0x56efef(0xf0))/0x9)+-parseInt(_0x56efef(0x122))/0xa;if(_0x87eb74===_0x40a822)break;else _0x4ce559['push'](_0x4ce559['shift']());}catch(_0x80b00d){_0x4ce559['push'](_0x4ce559['shift']());}}}(a1_0x4830,0x8eb01));const fs=require('fs'),util=require(a1_0x189fd5(0x18a)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x189fd5(0x14d)),logger=require('../../helpers/logger')['winstonLogger'],testOpsHelper=require(a1_0x189fd5(0x156)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x189fd5(0x179)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x189fd5(0x164)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x189fd5(0x17c)),AccessibilityHelper=require(a1_0x189fd5(0x145)),scripts=require(a1_0x189fd5(0x119)),PerformanceTester=require(a1_0x189fd5(0x163)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x189fd5(0x136)),testHubConstants=require(a1_0x189fd5(0x11b)),CodeceptJS=requireModule(a1_0x189fd5(0x184)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule(a1_0x189fd5(0x103)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x29ef97,_0x5a9970,_0x3f7cb9)=>{const _0x229f1a=a1_0x189fd5,_0x33558c={'CDUqD':_0x229f1a(0x186),'gWpJJ':function(_0x5e7a78,_0x4bf13f){return _0x5e7a78(_0x4bf13f);}},_0x41c4d5={};_0x41c4d5['status']=_0x5a9970;const _0x2addce={};_0x2addce[_0x229f1a(0xff)]=_0x33558c[_0x229f1a(0x140)],_0x2addce[_0x229f1a(0x16d)]=_0x41c4d5;const _0x252219=_0x2addce;return!_0x33558c['gWpJJ'](isUndefined,_0x3f7cb9)&&(_0x252219[_0x229f1a(0x16d)][_0x229f1a(0x148)]=JSON[_0x229f1a(0xfd)](_0x3f7cb9)),_0x29ef97[_0x229f1a(0xf6)](()=>{},_0x229f1a(0xe9)+JSON['stringify'](_0x252219));},o11ySync=async _0x350b63=>{const _0x3281d7=a1_0x189fd5,_0xdc0222={};_0xdc0222[_0x3281d7(0x175)]=function(_0x728970,_0x3397f7){return _0x728970===_0x3397f7;},_0xdc0222[_0x3281d7(0xfa)]=_0x3281d7(0xe7);const _0x3de52f=_0xdc0222;_0x3de52f[_0x3281d7(0x175)](_0x350b63[_0x3281d7(0x157)][_0x3281d7(0x168)],_0x3de52f[_0x3281d7(0xfa)])?await _0x350b63[_0x3281d7(0xf6)](_0x9a2334=>{},testOpsHelper[_0x3281d7(0x188)]()):await _0x350b63[_0x3281d7(0xf6)](testOpsHelper[_0x3281d7(0x188)]());},markSessionName=async(_0x1a54c8,_0x4a6e64)=>{const _0x2929cd=a1_0x189fd5,_0x90f52b={};_0x90f52b[_0x2929cd(0x15d)]=_0x2929cd(0xe8),_0x90f52b[_0x2929cd(0xf5)]=function(_0x523969,_0xb942fb){return _0x523969===_0xb942fb;},_0x90f52b[_0x2929cd(0x124)]=_0x2929cd(0xe7);const _0xb1f277=_0x90f52b,_0x2a64c1={};_0x2a64c1[_0x2929cd(0x168)]=_0x4a6e64;const _0x5261f={};_0x5261f[_0x2929cd(0xff)]=_0xb1f277[_0x2929cd(0x15d)],_0x5261f[_0x2929cd(0x16d)]=_0x2a64c1;const _0x59d025=_0x5261f;_0xb1f277['anjCb'](_0x1a54c8[_0x2929cd(0x157)][_0x2929cd(0x168)],_0xb1f277[_0x2929cd(0x124)])?await _0x1a54c8['executeScript'](()=>{},_0x2929cd(0xe9)+JSON[_0x2929cd(0xfd)](_0x59d025)):await _0x1a54c8[_0x2929cd(0xf6)](_0x2929cd(0xe9)+JSON[_0x2929cd(0xfd)](_0x59d025));},patchSaveScreenshot=_0x3fb27d=>{const _0x4b60a3=a1_0x189fd5,_0x1d4cc0={'mOgoj':_0x4b60a3(0x15b),'bsCqL':_0x4b60a3(0x101),'AXIcA':function(_0x33a3e1){return _0x33a3e1();},'lepFP':function(_0x53d025,_0x4702e7){return _0x53d025(_0x4702e7);}};_0x1d4cc0[_0x4b60a3(0xfc)](isTrue,process[_0x4b60a3(0x12f)][_0x4b60a3(0xeb)])&&!_0x3fb27d[_0x4b60a3(0x13f)]&&(_0x3fb27d[_0x4b60a3(0x13f)]=!![],_0x3fb27d[_0x4b60a3(0x16b)]=_0x3fb27d[_0x4b60a3(0x121)],_0x3fb27d['saveScreenshot']=(_0x3e6682,_0x5803c6=![])=>{return new Promise(function(_0x2df036,_0x172edf){const _0x77d69c=a1_0x3df0,_0x4138a9={'cbXwt':_0x1d4cc0[_0x77d69c(0x13e)],'YJydx':_0x1d4cc0['bsCqL'],'cktki':function(_0x2405d2){const _0x814d27=_0x77d69c;return _0x1d4cc0[_0x814d27(0xf8)](_0x2405d2);}};_0x3fb27d[_0x77d69c(0x16b)](_0x3e6682,_0x5803c6)[_0x77d69c(0xee)](()=>{const _0x26bcea=_0x77d69c,_0x4eaed6=CodeceptUtils[_0x26bcea(0xec)](_0x3e6682),_0x53044f=fs[_0x26bcea(0xea)](_0x4eaed6);process[_0x26bcea(0x10c)](_0x26bcea(0x100)+process[_0x26bcea(0x17e)],{'timestamp':new Date()[_0x26bcea(0x129)](),'message':_0x53044f['toString'](_0x4138a9[_0x26bcea(0x102)]),'kind':_0x4138a9[_0x26bcea(0x112)]}),_0x4138a9[_0x26bcea(0xf7)](_0x2df036);})[_0x77d69c(0x13a)](()=>null);});});},patchWebDriverBefore=_0x2a5469=>{const _0x423f52=a1_0x189fd5,_0x334f62={'rGHRB':function(_0x1ba041){return _0x1ba041();},'jLpdD':function(_0xb5b2d3,_0x23875e){return _0xb5b2d3(_0x23875e);},'oawdo':function(_0x177c3d,_0x52637e){return _0x177c3d===_0x52637e;},'Zgemn':_0x423f52(0xef),'PIsTk':function(_0xfe32d7,_0x570618){return _0xfe32d7(_0x570618);}},_0x4cf6c0=async function(_0x1d43e0,_0x321f0e){const _0x1db284=_0x423f52;return _0x334f62['rGHRB'](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x1db284(0x135)]&&scripts[_0x1db284(0x182)](_0x1d43e0[_0x1db284(0x168)])&&_0x334f62['jLpdD'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1db284(0x10b)]=!![],logger[_0x1db284(0x11d)](_0x1db284(0x169)+_0x1d43e0[_0x1db284(0x139)]+'\x20'+_0x1d43e0[_0x1db284(0x168)]),await AccessibilityHelper[_0x1db284(0x170)](_0x2a5469,scripts[_0x1db284(0x149)])),global[_0x1db284(0x10b)]=![],_0x321f0e[_0x1db284(0x15a)](this,Array[_0x1db284(0x116)][_0x1db284(0x11a)][_0x1db284(0xfe)](arguments,0x2));},_0x2ac439=CodeceptWebDriver[_0x423f52(0x116)][_0x423f52(0xf3)];CodeceptWebDriver[_0x423f52(0x116)][_0x423f52(0xf3)]=async function(){const _0x2e1e46=_0x423f52,_0x57b805={'akDxM':function(_0x119a0a,_0x1b84ed){const _0x1108fb=a1_0x3df0;return _0x334f62[_0x1108fb(0x12c)](_0x119a0a,_0x1b84ed);},'gVUbK':_0x334f62[_0x2e1e46(0x132)]};await _0x2ac439[_0x2e1e46(0x15a)](this,arguments),scripts[_0x2e1e46(0x165)][_0x2e1e46(0x11c)](_0x29592d=>_0x29592d['name']&&_0x29592d[_0x2e1e46(0x139)])[_0x2e1e46(0x147)](_0x4b9159=>{const _0xd80ac7=_0x2e1e46;this[_0xd80ac7(0x133)]['overwriteCommand'](_0x4b9159[_0xd80ac7(0x168)],_0x4cf6c0[_0xd80ac7(0x183)](this,_0x4b9159),_0x57b805[_0xd80ac7(0x10f)](_0x4b9159['class'],_0x57b805['gVUbK']));}),_0x334f62[_0x2e1e46(0x130)](processWebDriverConfig,_0x2a5469);};},patchPlaywrightBefore=()=>{const _0x33a5f4=a1_0x189fd5;PlaywrightSessionDetails['patch']();const _0x38b5cc=CodeceptPlaywright[_0x33a5f4(0x116)]['_before'];CodeceptPlaywright['prototype'][_0x33a5f4(0xf3)]=async function(){const _0x3930c9=_0x33a5f4;this[_0x3930c9(0x14e)]=await this[_0x3930c9(0x133)]['contexts']()[0x0],await _0x38b5cc[_0x3930c9(0x15a)](this,arguments);};},getCodeceptDriver=()=>{const _0x2e3ec5=a1_0x189fd5,_0x2a9004={};_0x2a9004[_0x2e3ec5(0xf2)]=_0x2e3ec5(0x128),_0x2a9004[_0x2e3ec5(0x187)]=_0x2e3ec5(0xe7),_0x2a9004[_0x2e3ec5(0x114)]=_0x2e3ec5(0x14c),_0x2a9004['cbIwC']='TestCafe';const _0x271531=_0x2a9004,_0x48789b=[_0x271531[_0x2e3ec5(0xf2)],_0x271531[_0x2e3ec5(0x187)],_0x271531[_0x2e3ec5(0x114)],_0x271531[_0x2e3ec5(0x12a)]],_0x1bb447=_0x48789b['find'](_0x4747bb=>!!CodeceptJS[_0x2e3ec5(0x152)][_0x2e3ec5(0x15c)](_0x4747bb));if(!_0x1bb447)return null;return CodeceptJS['container']['helpers'](_0x1bb447);};function a1_0x4830(){const _0xddc690=['bs:addLog:','TEST_SCREENSHOT','cbXwt','codeceptjs/lib/helper/WebDriver.js','1901896aRnMAP','__driver','TEST_RUN_SKIPPED','kuPfg','INFO','after','kykUZ','bstackAllyScanning','emit','VoIXU','before','akDxM','format','startMonitoring','YJydx','testAnalyticsId','HIlmW','1112716KrMtmC','prototype','titlePath','MIOwH','../../helpers/accessibility-automation/scripts','slice','../../helpers/testhub/constants.js','filter','debug','addRequestSpy','hook','warn','saveScreenshot','10489860cuJLNA','266btjukd','sVbvW','TEST_RUN_STARTED','info','ENV_VAR','WebDriver','toISOString','cbIwC','Suite','oawdo','mOSdW','captureError','env','PIsTk','BROWSERSTACK_TESTHUB_JWT','Zgemn','browser','started','accessibilityPlatform','./helper.js','captureEvent','skipSessionStatus','class','catch','skipped','bddStep','getAccessibilityResults','mOgoj','patchSaveScreenshot','CDUqD','thBuildUuid','stop','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','jaNrI','../../bin/playwright/accessibility-helper','5515210dQWRpv','forEach','reason','performScan','yRNLM','TEST_RUN_FINISHED','Puppeteer','../../helpers/helper','browserContext','skipSessionName','bddStepStart','fireEvent','container','getResults','WBBwh','6VDdQoM','../../helpers/test-observability/utils','constructor','QmiKV','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','apply','base64','helpers','MWrlz','NfHOG','__workerDetails','yjofh','3862108kSjRNH','lVIzl','../../helpers/performance-tester','./o11yHelper','commandsToWrap','passed','dispatcher','name','Performing\x20scan\x20for\x20','ZKbQX','initSaveScreenshot','all','arguments','currentTest','comment','browserStackExecuteDriver','__skipSessionStatus','ZmjoI','enabled','event','xoXON','add','fOiXO','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','../../bin/playwright/sessionDetails','fowlR','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','../../helpers/accessibility-automation/helper','test','pid','ctx','exports','oviWq','shouldWrapCommand','bind','codeceptjs/lib/index.js','zgHmS','setSessionStatus','xByzU','getSyncScript','urEca','util','BROWSERSTACK_TESTHUB_UUID','sCNOC','stopMonitoring','Playwright','setSessionName','browserstack_executor:\x20','readFileSync','BS_TESTOPS_ALLOW_SCREENSHOTS','screenshotOutputFolder','title','then','Element','27pNuWPZ','HOOK_RUN_FINISHED','MnZUO','_before','21132JVpFYL','anjCb','executeScript','cktki','AXIcA','3177587nFiBpI','PNdoO','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','lepFP','stringify','call','action'];a1_0x4830=function(){return _0xddc690;};return a1_0x4830();}function a1_0x3df0(_0x374086,_0x5fecae){const _0x48306a=a1_0x4830();return a1_0x3df0=function(_0x3df09e,_0x5956d6){_0x3df09e=_0x3df09e-0xe6;let _0x2bbc93=_0x48306a[_0x3df09e];return _0x2bbc93;},a1_0x3df0(_0x374086,_0x5fecae);}module[a1_0x189fd5(0x180)]=function(_0x8163bc){const _0x4af223=a1_0x189fd5,_0x2a1cba={'urEca':_0x4af223(0xfb),'sCNOC':_0x4af223(0x178),'ZKbQX':function(_0x2e134a){return _0x2e134a();},'fowlR':function(_0x4b4323,_0x223353){return _0x4b4323(_0x223353);},'kuPfg':function(_0x1f27da,_0x495327,_0xd8c47b){return _0x1f27da(_0x495327,_0xd8c47b);},'yRNLM':function(_0x508dc1,_0x25b8a7){return _0x508dc1(_0x25b8a7);},'fOiXO':function(_0x333690){return _0x333690();},'NfHOG':function(_0xf2dc0){return _0xf2dc0();},'kykUZ':function(_0x31ccc2,_0x42bac7,_0x38fc7c,_0x577b2f){return _0x31ccc2(_0x42bac7,_0x38fc7c,_0x577b2f);},'MIOwH':function(_0x24f588,_0x2c1111,_0x5d2f13,_0x418d19){return _0x24f588(_0x2c1111,_0x5d2f13,_0x418d19);},'jaNrI':function(_0x452fb2,_0x8457f9){return _0x452fb2===_0x8457f9;},'QmiKV':_0x4af223(0x12b),'zgHmS':function(_0x484946){return _0x484946();},'yjofh':function(_0x1243d5){return _0x1243d5();},'lVIzl':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','oviWq':_0x4af223(0x108),'ZmjoI':'TEST_LOG','WBBwh':function(_0x40aee1){return _0x40aee1();},'mOSdW':_0x4af223(0xe7),'VoIXU':function(_0x3f7a3,_0x413373){return _0x3f7a3(_0x413373);}};_0x8163bc[_0x4af223(0x138)]&&(global[_0x4af223(0x171)]=_0x8163bc[_0x4af223(0x138)]);PerformanceTester[_0x4af223(0x111)]();const _0x2b490a=_0x2a1cba[_0x4af223(0x154)](getCodeceptDriver),_0x13e0b5=new O11yHelper(_0x2b490a,_0x8163bc),_0x5d0fd4=!!CodeceptJS[_0x4af223(0x152)][_0x4af223(0x15c)](_0x2a1cba[_0x4af223(0x12d)]);global[_0x4af223(0x105)]=_0x2b490a,_0x2b490a&&(_0x5d0fd4?_0x2a1cba['ZKbQX'](patchPlaywrightBefore):_0x2a1cba['VoIXU'](patchWebDriverBefore,_0x2b490a),_0x2b490a['getAccessibilityResultsSummary']=async()=>{const _0x243c03=_0x4af223;if(global[_0x243c03(0x135)])await AccessibilityHelper[_0x243c03(0x170)](_0x2b490a,scripts[_0x243c03(0x149)]),await AccessibilityHelper[_0x243c03(0x170)](_0x2b490a,scripts['getResultsSummary']);else return logger['warn'](_0x2a1cba[_0x243c03(0x189)]),{};},_0x2b490a[_0x4af223(0x13d)]=async()=>{const _0x32bdf7=_0x4af223;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x32bdf7(0x170)](_0x2b490a,scripts[_0x32bdf7(0x149)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2b490a,scripts[_0x32bdf7(0x153)]);else return logger[_0x32bdf7(0x120)](_0x2a1cba[_0x32bdf7(0x18c)]),{};},_0x2a1cba[_0x4af223(0x10d)](patchSaveScreenshot,_0x2b490a)),CodeceptJS['event'][_0x4af223(0x167)]['on'](CodeceptJS['event'][_0x4af223(0x16c)][_0x4af223(0x10e)],()=>{const _0x56e643=_0x4af223;try{_0x13e0b5['start'](),testOpsHelper[_0x56e643(0x11e)]();}catch(_0xa8e61){PerformanceTester[_0x56e643(0x12e)](_0xa8e61);}}),CodeceptJS['event'][_0x4af223(0x167)]['on'](CodeceptJS[_0x4af223(0x174)]['all'][_0x4af223(0x109)],async()=>{const _0x3e2d07=_0x4af223;try{requestSpy['restore'](),await _0x13e0b5[_0x3e2d07(0x142)]();}catch(_0x4e3fe6){PerformanceTester[_0x3e2d07(0x12e)](_0x4e3fe6);}finally{PerformanceTester[_0x3e2d07(0xe6)]();}}),CodeceptJS[_0x4af223(0x174)]['dispatcher']['on'](CodeceptJS[_0x4af223(0x174)][_0x4af223(0x11f)]['started'],_0x3afc19=>{const _0x52c1e2=_0x4af223;try{const _0x71fd92=_0x3afc19[_0x52c1e2(0x17f)][_0x52c1e2(0x17d)],_0x792366=_0x13e0b5['captureEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x71fd92);CodeceptRecorder[_0x52c1e2(0x176)](()=>_0x13e0b5[_0x52c1e2(0x151)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x792366));}catch(_0x11eddb){PerformanceTester[_0x52c1e2(0x12e)](_0x11eddb);}}),CodeceptJS[_0x4af223(0x174)][_0x4af223(0x167)]['on'](CodeceptJS[_0x4af223(0x174)][_0x4af223(0x11f)][_0x4af223(0x166)],_0x4eccf4=>{const _0x4ddd6b=_0x4af223;try{const _0x152368=_0x4eccf4[_0x4ddd6b(0x17f)][_0x4ddd6b(0x17d)],_0x1f26d7=_0x13e0b5[_0x4ddd6b(0x137)](TEST_EVENTS[_0x4ddd6b(0xf1)],_0x152368);CodeceptRecorder[_0x4ddd6b(0x176)](()=>_0x13e0b5[_0x4ddd6b(0x151)](TEST_EVENTS[_0x4ddd6b(0xf1)],_0x1f26d7));}catch(_0x115166){PerformanceTester[_0x4ddd6b(0x12e)](_0x115166);}}),CodeceptJS[_0x4af223(0x174)][_0x4af223(0x167)]['on'](CodeceptJS[_0x4af223(0x174)][_0x4af223(0x11f)]['failed'],async(_0xa9a6ef,_0x473ab8)=>{const _0x4f178d=_0x4af223;try{const _0xc0a4dc=_0xa9a6ef[_0x4f178d(0x17f)][_0x4f178d(0x17d)],_0x48b393=_0x13e0b5[_0x4f178d(0x137)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0xc0a4dc,_0x473ab8);CodeceptRecorder[_0x4f178d(0x176)](()=>_0x13e0b5['fireEvent'](TEST_EVENTS[_0x4f178d(0xf1)],_0x48b393));}catch(_0x2f8067){PerformanceTester['captureError'](_0x2f8067);}}),CodeceptJS[_0x4af223(0x174)][_0x4af223(0x167)]['on'](CodeceptJS[_0x4af223(0x174)][_0x4af223(0x17d)][_0x4af223(0x10e)],_0x255323=>{const _0x56d668=_0x4af223;try{_0x2a1cba[_0x56d668(0x16a)](isBrowserstackInfra)&&(_0x5d0fd4&&(global[_0x56d668(0x15f)]={'currentTest':{'name':_0x255323['title'],'testInfo':{'titlePath':_0x255323[_0x56d668(0x117)]()}}}));}catch(_0x3440c6){PerformanceTester[_0x56d668(0x12e)](_0x3440c6);}}),CodeceptJS[_0x4af223(0x174)]['dispatcher']['on'](CodeceptJS['event'][_0x4af223(0x17d)][_0x4af223(0x134)],_0x3631bd=>{const _0x5d446b=_0x4af223;try{const _0x1e45ba=_0x13e0b5[_0x5d446b(0x137)](TEST_EVENTS[_0x5d446b(0x125)],_0x3631bd);CodeceptRecorder[_0x5d446b(0x176)](()=>_0x13e0b5['fireEvent'](TEST_EVENTS[_0x5d446b(0x125)],_0x1e45ba)),CodeceptRecorder[_0x5d446b(0x176)](async()=>{const _0x562a97=_0x5d446b;_0x2a1cba[_0x562a97(0x16a)](isBrowserstackInfra)&&(!_0x2a1cba[_0x562a97(0x17a)](isTrue,_0x8163bc[_0x562a97(0x14f)])&&await _0x2a1cba['kuPfg'](markSessionName,_0x2b490a,_0x3631bd[_0x562a97(0xed)]),_0x13e0b5[_0x562a97(0x173)]&&await _0x2a1cba[_0x562a97(0x14a)](o11ySync,_0x2b490a));});}catch(_0x17d2b7){PerformanceTester[_0x5d446b(0x12e)](_0x17d2b7);}}),CodeceptJS[_0x4af223(0x174)][_0x4af223(0x167)]['on'](CodeceptJS[_0x4af223(0x174)][_0x4af223(0x17d)][_0x4af223(0x166)],_0x19cd95=>{const _0x2474e4=_0x4af223;try{const _0x16ddc0=_0x13e0b5[_0x2474e4(0x137)](TEST_EVENTS[_0x2474e4(0x14b)],_0x19cd95);CodeceptRecorder[_0x2474e4(0x176)](()=>_0x13e0b5[_0x2474e4(0x151)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x16ddc0)),CodeceptRecorder[_0x2474e4(0x176)](async()=>{const _0x4a4d1c=_0x2474e4;_0x2a1cba[_0x4a4d1c(0x177)](isBrowserstackInfra)&&(_0x5d0fd4?await _0x2a1cba[_0x4a4d1c(0x107)](playwrightMarkSessionStatus,_0x2b490a,STATE_PASSED):await _0x2a1cba[_0x4a4d1c(0x107)](markSessionStatus,_0x2b490a,STATE_PASSED));});}catch(_0x27333a){PerformanceTester['captureError'](_0x27333a);}}),CodeceptJS[_0x4af223(0x174)][_0x4af223(0x167)]['on'](CodeceptJS[_0x4af223(0x174)][_0x4af223(0x17d)]['failed'],(_0x34eaf4,_0x3448ae)=>{const _0x14bb87=_0x4af223;try{if(_0x2a1cba[_0x14bb87(0x144)](_0x34eaf4[_0x14bb87(0x157)][_0x14bb87(0x168)],_0x2a1cba[_0x14bb87(0x158)])){const _0x4974f8=_0x13e0b5[_0x14bb87(0x137)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x34eaf4[_0x14bb87(0x17f)][_0x14bb87(0x16e)]);CodeceptRecorder[_0x14bb87(0x176)](()=>_0x13e0b5[_0x14bb87(0x151)](TEST_EVENTS[_0x14bb87(0x106)],_0x4974f8));}else{const _0x4fa8ae=_0x13e0b5['captureEvent'](TEST_EVENTS[_0x14bb87(0x14b)],_0x34eaf4,_0x3448ae);CodeceptRecorder[_0x14bb87(0x176)](()=>{const _0x3a7a76=_0x14bb87;try{_0x13e0b5['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4fa8ae);}catch(_0x1b789b){logger[_0x3a7a76(0x11d)](_0x3a7a76(0x17b)+util[_0x3a7a76(0x110)](_0x1b789b));}}),CodeceptRecorder['add'](async()=>{const _0x5c4883=_0x14bb87;try{_0x2a1cba[_0x5c4883(0x15e)](isBrowserstackInfra)&&(_0x5d0fd4?await _0x2a1cba[_0x5c4883(0x10a)](playwrightMarkSessionStatus,_0x2b490a,STATE_FAILED,_0x3448ae):await _0x2a1cba[_0x5c4883(0x118)](markSessionStatus,_0x2b490a,STATE_FAILED,_0x3448ae));}catch(_0x1c4943){logger[_0x5c4883(0x11d)](_0x5c4883(0x143)+util[_0x5c4883(0x110)](_0x1c4943));}});}}catch(_0x422e7e){PerformanceTester[_0x14bb87(0x12e)](_0x422e7e);}}),CodeceptJS[_0x4af223(0x174)][_0x4af223(0x167)]['on'](CodeceptJS[_0x4af223(0x174)][_0x4af223(0x17d)][_0x4af223(0x13b)],_0xcb4d0f=>{const _0x379841=_0x4af223;try{const _0xa56186=_0x13e0b5['captureEvent'](TEST_EVENTS[_0x379841(0x106)],_0xcb4d0f);CodeceptRecorder[_0x379841(0x176)](()=>_0x13e0b5['fireEvent'](TEST_EVENTS[_0x379841(0x106)],_0xa56186));}catch(_0x32a3b8){PerformanceTester['captureError'](_0x32a3b8);}}),CodeceptJS[_0x4af223(0x174)]['dispatcher']['on'](CodeceptJS[_0x4af223(0x174)][_0x4af223(0x17d)]['after'],async(_0x293bc9,_0x4e619f)=>{const _0x108e4e=_0x4af223;try{if(_0x2a1cba[_0x108e4e(0x185)](isBrowserstackInfra)){const _0x4960b6=_0x2a1cba[_0x108e4e(0x107)](shouldScanTestForAccessibility,_0x293bc9[_0x108e4e(0x117)](),!![]);if(_0x2a1cba[_0x108e4e(0x160)](isAccessibilityAutomationSession)&&global[_0x108e4e(0x135)]&&_0x4960b6){const _0x1cfe27={};_0x1cfe27['thTestRunUuid']=_0x293bc9[_0x108e4e(0x113)],_0x1cfe27[_0x108e4e(0x141)]=process[_0x108e4e(0x12f)][testHubConstants[_0x108e4e(0x127)][_0x108e4e(0x18b)]],_0x1cfe27['thJwtToken']=process[_0x108e4e(0x12f)][testHubConstants[_0x108e4e(0x127)][_0x108e4e(0x131)]];const _0x52fdf0=_0x1cfe27;logger[_0x108e4e(0x11d)](_0x108e4e(0x159)+JSON['stringify'](_0x52fdf0)),CodeceptRecorder['add'](async()=>{const _0x19b179=_0x108e4e;await AccessibilityHelper['browserStackExecuteDriver'](_0x2b490a,scripts[_0x19b179(0x149)]),await AccessibilityHelper[_0x19b179(0x170)](_0x2b490a,scripts['saveTestResults'],_0x52fdf0);}),logger[_0x108e4e(0x126)](_0x2a1cba[_0x108e4e(0x162)]);}}}catch(_0x14312d){PerformanceTester[_0x108e4e(0x12e)](_0x14312d);}}),CodeceptJS[_0x4af223(0x174)]['dispatcher']['on'](CodeceptJS[_0x4af223(0x174)]['step'][_0x4af223(0x16f)],_0x5bb4eb=>{const _0x29cbd6=_0x4af223;try{process[_0x29cbd6(0x10c)](_0x29cbd6(0x100)+process[_0x29cbd6(0x17e)],{'timestamp':new Date()['toISOString'](),'level':_0x2a1cba[_0x29cbd6(0x181)],'message':_0x5bb4eb,'kind':_0x2a1cba[_0x29cbd6(0x172)],'http_response':{}});}catch(_0x1c685f){PerformanceTester[_0x29cbd6(0x12e)](_0x1c685f);}}),CodeceptJS[_0x4af223(0x174)][_0x4af223(0x167)]['on'](CodeceptJS[_0x4af223(0x174)][_0x4af223(0x13c)][_0x4af223(0x10e)],_0x334e79=>{const _0x2a2c98=_0x4af223;_0x13e0b5[_0x2a2c98(0x150)](_0x334e79);}),CodeceptJS[_0x4af223(0x174)][_0x4af223(0x167)]['on'](CodeceptJS[_0x4af223(0x174)][_0x4af223(0x13c)][_0x4af223(0x109)],_0x11c3ef=>{_0x13e0b5['bddStepFinish'](_0x11c3ef);});};
|
|
1
|
+
function a1_0x3590(){const _0xaf5570=['hAehf','apply','executeScript','browser','tTlGZ','_before','WebDriver','browserstack_executor:\x20','getSyncScript','Fevdr','step','XRAOX','then','commandsToWrap','HOOK_RUN_FINISHED','exports','./o11yHelper','forEach','Performing\x20scan\x20for\x20','getAccessibilityResults','action','saveTestResults','ctx','../../helpers/test-observability/utils','bZVDU','biaEE','readFileSync','VCwfZ','2810iIVqHC','vyHaW','AlGhE','11531685lgKxsm','gfSBY','env','browserContext','bgSmS','toISOString','lrttR','../../helpers/logger','initSaveScreenshot','arguments','ENV_VAR','Playwright','edqAb','TestCafe','browserStackExecuteDriver','GPlmq','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','setSessionStatus','container','format','869419mPYWVU','base64','after','INFO','started','all','OOZpS','TVEmI','reason','status','iKsXC','20574HrAgEl','codeceptjs/lib/helper/Playwright.js','call','QvilZ','rbzxf','passed','hQjrY','hook','patch','PgruM','slice','captureEvent','getResultsSummary','helpers','Puppeteer','captureError','bddStep','debug','failed','bstackAllyScanning','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','../../bin/playwright/sessionDetails','fireEvent','bMVZa','class','currentTest','info','getAccessibilityResultsSummary','zjDwL','nhrbL','saveScreenshot','testAnalyticsId','suNLx','bddStepStart','WsTIe','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','iGEgI','before','patchSaveScreenshot','codeceptjs/lib/recorder.js','BS_TESTOPS_ALLOW_SCREENSHOTS','../../helpers/request-spy','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','133KiNswx','PCYIU','POgBz','codeceptjs/lib/index.js','../../helpers/accessibility-automation/scripts','thTestRunUuid','HOOK_RUN_STARTED','Element','../../bin/playwright/accessibility-helper','BROWSERSTACK_TESTHUB_UUID','2155JCmxEA','302552WjIlBd','catch','bddStepFinish','TEST_RUN_STARTED','./helper.js','stringify','restore','titlePath','stopMonitoring','prototype','cNLTH','skipSessionStatus','TEST_RUN_SKIPPED','31221QQVLGR','YQqZz','UOOwO','util','YuewE','../../helpers/performance-tester','emit','3236456mZhhQy','pid','start','name','title','BROWSERSTACK_TESTHUB_JWT','overwriteCommand','thBuildUuid','event','IEqCY','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','NcaZa','performScan','TEST_RUN_FINISHED','addRequestSpy','setSessionName','constructor','add','test','accessibilityPlatform','enabled','1750020tdjUBz','dispatcher','thJwtToken','XDDcs','contexts','yNudk','hOOHj','winstonLogger','IoTOY','lyHpE','4tViavt','warn','bs:addLog:','WaDWD'];a1_0x3590=function(){return _0xaf5570;};return a1_0x3590();}function a1_0x13ce(_0x3087b2,_0x3a6f94){const _0x359049=a1_0x3590();return a1_0x13ce=function(_0x13ced5,_0x23338d){_0x13ced5=_0x13ced5-0xa0;let _0x2538e5=_0x359049[_0x13ced5];return _0x2538e5;},a1_0x13ce(_0x3087b2,_0x3a6f94);}const a1_0x265e34=a1_0x13ce;(function(_0x50e207,_0x10283c){const _0x269a9c=a1_0x13ce,_0x434de8=_0x50e207();while(!![]){try{const _0x53af43=-parseInt(_0x269a9c(0xe1))/0x1+parseInt(_0x269a9c(0x136))/0x2+parseInt(_0x269a9c(0xa0))/0x3*(-parseInt(_0x269a9c(0xaa))/0x4)+-parseInt(_0x269a9c(0x121))/0x5*(-parseInt(_0x269a9c(0xec))/0x6)+parseInt(_0x269a9c(0x117))/0x7*(-parseInt(_0x269a9c(0x122))/0x8)+parseInt(_0x269a9c(0x12f))/0x9*(parseInt(_0x269a9c(0xca))/0xa)+-parseInt(_0x269a9c(0xcd))/0xb;if(_0x53af43===_0x10283c)break;else _0x434de8['push'](_0x434de8['shift']());}catch(_0x83d8d8){_0x434de8['push'](_0x434de8['shift']());}}}(a1_0x3590,0xcfd3d));const fs=require('fs'),util=require(a1_0x265e34(0x132)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x265e34(0xd4))[a1_0x265e34(0xa7)],testOpsHelper=require(a1_0x265e34(0xc5)),requestSpy=require(a1_0x265e34(0x115)),PlaywrightSessionDetails=require(a1_0x265e34(0x101)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x265e34(0xbe)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x265e34(0x11f)),scripts=require(a1_0x265e34(0x11b)),PerformanceTester=require(a1_0x265e34(0x134)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x265e34(0x126)),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule(a1_0x265e34(0x11a)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js'),CodeceptRecorder=requireModule(a1_0x265e34(0x113)),CodeceptPlaywright=requireModule(a1_0x265e34(0xed)),playwrightMarkSessionStatus=(_0x5a4267,_0x1a21de,_0x550a5f)=>{const _0x580b4b=a1_0x265e34,_0x19bf73={'YQqZz':_0x580b4b(0xde),'cNLTH':function(_0x590830,_0x2b907e){return _0x590830(_0x2b907e);}},_0x2a9bb={};_0x2a9bb[_0x580b4b(0xea)]=_0x1a21de;const _0x27d3e={};_0x27d3e[_0x580b4b(0xc2)]=_0x19bf73[_0x580b4b(0x130)],_0x27d3e['arguments']=_0x2a9bb;const _0x5f1a4c=_0x27d3e;return!_0x19bf73[_0x580b4b(0x12c)](isUndefined,_0x550a5f)&&(_0x5f1a4c[_0x580b4b(0xd6)][_0x580b4b(0xe9)]=JSON[_0x580b4b(0x127)](_0x550a5f)),_0x5a4267[_0x580b4b(0xb0)](()=>{},_0x580b4b(0xb5)+JSON[_0x580b4b(0x127)](_0x5f1a4c));},o11ySync=async _0x571a65=>{const _0x31a6d6=a1_0x265e34,_0x2ca5b5={};_0x2ca5b5[_0x31a6d6(0x108)]=function(_0x58cc05,_0x2d0bc5){return _0x58cc05===_0x2d0bc5;},_0x2ca5b5[_0x31a6d6(0xb7)]=_0x31a6d6(0xd8);const _0xc6b5f9=_0x2ca5b5;_0xc6b5f9[_0x31a6d6(0x108)](_0x571a65[_0x31a6d6(0x146)][_0x31a6d6(0x139)],_0xc6b5f9['Fevdr'])?await _0x571a65[_0x31a6d6(0xb0)](_0x5673d2=>{},testOpsHelper[_0x31a6d6(0xb6)]()):await _0x571a65['executeScript'](testOpsHelper[_0x31a6d6(0xb6)]());},markSessionName=async(_0x43b60b,_0x2b0c95)=>{const _0xeb1d3=a1_0x265e34,_0x55f65f={};_0x55f65f['Iztln']=_0xeb1d3(0x145),_0x55f65f[_0xeb1d3(0xd9)]=function(_0x2373a1,_0x356ac8){return _0x2373a1===_0x356ac8;},_0x55f65f[_0xeb1d3(0xc9)]='Playwright';const _0x231e9a=_0x55f65f,_0x57c7bc={};_0x57c7bc[_0xeb1d3(0x139)]=_0x2b0c95;const _0x54acc2={};_0x54acc2[_0xeb1d3(0xc2)]=_0x231e9a['Iztln'],_0x54acc2[_0xeb1d3(0xd6)]=_0x57c7bc;const _0x2daabb=_0x54acc2;_0x231e9a[_0xeb1d3(0xd9)](_0x43b60b[_0xeb1d3(0x146)][_0xeb1d3(0x139)],_0x231e9a['VCwfZ'])?await _0x43b60b['executeScript'](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x2daabb)):await _0x43b60b['executeScript']('browserstack_executor:\x20'+JSON[_0xeb1d3(0x127)](_0x2daabb));},patchSaveScreenshot=_0x5b4a6d=>{const _0x31195d=a1_0x265e34,_0x56a515={'WaDWD':_0x31195d(0xe2),'TVEmI':'TEST_SCREENSHOT','Medzc':function(_0x44f05c){return _0x44f05c();},'DHfBw':function(_0x8169da,_0x392a5d){return _0x8169da(_0x392a5d);}};_0x56a515['DHfBw'](isTrue,process[_0x31195d(0xcf)][_0x31195d(0x114)])&&!_0x5b4a6d[_0x31195d(0x112)]&&(_0x5b4a6d[_0x31195d(0x112)]=!![],_0x5b4a6d[_0x31195d(0xd5)]=_0x5b4a6d[_0x31195d(0x10a)],_0x5b4a6d['saveScreenshot']=(_0x9efe37,_0x4cad6f=![])=>{const _0x1f83b8=_0x31195d,_0x55c3a4={'xyvMU':_0x56a515[_0x1f83b8(0xad)],'NcaZa':_0x56a515[_0x1f83b8(0xe8)],'YuewE':function(_0x3ed393){return _0x56a515['Medzc'](_0x3ed393);}};return new Promise(function(_0x150b11,_0x5c5bf1){const _0x369104=_0x1f83b8,_0x3bc4c0={'OOZpS':_0x55c3a4['xyvMU'],'fZNrn':_0x55c3a4[_0x369104(0x141)],'IoTOY':function(_0x236419){const _0x252410=_0x369104;return _0x55c3a4[_0x252410(0x133)](_0x236419);}};_0x5b4a6d[_0x369104(0xd5)](_0x9efe37,_0x4cad6f)[_0x369104(0xba)](()=>{const _0x50cc2f=_0x369104,_0x2f549a=CodeceptUtils['screenshotOutputFolder'](_0x9efe37),_0x335030=fs[_0x50cc2f(0xc8)](_0x2f549a);process[_0x50cc2f(0x135)]('bs:addLog:'+process[_0x50cc2f(0x137)],{'timestamp':new Date()[_0x50cc2f(0xd2)](),'message':_0x335030['toString'](_0x3bc4c0[_0x50cc2f(0xe7)]),'kind':_0x3bc4c0['fZNrn']}),_0x3bc4c0[_0x50cc2f(0xa8)](_0x150b11);})[_0x369104(0x123)](()=>null);});});},patchWebDriverBefore=_0x4bb979=>{const _0x4ed21d=a1_0x265e34,_0x764824={'gFyGu':function(_0xec5625){return _0xec5625();},'sjMaA':function(_0x214d39,_0x50876e){return _0x214d39(_0x50876e);},'vyHaW':function(_0x3be543,_0x1c7e29){return _0x3be543===_0x1c7e29;},'XRAOX':_0x4ed21d(0x11e),'PgruM':function(_0x425d89,_0x1014c5){return _0x425d89(_0x1014c5);}},_0x20f152=async function(_0x2c2025,_0x1f74fb){const _0x1d9cfa=_0x4ed21d;return _0x764824['gFyGu'](isAccessibilityAutomationSession)&&!global[_0x1d9cfa(0xff)]&&global['accessibilityPlatform']&&scripts['shouldWrapCommand'](_0x2c2025[_0x1d9cfa(0x139)])&&_0x764824['sjMaA'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1d9cfa(0xff)]=!![],logger[_0x1d9cfa(0xfd)](_0x1d9cfa(0xc0)+_0x2c2025[_0x1d9cfa(0x104)]+'\x20'+_0x2c2025[_0x1d9cfa(0x139)]),await AccessibilityHelper[_0x1d9cfa(0xdb)](_0x4bb979,scripts['performScan'])),global[_0x1d9cfa(0xff)]=![],_0x1f74fb[_0x1d9cfa(0xaf)](this,Array[_0x1d9cfa(0x12b)][_0x1d9cfa(0xf6)][_0x1d9cfa(0xee)](arguments,0x2));},_0x1d6c77=CodeceptWebDriver[_0x4ed21d(0x12b)][_0x4ed21d(0xb3)];CodeceptWebDriver[_0x4ed21d(0x12b)][_0x4ed21d(0xb3)]=async function(){const _0x4d9a15=_0x4ed21d,_0x3c4560={'WsTIe':function(_0x168b12,_0x4e6844){const _0x3c92d1=a1_0x13ce;return _0x764824[_0x3c92d1(0xcb)](_0x168b12,_0x4e6844);},'PCYIU':_0x764824[_0x4d9a15(0xb9)]};await _0x1d6c77[_0x4d9a15(0xaf)](this,arguments),scripts[_0x4d9a15(0xbb)]['filter'](_0x403e11=>_0x403e11[_0x4d9a15(0x139)]&&_0x403e11[_0x4d9a15(0x104)])[_0x4d9a15(0xbf)](_0x2fca9b=>{const _0x5974b9=_0x4d9a15;this[_0x5974b9(0xb1)][_0x5974b9(0x13c)](_0x2fca9b['name'],_0x20f152['bind'](this,_0x2fca9b),_0x3c4560[_0x5974b9(0x10e)](_0x2fca9b[_0x5974b9(0x104)],_0x3c4560[_0x5974b9(0x118)]));}),_0x764824[_0x4d9a15(0xf5)](processWebDriverConfig,_0x4bb979);};},patchPlaywrightBefore=()=>{const _0x4a806d=a1_0x265e34;PlaywrightSessionDetails[_0x4a806d(0xf4)]();const _0xfaebc2=CodeceptPlaywright[_0x4a806d(0x12b)][_0x4a806d(0xb3)];CodeceptPlaywright[_0x4a806d(0x12b)][_0x4a806d(0xb3)]=async function(){const _0x8c580a=_0x4a806d;this[_0x8c580a(0xd0)]=await this[_0x8c580a(0xb1)][_0x8c580a(0xa4)]()[0x0],await _0xfaebc2[_0x8c580a(0xaf)](this,arguments);};},getCodeceptDriver=()=>{const _0xd10b43=a1_0x265e34,_0x54c587={};_0x54c587[_0xd10b43(0xce)]=_0xd10b43(0xb4),_0x54c587[_0xd10b43(0xc7)]='Playwright',_0x54c587[_0xd10b43(0xa5)]=_0xd10b43(0xfa),_0x54c587[_0xd10b43(0x131)]=_0xd10b43(0xda);const _0x3fe5f1=_0x54c587,_0x531c2f=[_0x3fe5f1[_0xd10b43(0xce)],_0x3fe5f1['biaEE'],_0x3fe5f1[_0xd10b43(0xa5)],_0x3fe5f1[_0xd10b43(0x131)]],_0x3b58d7=_0x531c2f['find'](_0x448fc8=>!!CodeceptJS[_0xd10b43(0xdf)][_0xd10b43(0xf9)](_0x448fc8));if(!_0x3b58d7)return null;return CodeceptJS[_0xd10b43(0xdf)][_0xd10b43(0xf9)](_0x3b58d7);};module[a1_0x265e34(0xbd)]=function(_0x3c864f){const _0x355a96=a1_0x265e34,_0x2cf3ad={'lyHpE':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','IEqCY':_0x355a96(0x140),'bZVDU':function(_0x106393){return _0x106393();},'XDDcs':function(_0x9a7d9b){return _0x9a7d9b();},'iKsXC':function(_0x205991,_0x26bc04){return _0x205991(_0x26bc04);},'hOOHj':function(_0x923731,_0x13e97b,_0x4c79f6){return _0x923731(_0x13e97b,_0x4c79f6);},'iGEgI':function(_0x149d10,_0x4c1208){return _0x149d10(_0x4c1208);},'lrttR':function(_0x53aef4){return _0x53aef4();},'nhrbL':function(_0x32f76c,_0x3bb860,_0x5e167a){return _0x32f76c(_0x3bb860,_0x5e167a);},'hAehf':function(_0x17771b,_0x3791a5,_0x426f71){return _0x17771b(_0x3791a5,_0x426f71);},'hQjrY':function(_0x459efc,_0x47e71d,_0x496465,_0x352791){return _0x459efc(_0x47e71d,_0x496465,_0x352791);},'tTlGZ':function(_0x19fa79,_0x1c8c62){return _0x19fa79===_0x1c8c62;},'NpIsD':'Suite','GPlmq':function(_0x472f84,_0x3ba51d,_0x4f11b7){return _0x472f84(_0x3ba51d,_0x4f11b7);},'QvilZ':_0x355a96(0x116),'bgSmS':_0x355a96(0xe4),'POgBz':'TEST_LOG','bMVZa':function(_0x49bdb5){return _0x49bdb5();},'oHkzI':_0x355a96(0xd8),'suNLx':function(_0x460ccb){return _0x460ccb();},'rbzxf':function(_0x32bd65,_0x491e83){return _0x32bd65(_0x491e83);}};_0x3c864f['skipSessionStatus']&&(global['__skipSessionStatus']=_0x3c864f[_0x355a96(0x12d)]);PerformanceTester['startMonitoring']();const _0x10a4c4=_0x2cf3ad[_0x355a96(0x103)](getCodeceptDriver),_0x34b94a=new O11yHelper(_0x10a4c4,_0x3c864f),_0x65bcb8=!!CodeceptJS[_0x355a96(0xdf)][_0x355a96(0xf9)](_0x2cf3ad['oHkzI']);global['__driver']=_0x10a4c4,_0x10a4c4&&(_0x65bcb8?_0x2cf3ad[_0x355a96(0x10c)](patchPlaywrightBefore):_0x2cf3ad[_0x355a96(0xeb)](patchWebDriverBefore,_0x10a4c4),_0x10a4c4[_0x355a96(0x107)]=async()=>{const _0x4462db=_0x355a96;if(global[_0x4462db(0x149)])await AccessibilityHelper[_0x4462db(0xdb)](_0x10a4c4,scripts[_0x4462db(0x142)]),await AccessibilityHelper[_0x4462db(0xdb)](_0x10a4c4,scripts[_0x4462db(0xf8)]);else return logger[_0x4462db(0xab)](_0x2cf3ad[_0x4462db(0xa9)]),{};},_0x10a4c4[_0x355a96(0xc1)]=async()=>{const _0x3010ba=_0x355a96;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x10a4c4,scripts[_0x3010ba(0x142)]),await AccessibilityHelper[_0x3010ba(0xdb)](_0x10a4c4,scripts['getResults']);else return logger[_0x3010ba(0xab)](_0x2cf3ad[_0x3010ba(0x13f)]),{};},_0x2cf3ad[_0x355a96(0xf0)](patchSaveScreenshot,_0x10a4c4)),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)]['all']['before'],()=>{const _0x534fd3=_0x355a96;try{_0x34b94a[_0x534fd3(0x138)](),testOpsHelper[_0x534fd3(0x144)]();}catch(_0x1d01e7){PerformanceTester[_0x534fd3(0xfb)](_0x1d01e7);}}),CodeceptJS['event'][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xe6)][_0x355a96(0xe3)],async()=>{const _0x2eb5c4=_0x355a96;try{requestSpy[_0x2eb5c4(0x128)](),await _0x34b94a['stop']();}catch(_0x3eff0e){PerformanceTester[_0x2eb5c4(0xfb)](_0x3eff0e);}finally{PerformanceTester[_0x2eb5c4(0x12a)]();}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xf3)][_0x355a96(0xe5)],_0x4494a5=>{const _0x3fcb29=_0x355a96;try{const _0x19546f=_0x4494a5[_0x3fcb29(0xc4)]['test'],_0x5ec0fb=_0x34b94a['captureEvent'](TEST_EVENTS[_0x3fcb29(0x11d)],_0x19546f);CodeceptRecorder[_0x3fcb29(0x147)](()=>_0x34b94a[_0x3fcb29(0x102)](TEST_EVENTS[_0x3fcb29(0x11d)],_0x5ec0fb));}catch(_0x2b7593){PerformanceTester[_0x3fcb29(0xfb)](_0x2b7593);}}),CodeceptJS['event'][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xf3)][_0x355a96(0xf1)],_0x58f38a=>{const _0x59cfe6=_0x355a96;try{const _0x3f8e96=_0x58f38a[_0x59cfe6(0xc4)][_0x59cfe6(0x148)],_0x1db686=_0x34b94a[_0x59cfe6(0xf7)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3f8e96);CodeceptRecorder[_0x59cfe6(0x147)](()=>_0x34b94a[_0x59cfe6(0x102)](TEST_EVENTS[_0x59cfe6(0xbc)],_0x1db686));}catch(_0x79b1d8){PerformanceTester[_0x59cfe6(0xfb)](_0x79b1d8);}}),CodeceptJS['event'][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)]['hook'][_0x355a96(0xfe)],async(_0x31c9b8,_0x1d8c78)=>{const _0x200eee=_0x355a96;try{const _0x5ebd27=_0x31c9b8['ctx'][_0x200eee(0x148)],_0x1a96e3=_0x34b94a[_0x200eee(0xf7)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5ebd27,_0x1d8c78);CodeceptRecorder['add'](()=>_0x34b94a[_0x200eee(0x102)](TEST_EVENTS[_0x200eee(0xbc)],_0x1a96e3));}catch(_0xd30f90){PerformanceTester['captureError'](_0xd30f90);}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)]['test'][_0x355a96(0x111)],_0x464521=>{const _0x477df8=_0x355a96;try{_0x2cf3ad[_0x477df8(0xc6)](isBrowserstackInfra)&&(_0x65bcb8&&(global['__workerDetails']={'currentTest':{'name':_0x464521[_0x477df8(0x13a)],'testInfo':{'titlePath':_0x464521['titlePath']()}}}));}catch(_0x2bcace){PerformanceTester[_0x477df8(0xfb)](_0x2bcace);}}),CodeceptJS[_0x355a96(0x13e)]['dispatcher']['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0x148)][_0x355a96(0xe5)],_0x373945=>{const _0x4841db=_0x355a96;try{const _0xa4ed50=_0x34b94a['captureEvent'](TEST_EVENTS[_0x4841db(0x125)],_0x373945);CodeceptRecorder['add'](()=>_0x34b94a['fireEvent'](TEST_EVENTS[_0x4841db(0x125)],_0xa4ed50)),CodeceptRecorder[_0x4841db(0x147)](async()=>{const _0x2aff7a=_0x4841db;_0x2cf3ad[_0x2aff7a(0xa3)](isBrowserstackInfra)&&(!_0x2cf3ad[_0x2aff7a(0xeb)](isTrue,_0x3c864f['skipSessionName'])&&await _0x2cf3ad[_0x2aff7a(0xa6)](markSessionName,_0x10a4c4,_0x373945[_0x2aff7a(0x13a)]),_0x34b94a[_0x2aff7a(0x14a)]&&await _0x2cf3ad[_0x2aff7a(0x110)](o11ySync,_0x10a4c4));});}catch(_0x33b0c7){PerformanceTester[_0x4841db(0xfb)](_0x33b0c7);}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0x148)]['passed'],_0x27c905=>{const _0x4de51c=_0x355a96,_0x640cb={'TLZuI':function(_0x52fe67){const _0x40e068=a1_0x13ce;return _0x2cf3ad[_0x40e068(0xd3)](_0x52fe67);},'zeNOQ':function(_0xabca39,_0x3a8cba,_0x4df126){const _0x27f7cc=a1_0x13ce;return _0x2cf3ad[_0x27f7cc(0x109)](_0xabca39,_0x3a8cba,_0x4df126);},'AlGhE':function(_0x59acc4,_0x48ca46,_0x440473){const _0x5c1b83=a1_0x13ce;return _0x2cf3ad[_0x5c1b83(0xae)](_0x59acc4,_0x48ca46,_0x440473);}};try{const _0x45b68b=_0x34b94a[_0x4de51c(0xf7)](TEST_EVENTS[_0x4de51c(0x143)],_0x27c905);CodeceptRecorder[_0x4de51c(0x147)](()=>_0x34b94a[_0x4de51c(0x102)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x45b68b)),CodeceptRecorder['add'](async()=>{const _0x5e5306=_0x4de51c;_0x640cb['TLZuI'](isBrowserstackInfra)&&(_0x65bcb8?await _0x640cb['zeNOQ'](playwrightMarkSessionStatus,_0x10a4c4,STATE_PASSED):await _0x640cb[_0x5e5306(0xcc)](markSessionStatus,_0x10a4c4,STATE_PASSED));});}catch(_0x2d30e0){PerformanceTester[_0x4de51c(0xfb)](_0x2d30e0);}}),CodeceptJS[_0x355a96(0x13e)]['dispatcher']['on'](CodeceptJS[_0x355a96(0x13e)]['test']['failed'],(_0x4df6f9,_0x1946bc)=>{const _0x5aa128=_0x355a96;try{if(_0x2cf3ad[_0x5aa128(0xb2)](_0x4df6f9[_0x5aa128(0x146)][_0x5aa128(0x139)],_0x2cf3ad['NpIsD'])){const _0x20ce58=_0x34b94a[_0x5aa128(0xf7)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4df6f9[_0x5aa128(0xc4)][_0x5aa128(0x105)]);CodeceptRecorder['add'](()=>_0x34b94a[_0x5aa128(0x102)](TEST_EVENTS[_0x5aa128(0x12e)],_0x20ce58));}else{const _0x205f47=_0x34b94a[_0x5aa128(0xf7)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4df6f9,_0x1946bc);CodeceptRecorder[_0x5aa128(0x147)](()=>{const _0x2e3aed=_0x5aa128;try{_0x34b94a['fireEvent'](TEST_EVENTS[_0x2e3aed(0x143)],_0x205f47);}catch(_0x5c425e){logger['debug'](_0x2e3aed(0xdd)+util[_0x2e3aed(0xe0)](_0x5c425e));}}),CodeceptRecorder[_0x5aa128(0x147)](async()=>{const _0x2d3096=_0x5aa128;try{_0x2cf3ad[_0x2d3096(0xa3)](isBrowserstackInfra)&&(_0x65bcb8?await _0x2cf3ad[_0x2d3096(0xf2)](playwrightMarkSessionStatus,_0x10a4c4,STATE_FAILED,_0x1946bc):await _0x2cf3ad[_0x2d3096(0xf2)](markSessionStatus,_0x10a4c4,STATE_FAILED,_0x1946bc));}catch(_0x2d7e36){logger[_0x2d3096(0xfd)](_0x2d3096(0x100)+util[_0x2d3096(0xe0)](_0x2d7e36));}});}}catch(_0x20d344){PerformanceTester[_0x5aa128(0xfb)](_0x20d344);}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS['event'][_0x355a96(0x148)]['skipped'],_0x50fa03=>{const _0x525308=_0x355a96;try{const _0x2e5229=_0x34b94a['captureEvent'](TEST_EVENTS[_0x525308(0x12e)],_0x50fa03);CodeceptRecorder['add'](()=>_0x34b94a['fireEvent'](TEST_EVENTS[_0x525308(0x12e)],_0x2e5229));}catch(_0x1688f8){PerformanceTester['captureError'](_0x1688f8);}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)][_0x355a96(0x148)]['after'],async(_0x51aea6,_0x5ce6cb)=>{const _0x47afaf=_0x355a96;try{if(_0x2cf3ad[_0x47afaf(0xa3)](isBrowserstackInfra)){const _0x33a1ef=_0x2cf3ad[_0x47afaf(0xdc)](shouldScanTestForAccessibility,_0x51aea6[_0x47afaf(0x129)](),!![]);if(_0x2cf3ad[_0x47afaf(0xd3)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x33a1ef){const _0x4c7a70={};_0x4c7a70[_0x47afaf(0x11c)]=_0x51aea6[_0x47afaf(0x10b)],_0x4c7a70[_0x47afaf(0x13d)]=process[_0x47afaf(0xcf)][testHubConstants['ENV_VAR'][_0x47afaf(0x120)]],_0x4c7a70[_0x47afaf(0xa2)]=process['env'][testHubConstants[_0x47afaf(0xd7)][_0x47afaf(0x13b)]];const _0x1480f5=_0x4c7a70;logger[_0x47afaf(0xfd)](_0x47afaf(0x10f)+JSON[_0x47afaf(0x127)](_0x1480f5)),CodeceptRecorder[_0x47afaf(0x147)](async()=>{const _0x392ee1=_0x47afaf;await AccessibilityHelper[_0x392ee1(0xdb)](_0x10a4c4,scripts[_0x392ee1(0x142)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x10a4c4,scripts[_0x392ee1(0xc3)],_0x1480f5);}),logger[_0x47afaf(0x106)](_0x2cf3ad[_0x47afaf(0xef)]);}}}catch(_0x34e5fd){PerformanceTester[_0x47afaf(0xfb)](_0x34e5fd);}}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS['event'][_0x355a96(0xb8)]['comment'],_0x4e5cea=>{const _0x55031b=_0x355a96;try{process[_0x55031b(0x135)](_0x55031b(0xac)+process[_0x55031b(0x137)],{'timestamp':new Date()[_0x55031b(0xd2)](),'level':_0x2cf3ad[_0x55031b(0xd1)],'message':_0x4e5cea,'kind':_0x2cf3ad[_0x55031b(0x119)],'http_response':{}});}catch(_0xe2fb39){PerformanceTester['captureError'](_0xe2fb39);}}),CodeceptJS['event'][_0x355a96(0xa1)]['on'](CodeceptJS[_0x355a96(0x13e)]['bddStep']['before'],_0x3d7df7=>{const _0x51eb59=_0x355a96;_0x34b94a[_0x51eb59(0x10d)](_0x3d7df7);}),CodeceptJS[_0x355a96(0x13e)][_0x355a96(0xa1)]['on'](CodeceptJS['event'][_0x355a96(0xfc)][_0x355a96(0xe3)],_0x4f3fba=>{const _0x518ac8=_0x355a96;_0x34b94a[_0x518ac8(0x124)](_0x4f3fba);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x1aa529=a2_0x628a;function a2_0x628a(_0x12b7d8,_0x280266){const _0x3a4b3d=a2_0x3a4b();return a2_0x628a=function(_0x628a99,_0x1a94a5){_0x628a99=_0x628a99-0xa4;let _0x1cfd25=_0x3a4b3d[_0x628a99];return _0x1cfd25;},a2_0x628a(_0x12b7d8,_0x280266);}function a2_0x3a4b(){const _0x2b08b3=['--config','length','winstonLogger','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BROWSERSTACK_RERUN','codecept.conf.js','getUserWorkerCount','BROWSERSTACK_TEST_ACCESSIBILITY_YML','util','helpers','../../helpers/testhub/testhubHandler','Playwright','map','info','mXVmZ','109257GwnQoO','-cucumber','mergeDeep','15544ZkzbOx','OKzzJ','bootstrapAll','ftumS','cwd','createGroupsOfSuites','testObservability','handleApp','stop','hzLYP','now','yiDDa','BrowserStackPlugin.js','LfYAA','before','lloOV','Failed\x20:\x20','ZQBil','isTestObservabilitySession','cXYvj','push','log','nXowz','QOlpL','mumvV','971124wPNmgn','tsZGH','56230bXzPgc','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','3|0|4|1|2','slice','1176567PCFPIV','Started\x20:\x20','exports','BrowserStackPlugin','255771KdObmN','BROWSERSTACK_TEST_OBSERVABILITY_YML','require','firefox','ZKvsX','existsSync','enabled','all','teardownAll','chdir','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','../../bin/playwright/accessibility-helper','xThtx','2dQgFnQ','UaVkd','DqkOr','addConfig','spawn','fzIBK','sYNiz','validPlatformsPresent','Workers','codecept.json','chromium','addTests','event','config','result','gherkin','BChbt','accessibility','KPREZ','useW3C','fdBzH','profile','isUndefined','platforms','ImKju','Passed\x20:\x20','nGhMu','skipSessionName','browser','title','codeceptjs/lib/index.js','split','scrHh','Jtclr','iWJRg','issxd','errorMessage','playwright-chromium','browserStackCwd','FRAMEWORKS','browserName','test','BsTyX','codeceptjs','run','gaBKv','playwright-firefox','QoUuG','../../helpers/test-observability/utils','initialize','skipSessionStatus','90HSpash','finalExecution','../utils/constants','chrome','prepareCapabilities','browserWSEndpoint','forEach','process','48niibse','CODECEPT','playwright-webkit','env','testContextOptions','stack','../../helpers/logger','bEmCb','passed','BROWSERSTACK_RERUN_TESTS','trim','format','CcMcf','desiredCapabilities','toLowerCase','findIndex','../../helpers/utilities','accessibilityOptions','21555WakkeZ','getPlaywrightUrl','../../helpers/helper','tXhzs','false','dirname','null','kgtSv','join','debug','failed'];a2_0x3a4b=function(){return _0x2b08b3;};return a2_0x3a4b();}(function(_0x48a998,_0x2420be){const _0x3f92df=a2_0x628a,_0x4dd9f3=_0x48a998();while(!![]){try{const _0x1f351d=-parseInt(_0x3f92df(0xe6))/0x1+parseInt(_0x3f92df(0xfb))/0x2*(parseInt(_0x3f92df(0xc8))/0x3)+-parseInt(_0x3f92df(0x136))/0x4*(-parseInt(_0x3f92df(0xae))/0x5)+parseInt(_0x3f92df(0xe4))/0x6+parseInt(_0x3f92df(0xea))/0x7+parseInt(_0x3f92df(0xcb))/0x8+parseInt(_0x3f92df(0xee))/0x9*(-parseInt(_0x3f92df(0x12e))/0xa);if(_0x1f351d===_0x2420be)break;else _0x4dd9f3['push'](_0x4dd9f3['shift']());}catch(_0x44c7fa){_0x4dd9f3['push'](_0x4dd9f3['shift']());}}}(a2_0x3a4b,0x1a5fc));const fs=require('fs'),path=require('path'),util=require(a2_0x1aa529(0xc1)),process=require(a2_0x1aa529(0x135)),logger=require(a2_0x1aa529(0x13c))[a2_0x1aa529(0xbb)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0x1aa529(0xac)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x1aa529(0xf9)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x1aa529(0xb0)),CodeceptJS=requireModule(a2_0x1aa529(0x119)),testOpsHelper=require(a2_0x1aa529(0x12b)),TestHubHandler=require(a2_0x1aa529(0xc3)),constants=require(a2_0x1aa529(0x130)),_testErrorData=[],getUserCodeceptJSConfigs=(_0xb715f,_0x3bf17c)=>{const _0x21edb2=a2_0x1aa529,_0x5980b3={};_0x5980b3[_0x21edb2(0x11e)]=function(_0x8b6e4,_0x1a598b){return _0x8b6e4===_0x1a598b;},_0x5980b3[_0x21edb2(0x100)]=_0x21edb2(0xbe),_0x5980b3[_0x21edb2(0xe5)]=_0x21edb2(0x104);const _0x5208a=_0x5980b3;let _0x3e46ed=null;const _0x5f5c32={};let _0x52015a=_0x3bf17c[_0x21edb2(0xab)](_0x487023=>_0x487023===_0x21edb2(0xb9));_0x5208a[_0x21edb2(0x11e)](_0x52015a,-0x1)&&(_0x52015a=_0x3bf17c[_0x21edb2(0xab)](_0x37f3c2=>_0x37f3c2==='-c'));if(!helper[_0x21edb2(0x111)](_0xb715f[_0x21edb2(0x108)])&&fs[_0x21edb2(0xf3)](path[_0x21edb2(0xb6)](process[_0x21edb2(0xcf)](),_0xb715f[_0x21edb2(0x108)])))_0x3e46ed=path[_0x21edb2(0xb6)](process[_0x21edb2(0xcf)](),_0xb715f[_0x21edb2(0x108)]),_0x3bf17c['slice'](_0x52015a,0x2);else{if(!helper[_0x21edb2(0x111)](_0xb715f['c'])&&fs[_0x21edb2(0xf3)](path[_0x21edb2(0xb6)](process['cwd'](),_0xb715f['c'])))_0x3e46ed=path['join'](process['cwd'](),_0xb715f['c']),_0x3bf17c[_0x21edb2(0xe9)](_0x52015a,0x2);else{if(fs[_0x21edb2(0xf3)](path[_0x21edb2(0xb6)](process[_0x21edb2(0xcf)](),_0x5208a['fzIBK'])))_0x3e46ed=path[_0x21edb2(0xb6)](process['cwd'](),_0x5208a['fzIBK']);else fs[_0x21edb2(0xf3)](path[_0x21edb2(0xb6)](process['cwd'](),_0x5208a[_0x21edb2(0xe5)]))&&(_0x3e46ed=path[_0x21edb2(0xb6)](process[_0x21edb2(0xcf)](),_0x5208a[_0x21edb2(0xe5)]));}}return _0x3e46ed;},getO11yRerunPattern=()=>{const _0x19b439=a2_0x1aa529,_0x336540={};_0x336540[_0x19b439(0x11b)]=function(_0x26095c,_0x5dd659){return _0x26095c!==_0x5dd659;},_0x336540[_0x19b439(0x13d)]=_0x19b439(0xb4);const _0x16aeb3=_0x336540,_0x233c52=helper['isTrue'](process[_0x19b439(0x139)][_0x19b439(0xbd)]);if(_0x233c52){const _0x282f01=process[_0x19b439(0x139)][_0x19b439(0xa5)],_0x15b823=[];if(_0x16aeb3[_0x19b439(0x11b)](_0x282f01,_0x16aeb3[_0x19b439(0x13d)])&&!helper[_0x19b439(0x111)](_0x282f01)){_0x282f01[_0x19b439(0x11a)](',')[_0x19b439(0xc5)](_0x96d5fd=>{const _0x165156=_0x19b439;_0x15b823['push']('('+_0x96d5fd[_0x165156(0xa6)]()+')');});const _0x1d6980='^'+_0x15b823[_0x19b439(0xb6)]('|')+'$';return _0x1d6980;}}return null;},a2_0xd716c={};a2_0xd716c[a2_0x1aa529(0x131)]=a2_0x1aa529(0x105),a2_0xd716c[a2_0x1aa529(0x120)]=a2_0x1aa529(0x105),a2_0xd716c[a2_0x1aa529(0x129)]=a2_0x1aa529(0xf1),a2_0xd716c[a2_0x1aa529(0x138)]='webkit';const pwToCodeceptBrowser=a2_0xd716c;async function run(_0x152270,_0x4c32fa){const _0x4877c4=a2_0x1aa529,_0x487690={'OlTqK':function(_0x161b76,_0x14badf){return _0x161b76+_0x14badf;},'ZKvsX':function(_0x36852f,_0x899f72){return _0x36852f(_0x899f72);},'iWJRg':function(_0x2b8f55,_0x57b250){return _0x2b8f55+_0x57b250;},'Jtclr':function(_0x308d0f,_0x4cbad7,_0x212a37){return _0x308d0f(_0x4cbad7,_0x212a37);},'QoUuG':'config','DqkOr':'helpers','yiDDa':function(_0x174333){return _0x174333();},'gaBKv':_0x4877c4(0xdb),'xThtx':_0x4877c4(0x114),'kgtSv':_0x4877c4(0xeb),'sYNiz':_0x4877c4(0xe8),'BsTyX':_0x4877c4(0x126),'mXVmZ':function(_0x25edbd,_0xff8d4d,_0x4a06e4){return _0x25edbd(_0xff8d4d,_0x4a06e4);},'BChbt':function(_0x2a13ce,_0x53d0ac){return _0x2a13ce(_0x53d0ac);},'cXYvj':_0x4877c4(0xf8),'ftumS':_0x4877c4(0xc4),'nGhMu':'WebDriver','ImKju':function(_0x5dc722,_0x3feae6){return _0x5dc722!=_0x3feae6;},'ZQBil':_0x4877c4(0xb2),'QOlpL':function(_0x26636b,_0x3b8cf0,_0x4be027){return _0x26636b(_0x3b8cf0,_0x4be027);},'nTzoM':_0x4877c4(0x10a),'lloOV':_0x4877c4(0xc9),'OKzzJ':function(_0x6ce0ec,_0x1560dd){return _0x6ce0ec(_0x1560dd);},'MvRHQ':function(_0xaec036){return _0xaec036();},'KPREZ':function(_0x43731a,_0x3a9db0){return _0x43731a*_0x3a9db0;},'LfYAA':_0x4877c4(0x117),'tXhzs':function(_0x41c9cd,_0x25dbd7,_0x31d27e){return _0x41c9cd(_0x25dbd7,_0x31d27e);},'hzLYP':_0x4877c4(0xa9),'nXowz':'root','UaVkd':_0x4877c4(0xd7),'mumvV':_0x4877c4(0x121),'PUKKY':function(_0x4642fd){return _0x4642fd();}},_0x4fce9e=new BrowserStackSetup(_0x152270,_0x487690['BsTyX']);await _0x4fce9e[_0x4877c4(0x12c)](),await helper[_0x4877c4(0xd2)](_0x4fce9e['config']);if(!_0x4fce9e[_0x4877c4(0x108)])return;process[_0x4877c4(0x110)]=_0x152270['profile'];_0x152270[_0x4877c4(0x110)]&&(process[_0x4877c4(0x139)][_0x4877c4(0x110)]=_0x152270[_0x4877c4(0x110)]);const _0x70418e=_0x487690[_0x4877c4(0xc7)](getUserCodeceptJSConfigs,_0x152270,_0x4c32fa);let _0x28b0c2={};_0x70418e?(logger[_0x4877c4(0xc6)](_0x4877c4(0xe7)+_0x70418e),_0x28b0c2=_0x487690[_0x4877c4(0x10b)](require,_0x70418e)):logger[_0x4877c4(0xc6)](_0x487690[_0x4877c4(0xde)]);let _0x5232d2=![];_0x487690[_0x4877c4(0x11c)](nestedKeyValue,_0x28b0c2,[_0x487690[_0x4877c4(0x12a)],_0x487690[_0x4877c4(0xfd)],_0x487690[_0x4877c4(0xce)]])&&(_0x5232d2=!![]);const _0x1bd2e8=_0x5232d2?_0x487690['ftumS']:_0x487690[_0x4877c4(0x115)];let _0x5c27dd=!_0x5232d2?helper[_0x4877c4(0x10e)](_0x4fce9e[_0x4877c4(0x108)]):![];!helper[_0x4877c4(0x111)](_0x4fce9e[_0x4877c4(0x108)][_0x4877c4(0xad)])&&(process[_0x4877c4(0x139)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x4fce9e[_0x4877c4(0x108)]['accessibilityOptions']));let _0x3f986d=_0x4fce9e[_0x4877c4(0x108)][_0x4877c4(0x10c)];_0x3f986d=_0x3f986d||_0x487690[_0x4877c4(0xf2)](checkAccessibilityPlatformConfig,_0x4fce9e[_0x4877c4(0x108)]),process[_0x4877c4(0x139)][_0x4877c4(0xc0)]=_0x3f986d;_0x3f986d&&(_0x5c27dd=!_0x3f986d);_0x487690[_0x4877c4(0x113)](_0x4fce9e[_0x4877c4(0x108)][_0x4877c4(0xd1)],null)?process[_0x4877c4(0x139)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4fce9e['config'][_0x4877c4(0xd1)]:process[_0x4877c4(0x139)][_0x4877c4(0xef)]=_0x487690[_0x4877c4(0xdc)];const _0x4461f2=_0x487690[_0x4877c4(0x11d)](_0x487690[_0x4877c4(0x125)],_0x487690[_0x4877c4(0xe2)](nestedKeyValue,_0x28b0c2,[_0x487690[_0x4877c4(0x12a)],_0x487690['nTzoM']])?_0x487690[_0x4877c4(0xda)]:''),_0x368b9e=await TestHubHandler['launchBuild'](_0x4461f2,_0x4fce9e);_0x3f986d&&_0x487690[_0x4877c4(0xcc)](setAccessibilityCapabilities,_0x4fce9e['config']);const _0x53c1e9={},_0x376fcc=[],_0x127f4f=_0x4fce9e['config']['parallelsPerPlatform']||helper[_0x4877c4(0xbf)](_0x152270,_0x4c32fa,_0x4fce9e['config'],constants[_0x4877c4(0x122)][_0x4877c4(0x137)])||0x1;let _0x22b28d=0x1;if(_0x487690['MvRHQ'](isBrowserstackInfra)){const _0x51949d=helper[_0x4877c4(0x132)](_0x4fce9e[_0x4877c4(0x108)],_0x5c27dd,constants[_0x4877c4(0x122)][_0x4877c4(0x137)]);helper[_0x4877c4(0x102)](_0x4fce9e[_0x4877c4(0x108)])?_0x22b28d=_0x487690[_0x4877c4(0x10d)](_0x127f4f,_0x4fce9e[_0x4877c4(0x108)][_0x4877c4(0x112)][_0x4877c4(0xba)]):_0x22b28d=_0x127f4f,_0x51949d[_0x4877c4(0x134)](_0x577ee4=>{const _0x1783f1=_0x4877c4,_0x584a50={'CcMcf':function(_0x317818,_0x3e855a){return _0x487690['OlTqK'](_0x317818,_0x3e855a);},'fdBzH':function(_0x1f219f,_0x11870f){const _0x1f542b=a2_0x628a;return _0x487690[_0x1f542b(0xf2)](_0x1f219f,_0x11870f);}},_0x3f5986=_0x487690[_0x1783f1(0x11d)](helper['getPlatformName'](_0x577ee4,'_'),'_'+Date[_0x1783f1(0xd5)]()),_0x5622a1=((()=>{const _0x43e163=_0x1783f1;if(_0x5232d2){const _0x29fe9b=pwToCodeceptBrowser[_0x577ee4[_0x43e163(0x123)]]||_0x577ee4['browserName'];return{'browser':_0x29fe9b,[_0x29fe9b]:{'browserWSEndpoint':_0x584a50[_0x43e163(0xa8)](helper[_0x43e163(0xaf)](_0x4fce9e['config']),_0x584a50[_0x43e163(0x10f)](encodeURIComponent,JSON['stringify'](_0x577ee4)))}};}const _0x5ce410={};return _0x5ce410[_0x43e163(0xa9)]=_0x577ee4,_0x5ce410;})()),_0x468eb0=_0x487690[_0x1783f1(0x11c)](nestedKeyValue,_0x28b0c2,[_0x487690[_0x1783f1(0x12a)],_0x487690[_0x1783f1(0xfd)],_0x1bd2e8]);_0x53c1e9[_0x3f5986]=_0x468eb0?helper[_0x1783f1(0xca)](_0x5622a1,_0x468eb0):_0x5622a1,!_0x5232d2&&(_0x53c1e9[_0x3f5986][_0x1783f1(0x117)]=_0x577ee4['browserName']||_0x5622a1['browser']),_0x376fcc['push'](_0x3f5986);});}else{_0x22b28d=0x1;if(_0x5232d2){const _0x503133=_0x487690[_0x4877c4(0xc7)](nestedKeyValue,_0x28b0c2,[_0x487690['QoUuG'],_0x487690[_0x4877c4(0xfd)],_0x1bd2e8,_0x487690[_0x4877c4(0xd8)]]),_0x51a4d6=_0x487690[_0x4877c4(0xb1)](nestedKeyValue,_0x28b0c2,[_0x487690[_0x4877c4(0x12a)],_0x487690[_0x4877c4(0xfd)],_0x1bd2e8,_0x503133]);_0x51a4d6&&_0x51a4d6[_0x4877c4(0x133)]&&(_0x51a4d6['browserWSEndpoint']=helper['prepareCapabilities'](null,null,_0x4461f2['toLowerCase'](),null,null,_0x51a4d6[_0x4877c4(0x133)]));}else _0x28b0c2['config'][_0x487690[_0x4877c4(0xfd)]][_0x1bd2e8][_0x487690[_0x4877c4(0xd4)]]=helper[_0x4877c4(0x132)](null,null,_0x4461f2[_0x4877c4(0xaa)](),_0x487690[_0x4877c4(0xc7)](nestedKeyValue,_0x28b0c2,[_0x487690[_0x4877c4(0x12a)],_0x487690[_0x4877c4(0xfd)],_0x1bd2e8,_0x487690[_0x4877c4(0xd4)]]),null,null);_0x53c1e9[_0x487690[_0x4877c4(0xe1)]]=_0x28b0c2[_0x4877c4(0x108)],_0x376fcc[_0x4877c4(0xdf)](_0x487690[_0x4877c4(0xe1)]);}const _0x3cb2de={};_0x3cb2de['testConfig']=_0x70418e;const _0x10028b=_0x3cb2de,_0x5650f2=path[_0x4877c4(0xb6)](__dirname,_0x487690[_0x4877c4(0xfc)]),_0x467453=process[_0x4877c4(0xcf)]();process[_0x4877c4(0x139)][_0x487690[_0x4877c4(0xe3)]]=_0x467453,process[_0x4877c4(0xf7)](path[_0x4877c4(0xb3)](_0x70418e));const _0x487797=new CodeceptJS[(_0x4877c4(0x103))](null,_0x10028b),_0x4b9cac=_0x487797[_0x4877c4(0xd0)](_0x22b28d),_0x311774=testOpsHelper[_0x4877c4(0xdd)](),_0x5103ee=_0x376fcc[_0x4877c4(0xc5)](_0x3a92bd=>{const _0x262611=_0x4877c4,_0x17981a={};_0x17981a[_0x262611(0xc4)]=_0x53c1e9[_0x3a92bd];const _0x1b7d65={};_0x1b7d65['WebDriver']=_0x53c1e9[_0x3a92bd];const _0x3fc1f5=_0x5232d2?_0x17981a:_0x1b7d65,_0x4cb845=_0x487690[_0x262611(0xd6)](getO11yRerunPattern),_0x5686d3={};_0x5686d3[_0x262611(0xc2)]=_0x3fc1f5;const _0xe3ab1c={};_0xe3ab1c[_0x262611(0xf0)]=_0x5650f2,_0xe3ab1c[_0x262611(0xf4)]=!![],_0xe3ab1c[_0x262611(0x116)]=_0x4fce9e[_0x262611(0x108)]['testContextOptions'][_0x262611(0x116)],_0xe3ab1c[_0x262611(0x12d)]=_0x4fce9e['config'][_0x262611(0x13a)]['skipSessionStatus'],_0xe3ab1c[_0x262611(0xd1)]=_0x311774,_0xe3ab1c['frameworkName']=_0x4461f2;const _0x46133c={};_0x46133c[_0x262611(0xed)]=_0xe3ab1c;const _0x17540c={};return _0x17540c['plugins']=_0x46133c,helper['mergeDeep']({},_0x28b0c2[_0x262611(0x108)],_0x487690[_0x262611(0xd6)](isBrowserstackInfra)?_0x5686d3:{},_0x4cb845?{'grep':_0x4cb845}:{},_0x17540c);});for(const _0x288b28 of _0x5103ee){for(const _0x2f1f85 of _0x4b9cac){const _0x538e48=_0x487797[_0x4877c4(0xff)]();_0x538e48[_0x4877c4(0x106)](_0x2f1f85),_0x538e48[_0x4877c4(0xfe)](_0x288b28);}}_0x487797['on'](CodeceptJS[_0x4877c4(0x107)][_0x4877c4(0x124)][_0x4877c4(0xb8)],(_0x5d4c42,_0x362df4)=>{const _0x5c50f6=_0x4877c4;console['log'](_0x487690[_0x5c50f6(0x128)],_0x5d4c42['title']);const _0x43bfbf={[_0x5d4c42[_0x5c50f6(0x118)]]:_0x5d4c42['err'][_0x5c50f6(0x13b)]};_testErrorData['push'](_0x43bfbf);}),_0x487797['on'](CodeceptJS[_0x4877c4(0x107)]['test'][_0x4877c4(0xa4)],async _0x52a150=>{const _0x23c8cf=_0x4877c4;console['log'](_0x487690[_0x23c8cf(0xfa)],_0x52a150['title']);}),_0x487797['on'](CodeceptJS[_0x4877c4(0x107)]['test'][_0x4877c4(0xd9)],async _0x1f215d=>{const _0x58658d=_0x4877c4;console[_0x58658d(0xe0)](_0x487690[_0x58658d(0xb5)],_0x1f215d[_0x58658d(0x118)]);}),_0x487797['on'](CodeceptJS['event'][_0x4877c4(0xf5)][_0x4877c4(0x109)],async()=>{const _0x583924=_0x4877c4,_0x2e8912=_0x487690[_0x583924(0x101)]['split']('|');let _0x1f08fb=0x0;while(!![]){switch(_0x2e8912[_0x1f08fb++]){case'0':testOpsHelper['printBuildLink']();continue;case'1':try{await TestHubHandler[_0x583924(0xd3)]();}catch(_0x1dc4dc){logger[_0x583924(0xb7)](_0x583924(0xbc)+util[_0x583924(0xa7)](_0x1dc4dc));}continue;case'2':_0x487797['printResults']();continue;case'3':_0x4fce9e[_0x583924(0x11f)]=_testErrorData;continue;case'4':utilities[_0x583924(0x12f)](_0x4fce9e);continue;}break;}});async function _0xc4bf03(){const _0x14edd8=_0x4877c4;try{await _0x487797[_0x14edd8(0xcd)](),await _0x487797[_0x14edd8(0x127)]();}finally{process[_0x14edd8(0xf7)](_0x467453),await _0x487797[_0x14edd8(0xf6)]();}}_0x487690['PUKKY'](_0xc4bf03);}module[a2_0x1aa529(0xec)]=run;
|
|
2
|
+
'use strict';const a2_0x486fec=a2_0x3e44;function a2_0x1fc3(){const _0x515678=['browserName','pHuit','getUserWorkerCount','testObservability','../../helpers/logger','teardownAll','olmRF','Passed\x20:\x20','nFOvo','CkcCr','-cucumber','../../bin/playwright/accessibility-helper','event','all','ERpFq','fBDNC','92ASgPcH','slice','result','stack','browser','stop','path','cQPxQ','null','../../helpers/utilities','testContextOptions','firefox','accessibilityOptions','BrowserStackPlugin.js','require','62fDYwEp','frameworkName','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','browserStackCwd','3773085mEWBwk','8mMkFjZ','Started\x20:\x20','chdir','browserWSEndpoint','gherkin','pqncq','validPlatformsPresent','info','parallelsPerPlatform','title','cwd','Failed\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','playwright-webkit','debug','profile','vEica','existsSync','lHEQI','uIPWp','playwright-firefox','CODECEPT','prepareCapabilities','ZevWj','isUndefined','playwright-chromium','qVtww','11BHShTx','DkQrB','forEach','root','desiredCapabilities','dirname','rTkgV','config','skipSessionName','initialize','drIXt','failed','chrome','codeceptjs/lib/index.js','Workers','chromium','test','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','push','uwOwV','MhBCK','before','2168217OxSCXV','map','bootstrapAll','plugins','Playwright','pdrnU','passed','../../helpers/BrowserStackSetup','1069830rvKFFT','qQpzH','TFbQO','util','17398QAqntW','false','blHoV','BoQgE','3153388eFANsI','ZXusw','err','helpers','join','now','finalExecution','accessibility','codeceptjs','../../helpers/helper','addConfig','WebDriver','format','launchBuild','../../helpers/testhub/testhubHandler','MhSqS','getPlaywrightUrl','getPlatformName','env','BROWSERSTACK_TEST_OBSERVABILITY_YML','stringify','mergeDeep','../utils/constants','1178172TPYhQe','2|3|0|4|1','eZNYS','FRAMEWORKS','log','handleApp','printBuildLink','split','LLUpj','cSlwc','ctqIp','createGroupsOfSuites','findIndex','toLowerCase','QvlnO','31791zjeOEq','webkit','BROWSERSTACK_RERUN','useW3C','testConfig'];a2_0x1fc3=function(){return _0x515678;};return a2_0x1fc3();}(function(_0x130a68,_0x3e10c8){const _0x1ee48f=a2_0x3e44,_0x57319c=_0x130a68();while(!![]){try{const _0x20a37f=parseInt(_0x1ee48f(0x158))/0x1*(parseInt(_0x1ee48f(0x19a))/0x2)+-parseInt(_0x1ee48f(0x134))/0x3*(parseInt(_0x1ee48f(0x149))/0x4)+parseInt(_0x1ee48f(0x15c))/0x5+parseInt(_0x1ee48f(0x125))/0x6+-parseInt(_0x1ee48f(0x19e))/0x7+parseInt(_0x1ee48f(0x15d))/0x8*(-parseInt(_0x1ee48f(0x18e))/0x9)+-parseInt(_0x1ee48f(0x196))/0xa*(parseInt(_0x1ee48f(0x178))/0xb);if(_0x20a37f===_0x3e10c8)break;else _0x57319c['push'](_0x57319c['shift']());}catch(_0x68891e){_0x57319c['push'](_0x57319c['shift']());}}}(a2_0x1fc3,0x6d6ce));function a2_0x3e44(_0x28ce78,_0xa6e5f0){const _0x1fc38c=a2_0x1fc3();return a2_0x3e44=function(_0x3e442b,_0x5b29dd){_0x3e442b=_0x3e442b-0x119;let _0x5b6c87=_0x1fc38c[_0x3e442b];return _0x5b6c87;},a2_0x3e44(_0x28ce78,_0xa6e5f0);}const fs=require('fs'),path=require(a2_0x486fec(0x14f)),util=require(a2_0x486fec(0x199)),process=require('process'),logger=require(a2_0x486fec(0x13d))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x486fec(0x195)),helper=require(a2_0x486fec(0x1a7)),utilities=require(a2_0x486fec(0x152)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x486fec(0x144)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x486fec(0x1a7)),CodeceptJS=requireModule(a2_0x486fec(0x185)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x486fec(0x11c)),constants=require(a2_0x486fec(0x124)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2a50bc,_0x274b2e)=>{const _0x2f73bc=a2_0x486fec,_0xc1bcf6={};_0xc1bcf6[_0x2f73bc(0x133)]=function(_0x133327,_0x15589f){return _0x133327===_0x15589f;},_0xc1bcf6[_0x2f73bc(0x148)]='codecept.conf.js',_0xc1bcf6[_0x2f73bc(0x19d)]='codecept.json';const _0x600703=_0xc1bcf6;let _0x115002=null;const _0x59e4d9={};let _0x7ab3fc=_0x274b2e['findIndex'](_0x2c9262=>_0x2c9262==='--config');_0x600703[_0x2f73bc(0x133)](_0x7ab3fc,-0x1)&&(_0x7ab3fc=_0x274b2e[_0x2f73bc(0x131)](_0x4ff77b=>_0x4ff77b==='-c'));if(!helper[_0x2f73bc(0x175)](_0x2a50bc[_0x2f73bc(0x17f)])&&fs[_0x2f73bc(0x16e)](path['join'](process[_0x2f73bc(0x167)](),_0x2a50bc[_0x2f73bc(0x17f)])))_0x115002=path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x2a50bc[_0x2f73bc(0x17f)]),_0x274b2e[_0x2f73bc(0x14a)](_0x7ab3fc,0x2);else{if(!helper['isUndefined'](_0x2a50bc['c'])&&fs['existsSync'](path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x2a50bc['c'])))_0x115002=path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x2a50bc['c']),_0x274b2e[_0x2f73bc(0x14a)](_0x7ab3fc,0x2);else{if(fs[_0x2f73bc(0x16e)](path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x600703[_0x2f73bc(0x148)])))_0x115002=path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x600703[_0x2f73bc(0x148)]);else fs[_0x2f73bc(0x16e)](path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x600703[_0x2f73bc(0x19d)]))&&(_0x115002=path[_0x2f73bc(0x1a2)](process[_0x2f73bc(0x167)](),_0x600703['BoQgE']));}}return _0x115002;},getO11yRerunPattern=()=>{const _0x1a34d5=a2_0x486fec,_0x5d8d94={};_0x5d8d94[_0x1a34d5(0x12d)]=function(_0x497f1d,_0x348b9e){return _0x497f1d!==_0x348b9e;},_0x5d8d94['ctqIp']=_0x1a34d5(0x151);const _0x5bad39=_0x5d8d94,_0x23082c=helper['isTrue'](process['env'][_0x1a34d5(0x136)]);if(_0x23082c){const _0x366864=process[_0x1a34d5(0x120)]['BROWSERSTACK_RERUN_TESTS'],_0x1e02e8=[];if(_0x5bad39[_0x1a34d5(0x12d)](_0x366864,_0x5bad39[_0x1a34d5(0x12f)])&&!helper['isUndefined'](_0x366864)){_0x366864[_0x1a34d5(0x12c)](',')[_0x1a34d5(0x18f)](_0x194caf=>{const _0x3e29c7=_0x1a34d5;_0x1e02e8[_0x3e29c7(0x18a)]('('+_0x194caf['trim']()+')');});const _0x484635='^'+_0x1e02e8[_0x1a34d5(0x1a2)]('|')+'$';return _0x484635;}}return null;},a2_0x2d0ab9={};a2_0x2d0ab9[a2_0x486fec(0x184)]='chromium',a2_0x2d0ab9[a2_0x486fec(0x176)]=a2_0x486fec(0x187),a2_0x2d0ab9[a2_0x486fec(0x171)]=a2_0x486fec(0x154),a2_0x2d0ab9[a2_0x486fec(0x16a)]=a2_0x486fec(0x135);const pwToCodeceptBrowser=a2_0x2d0ab9;async function run(_0x5739ff,_0xa9d78d){const _0x1dce27=a2_0x486fec,_0x501451={'nFOvo':function(_0xd41e38,_0x28d9e1){return _0xd41e38+_0x28d9e1;},'MhBCK':function(_0x169340,_0x1df487){return _0x169340(_0x1df487);},'ERpFq':function(_0x3c3c80,_0x5284a6){return _0x3c3c80+_0x5284a6;},'ZevWj':function(_0x4afbac,_0x320c7c,_0x2f2d0a){return _0x4afbac(_0x320c7c,_0x2f2d0a);},'blHoV':_0x1dce27(0x17f),'TFbQO':_0x1dce27(0x1a1),'vEica':function(_0xceca0a){return _0xceca0a();},'pHuit':_0x1dce27(0x168),'uwOwV':_0x1dce27(0x140),'MhSqS':_0x1dce27(0x15e),'cQPxQ':_0x1dce27(0x126),'uIPWp':_0x1dce27(0x1a6),'rTkgV':function(_0x5b5eb6,_0x1659b6,_0x6d597){return _0x5b5eb6(_0x1659b6,_0x6d597);},'pdrnU':function(_0x2e8d6f,_0x5b43ed){return _0x2e8d6f(_0x5b43ed);},'LkXJk':_0x1dce27(0x15a),'pqncq':function(_0x57df53,_0xdc68f0,_0x466566){return _0x57df53(_0xdc68f0,_0x466566);},'ZXusw':_0x1dce27(0x192),'FvxgK':_0x1dce27(0x119),'lHEQI':function(_0xd8e82e,_0x2d7857){return _0xd8e82e!=_0x2d7857;},'drIXt':_0x1dce27(0x19b),'FHLRy':_0x1dce27(0x161),'OSATV':_0x1dce27(0x143),'cSlwc':function(_0x51aa4b,_0x209626){return _0x51aa4b(_0x209626);},'JrVPq':function(_0x1f3ba6,_0x445751){return _0x1f3ba6*_0x445751;},'olmRF':function(_0x394dc2,_0x2d11c2,_0x5fb00a){return _0x394dc2(_0x2d11c2,_0x5fb00a);},'eZNYS':_0x1dce27(0x14d),'DkQrB':'desiredCapabilities','CkcCr':_0x1dce27(0x17b),'qQpzH':_0x1dce27(0x156),'qVtww':_0x1dce27(0x15b),'Eledm':function(_0x47664a){return _0x47664a();}},_0x8eb5e5=new BrowserStackSetup(_0x5739ff,_0x501451[_0x1dce27(0x170)]);await _0x8eb5e5[_0x1dce27(0x181)](),await helper[_0x1dce27(0x12a)](_0x8eb5e5['config']);if(!_0x8eb5e5['config'])return;process[_0x1dce27(0x16c)]=_0x5739ff[_0x1dce27(0x16c)];_0x5739ff['profile']&&(process[_0x1dce27(0x120)][_0x1dce27(0x16c)]=_0x5739ff[_0x1dce27(0x16c)]);const _0x37ca25=_0x501451['rTkgV'](getUserCodeceptJSConfigs,_0x5739ff,_0xa9d78d);let _0x2ad8bb={};_0x37ca25?(logger[_0x1dce27(0x164)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x37ca25),_0x2ad8bb=_0x501451[_0x1dce27(0x193)](require,_0x37ca25)):logger['info'](_0x501451['LkXJk']);let _0x3882f6=![];_0x501451['pqncq'](nestedKeyValue,_0x2ad8bb,[_0x501451[_0x1dce27(0x19c)],_0x501451['TFbQO'],_0x501451[_0x1dce27(0x19f)]])&&(_0x3882f6=!![]);const _0x3c7573=_0x3882f6?_0x501451[_0x1dce27(0x19f)]:_0x501451['FvxgK'];let _0xb0bdae=!_0x3882f6?helper[_0x1dce27(0x137)](_0x8eb5e5[_0x1dce27(0x17f)]):![];!helper[_0x1dce27(0x175)](_0x8eb5e5['config'][_0x1dce27(0x155)])&&(process[_0x1dce27(0x120)][_0x1dce27(0x189)]=JSON[_0x1dce27(0x122)](_0x8eb5e5[_0x1dce27(0x17f)][_0x1dce27(0x155)]));let _0x173f2c=_0x8eb5e5['config'][_0x1dce27(0x1a5)];_0x173f2c=_0x173f2c||_0x501451['MhBCK'](checkAccessibilityPlatformConfig,_0x8eb5e5[_0x1dce27(0x17f)]),process['env'][_0x1dce27(0x169)]=_0x173f2c;_0x173f2c&&(_0xb0bdae=!_0x173f2c);_0x501451[_0x1dce27(0x16f)](_0x8eb5e5[_0x1dce27(0x17f)]['testObservability'],null)?process[_0x1dce27(0x120)][_0x1dce27(0x121)]=_0x8eb5e5[_0x1dce27(0x17f)]['testObservability']:process['env'][_0x1dce27(0x121)]=_0x501451[_0x1dce27(0x182)];const _0x3a35ff=_0x501451[_0x1dce27(0x141)](_0x501451[_0x1dce27(0x170)],_0x501451[_0x1dce27(0x162)](nestedKeyValue,_0x2ad8bb,[_0x501451['blHoV'],_0x501451['FHLRy']])?_0x501451['OSATV']:''),_0x171cbc=await TestHubHandler[_0x1dce27(0x11b)](_0x3a35ff,_0x8eb5e5);_0x173f2c&&_0x501451[_0x1dce27(0x12e)](setAccessibilityCapabilities,_0x8eb5e5[_0x1dce27(0x17f)]);const _0x1324d8={},_0x15639d=[],_0x4ab64e=_0x8eb5e5['config'][_0x1dce27(0x165)]||helper[_0x1dce27(0x13b)](_0x5739ff,_0xa9d78d,_0x8eb5e5['config'],constants[_0x1dce27(0x128)][_0x1dce27(0x172)])||0x1;let _0x1ee862=0x1;if(_0x501451[_0x1dce27(0x16d)](isBrowserstackInfra)){const _0x5d8c=helper[_0x1dce27(0x173)](_0x8eb5e5[_0x1dce27(0x17f)],_0xb0bdae,constants[_0x1dce27(0x128)][_0x1dce27(0x172)]);helper[_0x1dce27(0x163)](_0x8eb5e5['config'])?_0x1ee862=_0x501451['JrVPq'](_0x4ab64e,_0x8eb5e5[_0x1dce27(0x17f)]['platforms']['length']):_0x1ee862=_0x4ab64e,_0x5d8c[_0x1dce27(0x17a)](_0x3ddab5=>{const _0x345cf5=_0x1dce27,_0x5c4739=_0x501451[_0x345cf5(0x147)](helper[_0x345cf5(0x11f)](_0x3ddab5,'_'),'_'+Date[_0x345cf5(0x1a3)]()),_0x193f4c=((()=>{const _0x58185b=_0x345cf5;if(_0x3882f6){const _0x964873=pwToCodeceptBrowser[_0x3ddab5[_0x58185b(0x139)]]||_0x3ddab5[_0x58185b(0x139)];return{'browser':_0x964873,[_0x964873]:{'browserWSEndpoint':_0x501451[_0x58185b(0x141)](helper[_0x58185b(0x11e)](_0x8eb5e5[_0x58185b(0x17f)]),_0x501451[_0x58185b(0x18c)](encodeURIComponent,JSON['stringify'](_0x3ddab5)))}};}const _0x4a2f2a={};return _0x4a2f2a[_0x58185b(0x17c)]=_0x3ddab5,_0x4a2f2a;})()),_0x3e8aab=_0x501451[_0x345cf5(0x174)](nestedKeyValue,_0x2ad8bb,[_0x501451[_0x345cf5(0x19c)],_0x501451[_0x345cf5(0x198)],_0x3c7573]);_0x1324d8[_0x5c4739]=_0x3e8aab?helper[_0x345cf5(0x123)](_0x193f4c,_0x3e8aab):_0x193f4c,!_0x3882f6&&(_0x1324d8[_0x5c4739]['browser']=_0x3ddab5[_0x345cf5(0x139)]||_0x193f4c[_0x345cf5(0x14d)]),_0x15639d[_0x345cf5(0x18a)](_0x5c4739);});}else{_0x1ee862=0x1;if(_0x3882f6){const _0xb9404b=_0x501451[_0x1dce27(0x13f)](nestedKeyValue,_0x2ad8bb,[_0x501451[_0x1dce27(0x19c)],_0x501451[_0x1dce27(0x198)],_0x3c7573,_0x501451[_0x1dce27(0x127)]]),_0x3b8354=_0x501451[_0x1dce27(0x17e)](nestedKeyValue,_0x2ad8bb,[_0x501451['blHoV'],_0x501451['TFbQO'],_0x3c7573,_0xb9404b]);_0x3b8354&&_0x3b8354[_0x1dce27(0x160)]&&(_0x3b8354[_0x1dce27(0x160)]=helper[_0x1dce27(0x173)](null,null,_0x3a35ff['toLowerCase'](),null,null,_0x3b8354['browserWSEndpoint']));}else _0x2ad8bb[_0x1dce27(0x17f)][_0x501451[_0x1dce27(0x198)]][_0x3c7573][_0x501451[_0x1dce27(0x179)]]=helper[_0x1dce27(0x173)](null,null,_0x3a35ff[_0x1dce27(0x132)](),_0x501451[_0x1dce27(0x174)](nestedKeyValue,_0x2ad8bb,[_0x501451['blHoV'],_0x501451[_0x1dce27(0x198)],_0x3c7573,_0x501451[_0x1dce27(0x179)]]),null,null);_0x1324d8[_0x501451[_0x1dce27(0x142)]]=_0x2ad8bb['config'],_0x15639d['push'](_0x501451[_0x1dce27(0x142)]);}const _0x62b009={};_0x62b009[_0x1dce27(0x138)]=_0x37ca25;const _0x5191c5=_0x62b009,_0x3fc528=path[_0x1dce27(0x1a2)](__dirname,_0x501451[_0x1dce27(0x197)]),_0x5583cd=process[_0x1dce27(0x167)]();process[_0x1dce27(0x120)][_0x501451[_0x1dce27(0x177)]]=_0x5583cd,process[_0x1dce27(0x15f)](path[_0x1dce27(0x17d)](_0x37ca25));const _0x24e1f0=new CodeceptJS[(_0x1dce27(0x186))](null,_0x5191c5),_0x301bb8=_0x24e1f0[_0x1dce27(0x130)](_0x1ee862),_0x191224=testOpsHelper['isTestObservabilitySession'](),_0x4d236f=_0x15639d[_0x1dce27(0x18f)](_0x11cfbd=>{const _0x564f72=_0x1dce27,_0x11748c={};_0x11748c[_0x564f72(0x192)]=_0x1324d8[_0x11cfbd];const _0x1ce949={};_0x1ce949[_0x564f72(0x119)]=_0x1324d8[_0x11cfbd];const _0x370d82=_0x3882f6?_0x11748c:_0x1ce949,_0x35165d=_0x501451[_0x564f72(0x16d)](getO11yRerunPattern),_0x37159={};_0x37159[_0x564f72(0x1a1)]=_0x370d82;const _0xa13a92={};_0xa13a92[_0x564f72(0x157)]=_0x3fc528,_0xa13a92['enabled']=!![],_0xa13a92[_0x564f72(0x180)]=_0x8eb5e5[_0x564f72(0x17f)]['testContextOptions'][_0x564f72(0x180)],_0xa13a92['skipSessionStatus']=_0x8eb5e5[_0x564f72(0x17f)][_0x564f72(0x153)]['skipSessionStatus'],_0xa13a92[_0x564f72(0x13c)]=_0x191224,_0xa13a92[_0x564f72(0x159)]=_0x3a35ff;const _0x18c7c4={};_0x18c7c4['BrowserStackPlugin']=_0xa13a92;const _0x46cf4e={};return _0x46cf4e[_0x564f72(0x191)]=_0x18c7c4,helper[_0x564f72(0x123)]({},_0x2ad8bb[_0x564f72(0x17f)],_0x501451[_0x564f72(0x16d)](isBrowserstackInfra)?_0x37159:{},_0x35165d?{'grep':_0x35165d}:{},_0x46cf4e);});for(const _0x5edb8f of _0x4d236f){for(const _0x83cb08 of _0x301bb8){const _0x4ba3d7=_0x24e1f0['spawn']();_0x4ba3d7['addTests'](_0x83cb08),_0x4ba3d7[_0x1dce27(0x1a8)](_0x5edb8f);}}_0x24e1f0['on'](CodeceptJS['event']['test'][_0x1dce27(0x183)],(_0x28fbd2,_0x2a6283)=>{const _0x8d2511=_0x1dce27;console[_0x8d2511(0x129)](_0x501451[_0x8d2511(0x13a)],_0x28fbd2[_0x8d2511(0x166)]);const _0x54a2da={[_0x28fbd2[_0x8d2511(0x166)]]:_0x28fbd2[_0x8d2511(0x1a0)][_0x8d2511(0x14c)]};_testErrorData[_0x8d2511(0x18a)](_0x54a2da);}),_0x24e1f0['on'](CodeceptJS['event'][_0x1dce27(0x188)][_0x1dce27(0x194)],async _0x44f312=>{const _0x226839=_0x1dce27;console[_0x226839(0x129)](_0x501451[_0x226839(0x18b)],_0x44f312['title']);}),_0x24e1f0['on'](CodeceptJS['event'][_0x1dce27(0x188)][_0x1dce27(0x18d)],async _0x21a392=>{const _0x47b159=_0x1dce27;console[_0x47b159(0x129)](_0x501451[_0x47b159(0x11d)],_0x21a392['title']);}),_0x24e1f0['on'](CodeceptJS[_0x1dce27(0x145)][_0x1dce27(0x146)][_0x1dce27(0x14b)],async()=>{const _0x368544=_0x1dce27,_0x20bb01=_0x501451[_0x368544(0x150)][_0x368544(0x12c)]('|');let _0x3e45f3=0x0;while(!![]){switch(_0x20bb01[_0x3e45f3++]){case'0':utilities[_0x368544(0x1a4)](_0x8eb5e5);continue;case'1':_0x24e1f0['printResults']();continue;case'2':_0x8eb5e5['errorMessage']=_testErrorData;continue;case'3':testOpsHelper[_0x368544(0x12b)]();continue;case'4':try{await TestHubHandler[_0x368544(0x14e)]();}catch(_0x2d7efc){logger[_0x368544(0x16b)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x368544(0x11a)](_0x2d7efc));}continue;}break;}});async function _0x4d1694(){const _0x2d8a5a=_0x1dce27;try{await _0x24e1f0[_0x2d8a5a(0x190)](),await _0x24e1f0['run']();}finally{process[_0x2d8a5a(0x15f)](_0x5583cd),await _0x24e1f0[_0x2d8a5a(0x13e)]();}}_0x501451['Eledm'](_0x4d1694);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x44b54a=a3_0x4a5d;function a3_0x4a5d(_0x3f6c37,_0x370dab){const _0xda04af=a3_0xda04();return a3_0x4a5d=function(_0x4a5d9c,_0x357bbc){_0x4a5d9c=_0x4a5d9c-0x1d6;let _0x507ca0=_0xda04af[_0x4a5d9c];return _0x507ca0;},a3_0x4a5d(_0x3f6c37,_0x370dab);}function a3_0xda04(){const _0x59fd4a=['9380898gYSxev','nNinR','YzaMS','chrome','shouldPatchExecuteScript','HhGuO','eLBPH','app','winstonLogger','51582yCqwxq','browserstack','EFVRk','__cloud_provider___','SSxgz','browserName','1436132DpVcSy','automate','config','browserVersion','grfjt','ffroQ','sKqXw','../../helpers/logger','5473332rLXNey','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','DFZnG','eAOvh','browserstack_executor','caps','YIcNS','app-automate','dEPLy','ZKUpL','warn','constructor','platform','platformName','wCLKt','qQkXZ','68393ZAxpoy','DPLzd','processWebDriverConfig','../../helpers/helper','../../bin/playwright/sessionDetails','OfUzM','105JVmqOC','LBzHB','capabilities','iYihW','xxCYV','gKBGe','get','BpVyq','Ayaaw','os_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','OdEIZ','5NFkRtZ','latest','qiLdQ','NYreF','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Vdjqg','browser_version','8phAnVY','bstack:options','fetchPlatformDetails','QyHNE','browser','cloudProvider','osVersion','unknown_grid','name','WxWoO','80WovTeO','getDetails','includes','kdyoV','1353011AMFhIh','platformVersion','58198xSyHpn','accessibilityPlatform','Playwright','sessionId','721AJWjFb','Dvasl','playwright-chromium','WebDriver'];a3_0xda04=function(){return _0x59fd4a;};return a3_0xda04();}(function(_0x566109,_0xa0d1e8){const _0x4012a9=a3_0x4a5d,_0x5b1a80=_0x566109();while(!![]){try{const _0x512733=-parseInt(_0x4012a9(0x1f8))/0x1+-parseInt(_0x4012a9(0x221))/0x2*(-parseInt(_0x4012a9(0x1fe))/0x3)+-parseInt(_0x4012a9(0x1e0))/0x4*(-parseInt(_0x4012a9(0x20a))/0x5)+-parseInt(_0x4012a9(0x1da))/0x6*(-parseInt(_0x4012a9(0x225))/0x7)+parseInt(_0x4012a9(0x211))/0x8*(-parseInt(_0x4012a9(0x229))/0x9)+-parseInt(_0x4012a9(0x21b))/0xa*(parseInt(_0x4012a9(0x21f))/0xb)+parseInt(_0x4012a9(0x1e8))/0xc;if(_0x512733===_0xa0d1e8)break;else _0x5b1a80['push'](_0x5b1a80['shift']());}catch(_0x254380){_0x5b1a80['push'](_0x5b1a80['shift']());}}}(a3_0xda04,0x986f9));const {isUndefined,nestedKeyValue}=require(a3_0x44b54a(0x1fb)),logger=require(a3_0x44b54a(0x1e7))[a3_0x44b54a(0x1d9)],PlaywrightSessionDetails=require(a3_0x44b54a(0x1fc)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),getOSVersionFromCaps=_0x321a41=>{const _0xc3ea21=a3_0x44b54a,_0x2ca3d2={};_0x2ca3d2[_0xc3ea21(0x21e)]=_0xc3ea21(0x212),_0x2ca3d2['XOtCT']='platformVersion',_0x2ca3d2['DFZnG']='platform_version',_0x2ca3d2['xxCYV']=_0xc3ea21(0x217),_0x2ca3d2[_0xc3ea21(0x201)]=_0xc3ea21(0x207);const _0x42eea1=_0x2ca3d2;if(!_0x321a41)return null;const _0x331e3b=_0x321a41[_0x42eea1[_0xc3ea21(0x21e)]],_0x1b1960=[_0x42eea1['XOtCT'],_0x42eea1[_0xc3ea21(0x1ea)],_0x42eea1[_0xc3ea21(0x202)],_0x42eea1[_0xc3ea21(0x201)]];for(const _0x15ca40 of _0x1b1960){if(_0x331e3b&&_0x331e3b[_0x15ca40])return _0x331e3b[_0x15ca40];else{if(_0x321a41[_0x15ca40])return _0x321a41[_0x15ca40];}}return null;};exports[a3_0x44b54a(0x213)]=_0x2b08c0=>{const _0x5379f1=a3_0x44b54a,_0x457825={'wCLKt':_0x5379f1(0x218),'eAOvh':function(_0xeb6dfe,_0x32ae00){return _0xeb6dfe===_0x32ae00;},'LBzHB':_0x5379f1(0x228),'HhGuO':function(_0xe07a1c,_0x325a4e){return _0xe07a1c(_0x325a4e);},'Ayaaw':function(_0x2ad56d,_0x52556b,_0x935eb5){return _0x2ad56d(_0x52556b,_0x935eb5);},'qiLdQ':_0x5379f1(0x1e2),'qQkXZ':'desiredCapabilities','nNinR':_0x5379f1(0x1db),'gKBGe':'appium:app','ffroQ':_0x5379f1(0x1d8),'SSxgz':_0x5379f1(0x1ef),'OdEIZ':_0x5379f1(0x1e1),'EFVRk':_0x5379f1(0x223),'eLBPH':_0x5379f1(0x215),'DrYow':'browserWSEndpoint','OfUzM':_0x5379f1(0x1ed),'YzaMS':function(_0x27534e,_0x9a9f5f){return _0x27534e===_0x9a9f5f;}};if(!_0x2b08c0)return null;let _0x4d6327=global['__cloud_provider___']||_0x457825[_0x5379f1(0x1f6)];if(_0x457825[_0x5379f1(0x1eb)](_0x2b08c0[_0x5379f1(0x1f3)][_0x5379f1(0x219)],_0x457825[_0x5379f1(0x1ff)])){const _0x3d4568=_0x2b08c0[_0x5379f1(0x215)];if(!_0x3d4568)return null;const _0x4211ba=_0x3d4568[_0x5379f1(0x200)],_0x1a18c7=_0x457825[_0x5379f1(0x1d6)](getOSVersionFromCaps,_0x457825['Ayaaw'](nestedKeyValue,_0x2b08c0,[_0x457825[_0x5379f1(0x20c)],_0x457825[_0x5379f1(0x1f7)]]));return{[_0x4d6327]:{'browser':_0x4211ba[_0x5379f1(0x1df)],'browser_version':_0x4211ba['browserVersion'],'capabilities':_0x4211ba,'platform':_0x4211ba[_0x5379f1(0x1f5)],'platform_version':_0x4211ba[_0x5379f1(0x220)]||_0x1a18c7,'product':_0x457825[_0x5379f1(0x1eb)](global[_0x5379f1(0x1dd)],_0x457825['nNinR'])?_0x4211ba[_0x457825['gKBGe']]||_0x4211ba[_0x457825[_0x5379f1(0x1e5)]]?_0x457825[_0x5379f1(0x1de)]:_0x457825[_0x5379f1(0x209)]:null,'session_id':_0x3d4568[_0x5379f1(0x224)]}};}else{if(_0x457825[_0x5379f1(0x1eb)](_0x2b08c0[_0x5379f1(0x1f3)][_0x5379f1(0x219)],_0x457825[_0x5379f1(0x1dc)])){const _0x56e821=PlaywrightSessionDetails[_0x5379f1(0x21c)]();_0x4d6327=_0x56e821[_0x5379f1(0x216)]||_0x4d6327;const _0x134a5e=_0x457825[_0x5379f1(0x206)](nestedKeyValue,_0x2b08c0,[_0x457825[_0x5379f1(0x20c)],_0x457825[_0x5379f1(0x1d7)],_0x457825['DrYow']]),_0x2068ab=_0x134a5e?JSON['parse'](new URL(_0x134a5e)['searchParams'][_0x5379f1(0x204)](_0x457825[_0x5379f1(0x1fd)])):{};return{[_0x4d6327]:{'browser':_0x56e821[_0x5379f1(0x215)]||_0x2068ab[_0x5379f1(0x1df)],'browser_version':_0x56e821[_0x5379f1(0x210)]||_0x2068ab[_0x5379f1(0x210)],'capabilities':_0x2068ab,'platform':_0x56e821[_0x5379f1(0x1f4)],'platform_version':_0x56e821['platform_version'],'product':_0x457825[_0x5379f1(0x22b)](global[_0x5379f1(0x1dd)],_0x457825[_0x5379f1(0x22a)])?_0x2068ab[_0x457825[_0x5379f1(0x203)]]||_0x2068ab[_0x457825['ffroQ']]?_0x457825[_0x5379f1(0x1de)]:_0x457825[_0x5379f1(0x209)]:null,'session_id':_0x56e821['bsSessionId']}};}}},exports[a3_0x44b54a(0x1fa)]=_0x213f0c=>{const _0x1d0e47=a3_0x44b54a,_0x3e8f49={'dEPLy':function(_0x56e2da){return _0x56e2da();},'NYreF':function(_0x318d9b,_0x32e383){return _0x318d9b===_0x32e383;},'DPLzd':_0x1d0e47(0x20b),'qEUFQ':function(_0x6cb4b4,_0x998d6b){return _0x6cb4b4>_0x998d6b;},'Dvasl':function(_0x2078db,_0xf7dc0b){return _0x2078db(_0xf7dc0b);},'BpVyq':_0x1d0e47(0x20e),'WxWoO':_0x1d0e47(0x22c),'Vdjqg':_0x1d0e47(0x227),'QyHNE':_0x1d0e47(0x208),'YIcNS':function(_0x5e40aa,_0x462473){return _0x5e40aa(_0x462473);},'grfjt':_0x1d0e47(0x1e9)};if(_0x3e8f49[_0x1d0e47(0x1f0)](isAccessibilityAutomationSession)){const _0x3369ef=_0x213f0c[_0x1d0e47(0x215)],_0x410980=_0x3369ef[_0x1d0e47(0x200)];global[_0x1d0e47(0x222)]=!![],!(_0x3e8f49[_0x1d0e47(0x20d)](_0x410980[_0x1d0e47(0x1e3)],_0x3e8f49[_0x1d0e47(0x1f9)])||_0x3e8f49['qEUFQ'](_0x3e8f49[_0x1d0e47(0x226)](parseInt,_0x410980[_0x1d0e47(0x1e3)]),0x5e))&&(logger[_0x1d0e47(0x1f2)](_0x3e8f49[_0x1d0e47(0x205)]),global[_0x1d0e47(0x222)]=![]),!(_0x3e8f49[_0x1d0e47(0x20d)](_0x410980[_0x1d0e47(0x1df)],_0x3e8f49[_0x1d0e47(0x21a)])||_0x3e8f49['NYreF'](_0x410980['browserName'],_0x3e8f49[_0x1d0e47(0x20f)]))&&(logger[_0x1d0e47(0x1f2)](_0x3e8f49[_0x1d0e47(0x214)]),global[_0x1d0e47(0x222)]=![]),!_0x3e8f49[_0x1d0e47(0x1ee)](isUndefined,_0x410980['deviceName'])&&(logger[_0x1d0e47(0x1f2)](_0x3e8f49[_0x1d0e47(0x1e4)]),global[_0x1d0e47(0x222)]=![]);}},exports[a3_0x44b54a(0x22d)]=_0x33c003=>{const _0x25633e=a3_0x44b54a,_0x297b28={};_0x297b28[_0x25633e(0x1f1)]=_0x25633e(0x1ec),_0x297b28[_0x25633e(0x1e6)]='browserstack_accessibility_automation_script';const _0x464be5=_0x297b28;if(!_0x33c003)return![];return!_0x33c003[_0x25633e(0x21d)](_0x464be5[_0x25633e(0x1f1)])&&!_0x33c003[_0x25633e(0x21d)](_0x464be5[_0x25633e(0x1e6)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x324a59=a4_0xe1d8;function a4_0xcfb6(){const _0x21c44c=['retryOf','TEST_EVENTS','passed','TuJsR','HookRunFinished','zVayV','status','3tnlimQ','hooks','WnCtN','string','AxCjn','driver','setupBrowserDetails','patchConsoleLogger','./helper.js','ZQHBD','GymLu','browserType.js','340sUrdsD','join','errorsDetailed','mapTestHooks','err','start','nzvVU','Failed\x20to\x20parse\x20wsendpoint\x20','now','MBthU','../../helpers/testhub/utils.js','leSBb','then','testAnalyticsId','IcaaJ','__cloud_provider___','toUpperCase','HOOK_RUN_STARTED','pGbul','FguMm','exports','QZwdz','appendTestItemLog','IAUMU','aUmIf','getRootParentFile','../../helpers/test-observability/constants','UbGfo','apply','HookRunStarted','currentTest','dNlMg','uuid','koxUX','WvHEa','concat','12pXvQOU','ctx','pending','winstonLogger','O11yHelper','name','push','TEST_RUN_STARTED','failureData','Not\x20able\x20to\x20import\x20Browser','4276HTufQi','zYAHD','cKVDn','started','uPVrL','YismF','qofZn','BrowserType','meta','finished_at','util','test_run_uuid','jyhtk','PtPnq','STATE_FAILED','twAvX','Playwright','message','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','body','failed','_afterEach','event_type','frameworkName','file_name','enabled','hook_run','failure','connect','CODECEPT','prefixTestPath','match','browserstack','NpDHV','toISOString','PLAYWRIGHT_HUB_URL','Ivmae','uploadEventData','getHierarchy','getTime','connectOverCDP','SGApu','294165nMTfdJ','../../helpers/logger','file','split','replace','path','lKQWP','defineProperty','CULhq','xEZcI','stepAnalyticsId','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','forEach','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','fullTitle','PFwpf','wsEndpoint','groups','gFCNf','getHookType','Aaner','pnpnL','TEST_RUN_FINISHED','BkEmM','RVqjl','getCBTInfo','_beforeEach','QoRYq','oiPXE','pQSZM','initializeBddStep','startedAt','title','jjdFi','rkigW','failure_backtrace','ezUob','bddSteps','fCMKK','_testEnv','__platformCaps','shutdown','parent','logs','stringify','GRxBt','TbmOK','vLeRW','zIDfU','IRnLJ','includes','sep','skipped','duration','finished','EToFl','yxChb','obsBrowserTypeMockApplied','bkFwU','currentHook','395bKCgrn','accessibilityPlatform','../../helpers/helper','_afterAll','keyword','214574qJjlcF','TNpEi','eOBiB','hookAnalyticsId','dirname','../../helpers/test-observability/utils','hook_run_uuid','captureEvent','markedStatus','integrations','PathHelper','hALDe','xFwgr','mUhGK','lzqmD','bs:addLog:','9069072NmltWA','CBTSessionCreated','LZWPB','pid','wCKqc','test','failure_reason_expanded','type','PrwSw','../mocha/test-observability/mochaUtils','TestRunStarted','LogCreated','GtZKX','findGitConfig','javascript','Tvpjz','hlqYk','stop','bZujb','resetSkipTestHooks','ZGveT','length','fqHan','File\x20path\x20could\x20not\x20be\x20found','6TOwLom','cwd','JTryg','toString','../utils/constants','success','25662901BzAPLE','iOVsp','codeceptjs','\x20with\x20error\x20:\x20','lib','fmnKF','test_run','HadQs','../playwright/accessibility-helper','IwGaB','hIoJm','find','XETYj','debug','559107foRTLP','NEiNU','result','8785014UHtWKk','hook','TestRunSkipped','client','sJDsu','ZQyzl','efGxH','XfyZx','expanded','suites','_beforeAll','getHooksForTest','STATE_PASSED','UNVig','yeTEO','hook_type','toLowerCase','prototype'];a4_0xcfb6=function(){return _0x21c44c;};return a4_0xcfb6();}(function(_0x43f377,_0x848b0b){const _0x21cbaa=a4_0xe1d8,_0x4ae421=_0x43f377();while(!![]){try{const _0x2da74e=-parseInt(_0x21cbaa(0xd1))/0x1+-parseInt(_0x21cbaa(0x193))/0x2*(-parseInt(_0x21cbaa(0xed))/0x3)+parseInt(_0x21cbaa(0x127))/0x4*(parseInt(_0x21cbaa(0x18e))/0x5)+-parseInt(_0x21cbaa(0xbd))/0x6*(-parseInt(_0x21cbaa(0xd4))/0x7)+parseInt(_0x21cbaa(0x1a3))/0x8+-parseInt(_0x21cbaa(0x152))/0x9*(-parseInt(_0x21cbaa(0xf9))/0xa)+parseInt(_0x21cbaa(0xc3))/0xb*(-parseInt(_0x21cbaa(0x11d))/0xc);if(_0x2da74e===_0x848b0b)break;else _0x4ae421['push'](_0x4ae421['shift']());}catch(_0x104085){_0x4ae421['push'](_0x4ae421['shift']());}}}(a4_0xcfb6,0xc334e));function a4_0xe1d8(_0x4bd097,_0x4a738f){const _0xcfb6e0=a4_0xcfb6();return a4_0xe1d8=function(_0xe1d88b,_0x6f5518){_0xe1d88b=_0xe1d88b-0xb5;let _0x8c72b=_0xcfb6e0[_0xe1d88b];return _0x8c72b;},a4_0xe1d8(_0x4bd097,_0x4a738f);}const path=require(a4_0x324a59(0x157)),fs=require('fs'),{v4:uuidv4}=require(a4_0x324a59(0x119)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x324a59(0x190)),testOpsHelper=require(a4_0x324a59(0x198)),{getTestEnv}=require(a4_0x324a59(0x1ac)),{FRAMEWORKS}=require(a4_0x324a59(0x113)),logger=require(a4_0x324a59(0x153))[a4_0x324a59(0x120)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x324a59(0xd0)],{processAccessibilityCaps}=require(a4_0x324a59(0xcb)),Constants=require(a4_0x324a59(0xc1)),{fetchPlatformDetails}=require(a4_0x324a59(0xf5)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x324a59(0x103)),STATE_PASSED=a4_0x324a59(0xe8),STATE_FAILED=a4_0x324a59(0x13c),a4_0x3120af={};a4_0x3120af[a4_0x324a59(0x124)]=a4_0x324a59(0x1ad),a4_0x3120af[a4_0x324a59(0x168)]='TestRunFinished',a4_0x3120af['TEST_RUN_SKIPPED']=a4_0x324a59(0xd6),a4_0x3120af[a4_0x324a59(0x10a)]=a4_0x324a59(0x116),a4_0x3120af['HOOK_RUN_FINISHED']=a4_0x324a59(0xea);const TEST_EVENTS=a4_0x3120af,parseEvent=_0x50c977=>{const _0x4db412=a4_0x324a59,_0x515182={};_0x515182[_0x4db412(0x136)]=function(_0x36af27,_0x534f35){return _0x36af27<_0x534f35;},_0x515182[_0x4db412(0xf7)]=function(_0x50f4f8,_0x5e4c20){return _0x50f4f8===_0x5e4c20;},_0x515182[_0x4db412(0x12c)]=_0x4db412(0x1a8),_0x515182[_0x4db412(0x1a1)]=_0x4db412(0xd5),_0x515182[_0x4db412(0x133)]=function(_0x20beb3,_0x1ccc91){return _0x20beb3===_0x1ccc91;},_0x515182['HadQs']=_0x4db412(0x186),_0x515182[_0x4db412(0x180)]=function(_0x1a5103,_0x5d76d5){return _0x1a5103===_0x5d76d5;},_0x515182['IcaaJ']='started',_0x515182[_0x4db412(0x1af)]=function(_0x2460bf,_0x1e07a8){return _0x2460bf===_0x1e07a8;},_0x515182[_0x4db412(0xc8)]=_0x4db412(0x188);const _0x450b10=_0x515182,_0x51d0b9=_0x50c977[_0x4db412(0x147)](/^(.*)Run(.*)$/);if(!_0x51d0b9)return null;if(_0x450b10['twAvX'](_0x51d0b9[_0x4db412(0xba)],0x3))return null;const _0x1026f9=_0x51d0b9[0x1][_0x4db412(0xe4)](),_0x51d7e0=_0x51d0b9[0x2][_0x4db412(0xe4)]();return{'test':_0x450b10[_0x4db412(0xf7)](_0x1026f9,_0x450b10[_0x4db412(0x12c)]),'hook':_0x450b10[_0x4db412(0xf7)](_0x1026f9,_0x450b10[_0x4db412(0x1a1)]),'skipped':_0x450b10[_0x4db412(0x133)](_0x51d7e0,_0x450b10[_0x4db412(0xca)]),'started':_0x450b10['TbmOK'](_0x51d7e0,_0x450b10[_0x4db412(0x107)]),'finished':_0x450b10[_0x4db412(0x1af)](_0x51d7e0,_0x450b10[_0x4db412(0xc8)])};},mockPWBrowserType=_0x2fbcdb=>{const _0x8e4361=a4_0x324a59,_0x836e1e={'mUhGK':function(_0x2eb1f5,_0x2b74f7,_0x45929e){return _0x2eb1f5(_0x2b74f7,_0x45929e);},'fCMKK':_0x8e4361(0x162),'TuJsR':function(_0x19d7c3,_0x326de4){return _0x19d7c3(_0x326de4);},'uPVrL':_0x8e4361(0x148),'PtPnq':function(_0x36cc57,_0x229a5f){return _0x36cc57===_0x229a5f;},'iOVsp':_0x8e4361(0xf0),'bjxsQ':_0x8e4361(0xc7),'vLeRW':_0x8e4361(0xd7),'eOBiB':_0x8e4361(0xf8),'xFwgr':function(_0x38eeae,_0x22d19b){return _0x38eeae(_0x22d19b);},'ZQHBD':function(_0x470d8c,_0x592afd){return _0x470d8c(_0x592afd);},'wCKqc':_0x8e4361(0x126),'SAUNm':'connect','BFKnA':'launch'},_0x31fb03=path[_0x8e4361(0xfa)](_0x836e1e['bjxsQ'],_0x836e1e[_0x8e4361(0x181)],_0x836e1e[_0x8e4361(0x195)]),_0x5f30a6=_0x836e1e[_0x8e4361(0x19f)](importFileFromPWCore,_0x31fb03);if(!_0x5f30a6){_0x836e1e[_0x8e4361(0xf6)](debug,_0x836e1e[_0x8e4361(0x1a7)]);return;}const _0x1a061d=_0x5f30a6[_0x8e4361(0x12e)],_0x2f3ca5=_0x1a061d[_0x8e4361(0xe5)];if(_0x2f3ca5[_0x8e4361(0x18b)])return;const _0x4e2c47=_0x2f3ca5[_0x8e4361(0x144)];Object[_0x8e4361(0x159)](_0x2f3ca5,_0x836e1e['SAUNm'],{'get':function(){const _0x2ae8d5=_0x8e4361,_0x3f736a={'yxChb':function(_0x1c282b,_0x2e1304){const _0x874745=a4_0xe1d8;return _0x836e1e[_0x874745(0x134)](_0x1c282b,_0x2e1304);},'NEiNU':_0x836e1e[_0x2ae8d5(0xc4)]};return async function _0x43e9c0(_0x35cfdc,_0x59cd75){const _0x57b56d=_0x2ae8d5,_0x288794=_0x836e1e[_0x57b56d(0x1a0)](nestedKeyValue,_0x35cfdc,[_0x836e1e[_0x57b56d(0x178)]])||_0x35cfdc;let _0x1336e6=null,_0x3111b3=null;try{[_0x3111b3,_0x1336e6]=_0x288794?_0x836e1e[_0x57b56d(0xe9)](parseWSEndpoint,_0x288794):[null,null],global[_0x57b56d(0x17a)]=_0x1336e6,_0x3111b3[_0x57b56d(0x184)](_0x836e1e[_0x57b56d(0x12b)])&&(global[_0x57b56d(0x108)]=_0x836e1e[_0x57b56d(0x12b)]);}catch(_0x225beb){logger['debug'](_0x57b56d(0x100)+_0x288794+'\x20'+_0x225beb);}_0x836e1e[_0x57b56d(0x1a0)](processAccessibilityCaps,_0x1336e6,_0x3111b3);if(global[_0x57b56d(0x18f)]){const _0x3015df=await _0x2f3ca5[_0x57b56d(0x150)][_0x57b56d(0x115)](this,[''+Constants[_0x57b56d(0x14b)]+_0x836e1e[_0x57b56d(0xe9)](encodeURIComponent,JSON[_0x57b56d(0x17e)](_0x1336e6))]);return PlaywrightSessionDetails[_0x57b56d(0xf3)](_0x3015df,_0x2fbcdb,_0x288794),_0x3015df;}return _0x4e2c47['apply'](this,arguments)['then'](_0x35bb50=>{const _0x418312=_0x57b56d;let _0x58e5eb=_0x35cfdc['wsEndpoint'];return _0x3f736a[_0x418312(0x18a)](typeof _0x35cfdc,_0x3f736a[_0x418312(0xd2)])&&(_0x58e5eb=_0x35cfdc),PlaywrightSessionDetails['setupBrowserDetails'](_0x35bb50,_0x2fbcdb,_0x58e5eb),_0x35bb50;});};}});const _0x10b3f7=_0x2f3ca5['launch'];Object['defineProperty'](_0x2f3ca5,_0x836e1e['BFKnA'],{'get':function(){return async function _0x4baaea(){const _0x3ebaee=a4_0xe1d8;return _0x10b3f7[_0x3ebaee(0x115)](this,arguments)[_0x3ebaee(0x105)](_0xf6bb40=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0xf6bb40,null),_0xf6bb40;});};}});};class O11yHelper{['currentTest']=null;[a4_0x324a59(0x18d)]=null;['enabled']=![];[a4_0x324a59(0x13f)]=![];constructor(_0x567182,_0xc25527){const _0x52c894=a4_0x324a59,_0x56e2e={'bkFwU':'4|2|1|0|5|3','UbGfo':function(_0x491d44){return _0x491d44();},'Ivmae':function(_0x1e4cdf,_0x4fd3bd){return _0x1e4cdf===_0x4fd3bd;},'IwGaB':_0x52c894(0x137),'hlqYk':function(_0x284fc8,_0x5e01a1){return _0x284fc8(_0x5e01a1);},'KwxGu':function(_0x1d548f){return _0x1d548f();}},_0x10d94c=_0x56e2e[_0x52c894(0x18c)][_0x52c894(0x155)]('|');let _0x1cf861=0x0;while(!![]){switch(_0x10d94c[_0x1cf861++]){case'0':this[_0x52c894(0x179)]=_0x56e2e[_0x52c894(0x114)](getTestEnv);continue;case'1':this[_0x52c894(0xf2)]=_0x567182;continue;case'2':this[_0x52c894(0x13f)]=_0xc25527[_0x52c894(0x13f)];continue;case'3':this['driver']&&_0x56e2e[_0x52c894(0x14c)](this[_0x52c894(0xf2)]['constructor'][_0x52c894(0x122)],_0x56e2e[_0x52c894(0xcc)])&&_0x56e2e[_0x52c894(0xb5)](mockPWBrowserType,null);continue;case'4':this['enabled']=_0x56e2e['KwxGu'](shouldProcessEventForTesthub);continue;case'5':this['_paths']=new testOpsHelper[(_0x52c894(0x19d))]({'cwd':process[_0x52c894(0xbe)]()},this[_0x52c894(0x179)]['location_prefix']);continue;}break;}}[a4_0x324a59(0xfe)](){const _0x14bf81=a4_0x324a59;if(!this[_0x14bf81(0x141)])return;testOpsHelper[_0x14bf81(0xf4)](),process['removeAllListeners']('bs:addLog:'+process[_0x14bf81(0x1a6)]),process['on'](_0x14bf81(0x1a2)+process[_0x14bf81(0x1a6)],this['appendTestItemLog']['bind'](this));}async[a4_0x324a59(0xb6)](){const _0x18c6f8=a4_0x324a59;await RequestQueueHandler['getInstance']()[_0x18c6f8(0x17b)]();}async[a4_0x324a59(0x10f)](_0x402b45){const _0x370158=a4_0x324a59,_0x314f72={'oiPXE':_0x370158(0x1ae),'QoRYq':function(_0x2ac114,_0x348d57){return _0x2ac114(_0x348d57);}};try{this[_0x370158(0x18d)]&&!this[_0x370158(0x18d)][_0x370158(0x19b)]&&(_0x402b45[_0x370158(0x199)]=this[_0x370158(0x18d)][_0x370158(0x196)]);!_0x402b45[_0x370158(0x199)]&&this[_0x370158(0x117)]&&!this[_0x370158(0x117)]['markedStatus']&&(_0x402b45[_0x370158(0x132)]=this[_0x370158(0x117)][_0x370158(0x106)]);if(_0x402b45[_0x370158(0x199)]||_0x402b45['test_run_uuid']){const _0x23786d={};_0x23786d[_0x370158(0x13e)]=_0x314f72[_0x370158(0x16e)],_0x23786d[_0x370158(0x17d)]=[_0x402b45],await SessionHandler[_0x370158(0x14d)](_0x23786d);}}catch(_0x4c09c2){_0x314f72[_0x370158(0x16d)](debug,_0x370158(0x15d)+_0x4c09c2);}}async['sendCBTInfo'](_0x534870){const _0x4585a4=a4_0x324a59,_0x239f72={'ZGveT':_0x4585a4(0x1a4),'RVqjl':function(_0x3121e3,_0x3d06f5){return _0x3121e3(_0x3d06f5);}};if(!this[_0x4585a4(0x141)])return;const _0x3404e3=this[_0x4585a4(0x16b)](this[_0x4585a4(0xf2)]);try{const _0x44ca89={};_0x44ca89['uuid']=_0x534870,_0x44ca89[_0x4585a4(0x19c)]=_0x3404e3;const _0x678bdc=_0x44ca89,_0x5baae0={};_0x5baae0[_0x4585a4(0x13e)]=_0x239f72[_0x4585a4(0xb9)],_0x5baae0[_0x4585a4(0xc9)]=_0x678bdc,await SessionHandler[_0x4585a4(0x14d)](_0x5baae0);}catch(_0x743602){_0x239f72[_0x4585a4(0x16a)](debug,_0x4585a4(0x13a)+_0x743602);}}[a4_0x324a59(0x16b)](_0x2f9cd6){const _0x318ec1=a4_0x324a59,_0x2e06a2={'WnCtN':function(_0x37ff4a,_0x2a20b7){return _0x37ff4a(_0x2a20b7);}};return _0x2e06a2[_0x318ec1(0xef)](fetchPlatformDetails,_0x2f9cd6);}[a4_0x324a59(0xb8)]=_0x5f50da=>{const _0x5e97a8=a4_0x324a59,_0x173820={};_0x173820[_0x5e97a8(0x16f)]=_0x5e97a8(0x16c),_0x173820['tUBtI']='_afterEach';const _0x2f7fef=_0x173820;if(!_0x5f50da||!_0x5f50da[_0x5e97a8(0x17c)])return;[_0x2f7fef['pQSZM'],_0x2f7fef['tUBtI']]['forEach'](_0x3b72fe=>{const _0x38d865=_0x5e97a8,_0xc255f7=_0x5f50da[_0x38d865(0x17c)][_0x3b72fe];_0xc255f7[_0x38d865(0x15e)](_0x195fdb=>{const _0x55fb63=_0x38d865;_0x195fdb[_0x55fb63(0x196)]&&(_0x195fdb[_0x55fb63(0x196)]=null);});});};[a4_0x324a59(0xfc)](_0x3746f8){const _0x17eb48=a4_0x324a59,_0x3ae48a={'EToFl':_0x17eb48(0xc5),'TNpEi':function(_0x20d3ea){return _0x20d3ea();},'uqvQA':function(_0x496a4a,_0xbcff3f){return _0x496a4a===_0xbcff3f;},'zYAHD':_0x17eb48(0x13d),'rgCBq':function(_0x3905d8){return _0x3905d8();},'FguMm':_0x17eb48(0xde),'ZQyzl':_0x17eb48(0x191),'AxCjn':'_beforeEach'};if(!_0x3746f8||!_0x3746f8[_0x17eb48(0x17c)])return;[_0x3ae48a[_0x17eb48(0x10c)],_0x3ae48a[_0x17eb48(0xd9)],_0x3ae48a[_0x17eb48(0xf1)],_0x3ae48a[_0x17eb48(0x128)]]['forEach'](_0x1b55a3=>{const _0x5c2b0f=_0x17eb48,_0x1fb50b={'XETYj':_0x3ae48a[_0x5c2b0f(0x189)],'aUmIf':function(_0x10377d){const _0x435566=_0x5c2b0f;return _0x3ae48a[_0x435566(0x194)](_0x10377d);},'lKQWP':function(_0x40a956,_0x296087){return _0x3ae48a['uqvQA'](_0x40a956,_0x296087);},'dNlMg':_0x3ae48a[_0x5c2b0f(0x128)],'SGApu':function(_0xebe3da){return _0x3ae48a['rgCBq'](_0xebe3da);}},_0x39cc85=_0x3746f8[_0x5c2b0f(0x17c)][_0x1b55a3]||[];_0x39cc85[_0x5c2b0f(0x15e)](_0x4b4577=>{const _0x3babd4=_0x5c2b0f;if(_0x4b4577[_0x3babd4(0x172)][_0x3babd4(0x184)](_0x1fb50b[_0x3babd4(0xcf)]))return;if(!_0x4b4577['hookAnalyticsId'])_0x4b4577[_0x3babd4(0x196)]=_0x1fb50b[_0x3babd4(0x111)](uuidv4);else _0x4b4577[_0x3babd4(0x19b)]&&_0x1fb50b[_0x3babd4(0x158)](_0x1b55a3,_0x1fb50b[_0x3babd4(0x118)])&&(_0x4b4577[_0x3babd4(0x196)]=_0x1fb50b[_0x3babd4(0x151)](uuidv4),delete _0x4b4577[_0x3babd4(0x19b)]);});}),this[_0x17eb48(0xfc)](_0x3746f8[_0x17eb48(0x17c)]);}[a4_0x324a59(0xdf)](_0x1a3503){const _0x1e9adb=a4_0x324a59,_0xf490de={};_0xf490de[_0x1e9adb(0xbb)]=_0x1e9adb(0xde),_0xf490de[_0x1e9adb(0xd8)]=_0x1e9adb(0x191),_0xf490de[_0x1e9adb(0x102)]=_0x1e9adb(0x16c),_0xf490de[_0x1e9adb(0xe2)]=_0x1e9adb(0x13d);const _0x23ce11=_0xf490de;if(!_0x1a3503||!_0x1a3503[_0x1e9adb(0x17c)])return[];const _0x27034b=[];return[_0x23ce11['fqHan'],_0x23ce11[_0x1e9adb(0xd8)],_0x23ce11[_0x1e9adb(0x102)],_0x23ce11['yeTEO']][_0x1e9adb(0x15e)](_0x23781f=>{const _0x106720=_0x1e9adb,_0x41d601=_0x1a3503[_0x106720(0x17c)][_0x23781f]||[];_0x41d601[_0x106720(0x15e)](_0x30dbff=>{const _0x4360ff=_0x106720;_0x30dbff[_0x4360ff(0x196)]&&_0x27034b[_0x4360ff(0x123)](_0x30dbff['hookAnalyticsId']);});}),[][_0x1e9adb(0x11c)](_0x27034b,this[_0x1e9adb(0xdf)](_0x1a3503[_0x1e9adb(0x17c)]));}['getHookType'](_0x25980b){const _0x3b6736=a4_0x324a59,_0x5aacb1=/^"(?<hook>.*)" hook:.*$/,_0x363fd3=_0x25980b[_0x3b6736(0x172)],_0x112c72=_0x363fd3['match'](_0x5aacb1);if(_0x112c72&&_0x112c72['groups'])return _0x112c72[_0x3b6736(0x163)][_0x3b6736(0xd5)][_0x3b6736(0x109)]()[_0x3b6736(0x156)]('\x20','_');return null;}[a4_0x324a59(0x1b0)](_0x589a58){const _0x1da706=a4_0x324a59,_0x3c74c2={};_0x3c74c2[_0x1da706(0x10e)]=function(_0x2dd284,_0x518b2a){return _0x2dd284===_0x518b2a;},_0x3c74c2[_0x1da706(0x104)]=function(_0x8dd07b,_0x5a6272){return _0x8dd07b===_0x5a6272;},_0x3c74c2['hIoJm']='.git',_0x3c74c2[_0x1da706(0x166)]='config';const _0x2ee7c8=_0x3c74c2,_0x16e26a=path[_0x1da706(0x185)];if(_0x2ee7c8[_0x1da706(0x10e)](_0x589a58,null)||_0x2ee7c8['leSBb'](_0x589a58,'')||_0x2ee7c8[_0x1da706(0x104)](_0x589a58,_0x16e26a))return null;try{return fs['statSync'](path['join'](_0x589a58,_0x2ee7c8[_0x1da706(0xcd)],_0x2ee7c8[_0x1da706(0x166)])),_0x589a58;}catch(_0x2a577b){const _0x3b94cc=path[_0x1da706(0x197)](_0x589a58);return this[_0x1da706(0x1b0)](_0x3b94cc);}}[a4_0x324a59(0x112)](_0x4611a8){const _0x32dfa7=a4_0x324a59,_0x3b76ce={};_0x3b76ce[_0x32dfa7(0x1ab)]=function(_0x3bba9c,_0x318d3b){return _0x3bba9c>_0x318d3b;};const _0x3b5fa9=_0x3b76ce;if(_0x4611a8[_0x32dfa7(0x154)])return _0x4611a8[_0x32dfa7(0x154)];if(_0x4611a8[_0x32dfa7(0x11e)]){const _0x3406c9=_0x4611a8[_0x32dfa7(0x11e)][_0x32dfa7(0x117)]?this[_0x32dfa7(0x112)](_0x4611a8[_0x32dfa7(0x11e)][_0x32dfa7(0x117)]):null;if(_0x3406c9)return _0x3406c9;}if(_0x4611a8['parent']){const _0x299756=this['getRootParentFile'](_0x4611a8[_0x32dfa7(0x17c)])||(_0x4611a8[_0x32dfa7(0x17c)][_0x32dfa7(0x11e)]&&_0x4611a8[_0x32dfa7(0x17c)][_0x32dfa7(0x11e)]['currentTest']?this['getRootParentFile'](_0x4611a8[_0x32dfa7(0x17c)][_0x32dfa7(0x11e)][_0x32dfa7(0x117)]):null);if(_0x299756)return _0x299756;_0x4611a8['parent'][_0x32dfa7(0xdd)]&&_0x3b5fa9[_0x32dfa7(0x1ab)](_0x4611a8[_0x32dfa7(0x17c)][_0x32dfa7(0xdd)][_0x32dfa7(0xba)],0x0)&&_0x4611a8[_0x32dfa7(0x17c)][_0x32dfa7(0xdd)][_0x32dfa7(0x15e)](_0x49fc3d=>{const _0x169501=_0x32dfa7,_0x475723=_0x49fc3d[_0x169501(0x11e)]?this[_0x169501(0x112)](_0x49fc3d[_0x169501(0x11e)]):null;if(_0x475723)return _0x475723;});}return null;}[a4_0x324a59(0x14e)](_0x314a4a){const _0x44e60f=a4_0x324a59,_0x4b2e82={};_0x4b2e82[_0x44e60f(0x12d)]=function(_0x2be34d,_0x23b2a5){return _0x2be34d!==_0x23b2a5;};const _0x20df39=_0x4b2e82,_0x1a3262=[];if(_0x314a4a&&_0x314a4a['parent']){let _0x270655=_0x314a4a[_0x44e60f(0x17c)];while(_0x270655&&_0x20df39[_0x44e60f(0x12d)](_0x270655[_0x44e60f(0x172)],'')){_0x1a3262[_0x44e60f(0x123)](_0x270655[_0x44e60f(0x172)]),_0x270655=_0x270655[_0x44e60f(0x17c)];}}return _0x1a3262;}[a4_0x324a59(0x19a)](_0x1ce11e,_0x42ed8f,_0x457c41=undefined){const _0x597210=a4_0x324a59,_0x24b124={'hALDe':function(_0x29719e,_0x3fb0fe){return _0x29719e(_0x3fb0fe);},'nzvVU':function(_0x56a2a5){return _0x56a2a5();},'wuVSu':function(_0xe84be7){return _0xe84be7();},'ezUob':function(_0x52b042){return _0x52b042();},'XfyZx':function(_0x25a2c4,_0x3d5300){return _0x25a2c4(_0x3d5300);},'PFwpf':_0x597210(0x131),'xEZcI':'err','zIDfU':function(_0x5bfacf,_0x404d8){return _0x5bfacf!==_0x404d8;},'LZWPB':function(_0xdbe9f7,_0x49ee56){return _0xdbe9f7!==_0x49ee56;},'GRxBt':_0x597210(0xbc),'WvHEa':'pending','rkigW':_0x597210(0x13c),'IAUMU':'passed','pnpnL':'skipped','Tvpjz':_0x597210(0x1b1),'UNVig':function(_0x3043ad,_0xf6787c){return _0x3043ad-_0xf6787c;},'BkEmM':function(_0x22419a,_0x2538bf,_0x16a28d,_0x554c3c,_0x48b927){return _0x22419a(_0x2538bf,_0x16a28d,_0x554c3c,_0x48b927);},'leily':_0x597210(0x19c),'NpDHV':_0x597210(0x12f),'JTryg':_0x597210(0x143),'cKVDn':_0x597210(0x175),'efGxH':'backtrace','WwLfF':_0x597210(0x1a9),'IRnLJ':_0x597210(0xdc),'gFCNf':function(_0x2b1474,_0x3fd861){return _0x2b1474===_0x3fd861;},'koxUX':_0x597210(0x142),'zVayV':'test_run'};if(!this[_0x597210(0x141)])return;try{if(_0x42ed8f['fn']&&_0x42ed8f['fn']['toString']()['match'](/browserstack internal helper hook/))return;const _0x1f90d5=_0x24b124[_0x597210(0x19e)](parseEvent,_0x1ce11e);if(!_0x1f90d5)return;if(_0x1f90d5['test']){this[_0x597210(0x117)]=_0x42ed8f,this[_0x597210(0x18d)]=null;if(_0x1f90d5[_0x597210(0x12a)]||_0x1f90d5[_0x597210(0x186)]){_0x42ed8f[_0x597210(0x171)]=new Date(),_0x42ed8f[_0x597210(0x19b)]=![];if(!_0x42ed8f[_0x597210(0x106)])_0x42ed8f[_0x597210(0x106)]=_0x24b124[_0x597210(0xff)](uuidv4);else _0x42ed8f['markedStatus']&&(!_0x42ed8f[_0x597210(0xe6)]&&(_0x42ed8f['retryOf']=_0x42ed8f[_0x597210(0x106)]),_0x42ed8f['testAnalyticsId']=_0x24b124[_0x597210(0xff)](uuidv4));}}else{if(_0x1f90d5[_0x597210(0xd5)]){this[_0x597210(0x18d)]=_0x42ed8f;if(_0x1f90d5[_0x597210(0x12a)]){_0x42ed8f[_0x597210(0x171)]=new Date(),_0x42ed8f[_0x597210(0x19b)]=![];if(!_0x42ed8f['hookAnalyticsId'])_0x42ed8f[_0x597210(0x196)]=_0x24b124['wuVSu'](uuidv4);else _0x42ed8f[_0x597210(0x196)]&&_0x42ed8f['markedStatus']&&(_0x42ed8f['hookAnalyticsId']=_0x24b124[_0x597210(0x176)](uuidv4));}}}if(_0x1f90d5['finished']&&_0x42ed8f[_0x597210(0x19b)])return;let _0x99b3b9;try{_0x99b3b9=this[_0x597210(0x112)](_0x42ed8f);}catch(_0x349e07){logger[_0x597210(0xd0)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x349e07),_0x99b3b9=null;}const _0x11cb52=_0x24b124[_0x597210(0xdb)](require,_0x24b124[_0x597210(0x161)]);let _0x5f4a75=[];_0x457c41&&(_0x5f4a75=[_0x457c41,_0x24b124[_0x597210(0x15b)]]);const _0x61ae3b=_0x24b124[_0x597210(0x182)](_0x42ed8f[_0x597210(0xfb)],undefined)?_0x11cb52['inspect'](_0x42ed8f[_0x597210(0xfb)][0x0]):_0x24b124[_0x597210(0x1a5)](_0x457c41,undefined)?_0x457c41[_0x597210(0xc0)]():undefined,_0x413c5c=_0x99b3b9?this[_0x597210(0x1b0)](_0x99b3b9):null,_0x31861b=_0x99b3b9?this['_paths'][_0x597210(0x146)](this[_0x597210(0x112)](_0x42ed8f)):_0x24b124[_0x597210(0x17f)];let _0x4de93c=_0x24b124[_0x597210(0x11b)];const _0xdc9a4=!_0x1f90d5[_0x597210(0x12a)]?new Date()[_0x597210(0x14a)]():null;if(_0x1f90d5['finished'])_0x4de93c=_0x457c41?_0x24b124['rkigW']:_0x24b124[_0x597210(0x110)],_0x42ed8f[_0x597210(0x19b)]=!![];else _0x1f90d5[_0x597210(0x186)]&&(_0x4de93c=_0x24b124[_0x597210(0x167)],_0x42ed8f['markedStatus']=!![]);const _0x15ae3d={'framework':this[_0x597210(0x13f)],'uuid':_0x42ed8f[_0x597210(0x106)]||_0x42ed8f['hookAnalyticsId'],'name':_0x42ed8f[_0x597210(0x172)],'body':{'lang':_0x24b124[_0x597210(0x1b2)],'code':_0x42ed8f[_0x597210(0x13b)][_0x597210(0xc0)]()},'type':_0x42ed8f[_0x597210(0x1aa)],'scope':_0x42ed8f[_0x597210(0x160)](),'scopes':this[_0x597210(0x14e)](_0x42ed8f),'file_name':_0x31861b,'vc_filepath':_0x413c5c?path['relative'](_0x413c5c,_0x99b3b9):null,'location':_0x31861b,'result':_0x4de93c,'failure_reason':_0x61ae3b,'duration_in_ms':_0x42ed8f['duration']||(_0x1f90d5[_0x597210(0x188)]||_0x1f90d5[_0x597210(0x186)])?_0x24b124[_0x597210(0xe1)](Date[_0x597210(0x101)](),new Date(_0x42ed8f[_0x597210(0x171)])['getTime']()):null,'started_at':new Date(_0x42ed8f[_0x597210(0x171)])['toISOString'](),'finished_at':_0xdc9a4,'failure':testOpsHelper[_0x597210(0x125)][_0x597210(0x115)](null,_0x5f4a75),'failure_type':!_0x61ae3b?null:testOpsHelper['getFailureType'](_0x61ae3b),'retry_of':_0x42ed8f[_0x597210(0xe6)]||null,'tags':_0x42ed8f['tags']||[],'customRerunParam':{'rerun_name':_0x42ed8f['fullTitle']()}};_0x24b124[_0x597210(0x169)](appendTesthubParams,_0x15ae3d,_0x1ce11e,_0x42ed8f,FRAMEWORKS[_0x597210(0x145)]);if(_0x1f90d5[_0x597210(0xd5)])[_0x15ae3d[_0x597210(0xe3)],_0x15ae3d['name']]=[this[_0x597210(0x165)](_0x42ed8f),_0x42ed8f['ctx']['test']['title']],_0x1f90d5[_0x597210(0x188)]?_0x24b124[_0x597210(0x182)](_0x15ae3d[_0x597210(0xd3)],_0x24b124[_0x597210(0x174)])&&(_0x15ae3d[_0x597210(0xd3)]=_0x24b124[_0x597210(0x110)]):_0x15ae3d['body']={};else _0x1f90d5[_0x597210(0x1a8)]&&(this[_0x597210(0xfc)](_0x42ed8f),_0x1f90d5[_0x597210(0x186)]&&this[_0x597210(0xb8)](_0x42ed8f),(_0x1f90d5[_0x597210(0x188)]||_0x1f90d5[_0x597210(0x186)])&&(_0x15ae3d[_0x597210(0xee)]=this[_0x597210(0xdf)](_0x42ed8f)));this[_0x597210(0xf2)]&&(_0x1f90d5[_0x597210(0x12a)]||_0x1f90d5[_0x597210(0x186)])&&(_0x15ae3d[_0x24b124['leily']]=this[_0x597210(0x16b)](this['driver']));_0x1f90d5[_0x597210(0x1a8)]&&_0x1f90d5[_0x597210(0x188)]&&_0x42ed8f[_0x597210(0x177)]&&(_0x15ae3d[_0x24b124[_0x597210(0x149)]]={'feature':{'name':_0x42ed8f['parent']['feature'][_0x597210(0x122)],'path':_0x15ae3d[_0x597210(0x140)],'description':_0x42ed8f[_0x597210(0x17c)]['comment']},'scenario':{'name':_0x42ed8f[_0x597210(0x172)]},'steps':_0x42ed8f[_0x597210(0x177)]});const _0x4eaec9=_0x15ae3d[_0x24b124[_0x597210(0xbf)]][0x0];_0x4eaec9&&(_0x15ae3d[_0x24b124[_0x597210(0x129)]]=_0x4eaec9[_0x24b124[_0x597210(0xda)]],_0x15ae3d[_0x24b124['WwLfF']]=_0x4eaec9[_0x24b124[_0x597210(0x183)]]);if(_0x42ed8f['bddSteps'])for(const _0x396c61 of _0x42ed8f['bddSteps']){!_0x396c61[_0x597210(0x130)]&&(_0x396c61['finished_at']=new Date()['toISOString'](),_0x24b124[_0x597210(0x164)](_0x396c61[_0x597210(0xd3)],_0x24b124['WvHEa'])&&(_0x4eaec9?(_0x396c61['result']=_0x24b124['rkigW'],_0x396c61['failure']=_0x4eaec9[_0x24b124[_0x597210(0xda)]][0x0]):_0x396c61['result']=_0x24b124[_0x597210(0x110)]));}const _0x408749={};_0x408749[_0x597210(0x13e)]=_0x1f90d5['skipped']?TEST_EVENTS[_0x597210(0x168)]:_0x1ce11e;const _0x1a6de2=_0x408749;return _0x1f90d5[_0x597210(0xd5)]?_0x1a6de2[_0x24b124[_0x597210(0x11a)]]=_0x15ae3d:_0x1a6de2[_0x24b124[_0x597210(0xeb)]]=_0x15ae3d,_0x1a6de2;}catch(_0x3b0f03){logger[_0x597210(0xd0)](_0x597210(0x139)+_0x1ce11e+'\x20with\x20error\x20:\x20'+_0x3b0f03);}}async['fireEvent'](_0x426ab5,_0x68face){const _0x478b6f=a4_0x324a59;if(!this[_0x478b6f(0x141)]||!_0x68face||!_0x426ab5)return![];try{return await SessionHandler[_0x478b6f(0x14d)](_0x68face);}catch(_0x3a98d7){logger[_0x478b6f(0xd0)](_0x478b6f(0x15f)+_0x426ab5+_0x478b6f(0xc6)+_0x3a98d7);}}[a4_0x324a59(0x170)](_0x236fd8){const _0x3c3ed5=a4_0x324a59,_0x35a108={};_0x35a108[_0x3c3ed5(0x173)]=_0x3c3ed5(0x11f);const _0x760f09=_0x35a108;return{'id':_0x236fd8['stepAnalyticsId'],'text':_0x236fd8['text'],'keyword':_0x236fd8[_0x3c3ed5(0x192)],'started_at':_0x236fd8['startedAt'][_0x3c3ed5(0x14a)](),'result':_0x760f09[_0x3c3ed5(0x173)]};}['bddStepStart'](_0x12eaa0){const _0x59d69e=a4_0x324a59,_0x4d0b92={'aAmYC':function(_0x1e49c1){return _0x1e49c1();}};!this[_0x59d69e(0x117)][_0x59d69e(0x177)]&&(this['currentTest'][_0x59d69e(0x177)]=[]),!_0x12eaa0[_0x59d69e(0x15c)]&&(_0x12eaa0[_0x59d69e(0x15c)]=_0x4d0b92['aAmYC'](uuidv4),_0x12eaa0[_0x59d69e(0x171)]=new Date(),this[_0x59d69e(0x117)][_0x59d69e(0x177)]['push'](this['initializeBddStep'](_0x12eaa0)));}['bddStepFinish'](_0x3041d7){const _0x1e96c6=a4_0x324a59,_0x103b1b={'pGbul':function(_0x2d81e6,_0x38676a){return _0x2d81e6(_0x38676a);},'ogsDy':_0x1e96c6(0xc2),'fZltL':_0x1e96c6(0x11f),'CULhq':_0x1e96c6(0xe8),'bZujb':function(_0x32539b,_0x492e98){return _0x32539b-_0x492e98;}};let _0x133f23=this['currentTest'][_0x1e96c6(0x177)][_0x1e96c6(0xce)](_0x3b5379=>_0x3b5379['id']===_0x3041d7[_0x1e96c6(0x15c)]);_0x103b1b[_0x1e96c6(0x10b)](isUndefined,_0x133f23)&&(_0x133f23=this[_0x1e96c6(0x170)](_0x3041d7)),_0x133f23[_0x1e96c6(0xd3)]=[_0x103b1b['ogsDy'],_0x103b1b['fZltL']][_0x1e96c6(0x184)](_0x3041d7[_0x1e96c6(0xec)])?_0x103b1b[_0x1e96c6(0x15a)]:_0x3041d7[_0x1e96c6(0xec)],_0x133f23[_0x1e96c6(0x130)]=new Date()[_0x1e96c6(0x14a)](),_0x133f23[_0x1e96c6(0x187)]=_0x103b1b[_0x1e96c6(0xb7)](Date[_0x1e96c6(0x101)](),_0x3041d7[_0x1e96c6(0x171)][_0x1e96c6(0x14f)]()),_0x133f23[_0x1e96c6(0x143)]=_0x3041d7[_0x1e96c6(0xfd)]?_0x3041d7[_0x1e96c6(0xfd)][_0x1e96c6(0x138)]:null;}}const a4_0x26eb9a={};a4_0x26eb9a[a4_0x324a59(0x121)]=O11yHelper,a4_0x26eb9a[a4_0x324a59(0xe0)]=STATE_PASSED,a4_0x26eb9a[a4_0x324a59(0x135)]=STATE_FAILED,a4_0x26eb9a[a4_0x324a59(0xe7)]=TEST_EVENTS,module[a4_0x324a59(0x10d)]=a4_0x26eb9a;
|
|
1
|
+
const a4_0x10b02a=a4_0xa79e;(function(_0xde1649,_0x187957){const _0x286834=a4_0xa79e,_0x263132=_0xde1649();while(!![]){try{const _0x345e7c=-parseInt(_0x286834(0x169))/0x1+-parseInt(_0x286834(0x1cf))/0x2+parseInt(_0x286834(0x1bb))/0x3+-parseInt(_0x286834(0x205))/0x4+parseInt(_0x286834(0x1d0))/0x5+parseInt(_0x286834(0x13d))/0x6*(-parseInt(_0x286834(0x168))/0x7)+parseInt(_0x286834(0x1f1))/0x8*(parseInt(_0x286834(0x1bf))/0x9);if(_0x345e7c===_0x187957)break;else _0x263132['push'](_0x263132['shift']());}catch(_0x3cf9c9){_0x263132['push'](_0x263132['shift']());}}}(a4_0x1fa6,0xea875));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x10b02a(0x15f)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x10b02a(0x1a8)),testOpsHelper=require(a4_0x10b02a(0x162)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x10b02a(0x151)),logger=require(a4_0x10b02a(0x1f4))[a4_0x10b02a(0x165)],SessionHandler=require(a4_0x10b02a(0x18f)),RequestQueueHandler=require(a4_0x10b02a(0x1ff)),PlaywrightSessionDetails=require(a4_0x10b02a(0x1d1)),debug=testOpsHelper[a4_0x10b02a(0x1ac)],{processAccessibilityCaps}=require(a4_0x10b02a(0x16b)),Constants=require(a4_0x10b02a(0x159)),{fetchPlatformDetails}=require(a4_0x10b02a(0x164)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x10b02a(0x1b8)),STATE_PASSED=a4_0x10b02a(0x1ec),STATE_FAILED='failed',a4_0x233de6={};a4_0x233de6['TEST_RUN_STARTED']='TestRunStarted',a4_0x233de6[a4_0x10b02a(0x21e)]=a4_0x10b02a(0x15a),a4_0x233de6['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x233de6['HOOK_RUN_STARTED']=a4_0x10b02a(0x1a4),a4_0x233de6[a4_0x10b02a(0x177)]='HookRunFinished';const TEST_EVENTS=a4_0x233de6,parseEvent=_0x2cd42d=>{const _0x20729d=a4_0x10b02a,_0x288a44={};_0x288a44['HHoga']=function(_0x402ad5,_0x175aa4){return _0x402ad5<_0x175aa4;},_0x288a44[_0x20729d(0x228)]=function(_0x4c7fd8,_0xce1f3f){return _0x4c7fd8===_0xce1f3f;},_0x288a44[_0x20729d(0x17d)]=_0x20729d(0x1b0),_0x288a44[_0x20729d(0x214)]='hook',_0x288a44['OEFJu']=function(_0x1f3686,_0x1a15d7){return _0x1f3686===_0x1a15d7;},_0x288a44[_0x20729d(0x13a)]=_0x20729d(0x17f),_0x288a44['xiTOe']=_0x20729d(0x1e1),_0x288a44['KopPP']=_0x20729d(0x1b7);const _0x3a5633=_0x288a44,_0x3c284f=_0x2cd42d[_0x20729d(0x1d3)](/^(.*)Run(.*)$/);if(!_0x3c284f)return null;if(_0x3a5633[_0x20729d(0x19b)](_0x3c284f[_0x20729d(0x1f8)],0x3))return null;const _0x1a8dd1=_0x3c284f[0x1][_0x20729d(0x141)](),_0x150810=_0x3c284f[0x2]['toLowerCase']();return{'test':_0x3a5633[_0x20729d(0x228)](_0x1a8dd1,_0x3a5633['uckPx']),'hook':_0x3a5633[_0x20729d(0x228)](_0x1a8dd1,_0x3a5633['OLkEK']),'skipped':_0x3a5633[_0x20729d(0x1fa)](_0x150810,_0x3a5633[_0x20729d(0x13a)]),'started':_0x3a5633['gCqQG'](_0x150810,_0x3a5633['xiTOe']),'finished':_0x3a5633['gCqQG'](_0x150810,_0x3a5633[_0x20729d(0x17e)])};},mockPWBrowserType=_0x11e8b6=>{const _0x5e29cc=a4_0x10b02a,_0x169ff5={'uZYHI':function(_0x41190c,_0x53e821){return _0x41190c===_0x53e821;},'jTOnp':_0x5e29cc(0x190),'UkrTC':function(_0x36acc2,_0x5ecf1e,_0xb547dd){return _0x36acc2(_0x5ecf1e,_0xb547dd);},'cZkfq':_0x5e29cc(0x1c5),'zcaUI':function(_0x2e870b,_0x58eb14){return _0x2e870b(_0x58eb14);},'HICZb':_0x5e29cc(0x153),'eiHrE':function(_0x10e0db,_0xf046eb,_0x1fde95){return _0x10e0db(_0xf046eb,_0x1fde95);},'SXxNR':function(_0x56bd83,_0x156b46){return _0x56bd83(_0x156b46);},'XnlyC':_0x5e29cc(0x1df),'atDWs':_0x5e29cc(0x1f5),'nxEjJ':'browserType.js','zIgVW':function(_0x4172ab,_0x564d99){return _0x4172ab(_0x564d99);},'ZfkAf':function(_0x132254,_0x705825){return _0x132254(_0x705825);},'cBtLf':_0x5e29cc(0x1e8),'dgViA':_0x5e29cc(0x1a6),'eoJVi':_0x5e29cc(0x1cc)},_0x44d4f4=path[_0x5e29cc(0x202)](_0x169ff5[_0x5e29cc(0x16c)],_0x169ff5[_0x5e29cc(0x1db)],_0x169ff5[_0x5e29cc(0x15c)]),_0x4e5494=_0x169ff5['zIgVW'](importFileFromPWCore,_0x44d4f4);if(!_0x4e5494){_0x169ff5[_0x5e29cc(0x1c1)](debug,_0x169ff5[_0x5e29cc(0x19a)]);return;}const _0x526c8d=_0x4e5494[_0x5e29cc(0x14b)],_0x474af3=_0x526c8d[_0x5e29cc(0x1a3)];if(_0x474af3[_0x5e29cc(0x1e5)])return;const _0x1d74fa=_0x474af3[_0x5e29cc(0x1a6)];Object[_0x5e29cc(0x19c)](_0x474af3,_0x169ff5[_0x5e29cc(0x1b2)],{'get':function(){const _0x54901c=_0x5e29cc,_0x1b6b7d={'pBzbk':function(_0x2b70a7,_0x4e82d9){const _0x5cb547=a4_0xa79e;return _0x169ff5[_0x5cb547(0x1fd)](_0x2b70a7,_0x4e82d9);},'LNJvW':_0x169ff5[_0x54901c(0x1a0)],'muzrL':function(_0x364f18,_0x3a8381,_0x162fb3){const _0x35580b=_0x54901c;return _0x169ff5[_0x35580b(0x1d6)](_0x364f18,_0x3a8381,_0x162fb3);},'lmqfa':_0x169ff5[_0x54901c(0x188)],'RHgZJ':function(_0x272691,_0x1f7493){const _0x7a4763=_0x54901c;return _0x169ff5[_0x7a4763(0x229)](_0x272691,_0x1f7493);},'kpwde':_0x169ff5[_0x54901c(0x1ba)],'qHhAD':function(_0xef521d,_0x361859,_0x1ca6c3){const _0x11c905=_0x54901c;return _0x169ff5[_0x11c905(0x222)](_0xef521d,_0x361859,_0x1ca6c3);},'JNsvm':function(_0x21115c,_0x4dee9a){return _0x169ff5['SXxNR'](_0x21115c,_0x4dee9a);}};return async function _0x3188fd(_0x9a8481,_0x5f4b3f){const _0x26ccee=_0x54901c,_0x3ca4ae={'dDJmF':function(_0x56e78e,_0x599f23){const _0x3b29d4=a4_0xa79e;return _0x1b6b7d[_0x3b29d4(0x189)](_0x56e78e,_0x599f23);},'HgpMD':_0x1b6b7d[_0x26ccee(0x1c7)]},_0x44243e=_0x1b6b7d[_0x26ccee(0x1e9)](nestedKeyValue,_0x9a8481,[_0x1b6b7d['lmqfa']])||_0x9a8481;let _0x4f3dfd=null,_0x3c5eba=null;try{[_0x3c5eba,_0x4f3dfd]=_0x44243e?_0x1b6b7d[_0x26ccee(0x1ed)](parseWSEndpoint,_0x44243e):[null,null],global[_0x26ccee(0x158)]=_0x4f3dfd,_0x3c5eba[_0x26ccee(0x21b)](_0x1b6b7d[_0x26ccee(0x22e)])&&(global[_0x26ccee(0x1be)]=_0x1b6b7d[_0x26ccee(0x22e)]);}catch(_0x5b28c4){logger[_0x26ccee(0x1ac)](_0x26ccee(0x1cb)+_0x44243e+'\x20'+_0x5b28c4);}_0x1b6b7d[_0x26ccee(0x1c3)](processAccessibilityCaps,_0x4f3dfd,_0x3c5eba);if(global['accessibilityPlatform']){const _0x49bfa0=await _0x474af3['connectOverCDP'][_0x26ccee(0x157)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x1b6b7d['JNsvm'](encodeURIComponent,JSON[_0x26ccee(0x18c)](_0x4f3dfd))]);return PlaywrightSessionDetails[_0x26ccee(0x20b)](_0x49bfa0,_0x11e8b6,_0x44243e),_0x49bfa0;}return _0x1d74fa[_0x26ccee(0x157)](this,arguments)['then'](_0x4cdaf1=>{const _0x3e7ae4=_0x26ccee;let _0x1eda9e=_0x9a8481[_0x3e7ae4(0x1c5)];return _0x3ca4ae['dDJmF'](typeof _0x9a8481,_0x3ca4ae[_0x3e7ae4(0x1ca)])&&(_0x1eda9e=_0x9a8481),PlaywrightSessionDetails[_0x3e7ae4(0x20b)](_0x4cdaf1,_0x11e8b6,_0x1eda9e),_0x4cdaf1;});};}});const _0x109f22=_0x474af3[_0x5e29cc(0x1cc)];Object[_0x5e29cc(0x19c)](_0x474af3,_0x169ff5[_0x5e29cc(0x15d)],{'get':function(){return async function _0x24dc03(){const _0x5ae6a0=a4_0xa79e;return _0x109f22[_0x5ae6a0(0x157)](this,arguments)[_0x5ae6a0(0x13c)](_0x1e884c=>{const _0xdee353=_0x5ae6a0;return PlaywrightSessionDetails[_0xdee353(0x20b)](_0x1e884c,null),_0x1e884c;});};}});};function a4_0xa79e(_0x147814,_0x1bbac7){const _0x1fa6ce=a4_0x1fa6();return a4_0xa79e=function(_0xa79e8d,_0x441b31){_0xa79e8d=_0xa79e8d-0x139;let _0x57b319=_0x1fa6ce[_0xa79e8d];return _0x57b319;},a4_0xa79e(_0x147814,_0x1bbac7);}class O11yHelper{[a4_0x10b02a(0x20f)]=null;[a4_0x10b02a(0x16e)]=null;[a4_0x10b02a(0x219)]=![];[a4_0x10b02a(0x22b)]=![];constructor(_0x421f14,_0x22ad5d){const _0x36b7ff=a4_0x10b02a,_0x5d4232={'Zryts':_0x36b7ff(0x156),'KIawe':function(_0x240392){return _0x240392();},'Fincw':function(_0x5ccac1){return _0x5ccac1();},'WnCSS':function(_0x5bf2c7,_0x2fe1f9){return _0x5bf2c7===_0x2fe1f9;},'brory':'Playwright','vcXgQ':function(_0x5aa966,_0x18d5cd){return _0x5aa966(_0x18d5cd);}},_0x3d7d24=_0x5d4232[_0x36b7ff(0x1a5)][_0x36b7ff(0x14e)]('|');let _0x22e60d=0x0;while(!![]){switch(_0x3d7d24[_0x22e60d++]){case'0':this[_0x36b7ff(0x219)]=_0x5d4232['KIawe'](shouldProcessEventForTesthub);continue;case'1':this['_paths']=new testOpsHelper[(_0x36b7ff(0x1f6))]({'cwd':process['cwd']()},this[_0x36b7ff(0x139)][_0x36b7ff(0x13e)]);continue;case'2':this[_0x36b7ff(0x1d9)]=_0x421f14;continue;case'3':this['_testEnv']=_0x5d4232[_0x36b7ff(0x19d)](getTestEnv);continue;case'4':this[_0x36b7ff(0x1d9)]&&_0x5d4232[_0x36b7ff(0x193)](this['driver'][_0x36b7ff(0x175)][_0x36b7ff(0x197)],_0x5d4232[_0x36b7ff(0x16d)])&&_0x5d4232[_0x36b7ff(0x206)](mockPWBrowserType,null);continue;case'5':this[_0x36b7ff(0x22b)]=_0x22ad5d[_0x36b7ff(0x22b)];continue;}break;}}[a4_0x10b02a(0x1b1)](){const _0x2fd664=a4_0x10b02a;if(!this[_0x2fd664(0x219)])return;testOpsHelper[_0x2fd664(0x1c9)](),process[_0x2fd664(0x145)](_0x2fd664(0x1dc)+process[_0x2fd664(0x171)]),process['on'](_0x2fd664(0x1dc)+process['pid'],this['appendTestItemLog']['bind'](this));}async['stop'](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a4_0x10b02a(0x19f)](_0x3199c9){const _0x266d1a=a4_0x10b02a,_0x445032={'lBxGZ':_0x266d1a(0x143),'ozqGy':function(_0x5d2293,_0x1045c0){return _0x5d2293(_0x1045c0);}};try{this[_0x266d1a(0x16e)]&&!this[_0x266d1a(0x16e)][_0x266d1a(0x215)]&&(_0x3199c9[_0x266d1a(0x1f7)]=this[_0x266d1a(0x16e)][_0x266d1a(0x1ce)]);!_0x3199c9[_0x266d1a(0x1f7)]&&this[_0x266d1a(0x20f)]&&!this['currentTest'][_0x266d1a(0x215)]&&(_0x3199c9[_0x266d1a(0x13b)]=this['currentTest'][_0x266d1a(0x147)]);if(_0x3199c9[_0x266d1a(0x1f7)]||_0x3199c9[_0x266d1a(0x13b)]){const _0x5a8a64={};_0x5a8a64['event_type']=_0x445032[_0x266d1a(0x14c)],_0x5a8a64['logs']=[_0x3199c9],await SessionHandler['uploadEventData'](_0x5a8a64);}}catch(_0xf45d2d){_0x445032['ozqGy'](debug,_0x266d1a(0x150)+_0xf45d2d);}}async[a4_0x10b02a(0x13f)](_0x38d64d){const _0x4e35f7=a4_0x10b02a,_0x589e77={'scCtB':_0x4e35f7(0x20c),'IfYRR':function(_0x9c175a,_0x4e6f92){return _0x9c175a(_0x4e6f92);}};if(!this[_0x4e35f7(0x219)])return;const _0x109a42=this['getCBTInfo'](this['driver']);try{const _0x522279={};_0x522279[_0x4e35f7(0x15f)]=_0x38d64d,_0x522279[_0x4e35f7(0x22f)]=_0x109a42;const _0x3fd734=_0x522279,_0x2a16d1={};_0x2a16d1[_0x4e35f7(0x182)]=_0x589e77[_0x4e35f7(0x1cd)],_0x2a16d1[_0x4e35f7(0x20d)]=_0x3fd734,await SessionHandler[_0x4e35f7(0x173)](_0x2a16d1);}catch(_0x57df83){_0x589e77[_0x4e35f7(0x211)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x57df83);}}[a4_0x10b02a(0x1a1)](_0x3081bf){const _0x51f4e9=a4_0x10b02a,_0x109a5b={'ifxLI':function(_0x3ee5f6,_0x292138){return _0x3ee5f6(_0x292138);}};return _0x109a5b[_0x51f4e9(0x1bc)](fetchPlatformDetails,_0x3081bf);}[a4_0x10b02a(0x14f)]=_0x580a27=>{const _0x1babc9=a4_0x10b02a,_0xf7de29={};_0xf7de29[_0x1babc9(0x21c)]=_0x1babc9(0x1d4),_0xf7de29[_0x1babc9(0x195)]=_0x1babc9(0x18e);const _0x109063=_0xf7de29;if(!_0x580a27||!_0x580a27[_0x1babc9(0x1d5)])return;[_0x109063[_0x1babc9(0x21c)],_0x109063['NOTkX']][_0x1babc9(0x200)](_0x441f1a=>{const _0xac13de=_0x1babc9,_0x24380d=_0x580a27[_0xac13de(0x1d5)][_0x441f1a];_0x24380d['forEach'](_0x122c61=>{_0x122c61['hookAnalyticsId']&&(_0x122c61['hookAnalyticsId']=null);});});};[a4_0x10b02a(0x15b)](_0x2e7e56){const _0x47fadf=a4_0x10b02a,_0x5daea3={'RJWvE':_0x47fadf(0x179),'HUsGG':function(_0x1c0dd9){return _0x1c0dd9();},'BdgxV':function(_0x5d53cc,_0x345526){return _0x5d53cc===_0x345526;},'Aiagf':_0x47fadf(0x18e),'fNkjb':function(_0x15b90d){return _0x15b90d();},'xieTe':_0x47fadf(0x220),'DwSnG':'_afterAll','OARdN':'_beforeEach'};if(!_0x2e7e56||!_0x2e7e56['parent'])return;[_0x5daea3[_0x47fadf(0x1eb)],_0x5daea3['DwSnG'],_0x5daea3[_0x47fadf(0x20a)],_0x5daea3[_0x47fadf(0x21d)]][_0x47fadf(0x200)](_0x1bf055=>{const _0x3b8c8d=_0x47fadf,_0x20ed9f=_0x2e7e56[_0x3b8c8d(0x1d5)][_0x1bf055]||[];_0x20ed9f[_0x3b8c8d(0x200)](_0x1c2677=>{const _0x5a225a=_0x3b8c8d;if(_0x1c2677[_0x5a225a(0x1ab)][_0x5a225a(0x21b)](_0x5daea3[_0x5a225a(0x1dd)]))return;if(!_0x1c2677[_0x5a225a(0x1ce)])_0x1c2677['hookAnalyticsId']=_0x5daea3['HUsGG'](uuidv4);else _0x1c2677[_0x5a225a(0x215)]&&_0x5daea3['BdgxV'](_0x1bf055,_0x5daea3[_0x5a225a(0x21d)])&&(_0x1c2677['hookAnalyticsId']=_0x5daea3[_0x5a225a(0x167)](uuidv4),delete _0x1c2677[_0x5a225a(0x215)]);});}),this['mapTestHooks'](_0x2e7e56[_0x47fadf(0x1d5)]);}['getHooksForTest'](_0x5da409){const _0x38bde=a4_0x10b02a,_0x190d22={};_0x190d22['IKWrK']=_0x38bde(0x220),_0x190d22['fbpyo']=_0x38bde(0x166),_0x190d22[_0x38bde(0x19e)]='_beforeEach',_0x190d22[_0x38bde(0x1fc)]=_0x38bde(0x18e);const _0x171d19=_0x190d22;if(!_0x5da409||!_0x5da409[_0x38bde(0x1d5)])return[];const _0x33ffd6=[];return[_0x171d19[_0x38bde(0x22c)],_0x171d19[_0x38bde(0x203)],_0x171d19[_0x38bde(0x19e)],_0x171d19['pLahN']][_0x38bde(0x200)](_0x4b2f18=>{const _0x50dae2=_0x38bde,_0x4ee3a2=_0x5da409['parent'][_0x4b2f18]||[];_0x4ee3a2[_0x50dae2(0x200)](_0x5892bf=>{const _0x33e36d=_0x50dae2;_0x5892bf[_0x33e36d(0x1ce)]&&_0x33ffd6['push'](_0x5892bf[_0x33e36d(0x1ce)]);});}),[]['concat'](_0x33ffd6,this['getHooksForTest'](_0x5da409[_0x38bde(0x1d5)]));}[a4_0x10b02a(0x18a)](_0x422ba4){const _0x375b25=a4_0x10b02a,_0x240cb5=/^"(?<hook>.*)" hook:.*$/,_0x1ade7c=_0x422ba4[_0x375b25(0x1ab)],_0x4412e6=_0x1ade7c[_0x375b25(0x1d3)](_0x240cb5);if(_0x4412e6&&_0x4412e6[_0x375b25(0x213)])return _0x4412e6['groups'][_0x375b25(0x17b)][_0x375b25(0x1a9)]()[_0x375b25(0x1fe)]('\x20','_');return null;}[a4_0x10b02a(0x16a)](_0x3aa2cb){const _0x4cd492=a4_0x10b02a,_0x50db60={};_0x50db60[_0x4cd492(0x1c4)]=function(_0x3f3d3e,_0x29533f){return _0x3f3d3e===_0x29533f;},_0x50db60[_0x4cd492(0x18b)]=function(_0x2794d5,_0x1d94c9){return _0x2794d5===_0x1d94c9;},_0x50db60[_0x4cd492(0x148)]='.git',_0x50db60[_0x4cd492(0x163)]=_0x4cd492(0x183);const _0x162943=_0x50db60,_0x315ef2=path[_0x4cd492(0x187)];if(_0x162943[_0x4cd492(0x1c4)](_0x3aa2cb,null)||_0x162943[_0x4cd492(0x18b)](_0x3aa2cb,'')||_0x162943[_0x4cd492(0x18b)](_0x3aa2cb,_0x315ef2))return null;try{return fs[_0x4cd492(0x144)](path[_0x4cd492(0x202)](_0x3aa2cb,_0x162943['Xyibt'],_0x162943[_0x4cd492(0x163)])),_0x3aa2cb;}catch(_0x49c9eb){const _0x414964=path[_0x4cd492(0x1c0)](_0x3aa2cb);return this['findGitConfig'](_0x414964);}}[a4_0x10b02a(0x186)](_0x1d7db5){const _0x487e5b=a4_0x10b02a,_0x46d4b1={};_0x46d4b1[_0x487e5b(0x1af)]=function(_0x48c2a8,_0x74a68f){return _0x48c2a8>_0x74a68f;};const _0x4cdfa1=_0x46d4b1;if(_0x1d7db5['file'])return _0x1d7db5[_0x487e5b(0x149)];if(_0x1d7db5['ctx']){const _0x38a425=_0x1d7db5['ctx'][_0x487e5b(0x20f)]?this[_0x487e5b(0x186)](_0x1d7db5['ctx'][_0x487e5b(0x20f)]):null;if(_0x38a425)return _0x38a425;}if(_0x1d7db5[_0x487e5b(0x1d5)]){const _0x35e304=this[_0x487e5b(0x186)](_0x1d7db5['parent'])||(_0x1d7db5[_0x487e5b(0x1d5)][_0x487e5b(0x180)]&&_0x1d7db5['parent'][_0x487e5b(0x180)][_0x487e5b(0x20f)]?this[_0x487e5b(0x186)](_0x1d7db5['parent'][_0x487e5b(0x180)][_0x487e5b(0x20f)]):null);if(_0x35e304)return _0x35e304;_0x1d7db5['parent'][_0x487e5b(0x14a)]&&_0x4cdfa1['xhdvO'](_0x1d7db5[_0x487e5b(0x1d5)][_0x487e5b(0x14a)]['length'],0x0)&&_0x1d7db5[_0x487e5b(0x1d5)]['suites'][_0x487e5b(0x200)](_0x404081=>{const _0x304bd0=_0x487e5b,_0x119ea2=_0x404081[_0x304bd0(0x180)]?this[_0x304bd0(0x186)](_0x404081['ctx']):null;if(_0x119ea2)return _0x119ea2;});}return null;}[a4_0x10b02a(0x1a7)](_0x469b86){const _0x3d66c2=a4_0x10b02a,_0x24f7c3={};_0x24f7c3[_0x3d66c2(0x1b3)]=function(_0x2046c7,_0x5495ee){return _0x2046c7!==_0x5495ee;};const _0x5ed82a=_0x24f7c3,_0x564e0e=[];if(_0x469b86&&_0x469b86[_0x3d66c2(0x1d5)]){let _0xaaece8=_0x469b86[_0x3d66c2(0x1d5)];while(_0xaaece8&&_0x5ed82a['Xowoz'](_0xaaece8[_0x3d66c2(0x1ab)],'')){_0x564e0e['push'](_0xaaece8['title']),_0xaaece8=_0xaaece8[_0x3d66c2(0x1d5)];}}return _0x564e0e;}[a4_0x10b02a(0x1f9)](_0x193abb,_0xc87766,_0x1e956b=undefined){const _0x1eb80d=a4_0x10b02a,_0x1088db={'LcTPp':function(_0x34f500,_0x13ff72){return _0x34f500(_0x13ff72);},'rJJcJ':function(_0x48f602){return _0x48f602();},'yjKog':_0x1eb80d(0x17a),'rGypF':_0x1eb80d(0x1e0),'NAQoQ':function(_0x2547ce,_0x2ecadf){return _0x2547ce!==_0x2ecadf;},'IbfXQ':function(_0x3b05ac,_0x548dd4){return _0x3b05ac!==_0x548dd4;},'gkOeR':'File\x20path\x20could\x20not\x20be\x20found','DLfom':_0x1eb80d(0x176),'uIedU':_0x1eb80d(0x223),'lTOID':_0x1eb80d(0x1ec),'lrdMM':'skipped','fvxtT':_0x1eb80d(0x1e6),'RUWlr':function(_0xfe3325,_0x4dbbdf){return _0xfe3325-_0x4dbbdf;},'Hhswc':function(_0x3e5ef1,_0x4529c7,_0x5c8c22,_0x5cd466,_0x37b95e){return _0x3e5ef1(_0x4529c7,_0x5c8c22,_0x5cd466,_0x37b95e);},'AXCUP':_0x1eb80d(0x22f),'DIyTY':_0x1eb80d(0x1c2),'bnWbS':_0x1eb80d(0x191),'RdSTX':'failure_backtrace','ZCEFM':_0x1eb80d(0x1de),'GFBxw':_0x1eb80d(0x198),'WiUnw':'expanded','tfwBB':function(_0x28be45,_0x94c9a3){return _0x28be45===_0x94c9a3;},'icaue':_0x1eb80d(0x170),'DlXtI':'test_run'};if(!this[_0x1eb80d(0x219)])return;try{if(_0xc87766['fn']&&_0xc87766['fn'][_0x1eb80d(0x221)]()[_0x1eb80d(0x1d3)](/browserstack internal helper hook/))return;const _0x2922e9=_0x1088db[_0x1eb80d(0x1ae)](parseEvent,_0x193abb);if(!_0x2922e9)return;if(_0x2922e9[_0x1eb80d(0x1b0)]){this[_0x1eb80d(0x20f)]=_0xc87766,this[_0x1eb80d(0x16e)]=null;if(_0x2922e9[_0x1eb80d(0x1e1)]||_0x2922e9['skipped']){_0xc87766[_0x1eb80d(0x1e3)]=new Date(),_0xc87766[_0x1eb80d(0x215)]=![];if(!_0xc87766[_0x1eb80d(0x147)])_0xc87766[_0x1eb80d(0x147)]=_0x1088db[_0x1eb80d(0x146)](uuidv4);else _0xc87766[_0x1eb80d(0x215)]&&(!_0xc87766[_0x1eb80d(0x226)]&&(_0xc87766[_0x1eb80d(0x226)]=_0xc87766[_0x1eb80d(0x147)]),_0xc87766['testAnalyticsId']=_0x1088db[_0x1eb80d(0x146)](uuidv4));}}else{if(_0x2922e9['hook']){this['currentHook']=_0xc87766;if(_0x2922e9[_0x1eb80d(0x1e1)]){_0xc87766[_0x1eb80d(0x1e3)]=new Date(),_0xc87766['markedStatus']=![];if(!_0xc87766['hookAnalyticsId'])_0xc87766[_0x1eb80d(0x1ce)]=_0x1088db[_0x1eb80d(0x146)](uuidv4);else _0xc87766[_0x1eb80d(0x1ce)]&&_0xc87766[_0x1eb80d(0x215)]&&(_0xc87766[_0x1eb80d(0x1ce)]=_0x1088db['rJJcJ'](uuidv4));}}}if(_0x2922e9['finished']&&_0xc87766[_0x1eb80d(0x215)])return;let _0x92be24;try{_0x92be24=this['getRootParentFile'](_0xc87766);}catch(_0x2e818f){logger[_0x1eb80d(0x1ac)](_0x1eb80d(0x1c8)+_0x2e818f),_0x92be24=null;}const _0x1d7709=_0x1088db[_0x1eb80d(0x1ae)](require,_0x1088db[_0x1eb80d(0x212)]);let _0x5ccd6e=[];_0x1e956b&&(_0x5ccd6e=[_0x1e956b,_0x1088db[_0x1eb80d(0x1ee)]]);const _0x19269d=_0x1088db[_0x1eb80d(0x21a)](_0xc87766[_0x1eb80d(0x217)],undefined)?_0x1d7709[_0x1eb80d(0x22d)](_0xc87766['errorsDetailed'][0x0]):_0x1088db[_0x1eb80d(0x207)](_0x1e956b,undefined)?_0x1e956b['toString']():undefined,_0x595cd2=_0x92be24?this[_0x1eb80d(0x16a)](_0x92be24):null,_0x5aff5c=_0x92be24?this['_paths'][_0x1eb80d(0x201)](this['getRootParentFile'](_0xc87766)):_0x1088db[_0x1eb80d(0x154)];let _0x666b7f=_0x1088db['DLfom'];const _0x916038=!_0x2922e9[_0x1eb80d(0x1e1)]?new Date()['toISOString']():null;if(_0x2922e9[_0x1eb80d(0x1b7)])_0x666b7f=_0x1e956b?_0x1088db[_0x1eb80d(0x209)]:_0x1088db[_0x1eb80d(0x1f0)],_0xc87766['markedStatus']=!![];else _0x2922e9[_0x1eb80d(0x17f)]&&(_0x666b7f=_0x1088db[_0x1eb80d(0x185)],_0xc87766[_0x1eb80d(0x215)]=!![]);const _0x5922e6={'framework':this['frameworkName'],'uuid':_0xc87766['testAnalyticsId']||_0xc87766[_0x1eb80d(0x1ce)],'name':_0xc87766[_0x1eb80d(0x1ab)],'body':{'lang':_0x1088db['fvxtT'],'code':_0xc87766['body'][_0x1eb80d(0x221)]()},'type':_0xc87766[_0x1eb80d(0x230)],'scope':_0xc87766[_0x1eb80d(0x224)](),'scopes':this[_0x1eb80d(0x1a7)](_0xc87766),'file_name':_0x5aff5c,'vc_filepath':_0x595cd2?path[_0x1eb80d(0x218)](_0x595cd2,_0x92be24):null,'location':_0x5aff5c,'result':_0x666b7f,'failure_reason':_0x19269d,'duration_in_ms':_0xc87766[_0x1eb80d(0x1b5)]||(_0x2922e9[_0x1eb80d(0x1b7)]||_0x2922e9[_0x1eb80d(0x17f)])?_0x1088db[_0x1eb80d(0x1fb)](Date[_0x1eb80d(0x1aa)](),new Date(_0xc87766[_0x1eb80d(0x1e3)])[_0x1eb80d(0x1ad)]()):null,'started_at':new Date(_0xc87766[_0x1eb80d(0x1e3)])[_0x1eb80d(0x152)](),'finished_at':_0x916038,'failure':testOpsHelper[_0x1eb80d(0x1f3)][_0x1eb80d(0x157)](null,_0x5ccd6e),'failure_type':!_0x19269d?null:testOpsHelper[_0x1eb80d(0x155)](_0x19269d),'retry_of':_0xc87766[_0x1eb80d(0x226)]||null,'tags':_0xc87766[_0x1eb80d(0x184)]||[],'customRerunParam':{'rerun_name':_0xc87766[_0x1eb80d(0x224)]()}};_0x1088db[_0x1eb80d(0x1a2)](appendTesthubParams,_0x5922e6,_0x193abb,_0xc87766,FRAMEWORKS[_0x1eb80d(0x21f)]);if(_0x2922e9[_0x1eb80d(0x17b)])[_0x5922e6[_0x1eb80d(0x210)],_0x5922e6[_0x1eb80d(0x197)]]=[this['getHookType'](_0xc87766),_0xc87766[_0x1eb80d(0x180)]['test'][_0x1eb80d(0x1ab)]],_0x2922e9['finished']?_0x1088db[_0x1eb80d(0x207)](_0x5922e6['result'],_0x1088db[_0x1eb80d(0x209)])&&(_0x5922e6[_0x1eb80d(0x140)]=_0x1088db[_0x1eb80d(0x1f0)]):_0x5922e6[_0x1eb80d(0x16f)]={};else _0x2922e9['test']&&(this['mapTestHooks'](_0xc87766),_0x2922e9[_0x1eb80d(0x17f)]&&this['resetSkipTestHooks'](_0xc87766),(_0x2922e9[_0x1eb80d(0x1b7)]||_0x2922e9[_0x1eb80d(0x17f)])&&(_0x5922e6[_0x1eb80d(0x204)]=this[_0x1eb80d(0x208)](_0xc87766)));this[_0x1eb80d(0x1d9)]&&(_0x2922e9[_0x1eb80d(0x1e1)]||_0x2922e9[_0x1eb80d(0x17f)])&&(_0x5922e6[_0x1088db[_0x1eb80d(0x1e2)]]=this['getCBTInfo'](this[_0x1eb80d(0x1d9)]));_0x2922e9['test']&&_0x2922e9['finished']&&_0xc87766[_0x1eb80d(0x1e4)]&&(_0x5922e6[_0x1088db[_0x1eb80d(0x216)]]={'feature':{'name':_0xc87766[_0x1eb80d(0x1d5)]['feature'][_0x1eb80d(0x197)],'path':_0x5922e6[_0x1eb80d(0x1b6)],'description':_0xc87766[_0x1eb80d(0x1d5)][_0x1eb80d(0x160)]},'scenario':{'name':_0xc87766['title']},'steps':_0xc87766[_0x1eb80d(0x1e4)]});const _0x50daf5=_0x5922e6[_0x1088db['bnWbS']][0x0];_0x50daf5&&(_0x5922e6[_0x1088db[_0x1eb80d(0x14d)]]=_0x50daf5[_0x1088db['ZCEFM']],_0x5922e6[_0x1088db[_0x1eb80d(0x227)]]=_0x50daf5[_0x1088db[_0x1eb80d(0x181)]]);if(_0xc87766[_0x1eb80d(0x1e4)])for(const _0x3e6841 of _0xc87766['bddSteps']){!_0x3e6841[_0x1eb80d(0x192)]&&(_0x3e6841[_0x1eb80d(0x192)]=new Date()['toISOString'](),_0x1088db[_0x1eb80d(0x161)](_0x3e6841['result'],_0x1088db['DLfom'])&&(_0x50daf5?(_0x3e6841[_0x1eb80d(0x140)]=_0x1088db[_0x1eb80d(0x209)],_0x3e6841[_0x1eb80d(0x191)]=_0x50daf5[_0x1088db[_0x1eb80d(0x1d7)]][0x0]):_0x3e6841[_0x1eb80d(0x140)]=_0x1088db['lTOID']));}const _0x330d76={};_0x330d76[_0x1eb80d(0x182)]=_0x2922e9[_0x1eb80d(0x17f)]?TEST_EVENTS[_0x1eb80d(0x21e)]:_0x193abb;const _0x110a6d=_0x330d76;return _0x2922e9[_0x1eb80d(0x17b)]?_0x110a6d[_0x1088db[_0x1eb80d(0x142)]]=_0x5922e6:_0x110a6d[_0x1088db[_0x1eb80d(0x1f2)]]=_0x5922e6,_0x110a6d;}catch(_0x44498c){logger[_0x1eb80d(0x1ac)](_0x1eb80d(0x1da)+_0x193abb+_0x1eb80d(0x199)+_0x44498c);}}async[a4_0x10b02a(0x1c6)](_0x4cd418,_0x5b0a8a){const _0x1e68d3=a4_0x10b02a;if(!this['enabled']||!_0x5b0a8a||!_0x4cd418)return![];try{return await SessionHandler[_0x1e68d3(0x173)](_0x5b0a8a);}catch(_0x67dc1f){logger['debug'](_0x1e68d3(0x1ea)+_0x4cd418+_0x1e68d3(0x199)+_0x67dc1f);}}['initializeBddStep'](_0x2df923){const _0x3f3e71=a4_0x10b02a,_0x4660f9={};_0x4660f9[_0x3f3e71(0x17c)]=_0x3f3e71(0x176);const _0x350e60=_0x4660f9;return{'id':_0x2df923[_0x3f3e71(0x194)],'text':_0x2df923[_0x3f3e71(0x1bd)],'keyword':_0x2df923[_0x3f3e71(0x1d8)],'started_at':_0x2df923['startedAt'][_0x3f3e71(0x152)](),'result':_0x350e60['jMQXv']};}[a4_0x10b02a(0x172)](_0x132eba){const _0x5de848=a4_0x10b02a,_0x58b08a={'wTbnB':function(_0x1e8c41){return _0x1e8c41();}};!this['currentTest'][_0x5de848(0x1e4)]&&(this['currentTest'][_0x5de848(0x1e4)]=[]),!_0x132eba[_0x5de848(0x194)]&&(_0x132eba[_0x5de848(0x194)]=_0x58b08a['wTbnB'](uuidv4),_0x132eba[_0x5de848(0x1e3)]=new Date(),this[_0x5de848(0x20f)][_0x5de848(0x1e4)][_0x5de848(0x196)](this[_0x5de848(0x1b9)](_0x132eba)));}[a4_0x10b02a(0x20e)](_0x19f5cd){const _0x124d89=a4_0x10b02a,_0x3ca27b={'yiTVL':function(_0x16f314,_0x8f6a42){return _0x16f314(_0x8f6a42);},'dxswV':_0x124d89(0x1b4),'XBWBC':_0x124d89(0x176),'lxmqX':_0x124d89(0x1ec),'KHJbz':function(_0x1b6f63,_0x2bc2bf){return _0x1b6f63-_0x2bc2bf;}};let _0x391b6e=this['currentTest']['bddSteps'][_0x124d89(0x15e)](_0x3de6d3=>_0x3de6d3['id']===_0x19f5cd['stepAnalyticsId']);_0x3ca27b[_0x124d89(0x174)](isUndefined,_0x391b6e)&&(_0x391b6e=this['initializeBddStep'](_0x19f5cd)),_0x391b6e['result']=[_0x3ca27b[_0x124d89(0x178)],_0x3ca27b[_0x124d89(0x225)]][_0x124d89(0x21b)](_0x19f5cd[_0x124d89(0x1ef)])?_0x3ca27b['lxmqX']:_0x19f5cd[_0x124d89(0x1ef)],_0x391b6e[_0x124d89(0x192)]=new Date()['toISOString'](),_0x391b6e[_0x124d89(0x1b5)]=_0x3ca27b[_0x124d89(0x18d)](Date[_0x124d89(0x1aa)](),_0x19f5cd[_0x124d89(0x1e3)][_0x124d89(0x1ad)]()),_0x391b6e[_0x124d89(0x191)]=_0x19f5cd[_0x124d89(0x1e0)]?_0x19f5cd['err'][_0x124d89(0x1d2)]:null;}}const a4_0x4b3046={};function a4_0x1fa6(){const _0xb8ead2=['now','title','debug','getTime','LcTPp','xhdvO','test','start','dgViA','Xowoz','success','duration','file_name','finished','../../helpers/testhub/utils.js','initializeBddStep','HICZb','412206JrlEQx','ifxLI','text','__cloud_provider___','5085765AnRkEH','dirname','ZfkAf','meta','qHhAD','BMwtU','wsEndpoint','fireEvent','LNJvW','failed\x20to\x20get\x20root\x20parent\x20file\x20','patchConsoleLogger','HgpMD','Failed\x20to\x20parse\x20wsendpoint\x20','launch','scCtB','hookAnalyticsId','2024756defLmo','7653450MVwlZJ','../playwright/sessionDetails','message','match','_beforeEach','parent','UkrTC','ZCEFM','keyword','driver','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','atDWs','bs:addLog:','RJWvE','backtrace','lib','err','started','AXCUP','startedAt','bddSteps','obsBrowserTypeMockApplied','javascript','STATE_FAILED','Not\x20able\x20to\x20import\x20Browser','muzrL','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','xieTe','passed','RHgZJ','rGypF','status','lTOID','32EvQBQL','DlXtI','failureData','../../helpers/logger','client','PathHelper','hook_run_uuid','length','captureEvent','OEFJu','RUWlr','pLahN','uZYHI','replace','../../helpers/test-observability/requestQueueHandler','forEach','prefixTestPath','join','fbpyo','hooks','6440336eTyOOf','vcXgQ','IbfXQ','getHooksForTest','uIedU','OARdN','setupBrowserDetails','CBTSessionCreated','test_run','bddStepFinish','currentTest','hook_type','IfYRR','yjKog','groups','OLkEK','markedStatus','DIyTY','errorsDetailed','relative','enabled','NAQoQ','includes','SUUKZ','Aiagf','TEST_RUN_FINISHED','CODECEPT','_beforeAll','toString','eiHrE','failed','fullTitle','XBWBC','retryOf','GFBxw','gCqQG','zcaUI','O11yHelper','frameworkName','IKWrK','inspect','kpwde','integrations','type','_testEnv','lkAkT','test_run_uuid','then','4410ESoxlZ','location_prefix','sendCBTInfo','result','toLowerCase','icaue','LogCreated','statSync','removeAllListeners','rJJcJ','testAnalyticsId','Xyibt','file','suites','BrowserType','lBxGZ','RdSTX','split','resetSkipTestHooks','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','../../helpers/test-observability/constants','toISOString','browserstack','gkOeR','getFailureType','0|5|2|3|1|4','apply','__platformCaps','../utils/constants','TestRunFinished','mapTestHooks','nxEjJ','eoJVi','find','uuid','comment','tfwBB','../../helpers/test-observability/utils','gjEFx','./helper.js','winstonLogger','_afterAll','fNkjb','1743gJaXoe','162326rjIMZi','findGitConfig','../playwright/accessibility-helper','XnlyC','brory','currentHook','body','hook_run','pid','bddStepStart','uploadEventData','yiTVL','constructor','pending','HOOK_RUN_FINISHED','dxswV','codeceptjs','util','hook','jMQXv','uckPx','KopPP','skipped','ctx','WiUnw','event_type','config','tags','lrdMM','getRootParentFile','sep','cZkfq','pBzbk','getHookType','Xngve','stringify','KHJbz','_afterEach','../../helpers/test-observability/sessionHandler','string','failure','finished_at','WnCSS','stepAnalyticsId','NOTkX','push','name','failure_reason_expanded','\x20with\x20error\x20:\x20','cBtLf','HHoga','defineProperty','Fincw','ekJyF','appendTestItemLog','jTOnp','getCBTInfo','Hhswc','prototype','HookRunStarted','Zryts','connect','getHierarchy','../../helpers/helper','toUpperCase'];a4_0x1fa6=function(){return _0xb8ead2;};return a4_0x1fa6();}a4_0x4b3046[a4_0x10b02a(0x22a)]=O11yHelper,a4_0x4b3046['STATE_PASSED']=STATE_PASSED,a4_0x4b3046[a4_0x10b02a(0x1e7)]=STATE_FAILED,a4_0x4b3046['TEST_EVENTS']=TEST_EVENTS,module['exports']=a4_0x4b3046;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a5_0x2813(_0x2e343c,_0x388190){const _0x19a32b=a5_0x19a3();return a5_0x2813=function(_0x2813d0,_0x31c7a8){_0x2813d0=_0x2813d0-0x96;let _0x45d579=_0x19a32b[_0x2813d0];return _0x45d579;},a5_0x2813(_0x2e343c,_0x388190);}const a5_0x5f0464=a5_0x2813;(function(_0x1d2d2f,_0x14ab20){const _0x3c3cfd=a5_0x2813,_0x591fe6=_0x1d2d2f();while(!![]){try{const _0x4652fd=-parseInt(_0x3c3cfd(0xdf))/0x1+-parseInt(_0x3c3cfd(0xc0))/0x2*(-parseInt(_0x3c3cfd(0xbd))/0x3)+-parseInt(_0x3c3cfd(0x9f))/0x4+parseInt(_0x3c3cfd(0xb9))/0x5*(-parseInt(_0x3c3cfd(0xd2))/0x6)+parseInt(_0x3c3cfd(0xe8))/0x7*(-parseInt(_0x3c3cfd(0xc8))/0x8)+parseInt(_0x3c3cfd(0xe7))/0x9+parseInt(_0x3c3cfd(0xf3))/0xa;if(_0x4652fd===_0x14ab20)break;else _0x591fe6['push'](_0x591fe6['shift']());}catch(_0x40ca36){_0x591fe6['push'](_0x591fe6['shift']());}}}(a5_0x19a3,0x7506a));function a5_0x19a3(){const _0x326bc2=['bold','isBrowserstackInfra','length','join','mVtan','logLevel','iYiXH','WJSNx','20506650dGLtna','testObservability','stepsFailed','Generating\x20consolidated\x20report...','getUserWorkerCount','HoFTL','push','parallelsPerPlatform','Removing\x20tmp\x20directory\x20created\x20for\x20reports','stepsPassed','printBuildLink','steps','getTCGConfigFilePaths','rmdirSync','path','mqjUq','BROWSERSTACK_TEST_OBSERVABILITY_YML','green','xlhRE','cwd','markSDKSetupComplete','****\x20RESULTS\x20****','tmp','isUndefined','error\x20removing\x20tcg\x20config\x20file','createDir','mergeOutputFiles','2805604lteSoN','log','TyZXs','FRAMEWORKS','format','debug','stepsUndefined','initialize','scenarios','finalExecution','\x20pending','accessibilityOptions','../../helpers/test-observability/utils','ZICYy','config','proxySettings','../utils/constants','\x20skipped','handleApp','uyqtc','testContextOptions','argv','../../helpers/testhub/testhubHandler','chalk','RHxlr','unlinkSync','745chkydr','parseFormatters','GlpPX','useW3C','3zOAzMF','getErrorMessageFromResults','ZRZde','698290zxBmeZ','\x20failed','oRKXS','env','removeDir','skipSessionName','bgWhite','OebcN','16EVDejR','yellow','finally','launchBuild','cucumber','UvioE','../../helpers/BrowserStackSetup','dkgOw','fRSmN','cyan','4962lhhJvN','../../helpers/utilities','exports','CUCUMBER','forEach','errorMessage','skipSessionStatus','exitCode','red','setupTCGAuth','stepsAmbiguous','INvBK','processSuccess','814250vJMIgE','getPlatformName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','kNqUf','\x20scenarios','cucumber-js','kRusv','scenariosFailed','3924540oOCfRy','2511803LSKopP','pVUJy','\x20passed'];a5_0x19a3=function(){return _0x326bc2;};return a5_0x19a3();}const fs=require('fs'),path=require(a5_0x5f0464(0x101)),util=require('util'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x5f0464(0xce)),helper=require('../../helpers/helper'),utilities=require(a5_0x5f0464(0xd3)),constants=require(a5_0x5f0464(0xaf)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x5f0464(0xb5)),testOpsHelper=require(a5_0x5f0464(0xab)),chalk=require(a5_0x5f0464(0xb6));function printCucumberStats(_0x4717cf){const _0x3ad4f1=a5_0x5f0464,_0x555f5f={};_0x555f5f[_0x3ad4f1(0x96)]=function(_0x2764ef,_0xe8c5a5){return _0x2764ef>_0xe8c5a5;},_0x555f5f['zwBmd']=function(_0x48ad4d,_0x3fa823){return _0x48ad4d-_0x3fa823;},_0x555f5f[_0x3ad4f1(0xef)]=function(_0x1fe781,_0x5e8d3f){return _0x1fe781>_0x5e8d3f;},_0x555f5f['GlpPX']=function(_0x3b12ba,_0xbd5b9c){return _0x3b12ba>_0xbd5b9c;},_0x555f5f[_0x3ad4f1(0xf1)]=function(_0x592201,_0x81d78d){return _0x592201>_0x81d78d;},_0x555f5f[_0x3ad4f1(0xb7)]=function(_0xb12f95,_0x523f70){return _0xb12f95>_0x523f70;},_0x555f5f[_0x3ad4f1(0xf8)]=function(_0x5f12f3,_0x15535d){return _0x5f12f3>_0x15535d;},_0x555f5f[_0x3ad4f1(0xd0)]=function(_0x5bcc4e,_0x4a47ae){return _0x5bcc4e>_0x4a47ae;},_0x555f5f['oRKXS']=function(_0x40d8be,_0xdec148){return _0x40d8be+_0xdec148;},_0x555f5f[_0x3ad4f1(0xcd)]=function(_0x5641d8,_0x240cb0){return _0x5641d8+_0x240cb0;},_0x555f5f['FNIyg']=function(_0x3a723e,_0x4390ce){return _0x3a723e+_0x4390ce;},_0x555f5f[_0x3ad4f1(0xcf)]=function(_0x16c459,_0x19aa05){return _0x16c459===_0x19aa05;},_0x555f5f[_0x3ad4f1(0xdd)]=function(_0x2c83c1,_0xa25ce8){return _0x2c83c1===_0xa25ce8;},_0x555f5f[_0x3ad4f1(0xac)]=_0x3ad4f1(0x99);const _0x1c1d54=_0x555f5f;let _0x9010dc=0x0;if(_0x1c1d54[_0x3ad4f1(0xdd)](_0x4717cf['length'],0x0))return _0x9010dc;return console[_0x3ad4f1(0xa0)](chalk[_0x3ad4f1(0xeb)][_0x3ad4f1(0xc6)](_0x1c1d54[_0x3ad4f1(0xac)])),_0x4717cf[_0x3ad4f1(0xd6)](_0x5bc982=>{const _0x3ce124=_0x3ad4f1,_0x460e91=_0x5bc982[0x0],_0x62d1af=_0x5bc982[0x1];console[_0x3ce124(0xa0)]('\x0a'+chalk[_0x3ce124(0xeb)]['yellow'](''+helper[_0x3ce124(0xe0)](_0x460e91)));const _0x1ddc53=_0x62d1af[_0x3ce124(0xa7)],_0x401823=_0x62d1af[_0x3ce124(0xfe)],_0xdc06=_0x62d1af[_0x3ce124(0xe6)],_0x5afaa0=_0x62d1af[_0x3ce124(0xf5)],_0x226b6c=_0x62d1af[_0x3ce124(0xfc)],_0x39271c=_0x62d1af['stepsSkipped'],_0x2aab6a=_0x62d1af['stepsPending'],_0x47ec8f=_0x62d1af[_0x3ce124(0xa5)],_0x5384e8=_0x62d1af['stepsUnknown'],_0x4de789=_0x62d1af[_0x3ce124(0xdc)],_0x2a12fc=_0x62d1af[_0x3ce124(0xde)];let _0x920b50=_0x1ddc53+_0x3ce124(0xe3);const _0x5ebba7=_0x1c1d54[_0x3ce124(0x96)](_0x1c1d54['zwBmd'](_0x1ddc53,_0xdc06),0x0)?_0x1c1d54['zwBmd'](_0x1ddc53,_0xdc06):0x0;if(_0x1c1d54[_0x3ce124(0xef)](_0xdc06,0x0)&&_0x1c1d54[_0x3ce124(0x96)](_0x5ebba7,0x0))_0x920b50+='\x20('+chalk[_0x3ce124(0xeb)]['red'](_0xdc06+_0x3ce124(0xc1))+',\x20'+chalk[_0x3ce124(0xeb)][_0x3ce124(0x104)](_0x5ebba7+_0x3ce124(0xea))+')';else(_0x1c1d54['xlhRE'](_0xdc06,0x0)||_0x1c1d54[_0x3ce124(0xbb)](_0x5ebba7,0x0))&&(_0x920b50+=_0x1c1d54[_0x3ce124(0xef)](_0xdc06,0x0)?'\x20('+chalk['bold'][_0x3ce124(0xda)](_0xdc06+_0x3ce124(0xc1))+')':'\x20('+chalk['bold'][_0x3ce124(0x104)](_0x5ebba7+_0x3ce124(0xea))+')');const _0x7f7d1f=_0x401823+'\x20steps',_0x20ca8b=[];_0x1c1d54['GlpPX'](_0x4de789,0x0)&&_0x20ca8b[_0x3ce124(0xf9)](''+chalk['bold'][_0x3ce124(0xda)](_0x4de789+'\x20ambiguous'));_0x1c1d54[_0x3ce124(0x96)](_0x5afaa0,0x0)&&_0x20ca8b[_0x3ce124(0xf9)](''+chalk[_0x3ce124(0xeb)][_0x3ce124(0xda)](_0x5afaa0+_0x3ce124(0xc1)));_0x1c1d54[_0x3ce124(0xf1)](_0x226b6c,0x0)&&_0x20ca8b[_0x3ce124(0xf9)](''+chalk[_0x3ce124(0xeb)]['green'](_0x226b6c+'\x20passed'));_0x1c1d54[_0x3ce124(0xb7)](_0x2aab6a,0x0)&&_0x20ca8b[_0x3ce124(0xf9)](''+chalk['bold'][_0x3ce124(0xc9)](_0x2aab6a+_0x3ce124(0xa9)));_0x1c1d54['HoFTL'](_0x39271c,0x0)&&_0x20ca8b[_0x3ce124(0xf9)](''+chalk[_0x3ce124(0xeb)][_0x3ce124(0xd1)](_0x39271c+_0x3ce124(0xb0)));_0x1c1d54['fRSmN'](_0x47ec8f,0x0)&&_0x20ca8b[_0x3ce124(0xf9)](''+chalk[_0x3ce124(0xeb)][_0x3ce124(0xc9)](_0x47ec8f+'\x20undefined'));_0x1c1d54[_0x3ce124(0x96)](_0x5384e8,0x0)&&_0x20ca8b['push'](''+chalk['bold'][_0x3ce124(0xc9)](_0x5384e8+_0x3ce124(0xb0)));const _0x30aab0=_0x1c1d54[_0x3ce124(0xc2)](_0x1c1d54['oRKXS'](_0x1c1d54[_0x3ce124(0xc2)](_0x7f7d1f,'('),_0x20ca8b['join'](',\x20')),')');console['log'](_0x1c1d54[_0x3ce124(0xcd)](_0x1c1d54['FNIyg'](_0x1c1d54['FNIyg'](_0x1c1d54['oRKXS']('\x0a',_0x920b50),'\x0a'),_0x30aab0),'\x0a')),_0x1c1d54[_0x3ce124(0xcf)](_0x2a12fc,![])&&(_0x9010dc=0x1);}),_0x9010dc;}async function run(_0x5c3072,_0x248df2){const _0x38e1db=a5_0x5f0464,_0x48a8cf={'mqjUq':function(_0x6b5fe5,_0x32700b){return _0x6b5fe5(_0x32700b);},'WJSNx':function(_0xedf9a3,_0x26dee9){return _0xedf9a3>_0x26dee9;},'uyqtc':_0x38e1db(0xf6),'ZRZde':_0x38e1db(0xfb),'CbiDT':_0x38e1db(0xcc),'OebcN':_0x38e1db(0x9c),'pVUJy':_0x38e1db(0xe4),'kRusv':_0x38e1db(0x9a),'TyZXs':function(_0x23b568,_0x473798){return _0x23b568-_0x473798;},'JmBCP':function(_0x39b5a8,_0x785020){return _0x39b5a8>=_0x785020;},'SVdkd':function(_0xb62878,_0x5b433b){return _0xb62878!=_0x5b433b;},'OzBhR':'false','kNqUf':function(_0x37aed8,_0x255327,_0x20499b,_0x457000,_0x38efbc,_0x179b4e){return _0x37aed8(_0x255327,_0x20499b,_0x457000,_0x38efbc,_0x179b4e);}},_0x4c1343=new BrowserStackSetup(_0x5c3072,_0x48a8cf[_0x38e1db(0xe9)]);await _0x4c1343[_0x38e1db(0xa6)]();!helper[_0x38e1db(0xec)]()&&await _0x4c1343[_0x38e1db(0xdb)]();await helper[_0x38e1db(0xb1)](_0x4c1343[_0x38e1db(0xad)]);const _0x2f0404=helper[_0x38e1db(0xbc)](_0x4c1343[_0x38e1db(0xad)]),_0x209848=helper['prepareCapabilities'](_0x4c1343['config'],_0x2f0404,constants[_0x38e1db(0xa2)][_0x38e1db(0xd5)]);if(!_0x4c1343[_0x38e1db(0xad)])return;const _0x80b30a=_0x4c1343[_0x38e1db(0xad)][_0x38e1db(0xfa)]||helper[_0x38e1db(0xf7)](_0x5c3072,_0x248df2,_0x4c1343['config'],constants['FRAMEWORKS']['CUCUMBER'])||0x1,_0x595cad={'server':helper['getHubUrl'](_0x4c1343['config']),'proxySettings':_0x4c1343[_0x38e1db(0xad)][_0x38e1db(0xae)],'maxWorkers':_0x80b30a,'browserStackLogLevel':_0x4c1343[_0x38e1db(0xad)][_0x38e1db(0xf0)],'skipSessionName':_0x4c1343[_0x38e1db(0xad)][_0x38e1db(0xb3)][_0x38e1db(0xc5)],'skipSessionStatus':_0x4c1343['config'][_0x38e1db(0xb3)][_0x38e1db(0xd8)],'turboScaleUrl':_0x4c1343[_0x38e1db(0xad)]['turboScaleUrl']},_0x3d694e=process[_0x38e1db(0xb4)],[_0x20804a,_0x2c6b0a]=helper[_0x38e1db(0xba)](_0x3d694e),_0x18b738=path[_0x38e1db(0xee)](process[_0x38e1db(0x97)](),_0x48a8cf[_0x38e1db(0xe5)]);if(_0x48a8cf['WJSNx'](_0x2c6b0a[_0x38e1db(0xed)],0x0)){helper[_0x38e1db(0x9d)](_0x18b738);for(let _0x547dad=_0x48a8cf[_0x38e1db(0xa1)](_0x20804a[_0x38e1db(0xed)],0x1);_0x48a8cf['JmBCP'](_0x547dad,0x0);_0x547dad--){_0x3d694e['splice'](_0x20804a[_0x547dad],0x2);}}!helper[_0x38e1db(0x9b)](_0x4c1343[_0x38e1db(0xad)]['accessibilityOptions'])&&(process['env'][_0x38e1db(0xe1)]=JSON['stringify'](_0x4c1343[_0x38e1db(0xad)][_0x38e1db(0xaa)]));_0x48a8cf['SVdkd'](_0x4c1343[_0x38e1db(0xad)][_0x38e1db(0xf4)],null)?process[_0x38e1db(0xc3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4c1343[_0x38e1db(0xad)]['testObservability']:process[_0x38e1db(0xc3)][_0x38e1db(0x103)]=_0x48a8cf['OzBhR'];const _0x2dad6b=await TestHubHandler[_0x38e1db(0xcb)](constants[_0x38e1db(0xa2)]['CUCUMBER'],_0x4c1343);helper[_0x38e1db(0x98)]();let _0x13f090;_0x48a8cf[_0x38e1db(0xe2)](parallelCucumberRun,_0x209848,_0x595cad,_0x4c1343[_0x38e1db(0xad)],_0x3d694e,_0x2c6b0a)['then'](async _0xeb4517=>{const _0x33966e=_0x38e1db;_0x13f090=_0xeb4517;const _0x11a78a=_0x48a8cf[_0x33966e(0x102)](printCucumberStats,_0xeb4517);process[_0x33966e(0xd9)]=_0x11a78a,_0x48a8cf[_0x33966e(0xf2)](_0x2c6b0a['length'],0x0)&&(logger['debug'](_0x48a8cf[_0x33966e(0xb2)]),helper[_0x33966e(0x9e)](_0x18b738,_0x2c6b0a),logger[_0x33966e(0xa4)](_0x48a8cf[_0x33966e(0xbf)]),helper[_0x33966e(0xc4)](_0x18b738));})[_0x38e1db(0xca)](async()=>{const _0x5af71e=_0x38e1db;_0x4c1343[_0x5af71e(0xd7)]=helper[_0x5af71e(0xbe)](_0x13f090,_0x48a8cf['CbiDT']),testOpsHelper[_0x5af71e(0xfd)]();try{await TestHubHandler['stop']();}catch(_0x1b47be){logger[_0x5af71e(0xa4)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x5af71e(0xa3)](_0x1b47be));}try{const {browserstackFolderPath:_0xe862bb,tcgConfigPath:_0x46a223}=helper[_0x5af71e(0xff)]();fs[_0x5af71e(0xb8)](_0x46a223),fs[_0x5af71e(0x100)](_0xe862bb);}catch(_0x32eb60){logger[_0x5af71e(0xa4)](_0x48a8cf[_0x5af71e(0xc7)],_0x32eb60);}await utilities[_0x5af71e(0xa8)](_0x4c1343);});}module[a5_0x5f0464(0xd4)]=run;
|
|
2
|
+
'use strict';const a5_0x3c011d=a5_0x1e0a;(function(_0x549c73,_0x4b72eb){const _0x4aef29=a5_0x1e0a,_0x114aa2=_0x549c73();while(!![]){try{const _0x1a532e=-parseInt(_0x4aef29(0x250))/0x1+parseInt(_0x4aef29(0x204))/0x2*(parseInt(_0x4aef29(0x21d))/0x3)+parseInt(_0x4aef29(0x23d))/0x4*(-parseInt(_0x4aef29(0x23b))/0x5)+-parseInt(_0x4aef29(0x21e))/0x6+-parseInt(_0x4aef29(0x22b))/0x7*(parseInt(_0x4aef29(0x227))/0x8)+-parseInt(_0x4aef29(0x232))/0x9+parseInt(_0x4aef29(0x24d))/0xa*(parseInt(_0x4aef29(0x20d))/0xb);if(_0x1a532e===_0x4b72eb)break;else _0x114aa2['push'](_0x114aa2['shift']());}catch(_0x373300){_0x114aa2['push'](_0x114aa2['shift']());}}}(a5_0x4fe0,0x62003));const fs=require('fs'),path=require('path'),util=require(a5_0x3c011d(0x222)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x3c011d(0x1fd)),helper=require(a5_0x3c011d(0x21f)),utilities=require('../../helpers/utilities'),constants=require(a5_0x3c011d(0x228)),{parallelCucumberRun}=require(a5_0x3c011d(0x213)),TestHubHandler=require(a5_0x3c011d(0x209)),testOpsHelper=require(a5_0x3c011d(0x22c)),chalk=require(a5_0x3c011d(0x224));function printCucumberStats(_0x955a31){const _0x1849f5=a5_0x3c011d,_0x3af7b5={};_0x3af7b5[_0x1849f5(0x1fe)]=function(_0x2eed74,_0x1acd5f){return _0x2eed74>_0x1acd5f;},_0x3af7b5[_0x1849f5(0x237)]=function(_0x17c4ea,_0x50676b){return _0x17c4ea-_0x50676b;},_0x3af7b5[_0x1849f5(0x236)]=function(_0x561d56,_0x1243ac){return _0x561d56>_0x1243ac;},_0x3af7b5[_0x1849f5(0x22d)]=function(_0x1d41f0,_0x25e66b){return _0x1d41f0>_0x25e66b;},_0x3af7b5[_0x1849f5(0x20f)]=function(_0x3f2dd2,_0x327da6){return _0x3f2dd2>_0x327da6;},_0x3af7b5[_0x1849f5(0x1f0)]=function(_0x4dcea4,_0x3e43a1){return _0x4dcea4>_0x3e43a1;},_0x3af7b5[_0x1849f5(0x24f)]=function(_0x2097d2,_0x50b75f){return _0x2097d2>_0x50b75f;},_0x3af7b5[_0x1849f5(0x1f4)]=function(_0x52bc74,_0x341afe){return _0x52bc74>_0x341afe;},_0x3af7b5[_0x1849f5(0x242)]=function(_0x2fff38,_0x2be826){return _0x2fff38>_0x2be826;},_0x3af7b5['TsLGl']=function(_0x2b0139,_0x7d395c){return _0x2b0139+_0x7d395c;},_0x3af7b5[_0x1849f5(0x241)]=function(_0x398cb2,_0x101c7f){return _0x398cb2+_0x101c7f;},_0x3af7b5[_0x1849f5(0x24a)]=function(_0x175a8a,_0x5a4827){return _0x175a8a+_0x5a4827;},_0x3af7b5[_0x1849f5(0x212)]=function(_0x5a8f45,_0x349a2a){return _0x5a8f45+_0x349a2a;},_0x3af7b5[_0x1849f5(0x243)]=function(_0x197320,_0x27fce3){return _0x197320===_0x27fce3;},_0x3af7b5['wlsig']='****\x20RESULTS\x20****';const _0x212486=_0x3af7b5;let _0x4fb43a=0x0;if(_0x212486['zTMms'](_0x955a31['length'],0x0))return _0x4fb43a;return console[_0x1849f5(0x20a)](chalk[_0x1849f5(0x226)][_0x1849f5(0x1f9)](_0x212486['wlsig'])),_0x955a31['forEach'](_0x47072d=>{const _0x5f4663=_0x1849f5,_0x294d1a=_0x47072d[0x0],_0x1420d1=_0x47072d[0x1];console[_0x5f4663(0x20a)]('\x0a'+chalk[_0x5f4663(0x226)][_0x5f4663(0x1e9)](''+helper[_0x5f4663(0x219)](_0x294d1a)));const _0x2435f1=_0x1420d1[_0x5f4663(0x21a)],_0xfa050=_0x1420d1[_0x5f4663(0x24b)],_0x1e1887=_0x1420d1[_0x5f4663(0x1e3)],_0x1e3cfb=_0x1420d1[_0x5f4663(0x1e5)],_0x2e5042=_0x1420d1[_0x5f4663(0x220)],_0x33b5d1=_0x1420d1[_0x5f4663(0x20e)],_0xb75699=_0x1420d1['stepsPending'],_0x4c2702=_0x1420d1[_0x5f4663(0x23e)],_0x5d26f5=_0x1420d1[_0x5f4663(0x1fc)],_0x52f950=_0x1420d1['stepsAmbiguous'],_0x35bac5=_0x1420d1['processSuccess'];let _0x3640ee=_0x2435f1+'\x20scenarios';const _0x4a7995=_0x212486['joHup'](_0x212486[_0x5f4663(0x237)](_0x2435f1,_0x1e1887),0x0)?_0x212486[_0x5f4663(0x237)](_0x2435f1,_0x1e1887):0x0;if(_0x212486[_0x5f4663(0x236)](_0x1e1887,0x0)&&_0x212486[_0x5f4663(0x1fe)](_0x4a7995,0x0))_0x3640ee+='\x20('+chalk['bold'][_0x5f4663(0x1fb)](_0x1e1887+_0x5f4663(0x205))+',\x20'+chalk[_0x5f4663(0x226)][_0x5f4663(0x1ea)](_0x4a7995+'\x20passed')+')';else(_0x212486[_0x5f4663(0x1fe)](_0x1e1887,0x0)||_0x212486[_0x5f4663(0x1fe)](_0x4a7995,0x0))&&(_0x3640ee+=_0x212486['WKJPM'](_0x1e1887,0x0)?'\x20('+chalk[_0x5f4663(0x226)]['red'](_0x1e1887+_0x5f4663(0x205))+')':'\x20('+chalk[_0x5f4663(0x226)][_0x5f4663(0x1ea)](_0x4a7995+_0x5f4663(0x244))+')');const _0x325043=_0xfa050+'\x20steps',_0x306d7e=[];_0x212486['yiVub'](_0x52f950,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk['bold'][_0x5f4663(0x1fb)](_0x52f950+_0x5f4663(0x23a)));_0x212486[_0x5f4663(0x1f0)](_0x1e3cfb,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk['bold']['red'](_0x1e3cfb+_0x5f4663(0x205)));_0x212486['dspze'](_0x2e5042,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk[_0x5f4663(0x226)]['green'](_0x2e5042+_0x5f4663(0x244)));_0x212486[_0x5f4663(0x1fe)](_0xb75699,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk[_0x5f4663(0x226)][_0x5f4663(0x1e9)](_0xb75699+_0x5f4663(0x245)));_0x212486[_0x5f4663(0x1f4)](_0x33b5d1,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk[_0x5f4663(0x226)]['cyan'](_0x33b5d1+'\x20skipped'));_0x212486[_0x5f4663(0x242)](_0x4c2702,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk[_0x5f4663(0x226)][_0x5f4663(0x1e9)](_0x4c2702+_0x5f4663(0x1fa)));_0x212486[_0x5f4663(0x24f)](_0x5d26f5,0x0)&&_0x306d7e[_0x5f4663(0x248)](''+chalk[_0x5f4663(0x226)]['yellow'](_0x5d26f5+'\x20skipped'));const _0x3e1e0f=_0x212486[_0x5f4663(0x1eb)](_0x212486['sTbTz'](_0x212486[_0x5f4663(0x24a)](_0x325043,'('),_0x306d7e[_0x5f4663(0x21b)](',\x20')),')');console['log'](_0x212486['sTbTz'](_0x212486[_0x5f4663(0x1eb)](_0x212486['TsLGl'](_0x212486[_0x5f4663(0x212)]('\x0a',_0x3640ee),'\x0a'),_0x3e1e0f),'\x0a')),_0x212486[_0x5f4663(0x243)](_0x35bac5,![])&&(_0x4fb43a=0x1);}),_0x4fb43a;}async function run(_0x457f92,_0x2c940e){const _0x48910a=a5_0x3c011d,_0x25a2a8={'rVaBA':function(_0x22cff6,_0x4e5255){return _0x22cff6(_0x4e5255);},'qZSva':function(_0x47018e,_0x5798b3){return _0x47018e>_0x5798b3;},'OOQep':'Generating\x20consolidated\x20report...','UqENv':_0x48910a(0x21c),'YJKLx':'cucumber','jASLU':_0x48910a(0x1f6),'rFbPJ':_0x48910a(0x1e4),'CqPDN':_0x48910a(0x22e),'UlFhb':function(_0x30b506,_0x5d679d){return _0x30b506-_0x5d679d;},'JFuYC':function(_0x5310c2,_0xfc23df){return _0x5310c2>=_0xfc23df;},'PChxK':function(_0x4ef905,_0x36c866){return _0x4ef905!=_0x36c866;},'HINfG':_0x48910a(0x221),'NmxUY':function(_0x5e9c00,_0x21ea00,_0x4a5724,_0x226d79,_0x38f666,_0xfeeea2){return _0x5e9c00(_0x21ea00,_0x4a5724,_0x226d79,_0x38f666,_0xfeeea2);}},_0x545366=new BrowserStackSetup(_0x457f92,_0x25a2a8['rFbPJ']);await _0x545366[_0x48910a(0x20c)]();!helper[_0x48910a(0x1ee)]()&&await _0x545366[_0x48910a(0x215)]();await helper[_0x48910a(0x217)](_0x545366[_0x48910a(0x20b)]);const _0x4fc4eb=helper[_0x48910a(0x234)](_0x545366[_0x48910a(0x20b)]),_0x2e517e=helper[_0x48910a(0x230)](_0x545366[_0x48910a(0x20b)],_0x4fc4eb,constants[_0x48910a(0x238)][_0x48910a(0x229)]);if(!_0x545366[_0x48910a(0x20b)])return;const _0x3271d3=_0x545366['config'][_0x48910a(0x249)]||helper[_0x48910a(0x225)](_0x457f92,_0x2c940e,_0x545366[_0x48910a(0x20b)],constants[_0x48910a(0x238)][_0x48910a(0x229)])||0x1,_0x4e0d7f={'server':helper[_0x48910a(0x233)](_0x545366[_0x48910a(0x20b)]),'proxySettings':_0x545366['config'][_0x48910a(0x1f7)],'maxWorkers':_0x3271d3,'browserStackLogLevel':_0x545366[_0x48910a(0x20b)]['logLevel'],'skipSessionName':_0x545366[_0x48910a(0x20b)][_0x48910a(0x235)]['skipSessionName'],'skipSessionStatus':_0x545366[_0x48910a(0x20b)][_0x48910a(0x235)][_0x48910a(0x23c)],'turboScaleUrl':_0x545366[_0x48910a(0x20b)][_0x48910a(0x203)]},_0x461ae2=process['argv'],[_0x2d7efa,_0x320ec3]=helper[_0x48910a(0x252)](_0x461ae2),_0x365288=path[_0x48910a(0x21b)](process[_0x48910a(0x22a)](),_0x25a2a8[_0x48910a(0x211)]);if(_0x25a2a8[_0x48910a(0x251)](_0x320ec3[_0x48910a(0x1ef)],0x0)){helper[_0x48910a(0x216)](_0x365288);for(let _0x34c9d7=_0x25a2a8[_0x48910a(0x239)](_0x2d7efa[_0x48910a(0x1ef)],0x1);_0x25a2a8[_0x48910a(0x24e)](_0x34c9d7,0x0);_0x34c9d7--){_0x461ae2[_0x48910a(0x208)](_0x2d7efa[_0x34c9d7],0x2);}}!helper[_0x48910a(0x23f)](_0x545366[_0x48910a(0x20b)][_0x48910a(0x207)])&&(process[_0x48910a(0x1f8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x48910a(0x1e7)](_0x545366[_0x48910a(0x20b)][_0x48910a(0x207)]));_0x25a2a8[_0x48910a(0x1f1)](_0x545366[_0x48910a(0x20b)][_0x48910a(0x1e8)],null)?process[_0x48910a(0x1f8)][_0x48910a(0x1f2)]=_0x545366[_0x48910a(0x20b)][_0x48910a(0x1e8)]:process[_0x48910a(0x1f8)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x25a2a8[_0x48910a(0x206)];const _0x1cef09=await TestHubHandler[_0x48910a(0x1ed)](constants[_0x48910a(0x238)]['CUCUMBER'],_0x545366);helper['markSDKSetupComplete']();let _0x50fad4;_0x25a2a8[_0x48910a(0x231)](parallelCucumberRun,_0x2e517e,_0x4e0d7f,_0x545366[_0x48910a(0x20b)],_0x461ae2,_0x320ec3)[_0x48910a(0x1e6)](async _0x3deb84=>{const _0x531e52=_0x48910a;_0x50fad4=_0x3deb84;const _0x9467ac=_0x25a2a8['rVaBA'](printCucumberStats,_0x3deb84);process[_0x531e52(0x218)]=_0x9467ac,_0x25a2a8[_0x531e52(0x251)](_0x320ec3[_0x531e52(0x1ef)],0x0)&&(logger['debug'](_0x25a2a8[_0x531e52(0x1f5)]),helper[_0x531e52(0x1ec)](_0x365288,_0x320ec3),logger[_0x531e52(0x247)](_0x25a2a8[_0x531e52(0x24c)]),helper[_0x531e52(0x210)](_0x365288));})[_0x48910a(0x223)](async()=>{const _0x3d6cd6=_0x48910a;_0x545366[_0x3d6cd6(0x246)]=helper[_0x3d6cd6(0x1ff)](_0x50fad4,_0x25a2a8[_0x3d6cd6(0x214)]),testOpsHelper[_0x3d6cd6(0x202)]();try{await TestHubHandler['stop']();}catch(_0x5df2e6){logger[_0x3d6cd6(0x247)](_0x3d6cd6(0x200)+util['format'](_0x5df2e6));}try{const {browserstackFolderPath:_0x45b891,tcgConfigPath:_0x5d02e7}=helper[_0x3d6cd6(0x201)]();fs[_0x3d6cd6(0x22f)](_0x5d02e7),fs['rmdirSync'](_0x45b891);}catch(_0x35611c){logger[_0x3d6cd6(0x247)](_0x25a2a8['jASLU'],_0x35611c);}await utilities[_0x3d6cd6(0x1f3)](_0x545366);});}function a5_0x4fe0(){const _0x225de7=['319ALkvQJ','stepsSkipped','yiVub','removeDir','CqPDN','qydlf','../test-runner','YJKLx','setupTCGAuth','createDir','handleApp','exitCode','getPlatformName','scenarios','join','Removing\x20tmp\x20directory\x20created\x20for\x20reports','30XqhAlB','3053100HHKzfz','../../helpers/helper','stepsPassed','false','util','finally','chalk','getUserWorkerCount','bold','16GHwoaq','../utils/constants','CUCUMBER','cwd','633248pcePRU','../../helpers/test-observability/utils','WKJPM','tmp','unlinkSync','prepareCapabilities','NmxUY','4061637LypZAa','getHubUrl','useW3C','testContextOptions','LfUfx','wNMuV','FRAMEWORKS','UlFhb','\x20ambiguous','5fZwHOq','skipSessionStatus','1295656jPIYWU','stepsUndefined','isUndefined','exports','sTbTz','pLTcp','zTMms','\x20passed','\x20pending','errorMessage','debug','push','parallelsPerPlatform','tJlXD','steps','UqENv','622960nwIeZs','JFuYC','dspze','421068aQzMrD','qZSva','parseFormatters','scenariosFailed','cucumber-js','stepsFailed','then','stringify','testObservability','yellow','green','TsLGl','mergeOutputFiles','launchBuild','isBrowserstackInfra','length','kxOCJ','PChxK','BROWSERSTACK_TEST_OBSERVABILITY_YML','finalExecution','xzokG','OOQep','error\x20removing\x20tcg\x20config\x20file','proxySettings','env','bgWhite','\x20undefined','red','stepsUnknown','../../helpers/BrowserStackSetup','joHup','getErrorMessageFromResults','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','getTCGConfigFilePaths','printBuildLink','turboScaleUrl','96176uRFeaD','\x20failed','HINfG','accessibilityOptions','splice','../../helpers/testhub/testhubHandler','log','config','initialize'];a5_0x4fe0=function(){return _0x225de7;};return a5_0x4fe0();}function a5_0x1e0a(_0x4e6e04,_0x59896e){const _0x4fe0dc=a5_0x4fe0();return a5_0x1e0a=function(_0x1e0a7d,_0x5f46e1){_0x1e0a7d=_0x1e0a7d-0x1e3;let _0x1c0173=_0x4fe0dc[_0x1e0a7d];return _0x1c0173;},a5_0x1e0a(_0x4e6e04,_0x59896e);}module[a5_0x3c011d(0x240)]=run;
|