browserstack-node-sdk 1.34.5 → 1.34.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x2a6b96=a1_0x4fc9;function a1_0x4fc9(_0x81fbfa,_0x36ec24){const _0xbd0a8a=a1_0xbd0a();return a1_0x4fc9=function(_0x4fc909,_0xe84185){_0x4fc909=_0x4fc909-0x192;let _0x1508a1=_0xbd0a8a[_0x4fc909];return _0x1508a1;},a1_0x4fc9(_0x81fbfa,_0x36ec24);}(function(_0x2fb22b,_0x45240a){const _0x1b4abe=a1_0x4fc9,_0x2d9c62=_0x2fb22b();while(!![]){try{const _0x10f693=-parseInt(_0x1b4abe(0x23b))/0x1*(parseInt(_0x1b4abe(0x1cc))/0x2)+parseInt(_0x1b4abe(0x20d))/0x3+parseInt(_0x1b4abe(0x229))/0x4*(parseInt(_0x1b4abe(0x20a))/0x5)+parseInt(_0x1b4abe(0x1d7))/0x6*(parseInt(_0x1b4abe(0x231))/0x7)+-parseInt(_0x1b4abe(0x22d))/0x8*(parseInt(_0x1b4abe(0x19d))/0x9)+parseInt(_0x1b4abe(0x1af))/0xa*(-parseInt(_0x1b4abe(0x1f5))/0xb)+parseInt(_0x1b4abe(0x1a4))/0xc*(parseInt(_0x1b4abe(0x213))/0xd);if(_0x10f693===_0x45240a)break;else _0x2d9c62['push'](_0x2d9c62['shift']());}catch(_0x217e4e){_0x2d9c62['push'](_0x2d9c62['shift']());}}}(a1_0xbd0a,0x23662));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a1_0x2a6b96(0x1e0)],testOpsHelper=require(a1_0x2a6b96(0x1c2)),requestSpy=require(a1_0x2a6b96(0x1d9)),PlaywrightSessionDetails=require(a1_0x2a6b96(0x202)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2a6b96(0x1a0)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x2a6b96(0x21d)),PerformanceTester=require(a1_0x2a6b96(0x1d6)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2a6b96(0x1f2)),testHubConstants=require(a1_0x2a6b96(0x199)),CodeceptJS=requireModule(a1_0x2a6b96(0x20c)),CodeceptUtils=requireModule(a1_0x2a6b96(0x237)),CodeceptWebDriver=requireModule(a1_0x2a6b96(0x194)),CodeceptRecorder=requireModule(a1_0x2a6b96(0x205)),CodeceptPlaywright=requireModule(a1_0x2a6b96(0x1f6)),playwrightMarkSessionStatus=(_0x2faaf7,_0xbe4101,_0x395b0f)=>{const _0x59ca93=a1_0x2a6b96,_0x37a508={'poVAL':_0x59ca93(0x228),'diHDe':function(_0x531ee7,_0x2d3fa3){return _0x531ee7(_0x2d3fa3);}},_0x5dc524={};_0x5dc524['status']=_0xbe4101;const _0x58a92e={};_0x58a92e[_0x59ca93(0x1dd)]=_0x37a508[_0x59ca93(0x224)],_0x58a92e[_0x59ca93(0x1f3)]=_0x5dc524;const _0x454a2c=_0x58a92e;return!_0x37a508[_0x59ca93(0x1dc)](isUndefined,_0x395b0f)&&(_0x454a2c[_0x59ca93(0x1f3)][_0x59ca93(0x201)]=JSON['stringify'](_0x395b0f)),_0x2faaf7[_0x59ca93(0x232)](()=>{},_0x59ca93(0x1e6)+JSON[_0x59ca93(0x1ac)](_0x454a2c));},o11ySync=async _0x589663=>{const _0xd1ea05=a1_0x2a6b96,_0x48504f={};_0x48504f['VPxOG']=function(_0x3c7c17,_0x443289){return _0x3c7c17===_0x443289;},_0x48504f[_0xd1ea05(0x239)]=_0xd1ea05(0x1c3);const _0x3e7e27=_0x48504f;_0x3e7e27[_0xd1ea05(0x1e7)](_0x589663[_0xd1ea05(0x1c7)][_0xd1ea05(0x1ec)],_0x3e7e27[_0xd1ea05(0x239)])?await _0x589663[_0xd1ea05(0x232)](_0x1ec066=>{},testOpsHelper[_0xd1ea05(0x1c9)]()):await _0x589663[_0xd1ea05(0x232)](testOpsHelper['getSyncScript']());},markSessionName=async(_0x2e39aa,_0xd8e44d)=>{const _0xb11cac=a1_0x2a6b96,_0x411ba1={};_0x411ba1[_0xb11cac(0x200)]=_0xb11cac(0x236),_0x411ba1['LgdnH']=function(_0x5018f0,_0x332b03){return _0x5018f0===_0x332b03;},_0x411ba1[_0xb11cac(0x1c5)]='Playwright';const _0xf14782=_0x411ba1,_0x5eebf7={};_0x5eebf7[_0xb11cac(0x1ec)]=_0xd8e44d;const _0xe55a6f={};_0xe55a6f['action']=_0xf14782[_0xb11cac(0x200)],_0xe55a6f[_0xb11cac(0x1f3)]=_0x5eebf7;const _0x16da7d=_0xe55a6f;_0xf14782[_0xb11cac(0x203)](_0x2e39aa[_0xb11cac(0x1c7)][_0xb11cac(0x1ec)],_0xf14782['CoCVh'])?await _0x2e39aa[_0xb11cac(0x232)](()=>{},_0xb11cac(0x1e6)+JSON[_0xb11cac(0x1ac)](_0x16da7d)):await _0x2e39aa['executeScript'](_0xb11cac(0x1e6)+JSON[_0xb11cac(0x1ac)](_0x16da7d));},patchSaveScreenshot=_0x4a28be=>{const _0x1bfcf8=a1_0x2a6b96,_0x4fabe9={'aoWkn':_0x1bfcf8(0x230),'ojkwk':_0x1bfcf8(0x1d0),'Xqqxf':function(_0x15452d){return _0x15452d();},'CrlEH':function(_0x1a7a15,_0x55ee49){return _0x1a7a15(_0x55ee49);}};_0x4fabe9['CrlEH'](isTrue,process[_0x1bfcf8(0x1a2)][_0x1bfcf8(0x1b2)])&&!_0x4a28be['patchSaveScreenshot']&&(_0x4a28be[_0x1bfcf8(0x1c6)]=!![],_0x4a28be[_0x1bfcf8(0x1ae)]=_0x4a28be[_0x1bfcf8(0x1e1)],_0x4a28be[_0x1bfcf8(0x1e1)]=(_0x56ea55,_0x5456e9=![])=>{return new Promise(function(_0x4dad71,_0x3272af){const _0x14c0ac=a1_0x4fc9,_0x1cc6e0={'yfQEN':_0x4fabe9[_0x14c0ac(0x1c0)],'rKBlF':_0x4fabe9['ojkwk'],'YeedF':function(_0x53d297){const _0x423cca=_0x14c0ac;return _0x4fabe9[_0x423cca(0x1a6)](_0x53d297);}};_0x4a28be['initSaveScreenshot'](_0x56ea55,_0x5456e9)[_0x14c0ac(0x197)](()=>{const _0x468351=_0x14c0ac,_0x5c77b9=CodeceptUtils['screenshotOutputFolder'](_0x56ea55),_0x32f591=fs[_0x468351(0x242)](_0x5c77b9);process[_0x468351(0x1d4)]('bs:addLog:'+process[_0x468351(0x1f0)],{'timestamp':new Date()[_0x468351(0x1cf)](),'message':_0x32f591[_0x468351(0x23d)](_0x1cc6e0[_0x468351(0x1cd)]),'kind':_0x1cc6e0[_0x468351(0x1ed)]}),_0x1cc6e0[_0x468351(0x1c4)](_0x4dad71);})[_0x14c0ac(0x1e8)](()=>null);});});},patchWebDriverBefore=_0x469083=>{const _0x3bd992=a1_0x2a6b96,_0x163034={'qATHe':function(_0x17b9cb){return _0x17b9cb();},'tlEmZ':function(_0xdaa356,_0x556e3c){return _0xdaa356(_0x556e3c);},'IaXyJ':function(_0x30d512,_0xb82662){return _0x30d512===_0xb82662;},'Mjuzh':_0x3bd992(0x1ea),'Mipzj':function(_0x3b30ad,_0x184b6f){return _0x3b30ad(_0x184b6f);}},_0x2f2ea5=async function(_0x5a98c4,_0x115550){const _0x571884=_0x3bd992;return _0x163034[_0x571884(0x210)](isAccessibilityAutomationSession)&&!global[_0x571884(0x1a8)]&&global[_0x571884(0x19b)]&&scripts[_0x571884(0x1b6)](_0x5a98c4[_0x571884(0x1ec)])&&_0x163034['tlEmZ'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x571884(0x1a8)]=!![],logger[_0x571884(0x1fb)](_0x571884(0x218)+_0x5a98c4[_0x571884(0x193)]+'\x20'+_0x5a98c4['name']),await AccessibilityHelper[_0x571884(0x19e)](_0x469083,scripts[_0x571884(0x1b3)])),global[_0x571884(0x1a8)]=![],_0x115550[_0x571884(0x235)](this,Array['prototype']['slice'][_0x571884(0x206)](arguments,0x2));},_0x13689e=CodeceptWebDriver['prototype'][_0x3bd992(0x1ff)];CodeceptWebDriver[_0x3bd992(0x20f)][_0x3bd992(0x1ff)]=async function(){const _0x1fad1e=_0x3bd992;await _0x13689e['apply'](this,arguments),scripts['commandsToWrap'][_0x1fad1e(0x19f)](_0x252144=>_0x252144[_0x1fad1e(0x1ec)]&&_0x252144[_0x1fad1e(0x193)])[_0x1fad1e(0x23a)](_0xe1c0d5=>{const _0x433bd5=_0x1fad1e;this[_0x433bd5(0x23e)][_0x433bd5(0x1f7)](_0xe1c0d5[_0x433bd5(0x1ec)],_0x2f2ea5[_0x433bd5(0x1bf)](this,_0xe1c0d5),_0x163034['IaXyJ'](_0xe1c0d5[_0x433bd5(0x193)],_0x163034[_0x433bd5(0x1b0)]));}),_0x163034[_0x1fad1e(0x1b7)](processWebDriverConfig,_0x469083);};},patchPlaywrightBefore=()=>{const _0xd71ea4=a1_0x2a6b96;PlaywrightSessionDetails[_0xd71ea4(0x226)]();const _0x1eb727=CodeceptPlaywright[_0xd71ea4(0x20f)]['_before'];CodeceptPlaywright[_0xd71ea4(0x20f)][_0xd71ea4(0x1ff)]=async function(){const _0x5282b7=_0xd71ea4;this[_0x5282b7(0x238)]=await this[_0x5282b7(0x23e)][_0x5282b7(0x1df)]()[0x0],await _0x1eb727[_0x5282b7(0x235)](this,arguments);};},getCodeceptDriver=()=>{const _0x340537=a1_0x2a6b96,_0x56e5a2={};_0x56e5a2[_0x340537(0x1ca)]=_0x340537(0x1be),_0x56e5a2['ievAY']=_0x340537(0x1c3),_0x56e5a2[_0x340537(0x1a3)]=_0x340537(0x21b),_0x56e5a2['MelgY']=_0x340537(0x211);const _0x4e78a2=_0x56e5a2,_0x57e98e=[_0x4e78a2[_0x340537(0x1ca)],_0x4e78a2[_0x340537(0x1a1)],_0x4e78a2['XTqdI'],_0x4e78a2[_0x340537(0x1bd)]],_0x1bdccd=_0x57e98e[_0x340537(0x22c)](_0x3f2728=>!!CodeceptJS[_0x340537(0x208)][_0x340537(0x23f)](_0x3f2728));if(!_0x1bdccd)return null;return CodeceptJS[_0x340537(0x208)]['helpers'](_0x1bdccd);};module[a1_0x2a6b96(0x198)]=function(_0x4d223c){const _0x3530cf=a1_0x2a6b96,_0x4d2eac={'lGyrl':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','dpzJu':_0x3530cf(0x1e2),'eCOqf':function(_0x2cb7a2){return _0x2cb7a2();},'ZxpiV':function(_0x1aa068,_0xcb0ccc){return _0x1aa068(_0xcb0ccc);},'Ljejd':function(_0x1f54f2,_0x119af1,_0x4d050c){return _0x1f54f2(_0x119af1,_0x4d050c);},'qEFRh':function(_0x10d79f){return _0x10d79f();},'Fnwid':function(_0x592e60,_0x19232e,_0x3912d2){return _0x592e60(_0x19232e,_0x3912d2);},'ZgEFy':function(_0x3b192e,_0x4a6e49,_0x52421f,_0x159d6b){return _0x3b192e(_0x4a6e49,_0x52421f,_0x159d6b);},'UONLQ':function(_0xfe0a3d,_0x168dba){return _0xfe0a3d===_0x168dba;},'eIDvO':_0x3530cf(0x1d5),'bsJvE':function(_0x3f7677){return _0x3f7677();},'rgqIZ':function(_0x4125d5,_0x200416,_0x23d66e){return _0x4125d5(_0x200416,_0x23d66e);},'nkQgi':_0x3530cf(0x196),'XiykU':'INFO','qEmYa':_0x3530cf(0x1b8),'FVWNb':function(_0x176fe3){return _0x176fe3();},'YmUCZ':_0x3530cf(0x1c3),'CQmlt':function(_0x427f48){return _0x427f48();},'RWKeG':function(_0x100b9c,_0x48ae95){return _0x100b9c(_0x48ae95);}};_0x4d223c[_0x3530cf(0x20e)]&&(global['__skipSessionStatus']=_0x4d223c[_0x3530cf(0x20e)]);PerformanceTester[_0x3530cf(0x23c)]();const _0x4c9f98=_0x4d2eac[_0x3530cf(0x227)](getCodeceptDriver),_0x22ee28=new O11yHelper(_0x4c9f98,_0x4d223c),_0x442057=!!CodeceptJS[_0x3530cf(0x208)][_0x3530cf(0x23f)](_0x4d2eac[_0x3530cf(0x1fa)]);global['__driver']=_0x4c9f98,_0x4c9f98&&(_0x442057?_0x4d2eac[_0x3530cf(0x1ab)](patchPlaywrightBefore):_0x4d2eac[_0x3530cf(0x1b4)](patchWebDriverBefore,_0x4c9f98),_0x4c9f98[_0x3530cf(0x1e4)]=async()=>{const _0x43c1cd=_0x3530cf;if(global[_0x43c1cd(0x19b)])await AccessibilityHelper[_0x43c1cd(0x19e)](_0x4c9f98,scripts[_0x43c1cd(0x1b3)]),await AccessibilityHelper[_0x43c1cd(0x19e)](_0x4c9f98,scripts['getResultsSummary']);else return logger[_0x43c1cd(0x1eb)](_0x4d2eac[_0x43c1cd(0x1f9)]),{};},_0x4c9f98[_0x3530cf(0x245)]=async()=>{const _0x3f6c46=_0x3530cf;if(global[_0x3f6c46(0x19b)])await AccessibilityHelper[_0x3f6c46(0x19e)](_0x4c9f98,scripts[_0x3f6c46(0x1b3)]),await AccessibilityHelper[_0x3f6c46(0x19e)](_0x4c9f98,scripts[_0x3f6c46(0x204)]);else return logger['warn'](_0x4d2eac[_0x3f6c46(0x1fc)]),{};},_0x4d2eac[_0x3530cf(0x1b4)](patchSaveScreenshot,_0x4c9f98)),CodeceptJS[_0x3530cf(0x1a5)]['dispatcher']['on'](CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x243)][_0x3530cf(0x225)],()=>{const _0x29418b=_0x3530cf;try{_0x22ee28[_0x29418b(0x233)](),testOpsHelper[_0x29418b(0x220)]();}catch(_0x447e11){PerformanceTester[_0x29418b(0x1fe)](_0x447e11);}}),CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1bb)]['on'](CodeceptJS['event'][_0x3530cf(0x243)][_0x3530cf(0x212)],async()=>{const _0x1ee766=_0x3530cf;try{requestSpy[_0x1ee766(0x195)](),await _0x22ee28[_0x1ee766(0x1cb)]();}catch(_0x229107){PerformanceTester['captureError'](_0x229107);}finally{PerformanceTester[_0x1ee766(0x1b1)]();}}),CodeceptJS[_0x3530cf(0x1a5)]['dispatcher']['on'](CodeceptJS['event'][_0x3530cf(0x1b5)][_0x3530cf(0x234)],_0x348f99=>{const _0x5ca246=_0x3530cf;try{const _0x384677=_0x348f99[_0x5ca246(0x1ad)][_0x5ca246(0x1ba)],_0x50c565=_0x22ee28['captureEvent'](TEST_EVENTS[_0x5ca246(0x1da)],_0x384677);CodeceptRecorder[_0x5ca246(0x1ce)](()=>_0x22ee28['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x50c565));}catch(_0x20fa54){PerformanceTester[_0x5ca246(0x1fe)](_0x20fa54);}}),CodeceptJS[_0x3530cf(0x1a5)]['dispatcher']['on'](CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1b5)][_0x3530cf(0x1f1)],_0x5e2dad=>{const _0x3bd12e=_0x3530cf;try{const _0x1b46fd=_0x5e2dad[_0x3bd12e(0x1ad)]['test'],_0x3bc39e=_0x22ee28[_0x3bd12e(0x19a)](TEST_EVENTS[_0x3bd12e(0x22b)],_0x1b46fd);CodeceptRecorder['add'](()=>_0x22ee28[_0x3bd12e(0x21c)](TEST_EVENTS[_0x3bd12e(0x22b)],_0x3bc39e));}catch(_0x4a8406){PerformanceTester[_0x3bd12e(0x1fe)](_0x4a8406);}}),CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1bb)]['on'](CodeceptJS[_0x3530cf(0x1a5)]['hook'][_0x3530cf(0x1d1)],async(_0x98bad7,_0x5b562e)=>{const _0x3bd86d=_0x3530cf;try{const _0x351071=_0x98bad7['ctx'][_0x3bd86d(0x1ba)],_0x26f709=_0x22ee28[_0x3bd86d(0x19a)](TEST_EVENTS[_0x3bd86d(0x22b)],_0x351071,_0x5b562e);CodeceptRecorder[_0x3bd86d(0x1ce)](()=>_0x22ee28[_0x3bd86d(0x21c)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x26f709));}catch(_0xb82c62){PerformanceTester[_0x3bd86d(0x1fe)](_0xb82c62);}}),CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1bb)]['on'](CodeceptJS['event']['test'][_0x3530cf(0x225)],_0xb9fc41=>{const _0x16fbda=_0x3530cf;try{_0x4d2eac[_0x16fbda(0x221)](isBrowserstackInfra)&&(_0x442057&&(global[_0x16fbda(0x21e)]={'currentTest':{'name':_0xb9fc41['title'],'testInfo':{'titlePath':_0xb9fc41['titlePath']()}}}));}catch(_0x1ac711){PerformanceTester['captureError'](_0x1ac711);}}),CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1bb)]['on'](CodeceptJS[_0x3530cf(0x1a5)]['test'][_0x3530cf(0x234)],_0x117502=>{const _0x1aa09f=_0x3530cf,_0x5a54af={'KfjhO':function(_0x19816d){const _0x1c346d=a1_0x4fc9;return _0x4d2eac[_0x1c346d(0x221)](_0x19816d);},'aOjqa':function(_0x13b02d,_0x213fed){const _0x32e5e5=a1_0x4fc9;return _0x4d2eac[_0x32e5e5(0x1f8)](_0x13b02d,_0x213fed);},'nRNHu':function(_0x39266a,_0x4476da,_0x4f5aec){const _0x271a3a=a1_0x4fc9;return _0x4d2eac[_0x271a3a(0x192)](_0x39266a,_0x4476da,_0x4f5aec);},'bhuZD':function(_0x20b4ff,_0x55ffec){const _0x48486b=a1_0x4fc9;return _0x4d2eac[_0x48486b(0x1f8)](_0x20b4ff,_0x55ffec);}};try{const _0x29f096=_0x22ee28[_0x1aa09f(0x19a)](TEST_EVENTS[_0x1aa09f(0x223)],_0x117502);CodeceptRecorder[_0x1aa09f(0x1ce)](()=>_0x22ee28[_0x1aa09f(0x21c)](TEST_EVENTS['TEST_RUN_STARTED'],_0x29f096)),CodeceptRecorder[_0x1aa09f(0x1ce)](async()=>{const _0x570920=_0x1aa09f;_0x5a54af[_0x570920(0x246)](isBrowserstackInfra)&&(!_0x5a54af[_0x570920(0x1a7)](isTrue,_0x4d223c[_0x570920(0x207)])&&await _0x5a54af[_0x570920(0x219)](markSessionName,_0x4c9f98,_0x117502[_0x570920(0x1fd)]),_0x22ee28[_0x570920(0x1e9)]&&await _0x5a54af['bhuZD'](o11ySync,_0x4c9f98));});}catch(_0x5c36b9){PerformanceTester[_0x1aa09f(0x1fe)](_0x5c36b9);}}),CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1bb)]['on'](CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1ba)][_0x3530cf(0x1f1)],_0x3bca06=>{const _0x190ef3=_0x3530cf,_0x41357f={'TpeWJ':function(_0x50894d){const _0x2d11b1=a1_0x4fc9;return _0x4d2eac[_0x2d11b1(0x1d3)](_0x50894d);},'cKnmP':function(_0x509c68,_0x438243,_0x31a3aa){return _0x4d2eac['Fnwid'](_0x509c68,_0x438243,_0x31a3aa);},'KBGqX':function(_0x660866,_0x2fbf6b,_0x1f0f12){const _0x33dbc0=a1_0x4fc9;return _0x4d2eac[_0x33dbc0(0x240)](_0x660866,_0x2fbf6b,_0x1f0f12);}};try{const _0x17824f=_0x22ee28[_0x190ef3(0x19a)](TEST_EVENTS[_0x190ef3(0x22e)],_0x3bca06);CodeceptRecorder[_0x190ef3(0x1ce)](()=>_0x22ee28['fireEvent'](TEST_EVENTS[_0x190ef3(0x22e)],_0x17824f)),CodeceptRecorder[_0x190ef3(0x1ce)](async()=>{const _0x1a1bc6=_0x190ef3;_0x41357f[_0x1a1bc6(0x22a)](isBrowserstackInfra)&&(_0x442057?await _0x41357f['cKnmP'](playwrightMarkSessionStatus,_0x4c9f98,STATE_PASSED):await _0x41357f[_0x1a1bc6(0x1d8)](markSessionStatus,_0x4c9f98,STATE_PASSED));});}catch(_0x520441){PerformanceTester[_0x190ef3(0x1fe)](_0x520441);}}),CodeceptJS[_0x3530cf(0x1a5)]['dispatcher']['on'](CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1ba)][_0x3530cf(0x1d1)],(_0x2dbf5b,_0x42efad)=>{const _0x30e3bf=_0x3530cf,_0x4af5c4={'qAltA':function(_0x5f5af2){return _0x4d2eac['eCOqf'](_0x5f5af2);},'PowDU':function(_0x103862,_0x3075fa,_0x568d0a,_0x497d42){const _0x3c3999=a1_0x4fc9;return _0x4d2eac[_0x3c3999(0x1c1)](_0x103862,_0x3075fa,_0x568d0a,_0x497d42);}};try{if(_0x4d2eac[_0x30e3bf(0x20b)](_0x2dbf5b[_0x30e3bf(0x1c7)]['name'],_0x4d2eac[_0x30e3bf(0x1de)])){const _0x20c90f=_0x22ee28[_0x30e3bf(0x19a)](TEST_EVENTS[_0x30e3bf(0x19c)],_0x2dbf5b['ctx'][_0x30e3bf(0x22f)]);CodeceptRecorder[_0x30e3bf(0x1ce)](()=>_0x22ee28['fireEvent'](TEST_EVENTS[_0x30e3bf(0x19c)],_0x20c90f));}else{const _0xe67681=_0x22ee28[_0x30e3bf(0x19a)](TEST_EVENTS[_0x30e3bf(0x22e)],_0x2dbf5b,_0x42efad);CodeceptRecorder[_0x30e3bf(0x1ce)](()=>{const _0x27888a=_0x30e3bf;try{_0x22ee28[_0x27888a(0x21c)](TEST_EVENTS[_0x27888a(0x22e)],_0xe67681);}catch(_0x391ba0){logger[_0x27888a(0x1fb)](_0x27888a(0x247)+util[_0x27888a(0x1c8)](_0x391ba0));}}),CodeceptRecorder[_0x30e3bf(0x1ce)](async()=>{const _0x5ec71d=_0x30e3bf;try{_0x4af5c4[_0x5ec71d(0x222)](isBrowserstackInfra)&&(_0x442057?await _0x4af5c4[_0x5ec71d(0x215)](playwrightMarkSessionStatus,_0x4c9f98,STATE_FAILED,_0x42efad):await _0x4af5c4[_0x5ec71d(0x215)](markSessionStatus,_0x4c9f98,STATE_FAILED,_0x42efad));}catch(_0xa60423){logger[_0x5ec71d(0x1fb)](_0x5ec71d(0x1b9)+util[_0x5ec71d(0x1c8)](_0xa60423));}});}}catch(_0x518b91){PerformanceTester[_0x30e3bf(0x1fe)](_0x518b91);}}),CodeceptJS['event'][_0x3530cf(0x1bb)]['on'](CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1ba)]['skipped'],_0x2a5547=>{const _0x431d90=_0x3530cf;try{const _0x39690d=_0x22ee28[_0x431d90(0x19a)](TEST_EVENTS[_0x431d90(0x19c)],_0x2a5547);CodeceptRecorder['add'](()=>_0x22ee28[_0x431d90(0x21c)](TEST_EVENTS[_0x431d90(0x19c)],_0x39690d));}catch(_0x5b0032){PerformanceTester['captureError'](_0x5b0032);}}),CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1bb)]['on'](CodeceptJS[_0x3530cf(0x1a5)]['test'][_0x3530cf(0x212)],async(_0x29fb93,_0x1444fe)=>{const _0x2228da=_0x3530cf;try{if(_0x4d2eac['bsJvE'](isBrowserstackInfra)){const _0x378658=_0x4d2eac[_0x2228da(0x1db)](shouldScanTestForAccessibility,_0x29fb93[_0x2228da(0x1e5)](),!![]);if(_0x4d2eac[_0x2228da(0x1d3)](isAccessibilityAutomationSession)&&global[_0x2228da(0x19b)]&&_0x378658){const _0x2225da={};_0x2225da['thTestRunUuid']=_0x29fb93[_0x2228da(0x1d2)],_0x2225da[_0x2228da(0x1f4)]=process[_0x2228da(0x1a2)][testHubConstants[_0x2228da(0x214)]['BROWSERSTACK_TESTHUB_UUID']],_0x2225da[_0x2228da(0x244)]=process[_0x2228da(0x1a2)][testHubConstants[_0x2228da(0x214)][_0x2228da(0x217)]];const _0x15276b=_0x2225da;logger['debug'](_0x2228da(0x1ee)+JSON[_0x2228da(0x1ac)](_0x15276b)),CodeceptRecorder[_0x2228da(0x1ce)](async()=>{const _0x158ada=_0x2228da;await AccessibilityHelper[_0x158ada(0x19e)](_0x4c9f98,scripts[_0x158ada(0x1b3)]),await AccessibilityHelper[_0x158ada(0x19e)](_0x4c9f98,scripts['saveTestResults'],_0x15276b);}),logger[_0x2228da(0x21a)](_0x4d2eac[_0x2228da(0x21f)]);}}}catch(_0x39ab69){PerformanceTester[_0x2228da(0x1fe)](_0x39ab69);}}),CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1bb)]['on'](CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x209)][_0x3530cf(0x1aa)],_0x2c3ff4=>{const _0x3b70bf=_0x3530cf;try{process['emit'](_0x3b70bf(0x1e3)+process[_0x3b70bf(0x1f0)],{'timestamp':new Date()['toISOString'](),'level':_0x4d2eac[_0x3b70bf(0x1bc)],'message':_0x2c3ff4,'kind':_0x4d2eac[_0x3b70bf(0x1ef)],'http_response':{}});}catch(_0x5b34ac){PerformanceTester[_0x3b70bf(0x1fe)](_0x5b34ac);}}),CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x1bb)]['on'](CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x241)][_0x3530cf(0x225)],_0xad65a9=>{const _0x2bf25f=_0x3530cf;_0x22ee28[_0x2bf25f(0x216)](_0xad65a9);}),CodeceptJS['event'][_0x3530cf(0x1bb)]['on'](CodeceptJS[_0x3530cf(0x1a5)][_0x3530cf(0x241)]['after'],_0x599ede=>{const _0x23c776=_0x3530cf;_0x22ee28[_0x23c776(0x1a9)](_0x599ede);});};function a1_0xbd0a(){const _0x2fe7d6=['Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','bs:addLog:','getAccessibilityResultsSummary','titlePath','browserstack_executor:\x20','VPxOG','catch','enabled','Element','warn','name','rKBlF','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','qEmYa','pid','passed','./helper.js','arguments','thBuildUuid','219769DJatYs','codeceptjs/lib/helper/Playwright.js','overwriteCommand','ZxpiV','lGyrl','YmUCZ','debug','dpzJu','title','captureError','_before','VUKxo','reason','../../bin/playwright/sessionDetails','LgdnH','getResults','codeceptjs/lib/recorder.js','call','skipSessionName','container','step','358135OyVcpZ','UONLQ','codeceptjs/lib/index.js','774351MJVDlR','skipSessionStatus','prototype','qATHe','TestCafe','after','2061241VfbLyr','ENV_VAR','PowDU','bddStepStart','BROWSERSTACK_TESTHUB_JWT','Performing\x20scan\x20for\x20','nRNHu','info','Puppeteer','fireEvent','../../helpers/accessibility-automation/scripts','__workerDetails','nkQgi','addRequestSpy','eCOqf','qAltA','TEST_RUN_STARTED','poVAL','before','patch','FVWNb','setSessionStatus','12ezCUSW','TpeWJ','HOOK_RUN_FINISHED','find','8bUoKqq','TEST_RUN_FINISHED','currentTest','base64','7VOwbRs','executeScript','start','started','apply','setSessionName','codeceptjs/lib/utils.js','browserContext','PwgzS','forEach','54903nZsJXJ','startMonitoring','toString','browser','helpers','Fnwid','bddStep','readFileSync','all','thJwtToken','getAccessibilityResults','KfjhO','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','Ljejd','class','codeceptjs/lib/helper/WebDriver.js','restore','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','then','exports','../../helpers/testhub/constants.js','captureEvent','accessibilityPlatform','TEST_RUN_SKIPPED','2054259idEsAA','browserStackExecuteDriver','filter','../../helpers/accessibility-automation/helper','ievAY','env','XTqdI','12bBfQxj','event','Xqqxf','aOjqa','bstackAllyScanning','bddStepFinish','comment','CQmlt','stringify','ctx','initSaveScreenshot','30ETaYam','Mjuzh','stopMonitoring','BS_TESTOPS_ALLOW_SCREENSHOTS','performScan','RWKeG','hook','shouldWrapCommand','Mipzj','TEST_LOG','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','test','dispatcher','XiykU','MelgY','WebDriver','bind','aoWkn','ZgEFy','../../helpers/test-observability/utils','Playwright','YeedF','CoCVh','patchSaveScreenshot','constructor','format','getSyncScript','NAScc','stop','10jiJfUI','yfQEN','add','toISOString','TEST_SCREENSHOT','failed','testAnalyticsId','qEFRh','emit','Suite','../../helpers/performance-tester','456852RtSMKa','KBGqX','../../helpers/request-spy','HOOK_RUN_STARTED','rgqIZ','diHDe','action','eIDvO','contexts','winstonLogger','saveScreenshot'];a1_0xbd0a=function(){return _0x2fe7d6;};return a1_0xbd0a();}
|
|
1
|
+
const a1_0x202acd=a1_0x42cb;(function(_0x47f54e,_0x3dda6d){const _0x246232=a1_0x42cb,_0x1e13cf=_0x47f54e();while(!![]){try{const _0xd6a38e=parseInt(_0x246232(0x195))/0x1*(parseInt(_0x246232(0x1ad))/0x2)+parseInt(_0x246232(0x1bc))/0x3*(-parseInt(_0x246232(0x1df))/0x4)+parseInt(_0x246232(0x177))/0x5*(-parseInt(_0x246232(0x1b0))/0x6)+-parseInt(_0x246232(0x1c6))/0x7*(-parseInt(_0x246232(0x1b9))/0x8)+-parseInt(_0x246232(0x1e7))/0x9*(parseInt(_0x246232(0x180))/0xa)+-parseInt(_0x246232(0x1e2))/0xb+parseInt(_0x246232(0x207))/0xc;if(_0xd6a38e===_0x3dda6d)break;else _0x1e13cf['push'](_0x1e13cf['shift']());}catch(_0x3e1db7){_0x1e13cf['push'](_0x1e13cf['shift']());}}}(a1_0x2322,0xc49a5));function a1_0x42cb(_0x5028ce,_0x5aecce){const _0x2322fa=a1_0x2322();return a1_0x42cb=function(_0x42cb31,_0x1f0085){_0x42cb31=_0x42cb31-0x16f;let _0x2a0784=_0x2322fa[_0x42cb31];return _0x2a0784;},a1_0x42cb(_0x5028ce,_0x5aecce);}function a1_0x2322(){const _0xf8fad1=['jhJJp','weUur','add','format','BROWSERSTACK_TESTHUB_JWT','shouldWrapCommand','exports','ZsxRf','getResultsSummary','captureError','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../bin/playwright/accessibility-helper','startMonitoring','TEST_RUN_STARTED','./helper.js','pwiAH','testAnalyticsId','call','10436XzlAfU','../../helpers/accessibility-automation/helper','hook','149562MwwtZB','browser','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','PFDvy','before','INFO','executeScript','skipSessionStatus','Puppeteer','2233352pnaYyJ','rYxIT','stopMonitoring','878154mgSFjr','setSessionName','after','ZlisU','screenshotOutputFolder','emit','bddStep','./o11yHelper','auCDi','TEST_SCREENSHOT','7MvivRb','forEach','codeceptjs/lib/recorder.js','hIGwg','then','../../helpers/request-spy','skipSessionName','../../helpers/helper','eMIJv','readFileSync','kYGao','skipped','started','overwriteCommand','browserstack_executor:\x20','IsvYJ','thBuildUuid','codeceptjs/lib/helper/Playwright.js','rTmhm','../../bin/playwright/sessionDetails','arguments','browserStackExecuteDriver','__skipSessionStatus','BS_TESTOPS_ALLOW_SCREENSHOTS','ZSUDH','4OPRvKd','WebDriver','name','413446ZlqOGB','WfaTo','test','toString','dDfzv','3907701zXHgyV','thTestRunUuid','comment','commandsToWrap','xdZqr','catch','../../helpers/testhub/constants.js','ENV_VAR','passed','step','getSyncScript','HOOK_RUN_FINISHED','saveTestResults','fireEvent','qxKNv','bstackAllyScanning','PAnHs','QpFZW','action','constructor','../../helpers/logger','container','helpers','env','status','stringify','saveScreenshot','accessibilityPlatform','getResults','TEST_RUN_FINISHED','MkyYG','PDxoy','4779228MTzaeP','event','rblGN','mqMHf','prototype','nmMar','warn','wTtaw','Suite','debug','_before','VrbYa','nkFhC','dispatcher','setSessionStatus','browserContext','aCVWL','initSaveScreenshot','LAqOa','WZicu','bddStepStart','BROWSERSTACK_TESTHUB_UUID','ctx','DEGgT','toISOString','wTceW','90zTBMdp','thJwtToken','failed','restore','../../helpers/performance-tester','start','DHRoI','performScan','titlePath','10wTsynp','title','TEST_LOG','TEST_RUN_SKIPPED','FmWZC','../../helpers/accessibility-automation/scripts','reason','stop','Element','enabled','Playwright','HOOK_RUN_STARTED','apply','contexts','gYsvU','zEKpi','patchSaveScreenshot','RRmee','pid','__driver','class','257mCawsr','captureEvent','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','all','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','info'];a1_0x2322=function(){return _0xf8fad1;};return a1_0x2322();}const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x202acd(0x1cd)),logger=require(a1_0x202acd(0x1fb))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x202acd(0x1cb)),PlaywrightSessionDetails=require(a1_0x202acd(0x1d9)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x202acd(0x1c3)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x202acd(0x1ae)),AccessibilityHelper=require(a1_0x202acd(0x1a6)),scripts=require(a1_0x202acd(0x185)),PerformanceTester=require(a1_0x202acd(0x17b)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x202acd(0x1a9)),testHubConstants=require(a1_0x202acd(0x1ed)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js'),CodeceptRecorder=requireModule(a1_0x202acd(0x1c8)),CodeceptPlaywright=requireModule(a1_0x202acd(0x1d7)),playwrightMarkSessionStatus=(_0x1a32a7,_0x232ced,_0x10f397)=>{const _0x5473ec=a1_0x202acd,_0x16d788={'ZsxRf':_0x5473ec(0x215),'PDxoy':function(_0x105a5a,_0x27e4f6){return _0x105a5a(_0x27e4f6);}},_0x13bcfd={};_0x13bcfd[_0x5473ec(0x1ff)]=_0x232ced;const _0x31ae4e={};_0x31ae4e['action']=_0x16d788[_0x5473ec(0x1a2)],_0x31ae4e[_0x5473ec(0x1da)]=_0x13bcfd;const _0xcdea9b=_0x31ae4e;return!_0x16d788[_0x5473ec(0x206)](isUndefined,_0x10f397)&&(_0xcdea9b[_0x5473ec(0x1da)][_0x5473ec(0x186)]=JSON[_0x5473ec(0x200)](_0x10f397)),_0x1a32a7['executeScript'](()=>{},_0x5473ec(0x1d4)+JSON[_0x5473ec(0x200)](_0xcdea9b));},o11ySync=async _0xb1e96a=>{const _0x3d1877=a1_0x202acd,_0x1ff74d={};_0x1ff74d[_0x3d1877(0x212)]=function(_0x4446e7,_0x55713d){return _0x4446e7===_0x55713d;},_0x1ff74d[_0x3d1877(0x213)]=_0x3d1877(0x18a);const _0x5a0e96=_0x1ff74d;_0x5a0e96[_0x3d1877(0x212)](_0xb1e96a[_0x3d1877(0x1fa)][_0x3d1877(0x1e1)],_0x5a0e96[_0x3d1877(0x213)])?await _0xb1e96a[_0x3d1877(0x1b6)](_0x4d1e90=>{},testOpsHelper[_0x3d1877(0x1f1)]()):await _0xb1e96a[_0x3d1877(0x1b6)](testOpsHelper[_0x3d1877(0x1f1)]());},markSessionName=async(_0x5a4cdb,_0x3c5597)=>{const _0x12ab39=a1_0x202acd,_0x239e93={};_0x239e93[_0x12ab39(0x209)]=_0x12ab39(0x1bd),_0x239e93[_0x12ab39(0x184)]=function(_0x42d6bb,_0x1b3d5b){return _0x42d6bb===_0x1b3d5b;},_0x239e93['rYxIT']=_0x12ab39(0x18a);const _0x5f2338=_0x239e93,_0x2512e7={};_0x2512e7[_0x12ab39(0x1e1)]=_0x3c5597;const _0x9b893d={};_0x9b893d[_0x12ab39(0x1f9)]=_0x5f2338[_0x12ab39(0x209)],_0x9b893d[_0x12ab39(0x1da)]=_0x2512e7;const _0x3cd18e=_0x9b893d;_0x5f2338[_0x12ab39(0x184)](_0x5a4cdb[_0x12ab39(0x1fa)][_0x12ab39(0x1e1)],_0x5f2338[_0x12ab39(0x1ba)])?await _0x5a4cdb['executeScript'](()=>{},_0x12ab39(0x1d4)+JSON['stringify'](_0x3cd18e)):await _0x5a4cdb[_0x12ab39(0x1b6)](_0x12ab39(0x1d4)+JSON[_0x12ab39(0x200)](_0x3cd18e));},patchSaveScreenshot=_0x50f45d=>{const _0x4bda9d=a1_0x202acd,_0x4dba30={'xdZqr':'base64','ruPyf':_0x4bda9d(0x1c5),'hsQjj':function(_0x5a4742){return _0x5a4742();},'MASLz':function(_0xf1426b,_0x119773){return _0xf1426b(_0x119773);}};_0x4dba30['MASLz'](isTrue,process['env'][_0x4bda9d(0x1dd)])&&!_0x50f45d[_0x4bda9d(0x190)]&&(_0x50f45d[_0x4bda9d(0x190)]=!![],_0x50f45d[_0x4bda9d(0x218)]=_0x50f45d[_0x4bda9d(0x201)],_0x50f45d[_0x4bda9d(0x201)]=(_0x2c4d86,_0x564468=![])=>{return new Promise(function(_0x8d0ecc,_0x119c00){const _0x1345b4=a1_0x42cb,_0x1853ce={'mqMHf':_0x4dba30[_0x1345b4(0x1eb)],'gYsvU':_0x4dba30['ruPyf'],'WZicu':function(_0x10c44d){return _0x4dba30['hsQjj'](_0x10c44d);}};_0x50f45d['initSaveScreenshot'](_0x2c4d86,_0x564468)[_0x1345b4(0x1ca)](()=>{const _0x32b8b5=_0x1345b4,_0x5b8b51=CodeceptUtils[_0x32b8b5(0x1c0)](_0x2c4d86),_0x1336db=fs[_0x32b8b5(0x1cf)](_0x5b8b51);process[_0x32b8b5(0x1c1)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x32b8b5(0x175)](),'message':_0x1336db[_0x32b8b5(0x1e5)](_0x1853ce[_0x32b8b5(0x20a)]),'kind':_0x1853ce[_0x32b8b5(0x18e)]}),_0x1853ce[_0x32b8b5(0x170)](_0x8d0ecc);})[_0x1345b4(0x1ec)](()=>null);});});},patchWebDriverBefore=_0x3fe2d4=>{const _0x25beb0=a1_0x202acd,_0x180c34={'aCVWL':function(_0x5495db){return _0x5495db();},'PFDvy':function(_0x2df819,_0xfc11c7){return _0x2df819(_0xfc11c7);},'IsvYJ':function(_0x5197d0,_0x5582fa){return _0x5197d0===_0x5582fa;},'NunHV':_0x25beb0(0x188),'DEGgT':function(_0x4033b8,_0x35d10c){return _0x4033b8(_0x35d10c);}},_0x4743ce=async function(_0x1dd3d9,_0x408d03){const _0x19cdd3=_0x25beb0;return _0x180c34[_0x19cdd3(0x217)](isAccessibilityAutomationSession)&&!global[_0x19cdd3(0x1f6)]&&global['accessibilityPlatform']&&scripts[_0x19cdd3(0x1a0)](_0x1dd3d9[_0x19cdd3(0x1e1)])&&_0x180c34[_0x19cdd3(0x1b3)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger['debug']('Performing\x20scan\x20for\x20'+_0x1dd3d9[_0x19cdd3(0x194)]+'\x20'+_0x1dd3d9['name']),await AccessibilityHelper[_0x19cdd3(0x1db)](_0x3fe2d4,scripts[_0x19cdd3(0x17e)])),global['bstackAllyScanning']=![],_0x408d03[_0x19cdd3(0x18c)](this,Array[_0x19cdd3(0x20b)]['slice'][_0x19cdd3(0x1ac)](arguments,0x2));},_0x472bec=CodeceptWebDriver['prototype']['_before'];CodeceptWebDriver[_0x25beb0(0x20b)]['_before']=async function(){const _0x25969a=_0x25beb0;await _0x472bec[_0x25969a(0x18c)](this,arguments),scripts[_0x25969a(0x1ea)]['filter'](_0x160fce=>_0x160fce[_0x25969a(0x1e1)]&&_0x160fce[_0x25969a(0x194)])[_0x25969a(0x1c7)](_0x34829b=>{const _0x5e8915=_0x25969a;this[_0x5e8915(0x1b1)][_0x5e8915(0x1d3)](_0x34829b[_0x5e8915(0x1e1)],_0x4743ce['bind'](this,_0x34829b),_0x180c34[_0x5e8915(0x1d5)](_0x34829b['class'],_0x180c34['NunHV']));}),_0x180c34[_0x25969a(0x174)](processWebDriverConfig,_0x3fe2d4);};},patchPlaywrightBefore=()=>{const _0xa415e0=a1_0x202acd;PlaywrightSessionDetails['patch']();const _0x40df89=CodeceptPlaywright[_0xa415e0(0x20b)]['_before'];CodeceptPlaywright['prototype'][_0xa415e0(0x211)]=async function(){const _0x49d8a7=_0xa415e0;this[_0x49d8a7(0x216)]=await this['browser'][_0x49d8a7(0x18d)]()[0x0],await _0x40df89[_0x49d8a7(0x18c)](this,arguments);};},getCodeceptDriver=()=>{const _0x17c6ee=a1_0x202acd,_0x1b5f9a={};_0x1b5f9a[_0x17c6ee(0x1ce)]=_0x17c6ee(0x1e0),_0x1b5f9a[_0x17c6ee(0x1e6)]=_0x17c6ee(0x18a),_0x1b5f9a['jhJJp']=_0x17c6ee(0x1b8),_0x1b5f9a['qxKNv']='TestCafe';const _0x9bf519=_0x1b5f9a,_0x584e6c=[_0x9bf519['eMIJv'],_0x9bf519[_0x17c6ee(0x1e6)],_0x9bf519[_0x17c6ee(0x19b)],_0x9bf519[_0x17c6ee(0x1f5)]],_0x286b11=_0x584e6c['find'](_0x35590a=>!!CodeceptJS[_0x17c6ee(0x1fc)][_0x17c6ee(0x1fd)](_0x35590a));if(!_0x286b11)return null;return CodeceptJS[_0x17c6ee(0x1fc)][_0x17c6ee(0x1fd)](_0x286b11);};module[a1_0x202acd(0x1a1)]=function(_0x46c0c1){const _0xf76ba0=a1_0x202acd,_0x2cc349={'nmMar':_0xf76ba0(0x197),'sXKLL':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','DHRoI':function(_0x2ae9ec){return _0x2ae9ec();},'weUur':function(_0x88b548){return _0x88b548();},'kYGao':function(_0x4619d4,_0xce82b0){return _0x4619d4(_0xce82b0);},'hIGwg':function(_0x4220be,_0x3159c2,_0x5821b6){return _0x4220be(_0x3159c2,_0x5821b6);},'PAnHs':function(_0x26688d){return _0x26688d();},'rTmhm':function(_0x2f61cf,_0x178ffd,_0x234a88,_0x17d7e6){return _0x2f61cf(_0x178ffd,_0x234a88,_0x17d7e6);},'wTtaw':function(_0xc8bfd4,_0x138e5d){return _0xc8bfd4===_0x138e5d;},'RRmee':_0xf76ba0(0x20f),'zEKpi':function(_0x3e5ac9){return _0x3e5ac9();},'WfaTo':function(_0x519809,_0x221e9b,_0x44c1e0){return _0x519809(_0x221e9b,_0x44c1e0);},'ZSUDH':_0xf76ba0(0x1a5),'KlPPP':_0xf76ba0(0x1b5),'LAqOa':_0xf76ba0(0x182),'pwiAH':'Playwright','ZlisU':function(_0x48d01a,_0x5efc47){return _0x48d01a(_0x5efc47);}};_0x46c0c1[_0xf76ba0(0x1b7)]&&(global[_0xf76ba0(0x1dc)]=_0x46c0c1[_0xf76ba0(0x1b7)]);PerformanceTester[_0xf76ba0(0x1a7)]();const _0x4c8463=_0x2cc349['weUur'](getCodeceptDriver),_0x2f050c=new O11yHelper(_0x4c8463,_0x46c0c1),_0x45d318=!!CodeceptJS['container'][_0xf76ba0(0x1fd)](_0x2cc349[_0xf76ba0(0x1aa)]);global[_0xf76ba0(0x193)]=_0x4c8463,_0x4c8463&&(_0x45d318?_0x2cc349[_0xf76ba0(0x19c)](patchPlaywrightBefore):_0x2cc349[_0xf76ba0(0x1d0)](patchWebDriverBefore,_0x4c8463),_0x4c8463['getAccessibilityResultsSummary']=async()=>{const _0x2338b0=_0xf76ba0;if(global[_0x2338b0(0x202)])await AccessibilityHelper['browserStackExecuteDriver'](_0x4c8463,scripts[_0x2338b0(0x17e)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x4c8463,scripts[_0x2338b0(0x1a3)]);else return logger[_0x2338b0(0x20d)](_0x2cc349[_0x2338b0(0x20c)]),{};},_0x4c8463['getAccessibilityResults']=async()=>{const _0xa5a821=_0xf76ba0;if(global[_0xa5a821(0x202)])await AccessibilityHelper['browserStackExecuteDriver'](_0x4c8463,scripts['performScan']),await AccessibilityHelper[_0xa5a821(0x1db)](_0x4c8463,scripts[_0xa5a821(0x203)]);else return logger[_0xa5a821(0x20d)](_0x2cc349['sXKLL']),{};},_0x2cc349[_0xf76ba0(0x1bf)](patchSaveScreenshot,_0x4c8463)),CodeceptJS['event'][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)]['all'][_0xf76ba0(0x1b4)],()=>{const _0x2979b3=_0xf76ba0;try{_0x2f050c[_0x2979b3(0x17c)](),testOpsHelper['addRequestSpy']();}catch(_0x3565f1){PerformanceTester[_0x2979b3(0x1a4)](_0x3565f1);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS['event'][_0xf76ba0(0x198)][_0xf76ba0(0x1be)],async()=>{const _0x33ba5d=_0xf76ba0;try{requestSpy[_0x33ba5d(0x17a)](),await _0x2f050c[_0x33ba5d(0x187)]();}catch(_0x1ad665){PerformanceTester['captureError'](_0x1ad665);}finally{PerformanceTester[_0x33ba5d(0x1bb)]();}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)]['hook'][_0xf76ba0(0x1d2)],_0x18420d=>{const _0x346031=_0xf76ba0;try{const _0x2c6463=_0x18420d[_0x346031(0x173)][_0x346031(0x1e4)],_0x171d96=_0x2f050c['captureEvent'](TEST_EVENTS[_0x346031(0x18b)],_0x2c6463);CodeceptRecorder[_0x346031(0x19d)](()=>_0x2f050c[_0x346031(0x1f4)](TEST_EVENTS[_0x346031(0x18b)],_0x171d96));}catch(_0x4c9169){PerformanceTester[_0x346031(0x1a4)](_0x4c9169);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1af)][_0xf76ba0(0x1ef)],_0x4ffc75=>{const _0x5a03e3=_0xf76ba0;try{const _0x56f4fb=_0x4ffc75[_0x5a03e3(0x173)][_0x5a03e3(0x1e4)],_0x6da58c=_0x2f050c[_0x5a03e3(0x196)](TEST_EVENTS[_0x5a03e3(0x1f2)],_0x56f4fb);CodeceptRecorder[_0x5a03e3(0x19d)](()=>_0x2f050c[_0x5a03e3(0x1f4)](TEST_EVENTS[_0x5a03e3(0x1f2)],_0x6da58c));}catch(_0x1f4d23){PerformanceTester['captureError'](_0x1f4d23);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1af)][_0xf76ba0(0x179)],async(_0x2da749,_0x5324e3)=>{const _0x14ab39=_0xf76ba0;try{const _0x14b92b=_0x2da749[_0x14ab39(0x173)]['test'],_0x8c6018=_0x2f050c[_0x14ab39(0x196)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x14b92b,_0x5324e3);CodeceptRecorder[_0x14ab39(0x19d)](()=>_0x2f050c[_0x14ab39(0x1f4)](TEST_EVENTS[_0x14ab39(0x1f2)],_0x8c6018));}catch(_0x490283){PerformanceTester[_0x14ab39(0x1a4)](_0x490283);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1e4)][_0xf76ba0(0x1b4)],_0x16e9b5=>{const _0x65e593=_0xf76ba0;try{_0x2cc349[_0x65e593(0x17d)](isBrowserstackInfra)&&(_0x45d318&&(global['__workerDetails']={'currentTest':{'name':_0x16e9b5[_0x65e593(0x181)],'testInfo':{'titlePath':_0x16e9b5[_0x65e593(0x17f)]()}}}));}catch(_0xf48315){PerformanceTester['captureError'](_0xf48315);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1e4)][_0xf76ba0(0x1d2)],_0x5b1504=>{const _0x56de19=_0xf76ba0,_0x21a298={'aDKgt':function(_0x3dff20){return _0x2cc349['weUur'](_0x3dff20);},'wTceW':function(_0xfeb233,_0x522a77){const _0x3f9df2=a1_0x42cb;return _0x2cc349[_0x3f9df2(0x1d0)](_0xfeb233,_0x522a77);},'QpFZW':function(_0x49daa9,_0x2e1c03,_0x31ef2f){const _0x66a51b=a1_0x42cb;return _0x2cc349[_0x66a51b(0x1c9)](_0x49daa9,_0x2e1c03,_0x31ef2f);},'FBprH':function(_0x2c6340,_0x17ed95){const _0x8598fc=a1_0x42cb;return _0x2cc349[_0x8598fc(0x1d0)](_0x2c6340,_0x17ed95);}};try{const _0x3220fe=_0x2f050c[_0x56de19(0x196)](TEST_EVENTS['TEST_RUN_STARTED'],_0x5b1504);CodeceptRecorder[_0x56de19(0x19d)](()=>_0x2f050c[_0x56de19(0x1f4)](TEST_EVENTS[_0x56de19(0x1a8)],_0x3220fe)),CodeceptRecorder[_0x56de19(0x19d)](async()=>{const _0x131959=_0x56de19;_0x21a298['aDKgt'](isBrowserstackInfra)&&(!_0x21a298[_0x131959(0x176)](isTrue,_0x46c0c1[_0x131959(0x1cc)])&&await _0x21a298[_0x131959(0x1f8)](markSessionName,_0x4c8463,_0x5b1504[_0x131959(0x181)]),_0x2f050c[_0x131959(0x189)]&&await _0x21a298['FBprH'](o11ySync,_0x4c8463));});}catch(_0x5961f7){PerformanceTester[_0x56de19(0x1a4)](_0x5961f7);}}),CodeceptJS[_0xf76ba0(0x208)]['dispatcher']['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1e4)][_0xf76ba0(0x1ef)],_0x7f5d79=>{const _0x34d0f2=_0xf76ba0,_0x5a8ca5={'auCDi':function(_0x54ea7c){const _0xc3160a=a1_0x42cb;return _0x2cc349[_0xc3160a(0x1f7)](_0x54ea7c);},'MkyYG':function(_0x18d58e,_0x17634c,_0x2d9532){const _0x8f59ec=a1_0x42cb;return _0x2cc349[_0x8f59ec(0x1c9)](_0x18d58e,_0x17634c,_0x2d9532);}};try{const _0x5a449b=_0x2f050c[_0x34d0f2(0x196)](TEST_EVENTS[_0x34d0f2(0x204)],_0x7f5d79);CodeceptRecorder[_0x34d0f2(0x19d)](()=>_0x2f050c[_0x34d0f2(0x1f4)](TEST_EVENTS[_0x34d0f2(0x204)],_0x5a449b)),CodeceptRecorder['add'](async()=>{const _0x41c679=_0x34d0f2;_0x5a8ca5[_0x41c679(0x1c4)](isBrowserstackInfra)&&(_0x45d318?await _0x5a8ca5[_0x41c679(0x205)](playwrightMarkSessionStatus,_0x4c8463,STATE_PASSED):await _0x5a8ca5[_0x41c679(0x205)](markSessionStatus,_0x4c8463,STATE_PASSED));});}catch(_0x28ba28){PerformanceTester[_0x34d0f2(0x1a4)](_0x28ba28);}}),CodeceptJS[_0xf76ba0(0x208)]['dispatcher']['on'](CodeceptJS['event'][_0xf76ba0(0x1e4)][_0xf76ba0(0x179)],(_0x1d090d,_0x4fca57)=>{const _0x435927=_0xf76ba0;try{if(_0x2cc349[_0x435927(0x20e)](_0x1d090d[_0x435927(0x1fa)][_0x435927(0x1e1)],_0x2cc349[_0x435927(0x191)])){const _0x403109=_0x2f050c[_0x435927(0x196)](TEST_EVENTS[_0x435927(0x183)],_0x1d090d[_0x435927(0x173)]['currentTest']);CodeceptRecorder[_0x435927(0x19d)](()=>_0x2f050c['fireEvent'](TEST_EVENTS[_0x435927(0x183)],_0x403109));}else{const _0x4cdd13=_0x2f050c[_0x435927(0x196)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1d090d,_0x4fca57);CodeceptRecorder[_0x435927(0x19d)](()=>{const _0xc8c06b=_0x435927;try{_0x2f050c[_0xc8c06b(0x1f4)](TEST_EVENTS[_0xc8c06b(0x204)],_0x4cdd13);}catch(_0x1e2e08){logger[_0xc8c06b(0x210)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0xc8c06b(0x19e)](_0x1e2e08));}}),CodeceptRecorder[_0x435927(0x19d)](async()=>{const _0x5321ac=_0x435927;try{_0x2cc349[_0x5321ac(0x19c)](isBrowserstackInfra)&&(_0x45d318?await _0x2cc349[_0x5321ac(0x1d8)](playwrightMarkSessionStatus,_0x4c8463,STATE_FAILED,_0x4fca57):await _0x2cc349[_0x5321ac(0x1d8)](markSessionStatus,_0x4c8463,STATE_FAILED,_0x4fca57));}catch(_0x3e671e){logger[_0x5321ac(0x210)](_0x5321ac(0x1b2)+util[_0x5321ac(0x19e)](_0x3e671e));}});}}catch(_0x428371){PerformanceTester['captureError'](_0x428371);}}),CodeceptJS[_0xf76ba0(0x208)]['dispatcher']['on'](CodeceptJS[_0xf76ba0(0x208)]['test'][_0xf76ba0(0x1d1)],_0x1913a4=>{const _0x4a1ae4=_0xf76ba0;try{const _0x408904=_0x2f050c['captureEvent'](TEST_EVENTS[_0x4a1ae4(0x183)],_0x1913a4);CodeceptRecorder['add'](()=>_0x2f050c['fireEvent'](TEST_EVENTS[_0x4a1ae4(0x183)],_0x408904));}catch(_0x3dd889){PerformanceTester[_0x4a1ae4(0x1a4)](_0x3dd889);}}),CodeceptJS['event'][_0xf76ba0(0x214)]['on'](CodeceptJS['event'][_0xf76ba0(0x1e4)][_0xf76ba0(0x1be)],async(_0x4acb06,_0xffa698)=>{const _0x1bb3d2=_0xf76ba0;try{if(_0x2cc349[_0x1bb3d2(0x18f)](isBrowserstackInfra)){const _0x505da1=_0x2cc349[_0x1bb3d2(0x1e3)](shouldScanTestForAccessibility,_0x4acb06['titlePath'](),!![]);if(_0x2cc349[_0x1bb3d2(0x1f7)](isAccessibilityAutomationSession)&&global[_0x1bb3d2(0x202)]&&_0x505da1){const _0x17fad2={};_0x17fad2[_0x1bb3d2(0x1e8)]=_0x4acb06[_0x1bb3d2(0x1ab)],_0x17fad2[_0x1bb3d2(0x1d6)]=process[_0x1bb3d2(0x1fe)][testHubConstants['ENV_VAR'][_0x1bb3d2(0x172)]],_0x17fad2[_0x1bb3d2(0x178)]=process[_0x1bb3d2(0x1fe)][testHubConstants[_0x1bb3d2(0x1ee)][_0x1bb3d2(0x19f)]];const _0x4fa639=_0x17fad2;logger[_0x1bb3d2(0x210)](_0x1bb3d2(0x199)+JSON[_0x1bb3d2(0x200)](_0x4fa639)),CodeceptRecorder[_0x1bb3d2(0x19d)](async()=>{const _0x47f65d=_0x1bb3d2;await AccessibilityHelper['browserStackExecuteDriver'](_0x4c8463,scripts[_0x47f65d(0x17e)]),await AccessibilityHelper[_0x47f65d(0x1db)](_0x4c8463,scripts[_0x47f65d(0x1f3)],_0x4fa639);}),logger[_0x1bb3d2(0x19a)](_0x2cc349[_0x1bb3d2(0x1de)]);}}}catch(_0x43365f){PerformanceTester[_0x1bb3d2(0x1a4)](_0x43365f);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1f0)][_0xf76ba0(0x1e9)],_0x459e65=>{const _0xa45af6=_0xf76ba0;try{process[_0xa45af6(0x1c1)]('bs:addLog:'+process[_0xa45af6(0x192)],{'timestamp':new Date()[_0xa45af6(0x175)](),'level':_0x2cc349['KlPPP'],'message':_0x459e65,'kind':_0x2cc349[_0xa45af6(0x16f)],'http_response':{}});}catch(_0x638410){PerformanceTester['captureError'](_0x638410);}}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x1c2)][_0xf76ba0(0x1b4)],_0x15a5d9=>{const _0x664bf7=_0xf76ba0;_0x2f050c[_0x664bf7(0x171)](_0x15a5d9);}),CodeceptJS[_0xf76ba0(0x208)][_0xf76ba0(0x214)]['on'](CodeceptJS[_0xf76ba0(0x208)]['bddStep'][_0xf76ba0(0x1be)],_0x27f680=>{_0x2f050c['bddStepFinish'](_0x27f680);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x3481(){const _0x5bdf25=['../../bin/playwright/accessibility-helper','existsSync','launchBuild','errorMessage','codeceptjs','join','slice','SkLva','map','../utils/constants','root','../../helpers/helper','result','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','test','BrowserStackPlugin','FjCDF','all','chromium','addTests','browserWSEndpoint','webkit','length','failed','testConfig','vGruM','useW3C','forEach','ltUcV','AhYcx','null','781865iKylDb','ymNpV','7QBAhAP','process','isUndefined','split','getPlaywrightUrl','require','playwright-webkit','KPDRt','skipSessionName','83457CPTFcE','DuQZy','now','euRqs','exports','LnISL','../../helpers/accessibility-automation/helper','enabled','kuPoe','run','Passed\x20:\x20','ThnIz','isTestObservabilitySession','209475HxaUfS','../../helpers/test-observability/utils','skipSessionStatus','oUUJB','BROWSERSTACK_TEST_OBSERVABILITY_YML','cwd','557640ImSlyQ','browserStackCwd','browser','codecept.json','isTrue','stack','koxrL','playwright-chromium','FRAMEWORKS','niBNO','winstonLogger','KYPZb','zuFDE','env','printResults','dirname','LMTpM','util','BROWSERSTACK_TEST_ACCESSIBILITY_YML','before','createGroupsOfSuites','initialize','chdir','browserName','codeceptjs/lib/index.js','spawn','mergeDeep','false','testObservability','eGiFz','title','format','stop','parallelsPerPlatform','event','jCSuo','toLowerCase','info','playwright-firefox','addConfig','log','prepareCapabilities','3156KytdoU','MMkIu','1556185XWKUuK','helpers','teardownAll','EHMgO','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','validPlatformsPresent','CODECEPT','8SFmgjk','plugins','findIndex','stringify','vzSiW','handleApp','testContextOptions','Workers','4XDtSCL','debug','OFDQb','frameworkName','UZltL','chrome','config','Playwright','profile','utVwO','azeRK','push','finalExecution','20hvyDTX','1989581SyMgvh','accessibilityOptions'];a2_0x3481=function(){return _0x5bdf25;};return a2_0x3481();}const a2_0x21cdd3=a2_0x8dad;(function(_0x24e400,_0xdf1265){const _0x25f222=a2_0x8dad,_0x5b3c88=_0x24e400();while(!![]){try{const _0x50d029=-parseInt(_0x25f222(0x256))/0x1*(-parseInt(_0x25f222(0x214))/0x2)+parseInt(_0x25f222(0x1d7))/0x3+parseInt(_0x25f222(0x225))/0x4*(parseInt(_0x25f222(0x216))/0x5)+parseInt(_0x25f222(0x1ea))/0x6+-parseInt(_0x25f222(0x254))/0x7*(-parseInt(_0x25f222(0x21d))/0x8)+parseInt(_0x25f222(0x1e4))/0x9+-parseInt(_0x25f222(0x232))/0xa*(parseInt(_0x25f222(0x233))/0xb);if(_0x50d029===_0xdf1265)break;else _0x5b3c88['push'](_0x5b3c88['shift']());}catch(_0x1a914c){_0x5b3c88['push'](_0x5b3c88['shift']());}}}(a2_0x3481,0x34cce));const fs=require('fs'),path=require('path'),util=require(a2_0x21cdd3(0x1fb)),process=require(a2_0x21cdd3(0x257)),logger=require('../../helpers/logger')[a2_0x21cdd3(0x1f4)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x21cdd3(0x240)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x21cdd3(0x1dd)),{setAccessibilityCapabilities}=require(a2_0x21cdd3(0x235)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x21cdd3(0x240)),CodeceptJS=requireModule(a2_0x21cdd3(0x202)),testOpsHelper=require(a2_0x21cdd3(0x1e5)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x21cdd3(0x23e)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x552599,_0x4dc50b)=>{const _0x54a8ff=a2_0x21cdd3,_0x104a04={};_0x104a04[_0x54a8ff(0x1f6)]=function(_0x1fdcda,_0x2c6bdb){return _0x1fdcda===_0x2c6bdb;},_0x104a04['MMkIu']='codecept.conf.js',_0x104a04[_0x54a8ff(0x255)]=_0x54a8ff(0x1ed);const _0x49897f=_0x104a04;let _0xe1dcf2=null;const _0xc7686e={};let _0x5eaf23=_0x4dc50b[_0x54a8ff(0x21f)](_0xba6ef4=>_0xba6ef4==='--config');_0x49897f[_0x54a8ff(0x1f6)](_0x5eaf23,-0x1)&&(_0x5eaf23=_0x4dc50b[_0x54a8ff(0x21f)](_0x47cd2f=>_0x47cd2f==='-c'));if(!helper['isUndefined'](_0x552599[_0x54a8ff(0x22b)])&&fs[_0x54a8ff(0x236)](path[_0x54a8ff(0x23a)](process[_0x54a8ff(0x1e9)](),_0x552599[_0x54a8ff(0x22b)])))_0xe1dcf2=path['join'](process['cwd'](),_0x552599[_0x54a8ff(0x22b)]),_0x4dc50b['slice'](_0x5eaf23,0x2);else{if(!helper['isUndefined'](_0x552599['c'])&&fs[_0x54a8ff(0x236)](path['join'](process[_0x54a8ff(0x1e9)](),_0x552599['c'])))_0xe1dcf2=path[_0x54a8ff(0x23a)](process['cwd'](),_0x552599['c']),_0x4dc50b[_0x54a8ff(0x23b)](_0x5eaf23,0x2);else{if(fs[_0x54a8ff(0x236)](path['join'](process['cwd'](),_0x49897f[_0x54a8ff(0x215)])))_0xe1dcf2=path[_0x54a8ff(0x23a)](process[_0x54a8ff(0x1e9)](),_0x49897f['MMkIu']);else fs[_0x54a8ff(0x236)](path[_0x54a8ff(0x23a)](process[_0x54a8ff(0x1e9)](),_0x49897f[_0x54a8ff(0x255)]))&&(_0xe1dcf2=path['join'](process['cwd'](),_0x49897f[_0x54a8ff(0x255)]));}}return _0xe1dcf2;},getO11yRerunPattern=()=>{const _0x5dec6c=a2_0x21cdd3,_0x4f4a23={};_0x4f4a23['ZVtsy']=function(_0x3c5018,_0x7361fc){return _0x3c5018!==_0x7361fc;},_0x4f4a23[_0x5dec6c(0x1d5)]=_0x5dec6c(0x253);const _0x3d5528=_0x4f4a23,_0x53a6ad=helper[_0x5dec6c(0x1ee)](process[_0x5dec6c(0x1f7)]['BROWSERSTACK_RERUN']);if(_0x53a6ad){const _0x134ec9=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x1e367a=[];if(_0x3d5528['ZVtsy'](_0x134ec9,_0x3d5528[_0x5dec6c(0x1d5)])&&!helper[_0x5dec6c(0x1d0)](_0x134ec9)){_0x134ec9[_0x5dec6c(0x1d1)](',')['map'](_0x24f72a=>{const _0x11533c=_0x5dec6c;_0x1e367a[_0x11533c(0x230)]('('+_0x24f72a['trim']()+')');});const _0x3175e6='^'+_0x1e367a[_0x5dec6c(0x23a)]('|')+'$';return _0x3175e6;}}return null;},a2_0x39f5a0={};a2_0x39f5a0[a2_0x21cdd3(0x22a)]=a2_0x21cdd3(0x247),a2_0x39f5a0[a2_0x21cdd3(0x1f1)]=a2_0x21cdd3(0x247),a2_0x39f5a0[a2_0x21cdd3(0x210)]='firefox',a2_0x39f5a0[a2_0x21cdd3(0x1d4)]=a2_0x21cdd3(0x24a);const pwToCodeceptBrowser=a2_0x39f5a0;async function run(_0x5d8316,_0x39e9bb){const _0x80824c=a2_0x21cdd3,_0x690599={'RfZVP':function(_0x10cb70,_0x256034){return _0x10cb70+_0x256034;},'EHMgO':function(_0x4637fb,_0x12b273){return _0x4637fb(_0x12b273);},'OFDQb':function(_0x16cc64,_0x131f53){return _0x16cc64+_0x131f53;},'SkLva':function(_0x4b6115,_0xf61489,_0x3adc3f){return _0x4b6115(_0xf61489,_0x3adc3f);},'ThnIz':_0x80824c(0x22b),'euRqs':_0x80824c(0x217),'vzSiW':function(_0x238621){return _0x238621();},'FusvH':function(_0x53c2d4){return _0x53c2d4();},'UuNWe':'Failed\x20:\x20','FjCDF':_0x80824c(0x1e1),'fipdl':'Started\x20:\x20','Olavo':'4|1|3|0|2','LMTpM':_0x80824c(0x239),'KYPZb':function(_0x29214a,_0x2a55d4,_0x36c743){return _0x29214a(_0x2a55d4,_0x36c743);},'azeRK':function(_0x135e7a,_0x3468bf){return _0x135e7a(_0x3468bf);},'DuQZy':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','koxrL':function(_0x5a3e8a,_0x54c232,_0x3f3d1d){return _0x5a3e8a(_0x54c232,_0x3f3d1d);},'oUUJB':_0x80824c(0x22c),'ltUcV':'WebDriver','IwSMx':function(_0x304b53,_0x31b652){return _0x304b53(_0x31b652);},'vGruM':function(_0x2a08ff,_0x4c2b84){return _0x2a08ff!=_0x4c2b84;},'eoyTa':_0x80824c(0x205),'jCSuo':'gherkin','bmLRH':'-cucumber','niBNO':function(_0x49a6ce){return _0x49a6ce();},'UZltL':function(_0x29e5f5,_0x38f505){return _0x29e5f5*_0x38f505;},'eGiFz':function(_0x375930,_0x2a25a1,_0x53d2b5){return _0x375930(_0x2a25a1,_0x53d2b5);},'utVwO':_0x80824c(0x1ec),'LnISL':'desiredCapabilities','kuPoe':function(_0x147c12,_0x53eaed,_0xbe421){return _0x147c12(_0x53eaed,_0xbe421);},'AhYcx':_0x80824c(0x23f),'tiOds':'BrowserStackPlugin.js','inVmy':_0x80824c(0x1eb)},_0x4af53e=new BrowserStackSetup(_0x5d8316,_0x690599[_0x80824c(0x1fa)]);await _0x4af53e[_0x80824c(0x1ff)](),await helper[_0x80824c(0x222)](_0x4af53e[_0x80824c(0x22b)]);if(!_0x4af53e[_0x80824c(0x22b)])return;process[_0x80824c(0x22d)]=_0x5d8316[_0x80824c(0x22d)];_0x5d8316[_0x80824c(0x22d)]&&(process[_0x80824c(0x1f7)][_0x80824c(0x22d)]=_0x5d8316[_0x80824c(0x22d)]);const _0x3934a0=_0x690599[_0x80824c(0x1f5)](getUserCodeceptJSConfigs,_0x5d8316,_0x39e9bb);let _0x27e0c4={};_0x3934a0?(logger[_0x80824c(0x20f)](_0x80824c(0x242)+_0x3934a0),_0x27e0c4=_0x690599[_0x80824c(0x22f)](require,_0x3934a0)):logger[_0x80824c(0x20f)](_0x690599[_0x80824c(0x1d8)]);let _0x56ab3b=![];_0x690599[_0x80824c(0x1f0)](nestedKeyValue,_0x27e0c4,[_0x690599[_0x80824c(0x1e2)],_0x690599[_0x80824c(0x1da)],_0x690599[_0x80824c(0x1e7)]])&&(_0x56ab3b=!![]);const _0x46f7e9=_0x56ab3b?_0x690599['oUUJB']:_0x690599[_0x80824c(0x251)];let _0x1b3abd=!_0x56ab3b?helper[_0x80824c(0x24f)](_0x4af53e[_0x80824c(0x22b)]):![];!helper[_0x80824c(0x1d0)](_0x4af53e['config'][_0x80824c(0x234)])&&(process[_0x80824c(0x1f7)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x4af53e[_0x80824c(0x22b)][_0x80824c(0x234)]));let _0x342d99=_0x4af53e[_0x80824c(0x22b)]['accessibility'];_0x342d99=_0x342d99||_0x690599['IwSMx'](checkAccessibilityPlatformConfig,_0x4af53e[_0x80824c(0x22b)]),process[_0x80824c(0x1f7)][_0x80824c(0x1fc)]=_0x342d99;_0x342d99&&(_0x1b3abd=!_0x342d99);_0x690599[_0x80824c(0x24e)](_0x4af53e[_0x80824c(0x22b)][_0x80824c(0x206)],null)?process['env'][_0x80824c(0x1e8)]=_0x4af53e['config']['testObservability']:process['env'][_0x80824c(0x1e8)]=_0x690599['eoyTa'];const _0x6e0bfe=_0x690599[_0x80824c(0x227)](_0x690599[_0x80824c(0x1fa)],_0x690599[_0x80824c(0x23c)](nestedKeyValue,_0x27e0c4,[_0x690599['ThnIz'],_0x690599[_0x80824c(0x20d)]])?_0x690599['bmLRH']:''),_0x19bdcd=await TestHubHandler[_0x80824c(0x237)](_0x6e0bfe,_0x4af53e);_0x342d99&&_0x690599['azeRK'](setAccessibilityCapabilities,_0x4af53e[_0x80824c(0x22b)]);const _0x52743d={},_0x339f76=[],_0x4001db=_0x4af53e[_0x80824c(0x22b)][_0x80824c(0x20b)]||helper['getUserWorkerCount'](_0x5d8316,_0x39e9bb,_0x4af53e[_0x80824c(0x22b)],constants[_0x80824c(0x1f2)][_0x80824c(0x21c)])||0x1;let _0x44d9fa=0x1;if(_0x690599[_0x80824c(0x1f3)](isBrowserstackInfra)){const _0x916e68=helper[_0x80824c(0x213)](_0x4af53e[_0x80824c(0x22b)],_0x1b3abd,constants[_0x80824c(0x1f2)][_0x80824c(0x21c)]);helper[_0x80824c(0x21b)](_0x4af53e[_0x80824c(0x22b)])?_0x44d9fa=_0x690599[_0x80824c(0x229)](_0x4001db,_0x4af53e[_0x80824c(0x22b)]['platforms'][_0x80824c(0x24b)]):_0x44d9fa=_0x4001db,_0x916e68[_0x80824c(0x250)](_0x46768a=>{const _0x1a31e2=_0x80824c,_0x52a95b=_0x690599[_0x1a31e2(0x227)](helper['getPlatformName'](_0x46768a,'_'),'_'+Date[_0x1a31e2(0x1d9)]()),_0x59b4bd=((()=>{const _0x463308=_0x1a31e2;if(_0x56ab3b){const _0x11cdea=pwToCodeceptBrowser[_0x46768a[_0x463308(0x201)]]||_0x46768a[_0x463308(0x201)];return{'browser':_0x11cdea,[_0x11cdea]:{'browserWSEndpoint':_0x690599['RfZVP'](helper[_0x463308(0x1d2)](_0x4af53e[_0x463308(0x22b)]),_0x690599[_0x463308(0x219)](encodeURIComponent,JSON[_0x463308(0x220)](_0x46768a)))}};}const _0x22cd10={};return _0x22cd10['desiredCapabilities']=_0x46768a,_0x22cd10;})()),_0x214407=_0x690599[_0x1a31e2(0x23c)](nestedKeyValue,_0x27e0c4,[_0x690599[_0x1a31e2(0x1e2)],_0x690599[_0x1a31e2(0x1da)],_0x46f7e9]);_0x52743d[_0x52a95b]=_0x214407?helper['mergeDeep'](_0x59b4bd,_0x214407):_0x59b4bd,!_0x56ab3b&&(_0x52743d[_0x52a95b]['browser']=_0x46768a['browserName']||_0x59b4bd[_0x1a31e2(0x1ec)]),_0x339f76[_0x1a31e2(0x230)](_0x52a95b);});}else{_0x44d9fa=0x1;if(_0x56ab3b){const _0x22c9b0=_0x690599[_0x80824c(0x207)](nestedKeyValue,_0x27e0c4,[_0x690599[_0x80824c(0x1e2)],_0x690599[_0x80824c(0x1da)],_0x46f7e9,_0x690599[_0x80824c(0x22e)]]),_0x5ef9f3=_0x690599[_0x80824c(0x1f5)](nestedKeyValue,_0x27e0c4,[_0x690599[_0x80824c(0x1e2)],_0x690599[_0x80824c(0x1da)],_0x46f7e9,_0x22c9b0]);_0x5ef9f3&&_0x5ef9f3[_0x80824c(0x249)]&&(_0x5ef9f3[_0x80824c(0x249)]=helper[_0x80824c(0x213)](null,null,_0x6e0bfe['toLowerCase'](),null,null,_0x5ef9f3[_0x80824c(0x249)]));}else _0x27e0c4['config'][_0x690599[_0x80824c(0x1da)]][_0x46f7e9][_0x690599[_0x80824c(0x1dc)]]=helper[_0x80824c(0x213)](null,null,_0x6e0bfe[_0x80824c(0x20e)](),_0x690599[_0x80824c(0x1df)](nestedKeyValue,_0x27e0c4,[_0x690599[_0x80824c(0x1e2)],_0x690599[_0x80824c(0x1da)],_0x46f7e9,_0x690599['LnISL']]),null,null);_0x52743d[_0x690599[_0x80824c(0x252)]]=_0x27e0c4[_0x80824c(0x22b)],_0x339f76[_0x80824c(0x230)](_0x690599[_0x80824c(0x252)]);}const _0x45e714={};_0x45e714[_0x80824c(0x24d)]=_0x3934a0;const _0x4ffe3b=_0x45e714,_0x5ef4ea=path[_0x80824c(0x23a)](__dirname,_0x690599['tiOds']),_0x536119=process[_0x80824c(0x1e9)]();process[_0x80824c(0x1f7)][_0x690599['inVmy']]=_0x536119,process['chdir'](path[_0x80824c(0x1f9)](_0x3934a0));const _0x16c435=new CodeceptJS[(_0x80824c(0x224))](null,_0x4ffe3b),_0x44fe67=_0x16c435[_0x80824c(0x1fe)](_0x44d9fa),_0x29f668=testOpsHelper[_0x80824c(0x1e3)](),_0x33dfc1=_0x339f76[_0x80824c(0x23d)](_0x131d17=>{const _0x48eba8=_0x80824c,_0x39a3e5={};_0x39a3e5[_0x48eba8(0x22c)]=_0x52743d[_0x131d17];const _0x5c9b64={};_0x5c9b64['WebDriver']=_0x52743d[_0x131d17];const _0xf60059=_0x56ab3b?_0x39a3e5:_0x5c9b64,_0x5ea158=_0x690599[_0x48eba8(0x221)](getO11yRerunPattern),_0x292b77={};_0x292b77['helpers']=_0xf60059;const _0x110c10={};_0x110c10[_0x48eba8(0x1d3)]=_0x5ef4ea,_0x110c10[_0x48eba8(0x1de)]=!![],_0x110c10[_0x48eba8(0x1d6)]=_0x4af53e[_0x48eba8(0x22b)][_0x48eba8(0x223)]['skipSessionName'],_0x110c10[_0x48eba8(0x1e6)]=_0x4af53e['config'][_0x48eba8(0x223)]['skipSessionStatus'],_0x110c10[_0x48eba8(0x206)]=_0x29f668,_0x110c10[_0x48eba8(0x228)]=_0x6e0bfe;const _0x40243e={};_0x40243e[_0x48eba8(0x244)]=_0x110c10;const _0xab7412={};return _0xab7412[_0x48eba8(0x21e)]=_0x40243e,helper[_0x48eba8(0x204)]({},_0x27e0c4[_0x48eba8(0x22b)],_0x690599['FusvH'](isBrowserstackInfra)?_0x292b77:{},_0x5ea158?{'grep':_0x5ea158}:{},_0xab7412);});for(const _0x1625f1 of _0x33dfc1){for(const _0x47971f of _0x44fe67){const _0x3b7eb2=_0x16c435[_0x80824c(0x203)]();_0x3b7eb2[_0x80824c(0x248)](_0x47971f),_0x3b7eb2[_0x80824c(0x211)](_0x1625f1);}}_0x16c435['on'](CodeceptJS[_0x80824c(0x20c)][_0x80824c(0x243)][_0x80824c(0x24c)],(_0x131dfe,_0x3ce139)=>{const _0x4be770=_0x80824c;console[_0x4be770(0x212)](_0x690599['UuNWe'],_0x131dfe[_0x4be770(0x208)]);const _0x4aa1ec={[_0x131dfe[_0x4be770(0x208)]]:_0x131dfe['err'][_0x4be770(0x1ef)]};_testErrorData[_0x4be770(0x230)](_0x4aa1ec);}),_0x16c435['on'](CodeceptJS[_0x80824c(0x20c)][_0x80824c(0x243)]['passed'],async _0xb8efd7=>{const _0x44f53e=_0x80824c;console['log'](_0x690599[_0x44f53e(0x245)],_0xb8efd7['title']);}),_0x16c435['on'](CodeceptJS['event']['test'][_0x80824c(0x1fd)],async _0x5c54a6=>{const _0x2fb398=_0x80824c;console[_0x2fb398(0x212)](_0x690599['fipdl'],_0x5c54a6[_0x2fb398(0x208)]);}),_0x16c435['on'](CodeceptJS['event'][_0x80824c(0x246)][_0x80824c(0x241)],async()=>{const _0x276724=_0x80824c,_0x13654e=_0x690599['Olavo'][_0x276724(0x1d1)]('|');let _0x3337dd=0x0;while(!![]){switch(_0x13654e[_0x3337dd++]){case'0':try{await TestHubHandler[_0x276724(0x20a)]();}catch(_0x255768){logger[_0x276724(0x226)](_0x276724(0x21a)+util[_0x276724(0x209)](_0x255768));}continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':_0x16c435[_0x276724(0x1f8)]();continue;case'3':utilities[_0x276724(0x231)](_0x4af53e);continue;case'4':_0x4af53e[_0x276724(0x238)]=_testErrorData;continue;}break;}});async function _0x26c75b(){const _0x33f900=_0x80824c;try{await _0x16c435['bootstrapAll'](),await _0x16c435[_0x33f900(0x1e0)]();}finally{process[_0x33f900(0x200)](_0x536119),await _0x16c435[_0x33f900(0x218)]();}}_0x690599[_0x80824c(0x1f3)](_0x26c75b);}function a2_0x8dad(_0x34bd68,_0x44d459){const _0x348164=a2_0x3481();return a2_0x8dad=function(_0x8dad6a,_0x514cd2){_0x8dad6a=_0x8dad6a-0x1d0;let _0x44dbe3=_0x348164[_0x8dad6a];return _0x44dbe3;},a2_0x8dad(_0x34bd68,_0x44d459);}module[a2_0x21cdd3(0x1db)]=run;
|
|
2
|
+
'use strict';const a2_0x5e53aa=a2_0x842d;(function(_0x5ed0f5,_0x1ae745){const _0x1f0dfb=a2_0x842d,_0x5dcfe3=_0x5ed0f5();while(!![]){try{const _0x433681=parseInt(_0x1f0dfb(0x160))/0x1+parseInt(_0x1f0dfb(0x170))/0x2+parseInt(_0x1f0dfb(0x18f))/0x3+-parseInt(_0x1f0dfb(0x161))/0x4+parseInt(_0x1f0dfb(0x1c5))/0x5*(parseInt(_0x1f0dfb(0x15f))/0x6)+parseInt(_0x1f0dfb(0x17c))/0x7*(-parseInt(_0x1f0dfb(0x18b))/0x8)+parseInt(_0x1f0dfb(0x1a3))/0x9;if(_0x433681===_0x1ae745)break;else _0x5dcfe3['push'](_0x5dcfe3['shift']());}catch(_0xcc652b){_0x5dcfe3['push'](_0x5dcfe3['shift']());}}}(a2_0x5afc,0xac4a8));function a2_0x5afc(){const _0x17b839=['stack','createGroupsOfSuites','Playwright','pThvd','errorMessage','1434EgwVVX','706034NnKiQe','1520752xUbMMq','prepareCapabilities','ODmHZ','isUndefined','QEpWv','join','getPlaywrightUrl','RUpDW','omGQO','BROWSERSTACK_RERUN_TESTS','all','desiredCapabilities','CODECEPT','printResults','browserStackCwd','1020720kvQyPz','chdir','err','frameworkName','dUCaY','getUserWorkerCount','TNvvV','profile','result','avxfN','browser','../../helpers/accessibility-automation/helper','21kLHSVL','testObservability','mVlGW','FRAMEWORKS','failed','playwright-firefox','enabled','yNGUJ','xlFml','firefox','root','path','gaoEp','lXeVh','stop','2521272ggOMcH','browserName','browserWSEndpoint','Passed\x20:\x20','577479HCntjF','false','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/testhub/testhubHandler','env','addConfig','1|0|2|4|3','Started\x20:\x20','isTestObservabilitySession','InoKM','../../helpers/test-observability/utils','format','exports','finalExecution','split','BROWSERSTACK_RERUN','cwd','Workers','null','mergeDeep','4877451vznhwG','../../bin/playwright/accessibility-helper','cYPFW','handleApp','winstonLogger','test','qDXpJ','stringify','bootstrapAll','KxiJQ','NsxrZ','../../helpers/BrowserStackSetup','now','gOOJP','testContextOptions','chrome','Failed\x20:\x20','printBuildLink','map','config','AWXUz','slUJb','dirname','isTrue','findIndex','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','process','codeceptjs/lib/index.js','forEach','aCpbr','../../helpers/helper','plugins','spawn','testConfig','1685KfhAne','chromium','grMwu','JnTUt','skipSessionName','playwright-chromium','push','launchBuild','event','accessibilityOptions','../../helpers/utilities','skipSessionStatus','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','toLowerCase','useW3C','BrowserStackPlugin.js','length','title','passed','helpers','gherkin','BROWSERSTACK_TEST_ACCESSIBILITY_YML','iwXDR','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BWfnG','-cucumber','CcJUp','webkit','LWzWg','before','rGlyI','util','DwKUf','HgLbh','codeceptjs','log','slice','info','existsSync','BrowserStackPlugin','KcDLr','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'];a2_0x5afc=function(){return _0x17b839;};return a2_0x5afc();}const fs=require('fs'),path=require(a2_0x5e53aa(0x187)),util=require(a2_0x5e53aa(0x14f)),process=require(a2_0x5e53aa(0x1bd)),logger=require('../../helpers/logger')[a2_0x5e53aa(0x1a7)],{default:BrowserStackSetup}=require(a2_0x5e53aa(0x1ae)),helper=require(a2_0x5e53aa(0x1c1)),utilities=require(a2_0x5e53aa(0x1cf)),{checkAccessibilityPlatformConfig}=require(a2_0x5e53aa(0x17b)),{setAccessibilityCapabilities}=require(a2_0x5e53aa(0x1a4)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x5e53aa(0x1be)),testOpsHelper=require(a2_0x5e53aa(0x199)),TestHubHandler=require(a2_0x5e53aa(0x192)),constants=require(a2_0x5e53aa(0x1d1)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x7c81c0,_0xdaf89a)=>{const _0x4811a8=a2_0x5e53aa,_0x362e51={};_0x362e51[_0x4811a8(0x168)]=function(_0x1d7e56,_0x5170d0){return _0x1d7e56===_0x5170d0;},_0x362e51[_0x4811a8(0x1c8)]='codecept.conf.js',_0x362e51[_0x4811a8(0x1ad)]='codecept.json';const _0x58aa32=_0x362e51;let _0x2aaa86=null;const _0x43ab53={};let _0x4d6426=_0xdaf89a[_0x4811a8(0x1bb)](_0x3e271f=>_0x3e271f==='--config');_0x58aa32[_0x4811a8(0x168)](_0x4d6426,-0x1)&&(_0x4d6426=_0xdaf89a[_0x4811a8(0x1bb)](_0x142b4f=>_0x142b4f==='-c'));if(!helper[_0x4811a8(0x164)](_0x7c81c0[_0x4811a8(0x1b6)])&&fs[_0x4811a8(0x156)](path['join'](process[_0x4811a8(0x19f)](),_0x7c81c0['config'])))_0x2aaa86=path[_0x4811a8(0x166)](process[_0x4811a8(0x19f)](),_0x7c81c0[_0x4811a8(0x1b6)]),_0xdaf89a[_0x4811a8(0x154)](_0x4d6426,0x2);else{if(!helper['isUndefined'](_0x7c81c0['c'])&&fs[_0x4811a8(0x156)](path[_0x4811a8(0x166)](process[_0x4811a8(0x19f)](),_0x7c81c0['c'])))_0x2aaa86=path[_0x4811a8(0x166)](process[_0x4811a8(0x19f)](),_0x7c81c0['c']),_0xdaf89a[_0x4811a8(0x154)](_0x4d6426,0x2);else{if(fs[_0x4811a8(0x156)](path['join'](process['cwd'](),_0x58aa32['JnTUt'])))_0x2aaa86=path[_0x4811a8(0x166)](process[_0x4811a8(0x19f)](),_0x58aa32[_0x4811a8(0x1c8)]);else fs['existsSync'](path['join'](process[_0x4811a8(0x19f)](),_0x58aa32[_0x4811a8(0x1ad)]))&&(_0x2aaa86=path[_0x4811a8(0x166)](process[_0x4811a8(0x19f)](),_0x58aa32['NsxrZ']));}}return _0x2aaa86;},getO11yRerunPattern=()=>{const _0x22cc9c=a2_0x5e53aa,_0x329820={};_0x329820[_0x22cc9c(0x1c7)]=function(_0x2a76f5,_0x217872){return _0x2a76f5!==_0x217872;},_0x329820[_0x22cc9c(0x183)]=_0x22cc9c(0x1a1);const _0x34af22=_0x329820,_0x2004cf=helper[_0x22cc9c(0x1ba)](process[_0x22cc9c(0x193)][_0x22cc9c(0x19e)]);if(_0x2004cf){const _0x51ab70=process['env'][_0x22cc9c(0x16a)],_0x66556d=[];if(_0x34af22[_0x22cc9c(0x1c7)](_0x51ab70,_0x34af22[_0x22cc9c(0x183)])&&!helper['isUndefined'](_0x51ab70)){_0x51ab70[_0x22cc9c(0x19d)](',')[_0x22cc9c(0x1b5)](_0x593a0e=>{const _0x44f7fc=_0x22cc9c;_0x66556d[_0x44f7fc(0x1cb)]('('+_0x593a0e['trim']()+')');});const _0x437b61='^'+_0x66556d[_0x22cc9c(0x166)]('|')+'$';return _0x437b61;}}return null;},a2_0x5a76ae={};a2_0x5a76ae[a2_0x5e53aa(0x1b2)]=a2_0x5e53aa(0x1c6),a2_0x5a76ae[a2_0x5e53aa(0x1ca)]=a2_0x5e53aa(0x1c6),a2_0x5a76ae[a2_0x5e53aa(0x181)]=a2_0x5e53aa(0x185),a2_0x5a76ae['playwright-webkit']=a2_0x5e53aa(0x1e1);const pwToCodeceptBrowser=a2_0x5a76ae;function a2_0x842d(_0x46598b,_0xdd4285){const _0x5afc59=a2_0x5afc();return a2_0x842d=function(_0x842dec,_0x2c6faa){_0x842dec=_0x842dec-0x14f;let _0x1ad871=_0x5afc59[_0x842dec];return _0x1ad871;},a2_0x842d(_0x46598b,_0xdd4285);}async function run(_0x36844f,_0x24dd73){const _0x3be199=a2_0x5e53aa,_0x5e41e6={'rGlyI':function(_0x4f658e,_0x1dac8c){return _0x4f658e+_0x1dac8c;},'dUCaY':function(_0x489f43,_0x18faa7){return _0x489f43(_0x18faa7);},'InoKM':function(_0x38b03e,_0x18a19a){return _0x38b03e+_0x18a19a;},'xlFml':function(_0x5a09e2,_0x24370a,_0x2a362d){return _0x5a09e2(_0x24370a,_0x2a362d);},'omGQO':_0x3be199(0x1b6),'gaoEp':_0x3be199(0x1d9),'TNvvV':function(_0x10cdd7){return _0x10cdd7();},'mVlGW':_0x3be199(0x1b3),'dDEpx':_0x3be199(0x18e),'pThvd':_0x3be199(0x196),'KcDLr':_0x3be199(0x195),'KxiJQ':_0x3be199(0x152),'qDXpJ':function(_0x16a1c7,_0xab8fb5,_0x245127){return _0x16a1c7(_0xab8fb5,_0x245127);},'LWzWg':_0x3be199(0x159),'ODmHZ':function(_0x1ac944,_0x59d8ee,_0x2ebf14){return _0x1ac944(_0x59d8ee,_0x2ebf14);},'BMZYb':_0x3be199(0x15c),'avxfN':'WebDriver','BWfnG':function(_0x395dbd,_0x4764e7){return _0x395dbd(_0x4764e7);},'QEpWv':function(_0x1a7792,_0x1db305){return _0x1a7792!=_0x1db305;},'DwKUf':_0x3be199(0x190),'lXeVh':function(_0x34920d,_0x127cdf){return _0x34920d+_0x127cdf;},'AWXUz':_0x3be199(0x1da),'CcJUp':_0x3be199(0x1df),'UhETU':function(_0x107afc,_0x2efe0d){return _0x107afc(_0x2efe0d);},'hpwbY':function(_0x5a6cbe,_0xcebda8){return _0x5a6cbe*_0xcebda8;},'iwXDR':function(_0x20fad7,_0x52e0af,_0x377ce9){return _0x20fad7(_0x52e0af,_0x377ce9);},'gOOJP':_0x3be199(0x17a),'KPotk':_0x3be199(0x16c),'cYPFW':_0x3be199(0x186),'iRPdg':_0x3be199(0x1d5),'aCpbr':_0x3be199(0x16f)},_0x249b10=new BrowserStackSetup(_0x36844f,_0x5e41e6[_0x3be199(0x1ac)]);await _0x249b10['initialize'](),await helper[_0x3be199(0x1a6)](_0x249b10[_0x3be199(0x1b6)]);if(!_0x249b10[_0x3be199(0x1b6)])return;process[_0x3be199(0x177)]=_0x36844f[_0x3be199(0x177)];_0x36844f[_0x3be199(0x177)]&&(process[_0x3be199(0x193)]['profile']=_0x36844f[_0x3be199(0x177)]);const _0x20f9ac=_0x5e41e6[_0x3be199(0x1a9)](getUserCodeceptJSConfigs,_0x36844f,_0x24dd73);let _0x4803ac={};_0x20f9ac?(logger[_0x3be199(0x155)](_0x3be199(0x1bc)+_0x20f9ac),_0x4803ac=_0x5e41e6[_0x3be199(0x174)](require,_0x20f9ac)):logger[_0x3be199(0x155)](_0x5e41e6[_0x3be199(0x1e2)]);let _0xa59c2a=![];_0x5e41e6[_0x3be199(0x163)](nestedKeyValue,_0x4803ac,[_0x5e41e6[_0x3be199(0x169)],_0x5e41e6[_0x3be199(0x188)],_0x5e41e6['BMZYb']])&&(_0xa59c2a=!![]);const _0x2d6cd9=_0xa59c2a?_0x5e41e6['BMZYb']:_0x5e41e6[_0x3be199(0x179)];let _0x4d58b9=!_0xa59c2a?helper[_0x3be199(0x1d4)](_0x249b10[_0x3be199(0x1b6)]):![];!helper['isUndefined'](_0x249b10[_0x3be199(0x1b6)][_0x3be199(0x1ce)])&&(process[_0x3be199(0x193)][_0x3be199(0x1d2)]=JSON[_0x3be199(0x1aa)](_0x249b10['config'][_0x3be199(0x1ce)]));let _0x168f7b=_0x249b10[_0x3be199(0x1b6)]['accessibility'];_0x168f7b=_0x168f7b||_0x5e41e6[_0x3be199(0x1de)](checkAccessibilityPlatformConfig,_0x249b10[_0x3be199(0x1b6)]),process[_0x3be199(0x193)][_0x3be199(0x1db)]=_0x168f7b;_0x168f7b&&(_0x4d58b9=!_0x168f7b);_0x5e41e6[_0x3be199(0x165)](_0x249b10[_0x3be199(0x1b6)][_0x3be199(0x17d)],null)?process[_0x3be199(0x193)][_0x3be199(0x191)]=_0x249b10['config']['testObservability']:process['env'][_0x3be199(0x191)]=_0x5e41e6[_0x3be199(0x150)];const _0x7df179=_0x5e41e6[_0x3be199(0x189)](_0x5e41e6['KxiJQ'],_0x5e41e6[_0x3be199(0x1a9)](nestedKeyValue,_0x4803ac,[_0x5e41e6['omGQO'],_0x5e41e6[_0x3be199(0x1b7)]])?_0x5e41e6[_0x3be199(0x1e0)]:''),_0x102e0c=await TestHubHandler[_0x3be199(0x1cc)](_0x7df179,_0x249b10);_0x168f7b&&_0x5e41e6['UhETU'](setAccessibilityCapabilities,_0x249b10[_0x3be199(0x1b6)]);const _0x204e48={},_0x21cb70=[],_0x381c5b=_0x249b10[_0x3be199(0x1b6)]['parallelsPerPlatform']||helper[_0x3be199(0x175)](_0x36844f,_0x24dd73,_0x249b10[_0x3be199(0x1b6)],constants[_0x3be199(0x17f)][_0x3be199(0x16d)])||0x1;let _0x362f92=0x1;if(_0x5e41e6[_0x3be199(0x176)](isBrowserstackInfra)){const _0x40702c=helper[_0x3be199(0x162)](_0x249b10[_0x3be199(0x1b6)],_0x4d58b9,constants[_0x3be199(0x17f)][_0x3be199(0x16d)]);helper['validPlatformsPresent'](_0x249b10['config'])?_0x362f92=_0x5e41e6['hpwbY'](_0x381c5b,_0x249b10['config']['platforms'][_0x3be199(0x1d6)]):_0x362f92=_0x381c5b,_0x40702c[_0x3be199(0x1bf)](_0x249d20=>{const _0x441f89=_0x3be199,_0x2a52a2={'HgLbh':function(_0xabb25a,_0x562c84){const _0x4acf78=a2_0x842d;return _0x5e41e6[_0x4acf78(0x1e4)](_0xabb25a,_0x562c84);},'slUJb':function(_0x319400,_0x290303){return _0x5e41e6['dUCaY'](_0x319400,_0x290303);}},_0x1cf411=_0x5e41e6[_0x441f89(0x198)](helper['getPlatformName'](_0x249d20,'_'),'_'+Date[_0x441f89(0x1af)]()),_0x4d5067=((()=>{const _0x21c1e6=_0x441f89;if(_0xa59c2a){const _0x348904=pwToCodeceptBrowser[_0x249d20['browserName']]||_0x249d20['browserName'];return{'browser':_0x348904,[_0x348904]:{'browserWSEndpoint':_0x2a52a2[_0x21c1e6(0x151)](helper[_0x21c1e6(0x167)](_0x249b10[_0x21c1e6(0x1b6)]),_0x2a52a2[_0x21c1e6(0x1b8)](encodeURIComponent,JSON[_0x21c1e6(0x1aa)](_0x249d20)))}};}const _0x1f2a95={};return _0x1f2a95['desiredCapabilities']=_0x249d20,_0x1f2a95;})()),_0x39ecca=_0x5e41e6[_0x441f89(0x184)](nestedKeyValue,_0x4803ac,[_0x5e41e6[_0x441f89(0x169)],_0x5e41e6[_0x441f89(0x188)],_0x2d6cd9]);_0x204e48[_0x1cf411]=_0x39ecca?helper['mergeDeep'](_0x4d5067,_0x39ecca):_0x4d5067,!_0xa59c2a&&(_0x204e48[_0x1cf411][_0x441f89(0x17a)]=_0x249d20[_0x441f89(0x18c)]||_0x4d5067[_0x441f89(0x17a)]),_0x21cb70[_0x441f89(0x1cb)](_0x1cf411);});}else{_0x362f92=0x1;if(_0xa59c2a){const _0x37dde6=_0x5e41e6[_0x3be199(0x1dc)](nestedKeyValue,_0x4803ac,[_0x5e41e6['omGQO'],_0x5e41e6['gaoEp'],_0x2d6cd9,_0x5e41e6[_0x3be199(0x1b0)]]),_0x6a9f24=_0x5e41e6[_0x3be199(0x184)](nestedKeyValue,_0x4803ac,[_0x5e41e6[_0x3be199(0x169)],_0x5e41e6[_0x3be199(0x188)],_0x2d6cd9,_0x37dde6]);_0x6a9f24&&_0x6a9f24[_0x3be199(0x18d)]&&(_0x6a9f24[_0x3be199(0x18d)]=helper[_0x3be199(0x162)](null,null,_0x7df179[_0x3be199(0x1d3)](),null,null,_0x6a9f24[_0x3be199(0x18d)]));}else _0x4803ac['config'][_0x5e41e6['gaoEp']][_0x2d6cd9][_0x5e41e6['KPotk']]=helper[_0x3be199(0x162)](null,null,_0x7df179[_0x3be199(0x1d3)](),_0x5e41e6[_0x3be199(0x1dc)](nestedKeyValue,_0x4803ac,[_0x5e41e6[_0x3be199(0x169)],_0x5e41e6[_0x3be199(0x188)],_0x2d6cd9,_0x5e41e6['KPotk']]),null,null);_0x204e48[_0x5e41e6[_0x3be199(0x1a5)]]=_0x4803ac[_0x3be199(0x1b6)],_0x21cb70[_0x3be199(0x1cb)](_0x5e41e6[_0x3be199(0x1a5)]);}const _0x2e8899={};_0x2e8899[_0x3be199(0x1c4)]=_0x20f9ac;const _0x564ca4=_0x2e8899,_0x4f9667=path[_0x3be199(0x166)](__dirname,_0x5e41e6['iRPdg']),_0x2f4e07=process[_0x3be199(0x19f)]();process['env'][_0x5e41e6[_0x3be199(0x1c0)]]=_0x2f4e07,process[_0x3be199(0x171)](path[_0x3be199(0x1b9)](_0x20f9ac));const _0x5dc815=new CodeceptJS[(_0x3be199(0x1a0))](null,_0x564ca4),_0x38a7d9=_0x5dc815[_0x3be199(0x15b)](_0x362f92),_0x2fc25d=testOpsHelper[_0x3be199(0x197)](),_0xa2ccc9=_0x21cb70['map'](_0x2b5903=>{const _0x564658=_0x3be199,_0x296965={};_0x296965['Playwright']=_0x204e48[_0x2b5903];const _0x2edd34={};_0x2edd34['WebDriver']=_0x204e48[_0x2b5903];const _0x8d4ba=_0xa59c2a?_0x296965:_0x2edd34,_0x177c24=_0x5e41e6['TNvvV'](getO11yRerunPattern),_0x16a246={};_0x16a246[_0x564658(0x1d9)]=_0x8d4ba;const _0xd677f={};_0xd677f['require']=_0x4f9667,_0xd677f[_0x564658(0x182)]=!![],_0xd677f[_0x564658(0x1c9)]=_0x249b10[_0x564658(0x1b6)][_0x564658(0x1b1)]['skipSessionName'],_0xd677f[_0x564658(0x1d0)]=_0x249b10[_0x564658(0x1b6)][_0x564658(0x1b1)][_0x564658(0x1d0)],_0xd677f[_0x564658(0x17d)]=_0x2fc25d,_0xd677f[_0x564658(0x173)]=_0x7df179;const _0x1d98de={};_0x1d98de[_0x564658(0x157)]=_0xd677f;const _0x46194d={};return _0x46194d[_0x564658(0x1c2)]=_0x1d98de,helper[_0x564658(0x1a2)]({},_0x4803ac[_0x564658(0x1b6)],_0x5e41e6[_0x564658(0x176)](isBrowserstackInfra)?_0x16a246:{},_0x177c24?{'grep':_0x177c24}:{},_0x46194d);});for(const _0x259f99 of _0xa2ccc9){for(const _0x2392f0 of _0x38a7d9){const _0x596c59=_0x5dc815[_0x3be199(0x1c3)]();_0x596c59['addTests'](_0x2392f0),_0x596c59[_0x3be199(0x194)](_0x259f99);}}_0x5dc815['on'](CodeceptJS[_0x3be199(0x1cd)][_0x3be199(0x1a8)][_0x3be199(0x180)],(_0x2421bb,_0x495377)=>{const _0x409b21=_0x3be199;console[_0x409b21(0x153)](_0x5e41e6[_0x409b21(0x17e)],_0x2421bb[_0x409b21(0x1d7)]);const _0x54b004={[_0x2421bb[_0x409b21(0x1d7)]]:_0x2421bb[_0x409b21(0x172)][_0x409b21(0x15a)]};_testErrorData[_0x409b21(0x1cb)](_0x54b004);}),_0x5dc815['on'](CodeceptJS[_0x3be199(0x1cd)][_0x3be199(0x1a8)][_0x3be199(0x1d8)],async _0x13f324=>{const _0x47becc=_0x3be199;console[_0x47becc(0x153)](_0x5e41e6['dDEpx'],_0x13f324[_0x47becc(0x1d7)]);}),_0x5dc815['on'](CodeceptJS[_0x3be199(0x1cd)][_0x3be199(0x1a8)][_0x3be199(0x1e3)],async _0x495ff6=>{const _0x3120f8=_0x3be199;console[_0x3120f8(0x153)](_0x5e41e6[_0x3120f8(0x15d)],_0x495ff6['title']);}),_0x5dc815['on'](CodeceptJS[_0x3be199(0x1cd)][_0x3be199(0x16b)][_0x3be199(0x178)],async()=>{const _0x290f5d=_0x3be199,_0x1cc340=_0x5e41e6[_0x290f5d(0x158)][_0x290f5d(0x19d)]('|');let _0x4806fa=0x0;while(!![]){switch(_0x1cc340[_0x4806fa++]){case'0':testOpsHelper[_0x290f5d(0x1b4)]();continue;case'1':_0x249b10[_0x290f5d(0x15e)]=_testErrorData;continue;case'2':utilities[_0x290f5d(0x19c)](_0x249b10);continue;case'3':_0x5dc815[_0x290f5d(0x16e)]();continue;case'4':try{await TestHubHandler[_0x290f5d(0x18a)]();}catch(_0x528b90){logger['debug'](_0x290f5d(0x1dd)+util[_0x290f5d(0x19a)](_0x528b90));}continue;}break;}});async function _0x8c1abe(){const _0x36abc9=_0x3be199;try{await _0x5dc815[_0x36abc9(0x1ab)](),await _0x5dc815['run']();}finally{process['chdir'](_0x2f4e07),await _0x5dc815['teardownAll']();}}_0x5e41e6[_0x3be199(0x176)](_0x8c1abe);}module[a2_0x5e53aa(0x19b)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x18db(_0x270a6f,_0x69fdf2){const _0x4447bc=a3_0x4447();return a3_0x18db=function(_0x18db83,_0x43084a){_0x18db83=_0x18db83-0x16c;let _0x42f7f4=_0x4447bc[_0x18db83];return _0x42f7f4;},a3_0x18db(_0x270a6f,_0x69fdf2);}const a3_0xa4381=a3_0x18db;(function(_0x58154d,_0x491f21){const _0x593452=a3_0x18db,_0x118c53=_0x58154d();while(!![]){try{const _0x513be5=parseInt(_0x593452(0x19b))/0x1*(parseInt(_0x593452(0x1af))/0x2)+-parseInt(_0x593452(0x1a5))/0x3*(-parseInt(_0x593452(0x17a))/0x4)+parseInt(_0x593452(0x16d))/0x5*(parseInt(_0x593452(0x19d))/0x6)+parseInt(_0x593452(0x1a7))/0x7*(parseInt(_0x593452(0x183))/0x8)+-parseInt(_0x593452(0x198))/0x9*(-parseInt(_0x593452(0x179))/0xa)+-parseInt(_0x593452(0x1c0))/0xb+-parseInt(_0x593452(0x1a8))/0xc;if(_0x513be5===_0x491f21)break;else _0x118c53['push'](_0x118c53['shift']());}catch(_0x4ff910){_0x118c53['push'](_0x118c53['shift']());}}}(a3_0x4447,0x1e864));const {isUndefined,nestedKeyValue}=require(a3_0xa4381(0x1a2)),logger=require('../../helpers/logger')['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0xa4381(0x1a4)),getOSVersionFromCaps=_0x551270=>{const _0x2be8d7=a3_0xa4381,_0x304bac={};_0x304bac[_0x2be8d7(0x174)]='bstack:options',_0x304bac[_0x2be8d7(0x1a6)]=_0x2be8d7(0x16c),_0x304bac['INJwQ']=_0x2be8d7(0x190),_0x304bac[_0x2be8d7(0x182)]=_0x2be8d7(0x1b0),_0x304bac[_0x2be8d7(0x18d)]='os_version';const _0x254aea=_0x304bac;if(!_0x551270)return null;const _0x19e5dd=_0x551270[_0x254aea[_0x2be8d7(0x174)]],_0xf7ca52=[_0x254aea[_0x2be8d7(0x1a6)],_0x254aea[_0x2be8d7(0x193)],_0x254aea['BfABU'],_0x254aea['Venkk']];for(const _0x2e01e2 of _0xf7ca52){if(_0x19e5dd&&_0x19e5dd[_0x2e01e2])return _0x19e5dd[_0x2e01e2];else{if(_0x551270[_0x2e01e2])return _0x551270[_0x2e01e2];}}return null;};exports[a3_0xa4381(0x1b7)]=_0x5b16fc=>{const _0x54c482=a3_0xa4381,_0x301156={'aWdSR':_0x54c482(0x1b6),'RmmXM':function(_0x290bbc,_0x49ccba){return _0x290bbc===_0x49ccba;},'Donxw':_0x54c482(0x18f),'hknDP':function(_0x29b624,_0x2c1141){return _0x29b624(_0x2c1141);},'rRCwM':function(_0x5bd5a0,_0x13c33d,_0x167674){return _0x5bd5a0(_0x13c33d,_0x167674);},'vbhxo':_0x54c482(0x189),'sdnRA':_0x54c482(0x180),'azzdi':function(_0x35a926,_0x44eaeb){return _0x35a926===_0x44eaeb;},'CezzK':_0x54c482(0x1a3),'iAdzs':_0x54c482(0x18e),'soBfX':_0x54c482(0x1bd),'RsLOG':_0x54c482(0x192),'iKcAU':_0x54c482(0x16f),'rvLMk':function(_0x3a361b,_0x48d843){return _0x3a361b===_0x48d843;},'bXNfE':_0x54c482(0x184),'FQBDR':_0x54c482(0x181),'oxcWr':_0x54c482(0x19a),'exTCX':_0x54c482(0x1ab),'RnwaV':function(_0x5c2a22,_0x2b6b1f){return _0x5c2a22===_0x2b6b1f;}};if(!_0x5b16fc)return null;let _0x3bcf7c=global[_0x54c482(0x19e)]||_0x301156['aWdSR'];if(_0x301156[_0x54c482(0x187)](_0x5b16fc[_0x54c482(0x186)][_0x54c482(0x1ac)],_0x301156[_0x54c482(0x16e)])){const _0x47657f=_0x5b16fc['browser'];if(!_0x47657f)return null;const _0x13e07a=_0x47657f[_0x54c482(0x1a0)],_0x52c8e9=_0x301156[_0x54c482(0x1b5)](getOSVersionFromCaps,_0x301156[_0x54c482(0x199)](nestedKeyValue,_0x5b16fc,[_0x301156[_0x54c482(0x1be)],_0x301156['sdnRA']]));return{[_0x3bcf7c]:{'browser':_0x13e07a[_0x54c482(0x1a9)],'browser_version':_0x13e07a[_0x54c482(0x176)],'capabilities':_0x13e07a,'platform':_0x13e07a['platformName'],'platform_version':_0x13e07a[_0x54c482(0x16c)]||_0x52c8e9,'product':_0x301156['azzdi'](global[_0x54c482(0x19e)],_0x301156[_0x54c482(0x18a)])?_0x13e07a[_0x301156[_0x54c482(0x178)]]||_0x13e07a[_0x301156[_0x54c482(0x1aa)]]?_0x301156[_0x54c482(0x17e)]:_0x301156[_0x54c482(0x1b2)]:null,'session_id':_0x47657f[_0x54c482(0x17b)]}};}else{if(_0x301156[_0x54c482(0x1c2)](_0x5b16fc['constructor'][_0x54c482(0x1ac)],_0x301156[_0x54c482(0x19c)])){const _0x252f15=PlaywrightSessionDetails[_0x54c482(0x1b8)]();_0x3bcf7c=_0x252f15[_0x54c482(0x18c)]||_0x3bcf7c;const _0x1ef450=_0x301156[_0x54c482(0x199)](nestedKeyValue,_0x5b16fc,[_0x301156[_0x54c482(0x1be)],_0x301156[_0x54c482(0x175)],_0x301156[_0x54c482(0x1a1)]]),_0x134f35=_0x1ef450?JSON[_0x54c482(0x17d)](new URL(_0x1ef450)[_0x54c482(0x1b4)][_0x54c482(0x188)](_0x301156[_0x54c482(0x195)])):{};return{[_0x3bcf7c]:{'browser':_0x252f15[_0x54c482(0x181)]||_0x134f35['browserName'],'browser_version':_0x252f15[_0x54c482(0x1c1)]||_0x134f35[_0x54c482(0x1c1)],'capabilities':_0x134f35,'platform':_0x252f15[_0x54c482(0x1bc)],'platform_version':_0x252f15[_0x54c482(0x190)],'product':_0x301156['RnwaV'](global[_0x54c482(0x19e)],_0x301156[_0x54c482(0x18a)])?_0x134f35[_0x301156[_0x54c482(0x178)]]||_0x134f35[_0x301156[_0x54c482(0x1aa)]]?_0x301156[_0x54c482(0x17e)]:_0x301156[_0x54c482(0x1b2)]:null,'session_id':_0x252f15[_0x54c482(0x1b1)]}};}}},exports[a3_0xa4381(0x1ae)]=_0x2a72b6=>{const _0x73128e=a3_0xa4381,_0x5364a8={'iyeFD':function(_0x6d471a){return _0x6d471a();},'RWerU':function(_0x446501,_0x47ac3d){return _0x446501===_0x47ac3d;},'KKOqq':'latest','HTxwD':function(_0xfc1285,_0x2cb65d){return _0xfc1285>_0x2cb65d;},'WFypy':function(_0x163ba7,_0xc46be3){return _0x163ba7(_0xc46be3);},'MXLdd':_0x73128e(0x1b3),'hlWeO':function(_0x14e0b4,_0x241e00){return _0x14e0b4===_0x241e00;},'KECZK':_0x73128e(0x1b9),'olDxV':'playwright-chromium','yWYSI':_0x73128e(0x191),'kuOOA':_0x73128e(0x170)};if(_0x5364a8['iyeFD'](isAccessibilityAutomationSession)){const _0x50f89a=_0x2a72b6[_0x73128e(0x181)],_0x1f50b2=_0x50f89a[_0x73128e(0x1a0)];global['accessibilityPlatform']=!![],!(_0x5364a8[_0x73128e(0x185)](_0x1f50b2[_0x73128e(0x176)],_0x5364a8['KKOqq'])||_0x5364a8[_0x73128e(0x173)](_0x5364a8[_0x73128e(0x194)](parseInt,_0x1f50b2[_0x73128e(0x176)]),0x5e))&&(logger[_0x73128e(0x197)](_0x5364a8[_0x73128e(0x17c)]),global[_0x73128e(0x172)]=![]),!(_0x5364a8['hlWeO'](_0x1f50b2[_0x73128e(0x1a9)],_0x5364a8[_0x73128e(0x1bf)])||_0x5364a8[_0x73128e(0x185)](_0x1f50b2['browserName'],_0x5364a8[_0x73128e(0x19f)]))&&(logger[_0x73128e(0x197)](_0x5364a8[_0x73128e(0x171)]),global[_0x73128e(0x172)]=![]),!_0x5364a8[_0x73128e(0x194)](isUndefined,_0x1f50b2[_0x73128e(0x1ba)])&&(logger[_0x73128e(0x197)](_0x5364a8[_0x73128e(0x177)]),global[_0x73128e(0x172)]=![]);}},exports[a3_0xa4381(0x196)]=_0x4d7f40=>{const _0x27ca92=a3_0xa4381,_0x4b8ef3={};_0x4b8ef3[_0x27ca92(0x1ad)]='browserstack_executor',_0x4b8ef3[_0x27ca92(0x17f)]=_0x27ca92(0x18b);const _0x55fbfb=_0x4b8ef3;if(!_0x4d7f40)return![];return!_0x4d7f40[_0x27ca92(0x1bb)](_0x55fbfb['XWPfP'])&&!_0x4d7f40[_0x27ca92(0x1bb)](_0x55fbfb[_0x27ca92(0x17f)]);};function a3_0x4447(){const _0x45d1db=['browserName','soBfX','caps','name','XWPfP','processWebDriverConfig','998WucGaG','osVersion','bsSessionId','iKcAU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','searchParams','hknDP','unknown_grid','fetchPlatformDetails','getDetails','chrome','deviceName','includes','platform','app','vbhxo','KECZK','1998667goqrVr','browser_version','rvLMk','platformVersion','811945vBqAaP','Donxw','automate','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','yWYSI','accessibilityPlatform','HTxwD','Uesab','FQBDR','browserVersion','kuOOA','iAdzs','725590aVOWRm','679468JaSvBZ','sessionId','MXLdd','parse','RsLOG','tQVlU','desiredCapabilities','browser','BfABU','8jsWiPs','Playwright','RWerU','constructor','RmmXM','get','config','CezzK','browserstack_accessibility_automation_script','cloudProvider','Venkk','appium:app','WebDriver','platform_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','app-automate','INJwQ','WFypy','exTCX','shouldPatchExecuteScript','warn','18iYhjYR','rRCwM','browserWSEndpoint','242ROsIvo','bXNfE','6awGXUC','__cloud_provider___','olDxV','capabilities','oxcWr','../../helpers/helper','browserstack','../../helpers/accessibility-automation/helper','3vTiqLF','ETuSi','632380KEzimU','4580964xSBxer'];a3_0x4447=function(){return _0x45d1db;};return a3_0x4447();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x2337ea=a4_0x1455;function a4_0x5a58(){const _0x5db586=['DWSyU','finished','suites','RBeHN','uzoQa','test_run_uuid','captureEvent','QxMNs','ZOGgD','prefixTestPath','forEach','rEcXy','includes','comment','bddStepFinish','split','name','ZJTXF','failureData','prototype','MHkzM','ksjhk','err','CgLgP','getRootParentFile','TestRunFinished','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','UuTJi','TEST_RUN_FINISHED','initializeBddStep','preWl','hGuNB','_afterAll','TEST_EVENTS','Gzhwf','dpsYI','browserstack','bhigu','feature','testAnalyticsId','8312PgzBZY','pending','failure_backtrace','110MUeJJt','DUyGS','JdIUA','YEtSG','tags','now','toString','hook','string','failed\x20to\x20get\x20root\x20parent\x20file\x20','keyword','wsEndpoint','concat','toUpperCase','status','tQvoc','19320360jgNfFD','match','ctcVq','BODhj','title','vxBxy','connectOverCDP','getHooksForTest','10926kpwRSL','bddStepStart','ZfOYP','find','_beforeEach','join','mapTestHooks','accessibilityPlatform','expanded','CBTSessionCreated','fJWbd','pid','372845ReerEB','toISOString','ionPS','removeAllListeners','__cloud_provider___','IKCdZ','../../helpers/test-observability/sessionHandler','zERqD','DojLH','FPKCj','inspect','TKiHI','zBhaf','markedStatus','5|1|3|4|2|0','../mocha/test-observability/mochaUtils','currentTest','winstonLogger','connect','parent','body','../../helpers/testhub/utils.js','fireEvent','Not\x20able\x20to\x20import\x20Browser','passed','../../helpers/helper','sendCBTInfo','BrowserType','2981482mCwPoV','setupBrowserDetails','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','errorsDetailed','retryOf','findGitConfig','AAwje','kkLkh','test','text','4zcQXio','apply','failed','LogCreated','type','oFCiA','tcanV','bs:addLog:','file','ctx','codeceptjs','odiLT','\x20with\x20error\x20:\x20','stepAnalyticsId','startedAt','getCBTInfo','JhArt','PYMxH','browserType.js','Playwright','getFailureType','xDjlb','groups','ecSdZ','_testEnv','driver','1054210KqpUEn','message','cAhBa','toLowerCase','hook_run','MaJbF','length','launch','appendTestItemLog','Qgtkn','../../helpers/logger','STATE_PASSED','patchConsoleLogger','_afterEach','GBHTJ','hook_type','_beforeAll','uuid','pmmxR','backtrace','kljUF','xGKBG','enabled','BKJld','WRfmf','stringify','push','ZxCWW','bxUuO','JyraR','HOOK_RUN_FINISHED','8286LkvptG','failure','88530Onxovk','failure_reason_expanded','ODBdS','debug','byUIS','hookAnalyticsId','PLAYWRIGHT_HUB_URL','__platformCaps','hook_run_uuid','integrations','lbXJQ','client','started','bind','getHierarchy','then','../../helpers/test-observability/utils','dirname','defineProperty','getHookType','6HHnzel','HOOK_RUN_STARTED','exports','RNbhI','duration','QpbCe','relative','javascript','meta','ZSMfr','411lqzaAm','getInstance','.git','finished_at','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','frameworkName','bddSteps','shutdown','HhgFP','config','stop','getTime','currentHook','qqXSj','HookRunFinished','jSsEg','SAVXY','QPsDN','TEST_RUN_STARTED','STATE_FAILED','NSFFm','statSync','TRFNv','util','_paths','skipped','../../helpers/test-observability/requestQueueHandler','path','success','event_type','start','uploadEventData','logs','test_run','YsMMX','result'];a4_0x5a58=function(){return _0x5db586;};return a4_0x5a58();}(function(_0x5c837b,_0x12c752){const _0x1a52cc=a4_0x1455,_0x25cd6c=_0x5c837b();while(!![]){try{const _0x26979d=parseInt(_0x1a52cc(0x16c))/0x1+parseInt(_0x1a52cc(0x16a))/0x2*(parseInt(_0x1a52cc(0x18a))/0x3)+parseInt(_0x1a52cc(0x131))/0x4*(-parseInt(_0x1a52cc(0x14b))/0x5)+-parseInt(_0x1a52cc(0x180))/0x6*(parseInt(_0x1a52cc(0x127))/0x7)+parseInt(_0x1a52cc(0xe4))/0x8*(-parseInt(_0x1a52cc(0xff))/0x9)+parseInt(_0x1a52cc(0xe7))/0xa*(parseInt(_0x1a52cc(0x10b))/0xb)+parseInt(_0x1a52cc(0xf7))/0xc;if(_0x26979d===_0x12c752)break;else _0x25cd6c['push'](_0x25cd6c['shift']());}catch(_0xad4bc7){_0x25cd6c['push'](_0x25cd6c['shift']());}}}(a4_0x5a58,0xb4e12));const path=require(a4_0x2337ea(0x1a5)),fs=require('fs'),{v4:uuidv4}=require(a4_0x2337ea(0x15c)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x2337ea(0x124)),testOpsHelper=require(a4_0x2337ea(0x17c)),{getTestEnv}=require(a4_0x2337ea(0x11a)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x2337ea(0x155))[a4_0x2337ea(0x11c)],SessionHandler=require(a4_0x2337ea(0x111)),RequestQueueHandler=require(a4_0x2337ea(0x1a4)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require('../utils/constants'),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x2337ea(0x120)),STATE_PASSED='passed',STATE_FAILED=a4_0x2337ea(0x133),a4_0x487dbd={};a4_0x487dbd[a4_0x2337ea(0x19c)]='TestRunStarted',a4_0x487dbd['TEST_RUN_FINISHED']=a4_0x2337ea(0xd5),a4_0x487dbd['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x487dbd[a4_0x2337ea(0x181)]='HookRunStarted',a4_0x487dbd[a4_0x2337ea(0x169)]=a4_0x2337ea(0x198);const TEST_EVENTS=a4_0x487dbd,parseEvent=_0x1d63c0=>{const _0x2d33e3=a4_0x2337ea,_0x40e584={};_0x40e584['lobjP']=function(_0x5453f0,_0x570a40){return _0x5453f0<_0x570a40;},_0x40e584[_0x2d33e3(0x116)]=function(_0x50627f,_0x43f207){return _0x50627f===_0x43f207;},_0x40e584[_0x2d33e3(0x183)]=_0x2d33e3(0x12f),_0x40e584[_0x2d33e3(0xfa)]=_0x2d33e3(0xee),_0x40e584[_0x2d33e3(0x14d)]=_0x2d33e3(0x1a3),_0x40e584[_0x2d33e3(0x168)]=function(_0x234c73,_0x5f07c3){return _0x234c73===_0x5f07c3;},_0x40e584['jSsEg']=_0x2d33e3(0x178),_0x40e584[_0x2d33e3(0x112)]=function(_0x22edcf,_0x219315){return _0x22edcf===_0x219315;},_0x40e584[_0x2d33e3(0x19b)]='finished';const _0x4aaf88=_0x40e584,_0x4e3bec=_0x1d63c0[_0x2d33e3(0xf8)](/^(.*)Run(.*)$/);if(!_0x4e3bec)return null;if(_0x4aaf88['lobjP'](_0x4e3bec['length'],0x3))return null;const _0x5addc3=_0x4e3bec[0x1][_0x2d33e3(0x14e)](),_0x177771=_0x4e3bec[0x2][_0x2d33e3(0x14e)]();return{'test':_0x4aaf88['TKiHI'](_0x5addc3,_0x4aaf88[_0x2d33e3(0x183)]),'hook':_0x4aaf88[_0x2d33e3(0x116)](_0x5addc3,_0x4aaf88['BODhj']),'skipped':_0x4aaf88[_0x2d33e3(0x116)](_0x177771,_0x4aaf88[_0x2d33e3(0x14d)]),'started':_0x4aaf88[_0x2d33e3(0x168)](_0x177771,_0x4aaf88[_0x2d33e3(0x199)]),'finished':_0x4aaf88['zERqD'](_0x177771,_0x4aaf88[_0x2d33e3(0x19b)])};},mockPWBrowserType=_0x2915a2=>{const _0x13cd26=a4_0x2337ea,_0x2ff849={'vxBxy':function(_0x256934,_0x2d401c,_0x5d4c21){return _0x256934(_0x2d401c,_0x5d4c21);},'GBHTJ':_0x13cd26(0xf2),'PYMxH':function(_0x5f2689,_0x357040){return _0x5f2689(_0x357040);},'kljUF':_0x13cd26(0xe0),'QxMNs':function(_0x4a6033,_0x1b8898,_0x4f37d2){return _0x4a6033(_0x1b8898,_0x4f37d2);},'DojLH':function(_0x20b736,_0x468ce8){return _0x20b736(_0x468ce8);},'bWqQq':function(_0x3c475b,_0x7afbc4){return _0x3c475b===_0x7afbc4;},'UuTJi':_0x13cd26(0xef),'ZSMfr':'lib','dZrMh':_0x13cd26(0x177),'DUyGS':_0x13cd26(0x143),'IKCdZ':_0x13cd26(0x122),'rEcXy':_0x13cd26(0x11d),'AAwje':_0x13cd26(0x152)},_0x36245f=path[_0x13cd26(0x104)](_0x2ff849[_0x13cd26(0x189)],_0x2ff849['dZrMh'],_0x2ff849[_0x13cd26(0xe8)]),_0x4ea8c4=_0x2ff849[_0x13cd26(0x113)](importFileFromPWCore,_0x36245f);if(!_0x4ea8c4){_0x2ff849['DojLH'](debug,_0x2ff849[_0x13cd26(0x110)]);return;}const _0x50dae1=_0x4ea8c4[_0x13cd26(0x126)],_0x1c3752=_0x50dae1[_0x13cd26(0x1c1)];if(_0x1c3752['obsBrowserTypeMockApplied'])return;const _0x21e752=_0x1c3752[_0x13cd26(0x11d)];Object['defineProperty'](_0x1c3752,_0x2ff849[_0x13cd26(0x1b9)],{'get':function(){const _0x496030=_0x13cd26,_0xf7d228={'jTUtV':function(_0x80c596,_0x19de9f){return _0x2ff849['bWqQq'](_0x80c596,_0x19de9f);},'mxTzI':_0x2ff849[_0x496030(0xd7)]};return async function _0xe55a54(_0x1cde37,_0x1437ab){const _0x4842c0=_0x496030,_0x4b6d87=_0x2ff849[_0x4842c0(0xfc)](nestedKeyValue,_0x1cde37,[_0x2ff849[_0x4842c0(0x159)]])||_0x1cde37;let _0x553538=null,_0x2c6654=null;try{[_0x2c6654,_0x553538]=_0x4b6d87?_0x2ff849[_0x4842c0(0x142)](parseWSEndpoint,_0x4b6d87):[null,null],global[_0x4842c0(0x173)]=_0x553538,_0x2c6654[_0x4842c0(0x1ba)](_0x2ff849[_0x4842c0(0x15f)])&&(global[_0x4842c0(0x10f)]=_0x2ff849['kljUF']);}catch(_0xb52140){logger[_0x4842c0(0x16f)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x4b6d87+'\x20'+_0xb52140);}_0x2ff849[_0x4842c0(0x1b5)](processAccessibilityCaps,_0x553538,_0x2c6654);if(global[_0x4842c0(0x106)]){const _0x24bfba=await _0x1c3752[_0x4842c0(0xfd)][_0x4842c0(0x132)](this,[''+Constants[_0x4842c0(0x172)]+_0x2ff849['DojLH'](encodeURIComponent,JSON[_0x4842c0(0x164)](_0x553538))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x24bfba,_0x2915a2,_0x4b6d87),_0x24bfba;}return _0x21e752[_0x4842c0(0x132)](this,arguments)[_0x4842c0(0x17b)](_0x11344f=>{const _0x52a5eb=_0x4842c0;let _0x37b8d8=_0x1cde37[_0x52a5eb(0xf2)];return _0xf7d228['jTUtV'](typeof _0x1cde37,_0xf7d228['mxTzI'])&&(_0x37b8d8=_0x1cde37),PlaywrightSessionDetails[_0x52a5eb(0x128)](_0x11344f,_0x2915a2,_0x37b8d8),_0x11344f;});};}});const _0x384d78=_0x1c3752[_0x13cd26(0x152)];Object[_0x13cd26(0x17e)](_0x1c3752,_0x2ff849[_0x13cd26(0x12d)],{'get':function(){return async function _0x28773c(){const _0xfc6599=a4_0x1455;return _0x384d78[_0xfc6599(0x132)](this,arguments)[_0xfc6599(0x17b)](_0x25f754=>{const _0x1d18a4=_0xfc6599;return PlaywrightSessionDetails[_0x1d18a4(0x128)](_0x25f754,null),_0x25f754;});};}});};function a4_0x1455(_0x4d0e33,_0x5acc72){const _0x5a5830=a4_0x5a58();return a4_0x1455=function(_0x145501,_0x5decd4){_0x145501=_0x145501-0xd4;let _0x2c2c4f=_0x5a5830[_0x145501];return _0x2c2c4f;},a4_0x1455(_0x4d0e33,_0x5acc72);}class O11yHelper{[a4_0x2337ea(0x11b)]=null;['currentHook']=null;[a4_0x2337ea(0x161)]=![];['frameworkName']=![];constructor(_0x506b6f,_0x66cba0){const _0x4d7fb5=a4_0x2337ea,_0x5ae126={'ecSdZ':_0x4d7fb5(0x119),'qqXSj':function(_0x304a6e,_0x6f1253){return _0x304a6e===_0x6f1253;},'MSatt':_0x4d7fb5(0x144),'ZfOYP':function(_0x25ea2e,_0x30d0fc){return _0x25ea2e(_0x30d0fc);},'lbXJQ':function(_0x9e475){return _0x9e475();},'ODBdS':function(_0x1cdbcd){return _0x1cdbcd();}},_0x51d4e1=_0x5ae126[_0x4d7fb5(0x148)][_0x4d7fb5(0x1bd)]('|');let _0x470c04=0x0;while(!![]){switch(_0x51d4e1[_0x470c04++]){case'0':this['driver']&&_0x5ae126[_0x4d7fb5(0x197)](this[_0x4d7fb5(0x14a)]['constructor'][_0x4d7fb5(0x1be)],_0x5ae126['MSatt'])&&_0x5ae126[_0x4d7fb5(0x101)](mockPWBrowserType,null);continue;case'1':this[_0x4d7fb5(0x18f)]=_0x66cba0[_0x4d7fb5(0x18f)];continue;case'2':this[_0x4d7fb5(0x1a2)]=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0x4d7fb5(0x149)]['location_prefix']);continue;case'3':this[_0x4d7fb5(0x14a)]=_0x506b6f;continue;case'4':this[_0x4d7fb5(0x149)]=_0x5ae126[_0x4d7fb5(0x176)](getTestEnv);continue;case'5':this['enabled']=_0x5ae126[_0x4d7fb5(0x16e)](shouldProcessEventForTesthub);continue;}break;}}[a4_0x2337ea(0x1a8)](){const _0x12a7c6=a4_0x2337ea;if(!this['enabled'])return;testOpsHelper[_0x12a7c6(0x157)](),process[_0x12a7c6(0x10e)](_0x12a7c6(0x138)+process[_0x12a7c6(0x10a)]),process['on']('bs:addLog:'+process[_0x12a7c6(0x10a)],this[_0x12a7c6(0x153)][_0x12a7c6(0x179)](this));}async[a4_0x2337ea(0x194)](){const _0x13b901=a4_0x2337ea;await RequestQueueHandler[_0x13b901(0x18b)]()[_0x13b901(0x191)]();}async[a4_0x2337ea(0x153)](_0x3e0c13){const _0x5ddbbb=a4_0x2337ea,_0x579f7f={'uzoQa':_0x5ddbbb(0x134),'WRfmf':function(_0x3d45fc,_0x308cd8){return _0x3d45fc(_0x308cd8);}};try{this[_0x5ddbbb(0x196)]&&!this[_0x5ddbbb(0x196)][_0x5ddbbb(0x118)]&&(_0x3e0c13[_0x5ddbbb(0x174)]=this[_0x5ddbbb(0x196)][_0x5ddbbb(0x171)]);!_0x3e0c13['hook_run_uuid']&&this[_0x5ddbbb(0x11b)]&&!this[_0x5ddbbb(0x11b)]['markedStatus']&&(_0x3e0c13[_0x5ddbbb(0x1b3)]=this['currentTest'][_0x5ddbbb(0xe3)]);if(_0x3e0c13['hook_run_uuid']||_0x3e0c13[_0x5ddbbb(0x1b3)]){const _0x453cab={};_0x453cab[_0x5ddbbb(0x1a7)]=_0x579f7f[_0x5ddbbb(0x1b2)],_0x453cab[_0x5ddbbb(0x1aa)]=[_0x3e0c13],await SessionHandler[_0x5ddbbb(0x1a9)](_0x453cab);}}catch(_0x157236){_0x579f7f[_0x5ddbbb(0x163)](debug,_0x5ddbbb(0xd6)+_0x157236);}}async[a4_0x2337ea(0x125)](_0x5cb287){const _0x527a20=a4_0x2337ea,_0x187b1a={'DxAvT':_0x527a20(0x108),'QpbCe':function(_0xb30ed,_0x37ecb9){return _0xb30ed(_0x37ecb9);}};if(!this['enabled'])return;const _0x537030=this[_0x527a20(0x140)](this[_0x527a20(0x14a)]);try{const _0xa3ca5={};_0xa3ca5[_0x527a20(0x15c)]=_0x5cb287,_0xa3ca5['integrations']=_0x537030;const _0x22a347=_0xa3ca5,_0x2b97cb={};_0x2b97cb[_0x527a20(0x1a7)]=_0x187b1a['DxAvT'],_0x2b97cb[_0x527a20(0x1ab)]=_0x22a347,await SessionHandler[_0x527a20(0x1a9)](_0x2b97cb);}catch(_0x173c50){_0x187b1a[_0x527a20(0x185)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x173c50);}}[a4_0x2337ea(0x140)](_0x4f231b){const _0x19d700={'YcZrM':function(_0x3e49cb,_0x4c5f19){return _0x3e49cb(_0x4c5f19);}};return _0x19d700['YcZrM'](fetchPlatformDetails,_0x4f231b);}['resetSkipTestHooks']=_0x1cf29d=>{const _0x229a34=a4_0x2337ea,_0x25e0a4={};_0x25e0a4[_0x229a34(0x162)]=_0x229a34(0x103),_0x25e0a4[_0x229a34(0xf6)]=_0x229a34(0x158);const _0x3e7229=_0x25e0a4;if(!_0x1cf29d||!_0x1cf29d['parent'])return;[_0x3e7229[_0x229a34(0x162)],_0x3e7229[_0x229a34(0xf6)]][_0x229a34(0x1b8)](_0x15944d=>{const _0x183588=_0x229a34,_0x48b317=_0x1cf29d[_0x183588(0x11e)][_0x15944d];_0x48b317[_0x183588(0x1b8)](_0x29c7be=>{const _0x262cd2=_0x183588;_0x29c7be[_0x262cd2(0x171)]&&(_0x29c7be[_0x262cd2(0x171)]=null);});});};[a4_0x2337ea(0x105)](_0x3035ef){const _0xfb8c90=a4_0x2337ea,_0x2cf3c2={'pmzhj':_0xfb8c90(0x13b),'JdIUA':function(_0x1ce9d9){return _0x1ce9d9();},'bhigu':function(_0x8d3ff1,_0x5d135f){return _0x8d3ff1===_0x5d135f;},'NSFFm':'_afterEach','MHkzM':_0xfb8c90(0x15b),'YEtSG':'_afterAll','hJNsm':_0xfb8c90(0x103)};if(!_0x3035ef||!_0x3035ef[_0xfb8c90(0x11e)])return;[_0x2cf3c2[_0xfb8c90(0x1c2)],_0x2cf3c2[_0xfb8c90(0xea)],_0x2cf3c2['hJNsm'],_0x2cf3c2[_0xfb8c90(0x19e)]]['forEach'](_0x227170=>{const _0x3fa0b8=_0xfb8c90,_0x291def=_0x3035ef[_0x3fa0b8(0x11e)][_0x227170]||[];_0x291def[_0x3fa0b8(0x1b8)](_0x170878=>{const _0x1773c1=_0x3fa0b8;if(_0x170878[_0x1773c1(0xfb)]['includes'](_0x2cf3c2['pmzhj']))return;if(!_0x170878[_0x1773c1(0x171)])_0x170878[_0x1773c1(0x171)]=_0x2cf3c2[_0x1773c1(0xe9)](uuidv4);else _0x170878[_0x1773c1(0x118)]&&_0x2cf3c2[_0x1773c1(0xe1)](_0x227170,_0x2cf3c2[_0x1773c1(0x19e)])&&(_0x170878[_0x1773c1(0x171)]=_0x2cf3c2['JdIUA'](uuidv4),delete _0x170878[_0x1773c1(0x118)]);});}),this[_0xfb8c90(0x105)](_0x3035ef[_0xfb8c90(0x11e)]);}[a4_0x2337ea(0xfe)](_0x51b85d){const _0x53ca52=a4_0x2337ea,_0x4fa3f0={};_0x4fa3f0[_0x53ca52(0x141)]='_beforeAll',_0x4fa3f0['ionPS']=_0x53ca52(0xdc),_0x4fa3f0[_0x53ca52(0x1ae)]=_0x53ca52(0x103),_0x4fa3f0['bxUuO']=_0x53ca52(0x158);const _0x3efb50=_0x4fa3f0;if(!_0x51b85d||!_0x51b85d[_0x53ca52(0x11e)])return[];const _0x2da835=[];return[_0x3efb50['JhArt'],_0x3efb50[_0x53ca52(0x10d)],_0x3efb50['DWSyU'],_0x3efb50[_0x53ca52(0x167)]][_0x53ca52(0x1b8)](_0x13e748=>{const _0x108738=_0x53ca52,_0xe98c8a=_0x51b85d[_0x108738(0x11e)][_0x13e748]||[];_0xe98c8a[_0x108738(0x1b8)](_0x6f79d=>{const _0x521e0f=_0x108738;_0x6f79d['hookAnalyticsId']&&_0x2da835['push'](_0x6f79d[_0x521e0f(0x171)]);});}),[][_0x53ca52(0xf3)](_0x2da835,this[_0x53ca52(0xfe)](_0x51b85d[_0x53ca52(0x11e)]));}[a4_0x2337ea(0x17f)](_0x3e5f0b){const _0x2ac2b0=a4_0x2337ea,_0x3e3828=/^"(?<hook>.*)" hook:.*$/,_0x29765b=_0x3e5f0b[_0x2ac2b0(0xfb)],_0x159a3a=_0x29765b['match'](_0x3e3828);if(_0x159a3a&&_0x159a3a[_0x2ac2b0(0x147)])return _0x159a3a[_0x2ac2b0(0x147)][_0x2ac2b0(0xee)][_0x2ac2b0(0xf4)]()['replace']('\x20','_');return null;}[a4_0x2337ea(0x12c)](_0x250ce9){const _0x2cb373=a4_0x2337ea,_0x5c0a5e={};_0x5c0a5e[_0x2cb373(0xdf)]=function(_0x3b0471,_0x3dbc0d){return _0x3b0471===_0x3dbc0d;},_0x5c0a5e['VUWBy']=function(_0x34f15,_0x12befb){return _0x34f15===_0x12befb;},_0x5c0a5e[_0x2cb373(0x1bf)]=function(_0x32433a,_0x538d7d){return _0x32433a===_0x538d7d;},_0x5c0a5e[_0x2cb373(0x1ac)]=_0x2cb373(0x18c),_0x5c0a5e[_0x2cb373(0x170)]=_0x2cb373(0x193);const _0xe499b4=_0x5c0a5e,_0x2b509d=path['sep'];if(_0xe499b4[_0x2cb373(0xdf)](_0x250ce9,null)||_0xe499b4['VUWBy'](_0x250ce9,'')||_0xe499b4[_0x2cb373(0x1bf)](_0x250ce9,_0x2b509d))return null;try{return fs[_0x2cb373(0x19f)](path[_0x2cb373(0x104)](_0x250ce9,_0xe499b4[_0x2cb373(0x1ac)],_0xe499b4[_0x2cb373(0x170)])),_0x250ce9;}catch(_0xc61de7){const _0x1abb31=path[_0x2cb373(0x17d)](_0x250ce9);return this[_0x2cb373(0x12c)](_0x1abb31);}}[a4_0x2337ea(0xd4)](_0x5d11a9){const _0x45d78b=a4_0x2337ea,_0x4af7f3={};_0x4af7f3[_0x45d78b(0xdb)]=function(_0x3fa55b,_0x80caf6){return _0x3fa55b>_0x80caf6;};const _0x25c14c=_0x4af7f3;if(_0x5d11a9[_0x45d78b(0x139)])return _0x5d11a9[_0x45d78b(0x139)];if(_0x5d11a9[_0x45d78b(0x13a)]){const _0x13f95c=_0x5d11a9[_0x45d78b(0x13a)][_0x45d78b(0x11b)]?this[_0x45d78b(0xd4)](_0x5d11a9[_0x45d78b(0x13a)][_0x45d78b(0x11b)]):null;if(_0x13f95c)return _0x13f95c;}if(_0x5d11a9[_0x45d78b(0x11e)]){const _0x4576f7=this['getRootParentFile'](_0x5d11a9['parent'])||(_0x5d11a9[_0x45d78b(0x11e)][_0x45d78b(0x13a)]&&_0x5d11a9[_0x45d78b(0x11e)][_0x45d78b(0x13a)][_0x45d78b(0x11b)]?this['getRootParentFile'](_0x5d11a9['parent'][_0x45d78b(0x13a)][_0x45d78b(0x11b)]):null);if(_0x4576f7)return _0x4576f7;_0x5d11a9[_0x45d78b(0x11e)][_0x45d78b(0x1b0)]&&_0x25c14c['hGuNB'](_0x5d11a9[_0x45d78b(0x11e)]['suites'][_0x45d78b(0x151)],0x0)&&_0x5d11a9[_0x45d78b(0x11e)][_0x45d78b(0x1b0)][_0x45d78b(0x1b8)](_0x4796ee=>{const _0x53ccaa=_0x45d78b,_0x8d3c5=_0x4796ee[_0x53ccaa(0x13a)]?this[_0x53ccaa(0xd4)](_0x4796ee[_0x53ccaa(0x13a)]):null;if(_0x8d3c5)return _0x8d3c5;});}return null;}[a4_0x2337ea(0x17a)](_0x4740ce){const _0xad7c0d=a4_0x2337ea,_0x399f92={};_0x399f92[_0xad7c0d(0x12e)]=function(_0xc47913,_0xa9cae){return _0xc47913!==_0xa9cae;};const _0x416e90=_0x399f92,_0xf86903=[];if(_0x4740ce&&_0x4740ce[_0xad7c0d(0x11e)]){let _0x48eac2=_0x4740ce[_0xad7c0d(0x11e)];while(_0x48eac2&&_0x416e90[_0xad7c0d(0x12e)](_0x48eac2['title'],'')){_0xf86903['push'](_0x48eac2[_0xad7c0d(0xfb)]),_0x48eac2=_0x48eac2[_0xad7c0d(0x11e)];}}return _0xf86903;}[a4_0x2337ea(0x1b4)](_0x10fe1c,_0x99fc73,_0x3ff4b7=undefined){const _0x29d2d5=a4_0x2337ea,_0x10362f={'ctcVq':function(_0x374936,_0x471e06){return _0x374936(_0x471e06);},'preWl':function(_0x31fd2){return _0x31fd2();},'RBeHN':function(_0x64191c){return _0x64191c();},'AJWsp':function(_0x9fb0bb){return _0x9fb0bb();},'Qgtkn':_0x29d2d5(0x1a1),'oFCiA':_0x29d2d5(0x1c4),'Gzhwf':function(_0x5c0e3d,_0x5b77c2){return _0x5c0e3d!==_0x5b77c2;},'HhgFP':'File\x20path\x20could\x20not\x20be\x20found','SAVXY':_0x29d2d5(0xe5),'zBhaf':'failed','ZxCWW':_0x29d2d5(0x123),'fJWbd':_0x29d2d5(0x1a3),'CgLgP':_0x29d2d5(0x187),'uTIyi':function(_0x2a68be,_0x5a61b6){return _0x2a68be-_0x5a61b6;},'EBKGR':function(_0x3257cd,_0x5a9ff7,_0x37d05b,_0x2125a3,_0x5ccbcf){return _0x3257cd(_0x5a9ff7,_0x37d05b,_0x2125a3,_0x5ccbcf);},'tpfGh':function(_0x4b4149,_0x170d73){return _0x4b4149!==_0x170d73;},'pmmxR':_0x29d2d5(0x175),'SzdoA':_0x29d2d5(0x188),'Idquo':'failure','bNrMr':_0x29d2d5(0xe6),'ZOGgD':_0x29d2d5(0x15e),'xDjlb':_0x29d2d5(0x16d),'tcanV':_0x29d2d5(0x107),'MaJbF':function(_0x49d27d,_0x9903c7){return _0x49d27d===_0x9903c7;},'FPKCj':_0x29d2d5(0x14f),'YhLDC':_0x29d2d5(0x1ab)};if(!this['enabled'])return;try{if(_0x99fc73['fn']&&_0x99fc73['fn'][_0x29d2d5(0xed)]()[_0x29d2d5(0xf8)](/browserstack internal helper hook/))return;const _0x538443=_0x10362f[_0x29d2d5(0xf9)](parseEvent,_0x10fe1c);if(!_0x538443)return;if(_0x538443[_0x29d2d5(0x12f)]){this[_0x29d2d5(0x11b)]=_0x99fc73,this[_0x29d2d5(0x196)]=null;if(_0x538443[_0x29d2d5(0x178)]||_0x538443[_0x29d2d5(0x1a3)]){_0x99fc73[_0x29d2d5(0x13f)]=new Date(),_0x99fc73[_0x29d2d5(0x118)]=![];if(!_0x99fc73[_0x29d2d5(0xe3)])_0x99fc73[_0x29d2d5(0xe3)]=_0x10362f[_0x29d2d5(0xda)](uuidv4);else _0x99fc73[_0x29d2d5(0x118)]&&(!_0x99fc73[_0x29d2d5(0x12b)]&&(_0x99fc73[_0x29d2d5(0x12b)]=_0x99fc73[_0x29d2d5(0xe3)]),_0x99fc73[_0x29d2d5(0xe3)]=_0x10362f[_0x29d2d5(0x1b1)](uuidv4));}}else{if(_0x538443['hook']){this['currentHook']=_0x99fc73;if(_0x538443[_0x29d2d5(0x178)]){_0x99fc73['startedAt']=new Date(),_0x99fc73[_0x29d2d5(0x118)]=![];if(!_0x99fc73[_0x29d2d5(0x171)])_0x99fc73['hookAnalyticsId']=_0x10362f['AJWsp'](uuidv4);else _0x99fc73[_0x29d2d5(0x171)]&&_0x99fc73[_0x29d2d5(0x118)]&&(_0x99fc73[_0x29d2d5(0x171)]=_0x10362f[_0x29d2d5(0xda)](uuidv4));}}}if(_0x538443['finished']&&_0x99fc73[_0x29d2d5(0x118)])return;let _0x49a375;try{_0x49a375=this['getRootParentFile'](_0x99fc73);}catch(_0x513c7a){logger[_0x29d2d5(0x16f)](_0x29d2d5(0xf0)+_0x513c7a),_0x49a375=null;}const _0x3c6c69=_0x10362f[_0x29d2d5(0xf9)](require,_0x10362f[_0x29d2d5(0x154)]);let _0x31bc30=[];_0x3ff4b7&&(_0x31bc30=[_0x3ff4b7,_0x10362f[_0x29d2d5(0x136)]]);const _0x49e1ad=_0x10362f[_0x29d2d5(0xde)](_0x99fc73['errorsDetailed'],undefined)?_0x3c6c69[_0x29d2d5(0x115)](_0x99fc73[_0x29d2d5(0x12a)][0x0]):_0x10362f[_0x29d2d5(0xde)](_0x3ff4b7,undefined)?_0x3ff4b7['toString']():undefined,_0x2a56f7=_0x49a375?this['findGitConfig'](_0x49a375):null,_0x9b5a77=_0x49a375?this[_0x29d2d5(0x1a2)][_0x29d2d5(0x1b7)](this['getRootParentFile'](_0x99fc73)):_0x10362f[_0x29d2d5(0x192)];let _0x5cb9c2=_0x10362f['SAVXY'];const _0x25125f=!_0x538443[_0x29d2d5(0x178)]?new Date()['toISOString']():null;if(_0x538443[_0x29d2d5(0x1af)])_0x5cb9c2=_0x3ff4b7?_0x10362f[_0x29d2d5(0x117)]:_0x10362f['ZxCWW'],_0x99fc73[_0x29d2d5(0x118)]=!![];else _0x538443[_0x29d2d5(0x1a3)]&&(_0x5cb9c2=_0x10362f[_0x29d2d5(0x109)],_0x99fc73['markedStatus']=!![]);const _0x20ba55={'framework':this['frameworkName'],'uuid':_0x99fc73[_0x29d2d5(0xe3)]||_0x99fc73[_0x29d2d5(0x171)],'name':_0x99fc73[_0x29d2d5(0xfb)],'body':{'lang':_0x10362f[_0x29d2d5(0x1c5)],'code':_0x99fc73[_0x29d2d5(0x11f)][_0x29d2d5(0xed)]()},'type':_0x99fc73[_0x29d2d5(0x135)],'scope':_0x99fc73['fullTitle'](),'scopes':this[_0x29d2d5(0x17a)](_0x99fc73),'file_name':_0x9b5a77,'vc_filepath':_0x2a56f7?path[_0x29d2d5(0x186)](_0x2a56f7,_0x49a375):null,'location':_0x9b5a77,'result':_0x5cb9c2,'failure_reason':_0x49e1ad,'duration_in_ms':_0x99fc73['duration']||(_0x538443[_0x29d2d5(0x1af)]||_0x538443['skipped'])?_0x10362f['uTIyi'](Date[_0x29d2d5(0xec)](),new Date(_0x99fc73[_0x29d2d5(0x13f)])[_0x29d2d5(0x195)]()):null,'started_at':new Date(_0x99fc73[_0x29d2d5(0x13f)])[_0x29d2d5(0x10c)](),'finished_at':_0x25125f,'failure':testOpsHelper[_0x29d2d5(0x1c0)]['apply'](null,_0x31bc30),'failure_type':!_0x49e1ad?null:testOpsHelper[_0x29d2d5(0x145)](_0x49e1ad),'retry_of':_0x99fc73[_0x29d2d5(0x12b)]||null,'tags':_0x99fc73[_0x29d2d5(0xeb)]||[],'customRerunParam':{'rerun_name':_0x99fc73['fullTitle']()}};_0x10362f['EBKGR'](appendTesthubParams,_0x20ba55,_0x10fe1c,_0x99fc73,FRAMEWORKS['CODECEPT']);if(_0x538443[_0x29d2d5(0xee)])[_0x20ba55[_0x29d2d5(0x15a)],_0x20ba55[_0x29d2d5(0x1be)]]=[this[_0x29d2d5(0x17f)](_0x99fc73),_0x99fc73[_0x29d2d5(0x13a)][_0x29d2d5(0x12f)][_0x29d2d5(0xfb)]],_0x538443[_0x29d2d5(0x1af)]?_0x10362f['tpfGh'](_0x20ba55[_0x29d2d5(0x1ad)],_0x10362f[_0x29d2d5(0x117)])&&(_0x20ba55['result']=_0x10362f[_0x29d2d5(0x166)]):_0x20ba55['body']={};else _0x538443['test']&&(this[_0x29d2d5(0x105)](_0x99fc73),_0x538443[_0x29d2d5(0x1a3)]&&this['resetSkipTestHooks'](_0x99fc73),(_0x538443[_0x29d2d5(0x1af)]||_0x538443[_0x29d2d5(0x1a3)])&&(_0x20ba55['hooks']=this[_0x29d2d5(0xfe)](_0x99fc73)));this[_0x29d2d5(0x14a)]&&(_0x538443['started']||_0x538443['skipped'])&&(_0x20ba55[_0x10362f[_0x29d2d5(0x15d)]]=this['getCBTInfo'](this[_0x29d2d5(0x14a)]));_0x538443[_0x29d2d5(0x12f)]&&_0x538443[_0x29d2d5(0x1af)]&&_0x99fc73[_0x29d2d5(0x190)]&&(_0x20ba55[_0x10362f['SzdoA']]={'feature':{'name':_0x99fc73[_0x29d2d5(0x11e)][_0x29d2d5(0xe2)][_0x29d2d5(0x1be)],'path':_0x20ba55['file_name'],'description':_0x99fc73[_0x29d2d5(0x11e)][_0x29d2d5(0x1bb)]},'scenario':{'name':_0x99fc73[_0x29d2d5(0xfb)]},'steps':_0x99fc73[_0x29d2d5(0x190)]});const _0x36966c=_0x20ba55[_0x10362f['Idquo']][0x0];_0x36966c&&(_0x20ba55[_0x10362f['bNrMr']]=_0x36966c[_0x10362f[_0x29d2d5(0x1b6)]],_0x20ba55[_0x10362f[_0x29d2d5(0x146)]]=_0x36966c[_0x10362f[_0x29d2d5(0x137)]]);if(_0x99fc73[_0x29d2d5(0x190)])for(const _0x4188ab of _0x99fc73['bddSteps']){!_0x4188ab['finished_at']&&(_0x4188ab[_0x29d2d5(0x18d)]=new Date()['toISOString'](),_0x10362f[_0x29d2d5(0x150)](_0x4188ab[_0x29d2d5(0x1ad)],_0x10362f[_0x29d2d5(0x19a)])&&(_0x36966c?(_0x4188ab[_0x29d2d5(0x1ad)]=_0x10362f[_0x29d2d5(0x117)],_0x4188ab[_0x29d2d5(0x16b)]=_0x36966c[_0x10362f[_0x29d2d5(0x1b6)]][0x0]):_0x4188ab['result']=_0x10362f[_0x29d2d5(0x166)]));}const _0xa75352={};_0xa75352[_0x29d2d5(0x1a7)]=_0x538443['skipped']?TEST_EVENTS[_0x29d2d5(0xd8)]:_0x10fe1c;const _0x359a7e=_0xa75352;return _0x538443[_0x29d2d5(0xee)]?_0x359a7e[_0x10362f[_0x29d2d5(0x114)]]=_0x20ba55:_0x359a7e[_0x10362f['YhLDC']]=_0x20ba55,_0x359a7e;}catch(_0x51dc33){logger[_0x29d2d5(0x16f)](_0x29d2d5(0x18e)+_0x10fe1c+'\x20with\x20error\x20:\x20'+_0x51dc33);}}async[a4_0x2337ea(0x121)](_0x1ea1b7,_0x6255e4){const _0x1c605b=a4_0x2337ea;if(!this[_0x1c605b(0x161)]||!_0x6255e4||!_0x1ea1b7)return![];try{return await SessionHandler[_0x1c605b(0x1a9)](_0x6255e4);}catch(_0x17ccff){logger[_0x1c605b(0x16f)](_0x1c605b(0x129)+_0x1ea1b7+_0x1c605b(0x13d)+_0x17ccff);}}[a4_0x2337ea(0xd9)](_0x40ed16){const _0x38760f=a4_0x2337ea,_0x38cf61={};_0x38cf61[_0x38760f(0x13c)]='pending';const _0x27d735=_0x38cf61;return{'id':_0x40ed16[_0x38760f(0x13e)],'text':_0x40ed16[_0x38760f(0x130)],'keyword':_0x40ed16[_0x38760f(0xf1)],'started_at':_0x40ed16[_0x38760f(0x13f)][_0x38760f(0x10c)](),'result':_0x27d735[_0x38760f(0x13c)]};}[a4_0x2337ea(0x100)](_0x246213){const _0x318240=a4_0x2337ea,_0x580b33={'ksjhk':function(_0x2b7613){return _0x2b7613();}};!this[_0x318240(0x11b)]['bddSteps']&&(this[_0x318240(0x11b)][_0x318240(0x190)]=[]),!_0x246213[_0x318240(0x13e)]&&(_0x246213['stepAnalyticsId']=_0x580b33[_0x318240(0x1c3)](uuidv4),_0x246213['startedAt']=new Date(),this[_0x318240(0x11b)][_0x318240(0x190)][_0x318240(0x165)](this[_0x318240(0xd9)](_0x246213)));}[a4_0x2337ea(0x1bc)](_0x4cb9a1){const _0x377a1c=a4_0x2337ea,_0x91c95={'xGKBG':function(_0x1f4482,_0x3c3a7d){return _0x1f4482(_0x3c3a7d);},'ZwtuF':_0x377a1c(0x1a6),'TRFNv':_0x377a1c(0xe5),'iAuhj':_0x377a1c(0x123),'kqaUN':function(_0x12baab,_0x29b23f){return _0x12baab-_0x29b23f;}};let _0x5d524f=this[_0x377a1c(0x11b)][_0x377a1c(0x190)][_0x377a1c(0x102)](_0x4acc30=>_0x4acc30['id']===_0x4cb9a1[_0x377a1c(0x13e)]);_0x91c95[_0x377a1c(0x160)](isUndefined,_0x5d524f)&&(_0x5d524f=this['initializeBddStep'](_0x4cb9a1)),_0x5d524f['result']=[_0x91c95['ZwtuF'],_0x91c95[_0x377a1c(0x1a0)]]['includes'](_0x4cb9a1[_0x377a1c(0xf5)])?_0x91c95['iAuhj']:_0x4cb9a1[_0x377a1c(0xf5)],_0x5d524f[_0x377a1c(0x18d)]=new Date()[_0x377a1c(0x10c)](),_0x5d524f[_0x377a1c(0x184)]=_0x91c95['kqaUN'](Date[_0x377a1c(0xec)](),_0x4cb9a1[_0x377a1c(0x13f)]['getTime']()),_0x5d524f[_0x377a1c(0x16b)]=_0x4cb9a1['err']?_0x4cb9a1[_0x377a1c(0x1c4)][_0x377a1c(0x14c)]:null;}}const a4_0x3ce119={};a4_0x3ce119['O11yHelper']=O11yHelper,a4_0x3ce119[a4_0x2337ea(0x156)]=STATE_PASSED,a4_0x3ce119[a4_0x2337ea(0x19d)]=STATE_FAILED,a4_0x3ce119[a4_0x2337ea(0xdd)]=TEST_EVENTS,module[a4_0x2337ea(0x182)]=a4_0x3ce119;
|
|
1
|
+
const a4_0x9ff0b2=a4_0x1221;(function(_0x36cd7a,_0x27da37){const _0x317181=a4_0x1221,_0x4af7ac=_0x36cd7a();while(!![]){try{const _0xb36b07=parseInt(_0x317181(0x140))/0x1+parseInt(_0x317181(0x9a))/0x2+parseInt(_0x317181(0xb5))/0x3+-parseInt(_0x317181(0xe9))/0x4+parseInt(_0x317181(0x127))/0x5+parseInt(_0x317181(0x96))/0x6+-parseInt(_0x317181(0xef))/0x7;if(_0xb36b07===_0x27da37)break;else _0x4af7ac['push'](_0x4af7ac['shift']());}catch(_0x215713){_0x4af7ac['push'](_0x4af7ac['shift']());}}}(a4_0x5551,0x1c873));function a4_0x5551(){const _0x355e9a=['CODECEPT','JxzSS','uploadEventData','bWDhG','finished','sep','skipped','../../helpers/testhub/utils.js','Failed\x20to\x20parse\x20wsendpoint\x20','ctx','startedAt','AnTIH','failure','TestRunFinished','toString','PSteo','result','ygGNr','Teusw','finished_at','connect','hook_run','zCYGv','getRootParentFile','now','czjzP','captureEvent','NlcqT','forEach','eXFkR','util','928964JAaSHj','0|3|2|4|5|1','pending','patchConsoleLogger','replace','cAXDe','928375OyHFHP','TCluA','length','FnBqN','.git','connectOverCDP','onEET','__cloud_provider___','_afterEach','winstonLogger','hJTUs','TEST_RUN_SKIPPED','start','getCBTInfo','prototype','tZChk','pAwHr','STATE_FAILED','getInstance','\x20with\x20error\x20:\x20','KlbIq','duration','type','xJFzA','toLowerCase','TEST_EVENTS','enabled','fullTitle','armzl','message','shutdown','apply','suites','XaDrd','inspect','jrPJc','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','then','famjm','bs:addLog:','jPAqt','JCgxN','path','huPAx','currentTest','keyword','O11yHelper','STATE_PASSED','backtrace','cwd','err','LHuJc','fMihw','SpCrV','setupBrowserDetails','637630gMJfNF','dLEST','mapTestHooks','sendCBTInfo','uYCAn','failed','BwVdl','removeAllListeners','failed\x20to\x20get\x20root\x20parent\x20file\x20','Jqhmw','GuxUz','TestRunSkipped','includes','getHierarchy','match','title','wfWIZ','CBpzM','JKkpU','rqQEN','_testEnv','hook','hookAnalyticsId','markedStatus','accessibilityPlatform','115564SFCVha','hooks','bddStepStart','event_type','../../helpers/logger','findGitConfig','eBhwj','initializeBddStep','TEST_RUN_FINISHED','upMMi','groups','fireEvent','constructor','qrvpF','driver','appendTestItemLog','zvTUq','body','QStgI','feature','_beforeEach','browserType.js','HOOK_RUN_STARTED','HookRunStarted','cRYZr','codeceptjs','_beforeAll','GzQzj','name','VBetD','jFpgt','relative','bddStepFinish','file','getHookType','comment','hZWPE','bddSteps','fvJVg','../../helpers/test-observability/utils','TEST_RUN_STARTED','WFbYT','hHgih','dPDZF','string','resetSkipTestHooks','push','passed','nhIPW','Playwright','logs','NpMJa','YCrau','location_prefix','success','zwtVk','started','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','expanded','mYuhB','parent','stop','failure_reason_expanded','frameworkName','status','meta','OAGcj','currentHook','testAnalyticsId','getFailureType','./helper.js','stepAnalyticsId','text','1009188XjnEXP','../utils/constants','KeoOW','retryOf','88038nQiEZd','javascript','file_name','bind','integrations','WylFk','HHqTd','raoVM','CBTSessionCreated','ULOwF','LdSma','obsBrowserTypeMockApplied','tHLIY','KRqUl','HookRunFinished','jJmLk','wBckM','getHooksForTest','errorsDetailed','GDTuB','njnsw','join','hook_run_uuid','File\x20path\x20could\x20not\x20be\x20found','split','launch','../playwright/accessibility-helper','79230wDuMgN','oOgZc','config','PathHelper','defineProperty','idqBL','toUpperCase','mqfrd','test_run_uuid','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','fAVEZ','uuid','BrowserType','XiteK','tags','test','toISOString','find','debug','HOOK_RUN_FINISHED','pid'];a4_0x5551=function(){return _0x355e9a;};return a4_0x5551();}const path=require(a4_0x9ff0b2(0x11a)),fs=require('fs'),{v4:uuidv4}=require(a4_0x9ff0b2(0xc0)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x9ff0b2(0x74)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x9ff0b2(0x144))[a4_0x9ff0b2(0xf8)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x9ff0b2(0xb4)),Constants=require(a4_0x9ff0b2(0x97)),{fetchPlatformDetails}=require(a4_0x9ff0b2(0x93)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x9ff0b2(0xd1)),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x344075={};function a4_0x1221(_0x438443,_0x347de7){const _0x555100=a4_0x5551();return a4_0x1221=function(_0x12210e,_0x41d758){_0x12210e=_0x12210e-0x74;let _0x147183=_0x555100[_0x12210e];return _0x147183;},a4_0x1221(_0x438443,_0x347de7);}a4_0x344075[a4_0x9ff0b2(0x75)]='TestRunStarted',a4_0x344075[a4_0x9ff0b2(0x148)]=a4_0x9ff0b2(0xd7),a4_0x344075[a4_0x9ff0b2(0xfa)]=a4_0x9ff0b2(0x132),a4_0x344075[a4_0x9ff0b2(0x156)]=a4_0x9ff0b2(0x157),a4_0x344075[a4_0x9ff0b2(0xc8)]=a4_0x9ff0b2(0xa8);const TEST_EVENTS=a4_0x344075,parseEvent=_0x2835ae=>{const _0x3f2187=a4_0x9ff0b2,_0x16ac22={};_0x16ac22[_0x3f2187(0x14d)]=function(_0x3e66df,_0xb086ad){return _0x3e66df<_0xb086ad;},_0x16ac22[_0x3f2187(0x9f)]=function(_0x6b72e6,_0x46e6f4){return _0x6b72e6===_0x46e6f4;},_0x16ac22[_0x3f2187(0x15b)]=_0x3f2187(0xc4),_0x16ac22['rGUka']=function(_0xd38a2c,_0x114bd3){return _0xd38a2c===_0x114bd3;},_0x16ac22[_0x3f2187(0xfe)]='hook',_0x16ac22[_0x3f2187(0x15d)]=_0x3f2187(0xd0),_0x16ac22['huPAx']=function(_0x4e82a9,_0x39be57){return _0x4e82a9===_0x39be57;},_0x16ac22[_0x3f2187(0x150)]=_0x3f2187(0x85),_0x16ac22[_0x3f2187(0x15e)]=_0x3f2187(0xce);const _0x4d4d63=_0x16ac22,_0x28cd4c=_0x2835ae[_0x3f2187(0x135)](/^(.*)Run(.*)$/);if(!_0x28cd4c)return null;if(_0x4d4d63[_0x3f2187(0x14d)](_0x28cd4c[_0x3f2187(0xf1)],0x3))return null;const _0x5f167e=_0x28cd4c[0x1]['toLowerCase'](),_0x2cfe86=_0x28cd4c[0x2][_0x3f2187(0x107)]();return{'test':_0x4d4d63[_0x3f2187(0x9f)](_0x5f167e,_0x4d4d63[_0x3f2187(0x15b)]),'hook':_0x4d4d63['rGUka'](_0x5f167e,_0x4d4d63['tZChk']),'skipped':_0x4d4d63[_0x3f2187(0x9f)](_0x2cfe86,_0x4d4d63[_0x3f2187(0x15d)]),'started':_0x4d4d63[_0x3f2187(0x11b)](_0x2cfe86,_0x4d4d63[_0x3f2187(0x150)]),'finished':_0x4d4d63[_0x3f2187(0x9f)](_0x2cfe86,_0x4d4d63[_0x3f2187(0x15e)])};},mockPWBrowserType=_0x439489=>{const _0x2a3a5c=a4_0x9ff0b2,_0xd49b24={'pNHxl':function(_0x563ff9,_0x59b6d7){return _0x563ff9===_0x59b6d7;},'armzl':_0x2a3a5c(0x79),'fvJVg':function(_0x4cc3fd,_0x55ca52,_0x9aa6b0){return _0x4cc3fd(_0x55ca52,_0x9aa6b0);},'Teusw':'wsEndpoint','zCYGv':function(_0xcf9b1e,_0x2470e6){return _0xcf9b1e(_0x2470e6);},'wrWlm':'browserstack','oOgZc':function(_0x24edb4,_0x5884c7,_0x39a5ce){return _0x24edb4(_0x5884c7,_0x39a5ce);},'pAwHr':'lib','nhIPW':'client','TXSqt':_0x2a3a5c(0x155),'akcSS':function(_0x2dda7f,_0x3f9f8d){return _0x2dda7f(_0x3f9f8d);},'NpMJa':'Not\x20able\x20to\x20import\x20Browser','mqfrd':_0x2a3a5c(0xde),'dLEST':_0x2a3a5c(0xb3)},_0x3eb638=path[_0x2a3a5c(0xaf)](_0xd49b24[_0x2a3a5c(0xff)],_0xd49b24[_0x2a3a5c(0x7d)],_0xd49b24['TXSqt']),_0x37075b=_0xd49b24[_0x2a3a5c(0xe0)](importFileFromPWCore,_0x3eb638);if(!_0x37075b){_0xd49b24['akcSS'](debug,_0xd49b24[_0x2a3a5c(0x80)]);return;}const _0x28baee=_0x37075b[_0x2a3a5c(0xc1)],_0x147707=_0x28baee[_0x2a3a5c(0xfd)];if(_0x147707[_0x2a3a5c(0xa5)])return;const _0x4eb083=_0x147707[_0x2a3a5c(0xde)];Object[_0x2a3a5c(0xb9)](_0x147707,_0xd49b24[_0x2a3a5c(0xbc)],{'get':function(){return async function _0x22f749(_0x2d01d1,_0x314a2f){const _0x40eb59=a4_0x1221,_0x277dbf={'hHgih':function(_0x19951c,_0x6ea039){return _0xd49b24['pNHxl'](_0x19951c,_0x6ea039);},'TYqMq':_0xd49b24[_0x40eb59(0x10b)]},_0x2dbb8f=_0xd49b24[_0x40eb59(0x166)](nestedKeyValue,_0x2d01d1,[_0xd49b24[_0x40eb59(0xdc)]])||_0x2d01d1;let _0x197e5c=null,_0x4f8dd6=null;try{[_0x4f8dd6,_0x197e5c]=_0x2dbb8f?_0xd49b24[_0x40eb59(0xe0)](parseWSEndpoint,_0x2dbb8f):[null,null],global['__platformCaps']=_0x197e5c,_0x4f8dd6['includes'](_0xd49b24['wrWlm'])&&(global[_0x40eb59(0xf6)]=_0xd49b24['wrWlm']);}catch(_0x2c8856){logger['debug'](_0x40eb59(0xd2)+_0x2dbb8f+'\x20'+_0x2c8856);}_0xd49b24[_0x40eb59(0xb6)](processAccessibilityCaps,_0x197e5c,_0x4f8dd6);if(global[_0x40eb59(0x13f)]){const _0x4b7dea=await _0x147707[_0x40eb59(0xf4)][_0x40eb59(0x10e)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0xd49b24[_0x40eb59(0xe0)](encodeURIComponent,JSON['stringify'](_0x197e5c))]);return PlaywrightSessionDetails[_0x40eb59(0x126)](_0x4b7dea,_0x439489,_0x2dbb8f),_0x4b7dea;}return _0x4eb083[_0x40eb59(0x10e)](this,arguments)[_0x40eb59(0x115)](_0x5e0089=>{const _0x4e8568=_0x40eb59;let _0x1a467d=_0x2d01d1['wsEndpoint'];return _0x277dbf[_0x4e8568(0x77)](typeof _0x2d01d1,_0x277dbf['TYqMq'])&&(_0x1a467d=_0x2d01d1),PlaywrightSessionDetails[_0x4e8568(0x126)](_0x5e0089,_0x439489,_0x1a467d),_0x5e0089;});};}});const _0x238639=_0x147707['launch'];Object[_0x2a3a5c(0xb9)](_0x147707,_0xd49b24[_0x2a3a5c(0x128)],{'get':function(){return async function _0x1c4e6c(){const _0x11c883=a4_0x1221;return _0x238639[_0x11c883(0x10e)](this,arguments)['then'](_0x44ba6d=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x44ba6d,null),_0x44ba6d;});};}});};class O11yHelper{[a4_0x9ff0b2(0x11c)]=null;[a4_0x9ff0b2(0x90)]=null;[a4_0x9ff0b2(0x109)]=![];[a4_0x9ff0b2(0x8c)]=![];constructor(_0x337041,_0x628194){const _0x4c5a0b=a4_0x9ff0b2,_0x204260={'fAVEZ':_0x4c5a0b(0xea),'GDTuB':function(_0x1893ba){return _0x1893ba();},'OAGcj':function(_0x2beffc,_0x2f717b){return _0x2beffc===_0x2f717b;},'famjm':_0x4c5a0b(0x7e),'dPDZF':function(_0x2c627e,_0x5df4b4){return _0x2c627e(_0x5df4b4);}},_0x39943b=_0x204260[_0x4c5a0b(0xbf)][_0x4c5a0b(0xb2)]('|');let _0x58d5e9=0x0;while(!![]){switch(_0x39943b[_0x58d5e9++]){case'0':this['enabled']=_0x204260[_0x4c5a0b(0xad)](shouldProcessEventForTesthub);continue;case'1':this[_0x4c5a0b(0x14e)]&&_0x204260[_0x4c5a0b(0x8f)](this[_0x4c5a0b(0x14e)][_0x4c5a0b(0x14c)]['name'],_0x204260[_0x4c5a0b(0x116)])&&_0x204260[_0x4c5a0b(0x78)](mockPWBrowserType,null);continue;case'2':this[_0x4c5a0b(0x14e)]=_0x337041;continue;case'3':this['frameworkName']=_0x628194[_0x4c5a0b(0x8c)];continue;case'4':this[_0x4c5a0b(0x13b)]=_0x204260[_0x4c5a0b(0xad)](getTestEnv);continue;case'5':this['_paths']=new testOpsHelper[(_0x4c5a0b(0xb8))]({'cwd':process[_0x4c5a0b(0x121)]()},this['_testEnv'][_0x4c5a0b(0x82)]);continue;}break;}}[a4_0x9ff0b2(0xfb)](){const _0x20376c=a4_0x9ff0b2;if(!this[_0x20376c(0x109)])return;testOpsHelper[_0x20376c(0xec)](),process[_0x20376c(0x12e)](_0x20376c(0x117)+process[_0x20376c(0xc9)]),process['on']('bs:addLog:'+process[_0x20376c(0xc9)],this[_0x20376c(0x14f)][_0x20376c(0x9d)](this));}async[a4_0x9ff0b2(0x8a)](){const _0x3ee703=a4_0x9ff0b2;await RequestQueueHandler[_0x3ee703(0x101)]()[_0x3ee703(0x10d)]();}async[a4_0x9ff0b2(0x14f)](_0x2b4c8f){const _0x455230=a4_0x9ff0b2,_0x22118d={'jPAqt':'LogCreated','cRYZr':function(_0x26490f,_0x3e0707){return _0x26490f(_0x3e0707);}};try{this[_0x455230(0x90)]&&!this[_0x455230(0x90)]['markedStatus']&&(_0x2b4c8f['hook_run_uuid']=this[_0x455230(0x90)][_0x455230(0x13d)]);!_0x2b4c8f[_0x455230(0xb0)]&&this[_0x455230(0x11c)]&&!this['currentTest']['markedStatus']&&(_0x2b4c8f[_0x455230(0xbd)]=this[_0x455230(0x11c)][_0x455230(0x91)]);if(_0x2b4c8f['hook_run_uuid']||_0x2b4c8f['test_run_uuid']){const _0x561c47={};_0x561c47['event_type']=_0x22118d[_0x455230(0x118)],_0x561c47[_0x455230(0x7f)]=[_0x2b4c8f],await SessionHandler['uploadEventData'](_0x561c47);}}catch(_0x47c0cd){_0x22118d[_0x455230(0x158)](debug,_0x455230(0x114)+_0x47c0cd);}}async[a4_0x9ff0b2(0x12a)](_0x374ce0){const _0xee3a25=a4_0x9ff0b2,_0x508954={'rqQEN':_0xee3a25(0xa2),'czjzP':function(_0x23d2bd,_0x386065){return _0x23d2bd(_0x386065);}};if(!this[_0xee3a25(0x109)])return;const _0x2a75bc=this[_0xee3a25(0xfc)](this[_0xee3a25(0x14e)]);try{const _0x2b1953={};_0x2b1953['uuid']=_0x374ce0,_0x2b1953[_0xee3a25(0x9e)]=_0x2a75bc;const _0x57c0d0=_0x2b1953,_0x4b15bc={};_0x4b15bc['event_type']=_0x508954[_0xee3a25(0x13a)],_0x4b15bc['test_run']=_0x57c0d0,await SessionHandler[_0xee3a25(0xcc)](_0x4b15bc);}catch(_0x50ec1a){_0x508954[_0xee3a25(0xe3)](debug,_0xee3a25(0xbe)+_0x50ec1a);}}[a4_0x9ff0b2(0xfc)](_0x4c6d3b){const _0x524ee0={'kuzoH':function(_0x3fa64c,_0x2aec82){return _0x3fa64c(_0x2aec82);}};return _0x524ee0['kuzoH'](fetchPlatformDetails,_0x4c6d3b);}[a4_0x9ff0b2(0x7a)]=_0x5a6775=>{const _0x375da0=a4_0x9ff0b2,_0x493c7e={};_0x493c7e[_0x375da0(0xf9)]='_beforeEach',_0x493c7e['uYCAn']=_0x375da0(0xf7);const _0x527605=_0x493c7e;if(!_0x5a6775||!_0x5a6775['parent'])return;[_0x527605[_0x375da0(0xf9)],_0x527605[_0x375da0(0x12b)]][_0x375da0(0xe6)](_0x138f31=>{const _0x40e18e=_0x375da0,_0x412b77=_0x5a6775[_0x40e18e(0x89)][_0x138f31];_0x412b77['forEach'](_0x203a31=>{const _0x163d3a=_0x40e18e;_0x203a31[_0x163d3a(0x13d)]&&(_0x203a31[_0x163d3a(0x13d)]=null);});});};[a4_0x9ff0b2(0x129)](_0x5bd5d4){const _0x2bf42e=a4_0x9ff0b2,_0xa98f5f={'hZWPE':_0x2bf42e(0x159),'LHuJc':function(_0x4be9fe){return _0x4be9fe();},'tHLIY':function(_0x16cf6d,_0x55598f){return _0x16cf6d===_0x55598f;},'wfWIZ':_0x2bf42e(0xf7),'QStgI':_0x2bf42e(0x15a),'CBpzM':'_afterAll','kkOri':_0x2bf42e(0x154)};if(!_0x5bd5d4||!_0x5bd5d4[_0x2bf42e(0x89)])return;[_0xa98f5f[_0x2bf42e(0x152)],_0xa98f5f[_0x2bf42e(0x138)],_0xa98f5f['kkOri'],_0xa98f5f[_0x2bf42e(0x137)]]['forEach'](_0x461faf=>{const _0x1ded06=_0x2bf42e,_0x5d616a={'JxzSS':_0xa98f5f[_0x1ded06(0x164)],'usMRS':function(_0x4f65c0){const _0x40ab3f=_0x1ded06;return _0xa98f5f[_0x40ab3f(0x123)](_0x4f65c0);},'YCrau':function(_0x2ac667,_0x2ef6bc){const _0x3bba6a=_0x1ded06;return _0xa98f5f[_0x3bba6a(0xa6)](_0x2ac667,_0x2ef6bc);},'wBckM':_0xa98f5f[_0x1ded06(0x137)]},_0x109291=_0x5bd5d4[_0x1ded06(0x89)][_0x461faf]||[];_0x109291[_0x1ded06(0xe6)](_0x57852b=>{const _0x4e7c37=_0x1ded06;if(_0x57852b[_0x4e7c37(0x136)]['includes'](_0x5d616a[_0x4e7c37(0xcb)]))return;if(!_0x57852b[_0x4e7c37(0x13d)])_0x57852b[_0x4e7c37(0x13d)]=_0x5d616a['usMRS'](uuidv4);else _0x57852b[_0x4e7c37(0x13e)]&&_0x5d616a[_0x4e7c37(0x81)](_0x461faf,_0x5d616a[_0x4e7c37(0xaa)])&&(_0x57852b[_0x4e7c37(0x13d)]=_0x5d616a['usMRS'](uuidv4),delete _0x57852b['markedStatus']);});}),this['mapTestHooks'](_0x5bd5d4['parent']);}[a4_0x9ff0b2(0xab)](_0x1ec286){const _0xfda10=a4_0x9ff0b2,_0x5f258d={};_0x5f258d[_0xfda10(0x131)]='_beforeAll',_0x5f258d[_0xfda10(0x88)]='_afterAll',_0x5f258d[_0xfda10(0xba)]=_0xfda10(0x154),_0x5f258d[_0xfda10(0x119)]=_0xfda10(0xf7);const _0x232ccc=_0x5f258d;if(!_0x1ec286||!_0x1ec286[_0xfda10(0x89)])return[];const _0xa27815=[];return[_0x232ccc[_0xfda10(0x131)],_0x232ccc[_0xfda10(0x88)],_0x232ccc[_0xfda10(0xba)],_0x232ccc['JCgxN']][_0xfda10(0xe6)](_0x5a2900=>{const _0x44fd64=_0xfda10,_0xc80a75=_0x1ec286[_0x44fd64(0x89)][_0x5a2900]||[];_0xc80a75[_0x44fd64(0xe6)](_0x666e46=>{const _0x5d83b7=_0x44fd64;_0x666e46[_0x5d83b7(0x13d)]&&_0xa27815['push'](_0x666e46[_0x5d83b7(0x13d)]);});}),[]['concat'](_0xa27815,this['getHooksForTest'](_0x1ec286[_0xfda10(0x89)]));}[a4_0x9ff0b2(0x162)](_0x573891){const _0x50c772=a4_0x9ff0b2,_0x1acc4a=/^"(?<hook>.*)" hook:.*$/,_0x553577=_0x573891[_0x50c772(0x136)],_0x75bb40=_0x553577['match'](_0x1acc4a);if(_0x75bb40&&_0x75bb40[_0x50c772(0x14a)])return _0x75bb40[_0x50c772(0x14a)][_0x50c772(0x13c)][_0x50c772(0xbb)]()[_0x50c772(0xed)]('\x20','_');return null;}[a4_0x9ff0b2(0x145)](_0x257ccc){const _0x21c4a2=a4_0x9ff0b2,_0x69a1df={};_0x69a1df[_0x21c4a2(0x149)]=function(_0xd39471,_0x3c606e){return _0xd39471===_0x3c606e;},_0x69a1df[_0x21c4a2(0xf0)]=function(_0x425672,_0x3076dd){return _0x425672===_0x3076dd;},_0x69a1df['HHqTd']=function(_0x58cdfb,_0x3241c2){return _0x58cdfb===_0x3241c2;},_0x69a1df[_0x21c4a2(0x103)]=_0x21c4a2(0xf3),_0x69a1df['WFbYT']=_0x21c4a2(0xb7);const _0x456f69=_0x69a1df,_0x271ea4=path[_0x21c4a2(0xcf)];if(_0x456f69[_0x21c4a2(0x149)](_0x257ccc,null)||_0x456f69['TCluA'](_0x257ccc,'')||_0x456f69[_0x21c4a2(0xa0)](_0x257ccc,_0x271ea4))return null;try{return fs['statSync'](path[_0x21c4a2(0xaf)](_0x257ccc,_0x456f69[_0x21c4a2(0x103)],_0x456f69[_0x21c4a2(0x76)])),_0x257ccc;}catch(_0x227ed1){const _0x39ef41=path['dirname'](_0x257ccc);return this['findGitConfig'](_0x39ef41);}}[a4_0x9ff0b2(0xe1)](_0xd4eb39){const _0x42b342=a4_0x9ff0b2,_0x5c31e8={};_0x5c31e8[_0x42b342(0x98)]=function(_0x5f10df,_0x4eaaf4){return _0x5f10df>_0x4eaaf4;};const _0x415811=_0x5c31e8;if(_0xd4eb39[_0x42b342(0x161)])return _0xd4eb39[_0x42b342(0x161)];if(_0xd4eb39[_0x42b342(0xd3)]){const _0x7c7b0a=_0xd4eb39[_0x42b342(0xd3)]['currentTest']?this[_0x42b342(0xe1)](_0xd4eb39[_0x42b342(0xd3)][_0x42b342(0x11c)]):null;if(_0x7c7b0a)return _0x7c7b0a;}if(_0xd4eb39[_0x42b342(0x89)]){const _0x50ba52=this[_0x42b342(0xe1)](_0xd4eb39[_0x42b342(0x89)])||(_0xd4eb39[_0x42b342(0x89)]['ctx']&&_0xd4eb39[_0x42b342(0x89)]['ctx'][_0x42b342(0x11c)]?this[_0x42b342(0xe1)](_0xd4eb39[_0x42b342(0x89)][_0x42b342(0xd3)][_0x42b342(0x11c)]):null);if(_0x50ba52)return _0x50ba52;_0xd4eb39['parent'][_0x42b342(0x10f)]&&_0x415811[_0x42b342(0x98)](_0xd4eb39[_0x42b342(0x89)]['suites'][_0x42b342(0xf1)],0x0)&&_0xd4eb39[_0x42b342(0x89)][_0x42b342(0x10f)][_0x42b342(0xe6)](_0x575dbf=>{const _0xfb549a=_0x42b342,_0x5a314b=_0x575dbf[_0xfb549a(0xd3)]?this[_0xfb549a(0xe1)](_0x575dbf[_0xfb549a(0xd3)]):null;if(_0x5a314b)return _0x5a314b;});}return null;}[a4_0x9ff0b2(0x134)](_0x262158){const _0x21d2f5=a4_0x9ff0b2,_0x41c218={};_0x41c218[_0x21d2f5(0x84)]=function(_0x16c98e,_0x5f622b){return _0x16c98e!==_0x5f622b;};const _0xee19b=_0x41c218,_0x2921e4=[];if(_0x262158&&_0x262158[_0x21d2f5(0x89)]){let _0x3b88b1=_0x262158[_0x21d2f5(0x89)];while(_0x3b88b1&&_0xee19b['zwtVk'](_0x3b88b1[_0x21d2f5(0x136)],'')){_0x2921e4[_0x21d2f5(0x7b)](_0x3b88b1[_0x21d2f5(0x136)]),_0x3b88b1=_0x3b88b1[_0x21d2f5(0x89)];}}return _0x2921e4;}[a4_0x9ff0b2(0xe4)](_0xa84012,_0x3ff740,_0xbb85f9=undefined){const _0x3239f4=a4_0x9ff0b2,_0x26ee54={'xJFzA':function(_0x5531dc,_0x2de60c){return _0x5531dc(_0x2de60c);},'JKkpU':function(_0x43beb9){return _0x43beb9();},'eBhwj':function(_0x14a304){return _0x14a304();},'cAXDe':_0x3239f4(0xe8),'jJmLk':_0x3239f4(0x122),'eXFkR':function(_0x2ee6f9,_0x14878c){return _0x2ee6f9!==_0x14878c;},'FnBqN':function(_0x192c58,_0x2b5fe3){return _0x192c58!==_0x2b5fe3;},'bWDhG':_0x3239f4(0xb1),'XiteK':_0x3239f4(0xeb),'raoVM':_0x3239f4(0x12c),'fMihw':_0x3239f4(0x7c),'aSrDV':'skipped','CPxkc':_0x3239f4(0x9b),'PSteo':function(_0x37c59c,_0x2de54d){return _0x37c59c-_0x2de54d;},'XaDrd':function(_0x36b511,_0x56026f,_0x50ad3e,_0x2d772a,_0x320dad){return _0x36b511(_0x56026f,_0x50ad3e,_0x2d772a,_0x320dad);},'Jqhmw':function(_0x42e3f6,_0x306dc4){return _0x42e3f6!==_0x306dc4;},'SpCrV':_0x3239f4(0x9e),'fztFW':_0x3239f4(0x8e),'MVxml':_0x3239f4(0xd6),'BFPbe':'failure_backtrace','ULOwF':_0x3239f4(0x120),'zeZVT':_0x3239f4(0x8b),'ygGNr':_0x3239f4(0x87),'jrPJc':function(_0x389926,_0x11e722){return _0x389926===_0x11e722;},'hHnuw':_0x3239f4(0xdf),'LdSma':'test_run'};if(!this[_0x3239f4(0x109)])return;try{if(_0x3ff740['fn']&&_0x3ff740['fn'][_0x3239f4(0xd8)]()[_0x3239f4(0x135)](/browserstack internal helper hook/))return;const _0x21179a=_0x26ee54[_0x3239f4(0x106)](parseEvent,_0xa84012);if(!_0x21179a)return;if(_0x21179a[_0x3239f4(0xc4)]){this['currentTest']=_0x3ff740,this['currentHook']=null;if(_0x21179a['started']||_0x21179a['skipped']){_0x3ff740[_0x3239f4(0xd4)]=new Date(),_0x3ff740[_0x3239f4(0x13e)]=![];if(!_0x3ff740[_0x3239f4(0x91)])_0x3ff740[_0x3239f4(0x91)]=_0x26ee54[_0x3239f4(0x139)](uuidv4);else _0x3ff740[_0x3239f4(0x13e)]&&(!_0x3ff740['retryOf']&&(_0x3ff740[_0x3239f4(0x99)]=_0x3ff740[_0x3239f4(0x91)]),_0x3ff740[_0x3239f4(0x91)]=_0x26ee54[_0x3239f4(0x139)](uuidv4));}}else{if(_0x21179a[_0x3239f4(0x13c)]){this[_0x3239f4(0x90)]=_0x3ff740;if(_0x21179a[_0x3239f4(0x85)]){_0x3ff740[_0x3239f4(0xd4)]=new Date(),_0x3ff740[_0x3239f4(0x13e)]=![];if(!_0x3ff740['hookAnalyticsId'])_0x3ff740[_0x3239f4(0x13d)]=_0x26ee54[_0x3239f4(0x146)](uuidv4);else _0x3ff740[_0x3239f4(0x13d)]&&_0x3ff740[_0x3239f4(0x13e)]&&(_0x3ff740[_0x3239f4(0x13d)]=_0x26ee54['JKkpU'](uuidv4));}}}if(_0x21179a['finished']&&_0x3ff740[_0x3239f4(0x13e)])return;let _0x3c510f;try{_0x3c510f=this[_0x3239f4(0xe1)](_0x3ff740);}catch(_0x2ed672){logger['debug'](_0x3239f4(0x12f)+_0x2ed672),_0x3c510f=null;}const _0xa3805b=_0x26ee54['xJFzA'](require,_0x26ee54[_0x3239f4(0xee)]);let _0x351198=[];_0xbb85f9&&(_0x351198=[_0xbb85f9,_0x26ee54[_0x3239f4(0xa9)]]);const _0x1bfef9=_0x26ee54[_0x3239f4(0xe7)](_0x3ff740[_0x3239f4(0xac)],undefined)?_0xa3805b[_0x3239f4(0x111)](_0x3ff740[_0x3239f4(0xac)][0x0]):_0x26ee54[_0x3239f4(0xf2)](_0xbb85f9,undefined)?_0xbb85f9[_0x3239f4(0xd8)]():undefined,_0xb866c9=_0x3c510f?this[_0x3239f4(0x145)](_0x3c510f):null,_0x3d13cf=_0x3c510f?this['_paths']['prefixTestPath'](this[_0x3239f4(0xe1)](_0x3ff740)):_0x26ee54[_0x3239f4(0xcd)];let _0x2d1c32=_0x26ee54[_0x3239f4(0xc2)];const _0x5928aa=!_0x21179a[_0x3239f4(0x85)]?new Date()[_0x3239f4(0xc5)]():null;if(_0x21179a[_0x3239f4(0xce)])_0x2d1c32=_0xbb85f9?_0x26ee54['raoVM']:_0x26ee54['fMihw'],_0x3ff740[_0x3239f4(0x13e)]=!![];else _0x21179a['skipped']&&(_0x2d1c32=_0x26ee54['aSrDV'],_0x3ff740[_0x3239f4(0x13e)]=!![]);const _0x4e876a={'framework':this[_0x3239f4(0x8c)],'uuid':_0x3ff740[_0x3239f4(0x91)]||_0x3ff740[_0x3239f4(0x13d)],'name':_0x3ff740[_0x3239f4(0x136)],'body':{'lang':_0x26ee54['CPxkc'],'code':_0x3ff740[_0x3239f4(0x151)][_0x3239f4(0xd8)]()},'type':_0x3ff740[_0x3239f4(0x105)],'scope':_0x3ff740[_0x3239f4(0x10a)](),'scopes':this['getHierarchy'](_0x3ff740),'file_name':_0x3d13cf,'vc_filepath':_0xb866c9?path[_0x3239f4(0x15f)](_0xb866c9,_0x3c510f):null,'location':_0x3d13cf,'result':_0x2d1c32,'failure_reason':_0x1bfef9,'duration_in_ms':_0x3ff740[_0x3239f4(0x104)]||(_0x21179a[_0x3239f4(0xce)]||_0x21179a['skipped'])?_0x26ee54[_0x3239f4(0xd9)](Date[_0x3239f4(0xe2)](),new Date(_0x3ff740[_0x3239f4(0xd4)])['getTime']()):null,'started_at':new Date(_0x3ff740[_0x3239f4(0xd4)])[_0x3239f4(0xc5)](),'finished_at':_0x5928aa,'failure':testOpsHelper['failureData']['apply'](null,_0x351198),'failure_type':!_0x1bfef9?null:testOpsHelper[_0x3239f4(0x92)](_0x1bfef9),'retry_of':_0x3ff740['retryOf']||null,'tags':_0x3ff740[_0x3239f4(0xc3)]||[],'customRerunParam':{'rerun_name':_0x3ff740[_0x3239f4(0x10a)]()}};_0x26ee54[_0x3239f4(0x110)](appendTesthubParams,_0x4e876a,_0xa84012,_0x3ff740,FRAMEWORKS[_0x3239f4(0xca)]);if(_0x21179a['hook'])[_0x4e876a['hook_type'],_0x4e876a['name']]=[this[_0x3239f4(0x162)](_0x3ff740),_0x3ff740[_0x3239f4(0xd3)]['test'][_0x3239f4(0x136)]],_0x21179a[_0x3239f4(0xce)]?_0x26ee54[_0x3239f4(0x130)](_0x4e876a[_0x3239f4(0xda)],_0x26ee54[_0x3239f4(0xa1)])&&(_0x4e876a[_0x3239f4(0xda)]=_0x26ee54['fMihw']):_0x4e876a['body']={};else _0x21179a[_0x3239f4(0xc4)]&&(this['mapTestHooks'](_0x3ff740),_0x21179a[_0x3239f4(0xd0)]&&this[_0x3239f4(0x7a)](_0x3ff740),(_0x21179a[_0x3239f4(0xce)]||_0x21179a[_0x3239f4(0xd0)])&&(_0x4e876a[_0x3239f4(0x141)]=this[_0x3239f4(0xab)](_0x3ff740)));this[_0x3239f4(0x14e)]&&(_0x21179a[_0x3239f4(0x85)]||_0x21179a[_0x3239f4(0xd0)])&&(_0x4e876a[_0x26ee54[_0x3239f4(0x125)]]=this[_0x3239f4(0xfc)](this[_0x3239f4(0x14e)]));_0x21179a[_0x3239f4(0xc4)]&&_0x21179a[_0x3239f4(0xce)]&&_0x3ff740[_0x3239f4(0x165)]&&(_0x4e876a[_0x26ee54['fztFW']]={'feature':{'name':_0x3ff740[_0x3239f4(0x89)][_0x3239f4(0x153)][_0x3239f4(0x15c)],'path':_0x4e876a[_0x3239f4(0x9c)],'description':_0x3ff740[_0x3239f4(0x89)][_0x3239f4(0x163)]},'scenario':{'name':_0x3ff740[_0x3239f4(0x136)]},'steps':_0x3ff740[_0x3239f4(0x165)]});const _0x2f98e2=_0x4e876a[_0x26ee54['MVxml']][0x0];_0x2f98e2&&(_0x4e876a[_0x26ee54['BFPbe']]=_0x2f98e2[_0x26ee54[_0x3239f4(0xa3)]],_0x4e876a[_0x26ee54['zeZVT']]=_0x2f98e2[_0x26ee54[_0x3239f4(0xdb)]]);if(_0x3ff740[_0x3239f4(0x165)])for(const _0x86ecf0 of _0x3ff740[_0x3239f4(0x165)]){!_0x86ecf0['finished_at']&&(_0x86ecf0['finished_at']=new Date()[_0x3239f4(0xc5)](),_0x26ee54[_0x3239f4(0x112)](_0x86ecf0[_0x3239f4(0xda)],_0x26ee54['XiteK'])&&(_0x2f98e2?(_0x86ecf0[_0x3239f4(0xda)]=_0x26ee54[_0x3239f4(0xa1)],_0x86ecf0[_0x3239f4(0xd6)]=_0x2f98e2[_0x26ee54[_0x3239f4(0xa3)]][0x0]):_0x86ecf0[_0x3239f4(0xda)]=_0x26ee54[_0x3239f4(0x124)]));}const _0xdcaf3a={};_0xdcaf3a[_0x3239f4(0x143)]=_0x21179a[_0x3239f4(0xd0)]?TEST_EVENTS[_0x3239f4(0x148)]:_0xa84012;const _0x4ef619=_0xdcaf3a;return _0x21179a['hook']?_0x4ef619[_0x26ee54['hHnuw']]=_0x4e876a:_0x4ef619[_0x26ee54[_0x3239f4(0xa4)]]=_0x4e876a,_0x4ef619;}catch(_0x2ea4da){logger[_0x3239f4(0xc7)](_0x3239f4(0x86)+_0xa84012+_0x3239f4(0x102)+_0x2ea4da);}}async[a4_0x9ff0b2(0x14b)](_0x2357fe,_0xe771e8){const _0x244e4a=a4_0x9ff0b2;if(!this[_0x244e4a(0x109)]||!_0xe771e8||!_0x2357fe)return![];try{return await SessionHandler[_0x244e4a(0xcc)](_0xe771e8);}catch(_0x250d24){logger['debug'](_0x244e4a(0x113)+_0x2357fe+_0x244e4a(0x102)+_0x250d24);}}[a4_0x9ff0b2(0x147)](_0xc99c0e){const _0x4cd048=a4_0x9ff0b2,_0x5c35ed={};_0x5c35ed[_0x4cd048(0xf5)]=_0x4cd048(0xeb);const _0x1070ba=_0x5c35ed;return{'id':_0xc99c0e[_0x4cd048(0x94)],'text':_0xc99c0e[_0x4cd048(0x95)],'keyword':_0xc99c0e[_0x4cd048(0x11d)],'started_at':_0xc99c0e[_0x4cd048(0xd4)]['toISOString'](),'result':_0x1070ba['onEET']};}[a4_0x9ff0b2(0x142)](_0x130053){const _0x319878=a4_0x9ff0b2,_0x2baeb1={'njnsw':function(_0x583793){return _0x583793();}};!this[_0x319878(0x11c)][_0x319878(0x165)]&&(this[_0x319878(0x11c)][_0x319878(0x165)]=[]),!_0x130053[_0x319878(0x94)]&&(_0x130053[_0x319878(0x94)]=_0x2baeb1[_0x319878(0xae)](uuidv4),_0x130053[_0x319878(0xd4)]=new Date(),this[_0x319878(0x11c)][_0x319878(0x165)]['push'](this[_0x319878(0x147)](_0x130053)));}[a4_0x9ff0b2(0x160)](_0x1d2da1){const _0xe0061=a4_0x9ff0b2,_0x215082={'NlcqT':function(_0x2ebb75,_0x4c6b2a){return _0x2ebb75(_0x4c6b2a);},'BwVdl':_0xe0061(0x83),'AnTIH':_0xe0061(0xeb),'scUAK':_0xe0061(0x7c),'KRqUl':function(_0x44a4fc,_0x291fb7){return _0x44a4fc-_0x291fb7;}};let _0x5706ed=this[_0xe0061(0x11c)][_0xe0061(0x165)][_0xe0061(0xc6)](_0x502d78=>_0x502d78['id']===_0x1d2da1[_0xe0061(0x94)]);_0x215082[_0xe0061(0xe5)](isUndefined,_0x5706ed)&&(_0x5706ed=this[_0xe0061(0x147)](_0x1d2da1)),_0x5706ed[_0xe0061(0xda)]=[_0x215082[_0xe0061(0x12d)],_0x215082[_0xe0061(0xd5)]][_0xe0061(0x133)](_0x1d2da1[_0xe0061(0x8d)])?_0x215082['scUAK']:_0x1d2da1['status'],_0x5706ed[_0xe0061(0xdd)]=new Date()[_0xe0061(0xc5)](),_0x5706ed[_0xe0061(0x104)]=_0x215082[_0xe0061(0xa7)](Date[_0xe0061(0xe2)](),_0x1d2da1[_0xe0061(0xd4)]['getTime']()),_0x5706ed[_0xe0061(0xd6)]=_0x1d2da1[_0xe0061(0x122)]?_0x1d2da1[_0xe0061(0x122)][_0xe0061(0x10c)]:null;}}const a4_0x2f2fc5={};a4_0x2f2fc5[a4_0x9ff0b2(0x11e)]=O11yHelper,a4_0x2f2fc5[a4_0x9ff0b2(0x11f)]=STATE_PASSED,a4_0x2f2fc5[a4_0x9ff0b2(0x100)]=STATE_FAILED,a4_0x2f2fc5[a4_0x9ff0b2(0x108)]=TEST_EVENTS,module['exports']=a4_0x2f2fc5;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a5_0x1759(_0x594731,_0x4b28ca){const _0x462905=a5_0x4629();return a5_0x1759=function(_0x1759dd,_0x9aebbd){_0x1759dd=_0x1759dd-0x12c;let _0x19272b=_0x462905[_0x1759dd];return _0x19272b;},a5_0x1759(_0x594731,_0x4b28ca);}const a5_0x1f1e2d=a5_0x1759;(function(_0xc66cbe,_0x448def){const _0x5d70b9=a5_0x1759,_0x1e331d=_0xc66cbe();while(!![]){try{const _0x19d3c7=-parseInt(_0x5d70b9(0x13b))/0x1+parseInt(_0x5d70b9(0x175))/0x2*(parseInt(_0x5d70b9(0x144))/0x3)+-parseInt(_0x5d70b9(0x15c))/0x4*(parseInt(_0x5d70b9(0x174))/0x5)+-parseInt(_0x5d70b9(0x169))/0x6*(parseInt(_0x5d70b9(0x154))/0x7)+-parseInt(_0x5d70b9(0x146))/0x8+parseInt(_0x5d70b9(0x160))/0x9+parseInt(_0x5d70b9(0x132))/0xa*(parseInt(_0x5d70b9(0x193))/0xb);if(_0x19d3c7===_0x448def)break;else _0x1e331d['push'](_0x1e331d['shift']());}catch(_0x4ef466){_0x1e331d['push'](_0x1e331d['shift']());}}}(a5_0x4629,0xaf7c5));function a5_0x4629(){const _0x32d8e8=['536080IJDjBZ','1540014lkkVNv','cucumber','\x20ambiguous','WqUkc','stepsPending','scenariosFailed','accessibilityOptions','iMfQP','skipSessionName','join','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','exports','\x20scenarios','red','errorMessage','testObservability','ECmST','error\x20removing\x20tcg\x20config\x20file','rmdirSync','UbSyW','RTXya','false','PKzSV','getHubUrl','util','winstonLogger','BROWSERSTACK_TEST_OBSERVABILITY_YML','pmObz','oACfA','finalExecution','7616433fBoGdU','testContextOptions','scenarios','cyan','env','isBrowserstackInfra','../../helpers/logger','stop','LhHYc','stepsPassed','length','hEthh','../../helpers/helper','40BcljcW','\x20failed','CUCUMBER','forEach','markSDKSetupComplete','removeDir','../test-runner','debug','chalk','208790dASjvd','UCVMX','SrEUa','getTCGConfigFilePaths','\x20skipped','iURmo','cwd','\x20passed','parseFormatters','3SNpsDv','exitCode','8849600Pddmma','yellow','FRAMEWORKS','nzcNa','****\x20RESULTS\x20****','steps','argv','unlinkSync','lgrip','bold','push','turboScaleUrl','FEYup','splice','738682zkehGa','../../helpers/testhub/testhubHandler','setupTCGAuth','useW3C','nsWDg','bgWhite','stepsUndefined','YOQNg','40ghfRtp','handleApp','dmFTm','green','845550JwMQSp','\x20undefined','xdDAe','prepareCapabilities','skipSessionStatus','format','../../helpers/utilities','getPlatformName','aGlzv','30ZFnFdZ','rStGM','config','path','OaTSA','stepsUnknown','tmp','stepsSkipped','../../helpers/BrowserStackSetup','parallelsPerPlatform','log'];a5_0x4629=function(){return _0x32d8e8;};return a5_0x4629();}const fs=require('fs'),path=require(a5_0x1f1e2d(0x16c)),util=require(a5_0x1f1e2d(0x18d)),logger=require(a5_0x1f1e2d(0x199))[a5_0x1f1e2d(0x18e)],{default:BrowserStackSetup}=require(a5_0x1f1e2d(0x171)),helper=require(a5_0x1f1e2d(0x131)),utilities=require(a5_0x1f1e2d(0x166)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x1f1e2d(0x138)),TestHubHandler=require(a5_0x1f1e2d(0x155)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x1f1e2d(0x13a));function printCucumberStats(_0x3525ba){const _0x1cc4ad=a5_0x1f1e2d,_0x453d95={};_0x453d95[_0x1cc4ad(0x13d)]=function(_0x3099e6,_0x2c22b8){return _0x3099e6>_0x2c22b8;},_0x453d95[_0x1cc4ad(0x140)]=function(_0x408ed1,_0x2e74c8){return _0x408ed1-_0x2e74c8;},_0x453d95[_0x1cc4ad(0x188)]=function(_0x891ed7,_0x3f76ea){return _0x891ed7-_0x3f76ea;},_0x453d95[_0x1cc4ad(0x185)]=function(_0x21fbdf,_0xe4abc2){return _0x21fbdf>_0xe4abc2;},_0x453d95['nsWDg']=function(_0x211893,_0x43ea85){return _0x211893>_0x43ea85;},_0x453d95[_0x1cc4ad(0x15b)]=function(_0x2e691f,_0xe47e99){return _0x2e691f>_0xe47e99;},_0x453d95['OaTSA']=function(_0x3f077c,_0x117668){return _0x3f077c>_0x117668;},_0x453d95[_0x1cc4ad(0x17c)]=function(_0x4e083d,_0x5ce135){return _0x4e083d>_0x5ce135;},_0x453d95[_0x1cc4ad(0x130)]=function(_0x5aece7,_0x54bb40){return _0x5aece7>_0x54bb40;},_0x453d95[_0x1cc4ad(0x14e)]=function(_0x4b0ba3,_0x5399c7){return _0x4b0ba3>_0x5399c7;},_0x453d95[_0x1cc4ad(0x149)]=function(_0x4993fd,_0x119c7e){return _0x4993fd>_0x119c7e;},_0x453d95[_0x1cc4ad(0x18b)]=function(_0x4a1faf,_0x2f0482){return _0x4a1faf>_0x2f0482;},_0x453d95[_0x1cc4ad(0x15e)]=function(_0x2ffb58,_0x1d25c0){return _0x2ffb58+_0x1d25c0;},_0x453d95[_0x1cc4ad(0x152)]=function(_0x55e8b5,_0x5a8993){return _0x55e8b5+_0x5a8993;},_0x453d95[_0x1cc4ad(0x189)]=function(_0x5d3490,_0x16a9ec){return _0x5d3490===_0x16a9ec;},_0x453d95[_0x1cc4ad(0x168)]=_0x1cc4ad(0x14a);const _0x2881d7=_0x453d95;let _0x6aa950=0x0;if(_0x2881d7[_0x1cc4ad(0x189)](_0x3525ba['length'],0x0))return _0x6aa950;return console[_0x1cc4ad(0x173)](chalk['bold'][_0x1cc4ad(0x159)](_0x2881d7['aGlzv'])),_0x3525ba[_0x1cc4ad(0x135)](_0x1badd1=>{const _0x4a590f=_0x1cc4ad,_0x22f6ef=_0x1badd1[0x0],_0x105a5a=_0x1badd1[0x1];console[_0x4a590f(0x173)]('\x0a'+chalk['bold']['yellow'](''+helper[_0x4a590f(0x167)](_0x22f6ef)));const _0x3046bf=_0x105a5a[_0x4a590f(0x195)],_0x41775c=_0x105a5a[_0x4a590f(0x14b)],_0x6109ca=_0x105a5a[_0x4a590f(0x17a)],_0x3fcff1=_0x105a5a['stepsFailed'],_0x5e2626=_0x105a5a[_0x4a590f(0x12e)],_0x192fb8=_0x105a5a[_0x4a590f(0x170)],_0xdb42f5=_0x105a5a[_0x4a590f(0x179)],_0x4deb74=_0x105a5a[_0x4a590f(0x15a)],_0x42b002=_0x105a5a[_0x4a590f(0x16e)],_0x184d2e=_0x105a5a['stepsAmbiguous'],_0x17fef0=_0x105a5a['processSuccess'];let _0x371c2f=_0x3046bf+_0x4a590f(0x181);const _0x1fddcd=_0x2881d7[_0x4a590f(0x13d)](_0x2881d7[_0x4a590f(0x140)](_0x3046bf,_0x6109ca),0x0)?_0x2881d7[_0x4a590f(0x188)](_0x3046bf,_0x6109ca):0x0;if(_0x2881d7[_0x4a590f(0x13d)](_0x6109ca,0x0)&&_0x2881d7[_0x4a590f(0x185)](_0x1fddcd,0x0))_0x371c2f+='\x20('+chalk['bold'][_0x4a590f(0x182)](_0x6109ca+'\x20failed')+',\x20'+chalk['bold'][_0x4a590f(0x15f)](_0x1fddcd+_0x4a590f(0x142))+')';else(_0x2881d7['nsWDg'](_0x6109ca,0x0)||_0x2881d7[_0x4a590f(0x158)](_0x1fddcd,0x0))&&(_0x371c2f+=_0x2881d7[_0x4a590f(0x15b)](_0x6109ca,0x0)?'\x20('+chalk[_0x4a590f(0x14f)]['red'](_0x6109ca+_0x4a590f(0x133))+')':'\x20('+chalk[_0x4a590f(0x14f)][_0x4a590f(0x15f)](_0x1fddcd+_0x4a590f(0x142))+')');const _0x5c6bf3=_0x41775c+'\x20steps',_0x122866=[];_0x2881d7[_0x4a590f(0x16d)](_0x184d2e,0x0)&&_0x122866[_0x4a590f(0x150)](''+chalk[_0x4a590f(0x14f)][_0x4a590f(0x182)](_0x184d2e+_0x4a590f(0x177)));_0x2881d7[_0x4a590f(0x17c)](_0x3fcff1,0x0)&&_0x122866['push'](''+chalk[_0x4a590f(0x14f)][_0x4a590f(0x182)](_0x3fcff1+'\x20failed'));_0x2881d7['hEthh'](_0x5e2626,0x0)&&_0x122866[_0x4a590f(0x150)](''+chalk[_0x4a590f(0x14f)][_0x4a590f(0x15f)](_0x5e2626+_0x4a590f(0x142)));_0x2881d7['lgrip'](_0xdb42f5,0x0)&&_0x122866['push'](''+chalk['bold'][_0x4a590f(0x147)](_0xdb42f5+'\x20pending'));_0x2881d7[_0x4a590f(0x17c)](_0x192fb8,0x0)&&_0x122866[_0x4a590f(0x150)](''+chalk['bold'][_0x4a590f(0x196)](_0x192fb8+_0x4a590f(0x13f)));_0x2881d7[_0x4a590f(0x149)](_0x4deb74,0x0)&&_0x122866[_0x4a590f(0x150)](''+chalk[_0x4a590f(0x14f)]['yellow'](_0x4deb74+_0x4a590f(0x161)));_0x2881d7[_0x4a590f(0x18b)](_0x42b002,0x0)&&_0x122866[_0x4a590f(0x150)](''+chalk[_0x4a590f(0x14f)][_0x4a590f(0x147)](_0x42b002+_0x4a590f(0x13f)));const _0x41fa5b=_0x2881d7[_0x4a590f(0x15e)](_0x2881d7[_0x4a590f(0x152)](_0x2881d7['FEYup'](_0x5c6bf3,'('),_0x122866[_0x4a590f(0x17e)](',\x20')),')');console['log'](_0x2881d7['FEYup'](_0x2881d7[_0x4a590f(0x152)](_0x2881d7[_0x4a590f(0x152)](_0x2881d7[_0x4a590f(0x15e)]('\x0a',_0x371c2f),'\x0a'),_0x41fa5b),'\x0a')),_0x2881d7['RTXya'](_0x17fef0,![])&&(_0x6aa950=0x1);}),_0x6aa950;}async function run(_0x7dbcef,_0x115988){const _0x4300e8=a5_0x1f1e2d,_0x103f3a={'pmObz':function(_0x466dfb,_0x5ed930){return _0x466dfb(_0x5ed930);},'rStGM':function(_0x3c645b,_0x3c5a46){return _0x3c645b>_0x3c5a46;},'UCVMX':'Generating\x20consolidated\x20report...','oACfA':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','Klycv':_0x4300e8(0x176),'WqUkc':_0x4300e8(0x186),'QxDSG':'cucumber-js','jMOgA':_0x4300e8(0x16f),'OzunU':function(_0x3fc4b7,_0x57d16d){return _0x3fc4b7>_0x57d16d;},'vnBfN':function(_0x13bbb4,_0x82e81a){return _0x13bbb4-_0x82e81a;},'RKgZO':function(_0x3e5787,_0x3a6a5d){return _0x3e5787>=_0x3a6a5d;},'LhHYc':function(_0x1a186d,_0x1d6bac){return _0x1a186d!=_0x1d6bac;},'xdDAe':_0x4300e8(0x18a),'PbJXf':function(_0x394038,_0x3cd130,_0x5c8fcb,_0x22aae4,_0x403d9a,_0xd9c2f4){return _0x394038(_0x3cd130,_0x5c8fcb,_0x22aae4,_0x403d9a,_0xd9c2f4);}},_0x201d87=new BrowserStackSetup(_0x7dbcef,_0x103f3a['QxDSG']);await _0x201d87['initialize']();!helper[_0x4300e8(0x198)]()&&await _0x201d87[_0x4300e8(0x156)]();await helper[_0x4300e8(0x15d)](_0x201d87[_0x4300e8(0x16b)]);const _0x5b9f16=helper[_0x4300e8(0x157)](_0x201d87['config']),_0x381931=helper[_0x4300e8(0x163)](_0x201d87[_0x4300e8(0x16b)],_0x5b9f16,constants[_0x4300e8(0x148)][_0x4300e8(0x134)]);if(!_0x201d87[_0x4300e8(0x16b)])return;const _0x1966cf=_0x201d87[_0x4300e8(0x16b)][_0x4300e8(0x172)]||helper['getUserWorkerCount'](_0x7dbcef,_0x115988,_0x201d87[_0x4300e8(0x16b)],constants[_0x4300e8(0x148)][_0x4300e8(0x134)])||0x1,_0x29a272={'server':helper[_0x4300e8(0x18c)](_0x201d87[_0x4300e8(0x16b)]),'proxySettings':_0x201d87['config']['proxySettings'],'maxWorkers':_0x1966cf,'browserStackLogLevel':_0x201d87['config']['logLevel'],'skipSessionName':_0x201d87[_0x4300e8(0x16b)][_0x4300e8(0x194)][_0x4300e8(0x17d)],'skipSessionStatus':_0x201d87[_0x4300e8(0x16b)][_0x4300e8(0x194)][_0x4300e8(0x164)],'turboScaleUrl':_0x201d87[_0x4300e8(0x16b)][_0x4300e8(0x151)]},_0x12f698=process[_0x4300e8(0x14c)],[_0x25aeba,_0x5b87d5]=helper[_0x4300e8(0x143)](_0x12f698),_0xe2148e=path['join'](process[_0x4300e8(0x141)](),_0x103f3a['jMOgA']);if(_0x103f3a['OzunU'](_0x5b87d5[_0x4300e8(0x12f)],0x0)){helper['createDir'](_0xe2148e);for(let _0x33f39b=_0x103f3a['vnBfN'](_0x25aeba['length'],0x1);_0x103f3a['RKgZO'](_0x33f39b,0x0);_0x33f39b--){_0x12f698[_0x4300e8(0x153)](_0x25aeba[_0x33f39b],0x2);}}!helper['isUndefined'](_0x201d87[_0x4300e8(0x16b)][_0x4300e8(0x17b)])&&(process[_0x4300e8(0x197)][_0x4300e8(0x17f)]=JSON['stringify'](_0x201d87[_0x4300e8(0x16b)][_0x4300e8(0x17b)]));_0x103f3a[_0x4300e8(0x12d)](_0x201d87['config'][_0x4300e8(0x184)],null)?process[_0x4300e8(0x197)][_0x4300e8(0x18f)]=_0x201d87['config'][_0x4300e8(0x184)]:process['env'][_0x4300e8(0x18f)]=_0x103f3a[_0x4300e8(0x162)];const _0xeba7eb=await TestHubHandler['launchBuild'](constants[_0x4300e8(0x148)]['CUCUMBER'],_0x201d87);helper[_0x4300e8(0x136)]();let _0x45f4b5;_0x103f3a['PbJXf'](parallelCucumberRun,_0x381931,_0x29a272,_0x201d87['config'],_0x12f698,_0x5b87d5)['then'](async _0x15c3e1=>{const _0x341e30=_0x4300e8;_0x45f4b5=_0x15c3e1;const _0x38f84e=_0x103f3a[_0x341e30(0x190)](printCucumberStats,_0x15c3e1);process[_0x341e30(0x145)]=_0x38f84e,_0x103f3a[_0x341e30(0x16a)](_0x5b87d5['length'],0x0)&&(logger[_0x341e30(0x139)](_0x103f3a[_0x341e30(0x13c)]),helper['mergeOutputFiles'](_0xe2148e,_0x5b87d5),logger[_0x341e30(0x139)](_0x103f3a[_0x341e30(0x191)]),helper[_0x341e30(0x137)](_0xe2148e));})['finally'](async()=>{const _0x55bc7e=_0x4300e8;_0x201d87[_0x55bc7e(0x183)]=helper['getErrorMessageFromResults'](_0x45f4b5,_0x103f3a['Klycv']),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x55bc7e(0x12c)]();}catch(_0x1d920d){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x55bc7e(0x165)](_0x1d920d));}try{const {browserstackFolderPath:_0x19733a,tcgConfigPath:_0x4c3187}=helper[_0x55bc7e(0x13e)]();fs[_0x55bc7e(0x14d)](_0x4c3187),fs[_0x55bc7e(0x187)](_0x19733a);}catch(_0x3bd59d){logger[_0x55bc7e(0x139)](_0x103f3a[_0x55bc7e(0x178)],_0x3bd59d);}await utilities[_0x55bc7e(0x192)](_0x201d87);});}module[a5_0x1f1e2d(0x180)]=run;
|
|
2
|
+
'use strict';const a5_0x790f4e=a5_0x33b4;(function(_0x4c1ddd,_0x10ed15){const _0x14cbeb=a5_0x33b4,_0x736cf8=_0x4c1ddd();while(!![]){try{const _0x79699f=-parseInt(_0x14cbeb(0x137))/0x1*(parseInt(_0x14cbeb(0x157))/0x2)+parseInt(_0x14cbeb(0x11b))/0x3+parseInt(_0x14cbeb(0x133))/0x4*(parseInt(_0x14cbeb(0x11d))/0x5)+-parseInt(_0x14cbeb(0x154))/0x6*(-parseInt(_0x14cbeb(0x15e))/0x7)+parseInt(_0x14cbeb(0x122))/0x8+-parseInt(_0x14cbeb(0x13b))/0x9+-parseInt(_0x14cbeb(0x166))/0xa;if(_0x79699f===_0x10ed15)break;else _0x736cf8['push'](_0x736cf8['shift']());}catch(_0x3be4da){_0x736cf8['push'](_0x736cf8['shift']());}}}(a5_0x2b32,0xe8a74));function a5_0x2b32(){const _0x533833=['\x20ambiguous','QgNqJ','getUserWorkerCount','MYrXG','stringify','DoTyI','653409iPhmOL','../../helpers/testhub/testhubHandler','115zxKPhy','prepareCapabilities','logLevel','RYSAI','getErrorMessageFromResults','14509920LHXWJR','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../utils/constants','testObservability','unlinkSync','nTJIF','createDir','****\x20RESULTS\x20****','parseFormatters','finally','rmdirSync','HIrzu','path','red','scenariosFailed','cucumber-js','finalExecution','72068UeeJCu','FRAMEWORKS','processSuccess','steps','409899ODOgPH','\x20undefined','../../helpers/logger','format','2038212dSEgJx','scenarios','stepsUnknown','SaGeW','cyan','zxpfm','\x20skipped','bgWhite','zwyfz','EklwR','wabxy','initialize','kpXrQ','\x20failed','length','MmEMn','exports','\x20passed','stepsPassed','MiKUF','BROWSERSTACK_TEST_OBSERVABILITY_YML','util','config','cucumber','../../helpers/BrowserStackSetup','6PIXRSW','useW3C','false','8TOnvuE','launchBuild','forEach','testContextOptions','log','getTCGConfigFilePaths','DpfGd','4217374Vhjogw','cwd','join','stepsFailed','oBcAw','error\x20removing\x20tcg\x20config\x20file','argv','skipSessionName','2294040ZpSbOf','stepsSkipped','skipSessionStatus','DbbUg','turboScaleUrl','exitCode','UBWrF','proxySettings','\x20pending','ocnxp','removeDir','green','HWsPs','push','getHubUrl','wtjCb','CUCUMBER','isBrowserstackInfra','bold','stepsPending','splice','then','errorMessage','zAVlb','accessibilityOptions','mmaAb','Generating\x20consolidated\x20report...','tmp','mergeOutputFiles','stepsAmbiguous','../../helpers/utilities','env','DzttF','QLlLA','winstonLogger','yellow','setupTCGAuth','debug'];a5_0x2b32=function(){return _0x533833;};return a5_0x2b32();}const fs=require('fs'),path=require(a5_0x790f4e(0x12e)),util=require(a5_0x790f4e(0x150)),logger=require(a5_0x790f4e(0x139))[a5_0x790f4e(0x111)],{default:BrowserStackSetup}=require(a5_0x790f4e(0x153)),helper=require('../../helpers/helper'),utilities=require(a5_0x790f4e(0x10d)),constants=require(a5_0x790f4e(0x124)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x790f4e(0x11c)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk');function printCucumberStats(_0x4f5409){const _0xf210c2=a5_0x790f4e,_0x480f85={};_0x480f85[_0xf210c2(0x12d)]=function(_0x284875,_0x2687eb){return _0x284875>_0x2687eb;},_0x480f85[_0xf210c2(0x14a)]=function(_0x50b0cd,_0x132ae2){return _0x50b0cd-_0x132ae2;},_0x480f85[_0xf210c2(0x106)]=function(_0x251d71,_0x477e54){return _0x251d71-_0x477e54;},_0x480f85['RYSAI']=function(_0x386e12,_0x5967d0){return _0x386e12>_0x5967d0;},_0x480f85[_0xf210c2(0x110)]=function(_0x2e81d3,_0x448de4){return _0x2e81d3>_0x448de4;},_0x480f85['zxpfm']=function(_0x1b31a1,_0x857b64){return _0x1b31a1>_0x857b64;},_0x480f85[_0xf210c2(0x145)]=function(_0x50ea60,_0x475338){return _0x50ea60>_0x475338;},_0x480f85[_0xf210c2(0x10f)]=function(_0x3c73b8,_0x508058){return _0x3c73b8>_0x508058;},_0x480f85[_0xf210c2(0x143)]=function(_0x18ae73,_0x28b70d){return _0x18ae73>_0x28b70d;},_0x480f85[_0xf210c2(0x16f)]=function(_0x512aed,_0x46d32e){return _0x512aed>_0x46d32e;},_0x480f85[_0xf210c2(0x15d)]=function(_0x31d365,_0x4df265){return _0x31d365+_0x4df265;},_0x480f85[_0xf210c2(0x118)]=function(_0x4be80f,_0x153be0){return _0x4be80f+_0x153be0;},_0x480f85[_0xf210c2(0x13e)]=function(_0x4fe5c1,_0x3ab55c){return _0x4fe5c1===_0x3ab55c;},_0x480f85[_0xf210c2(0x116)]=function(_0x248f01,_0xa71dd7){return _0x248f01===_0xa71dd7;},_0x480f85[_0xf210c2(0x144)]=_0xf210c2(0x129);const _0x15fbaf=_0x480f85;let _0x400ec1=0x0;if(_0x15fbaf[_0xf210c2(0x116)](_0x4f5409[_0xf210c2(0x149)],0x0))return _0x400ec1;return console[_0xf210c2(0x15b)](chalk[_0xf210c2(0x178)][_0xf210c2(0x142)](_0x15fbaf['EklwR'])),_0x4f5409[_0xf210c2(0x159)](_0x55a3ca=>{const _0x14ff88=_0xf210c2,_0x394239=_0x55a3ca[0x0],_0xbc282b=_0x55a3ca[0x1];console[_0x14ff88(0x15b)]('\x0a'+chalk[_0x14ff88(0x178)][_0x14ff88(0x112)](''+helper['getPlatformName'](_0x394239)));const _0x3e2c7c=_0xbc282b[_0x14ff88(0x13c)],_0x1c498f=_0xbc282b[_0x14ff88(0x136)],_0x34d9d8=_0xbc282b[_0x14ff88(0x130)],_0x4ce6a7=_0xbc282b[_0x14ff88(0x161)],_0xfa9fc3=_0xbc282b[_0x14ff88(0x14d)],_0x1c20bc=_0xbc282b[_0x14ff88(0x167)],_0x2a6bba=_0xbc282b[_0x14ff88(0x179)],_0x3b46bb=_0xbc282b['stepsUndefined'],_0x3095ea=_0xbc282b[_0x14ff88(0x13d)],_0x1297eb=_0xbc282b[_0x14ff88(0x10c)],_0x63b190=_0xbc282b[_0x14ff88(0x135)];let _0x324de6=_0x3e2c7c+'\x20scenarios';const _0x1b9da5=_0x15fbaf[_0x14ff88(0x12d)](_0x15fbaf[_0x14ff88(0x14a)](_0x3e2c7c,_0x34d9d8),0x0)?_0x15fbaf[_0x14ff88(0x106)](_0x3e2c7c,_0x34d9d8):0x0;if(_0x15fbaf[_0x14ff88(0x120)](_0x34d9d8,0x0)&&_0x15fbaf[_0x14ff88(0x110)](_0x1b9da5,0x0))_0x324de6+='\x20('+chalk[_0x14ff88(0x178)][_0x14ff88(0x12f)](_0x34d9d8+'\x20failed')+',\x20'+chalk[_0x14ff88(0x178)][_0x14ff88(0x171)](_0x1b9da5+_0x14ff88(0x14c))+')';else(_0x15fbaf[_0x14ff88(0x140)](_0x34d9d8,0x0)||_0x15fbaf[_0x14ff88(0x12d)](_0x1b9da5,0x0))&&(_0x324de6+=_0x15fbaf[_0x14ff88(0x145)](_0x34d9d8,0x0)?'\x20('+chalk[_0x14ff88(0x178)][_0x14ff88(0x12f)](_0x34d9d8+_0x14ff88(0x148))+')':'\x20('+chalk[_0x14ff88(0x178)][_0x14ff88(0x171)](_0x1b9da5+_0x14ff88(0x14c))+')');const _0x147e49=_0x1c498f+'\x20steps',_0x5ac8ad=[];_0x15fbaf[_0x14ff88(0x140)](_0x1297eb,0x0)&&_0x5ac8ad[_0x14ff88(0x173)](''+chalk['bold'][_0x14ff88(0x12f)](_0x1297eb+_0x14ff88(0x115)));_0x15fbaf[_0x14ff88(0x12d)](_0x4ce6a7,0x0)&&_0x5ac8ad['push'](''+chalk[_0x14ff88(0x178)]['red'](_0x4ce6a7+_0x14ff88(0x148)));_0x15fbaf['DzttF'](_0xfa9fc3,0x0)&&_0x5ac8ad['push'](''+chalk[_0x14ff88(0x178)][_0x14ff88(0x171)](_0xfa9fc3+_0x14ff88(0x14c)));_0x15fbaf[_0x14ff88(0x145)](_0x2a6bba,0x0)&&_0x5ac8ad['push'](''+chalk[_0x14ff88(0x178)][_0x14ff88(0x112)](_0x2a6bba+_0x14ff88(0x16e)));_0x15fbaf['DzttF'](_0x1c20bc,0x0)&&_0x5ac8ad[_0x14ff88(0x173)](''+chalk[_0x14ff88(0x178)][_0x14ff88(0x13f)](_0x1c20bc+_0x14ff88(0x141)));_0x15fbaf[_0x14ff88(0x143)](_0x3b46bb,0x0)&&_0x5ac8ad[_0x14ff88(0x173)](''+chalk['bold'][_0x14ff88(0x112)](_0x3b46bb+_0x14ff88(0x138)));_0x15fbaf[_0x14ff88(0x16f)](_0x3095ea,0x0)&&_0x5ac8ad[_0x14ff88(0x173)](''+chalk['bold'][_0x14ff88(0x112)](_0x3095ea+_0x14ff88(0x141)));const _0x52937f=_0x15fbaf[_0x14ff88(0x15d)](_0x15fbaf[_0x14ff88(0x118)](_0x15fbaf[_0x14ff88(0x118)](_0x147e49,'('),_0x5ac8ad[_0x14ff88(0x160)](',\x20')),')');console[_0x14ff88(0x15b)](_0x15fbaf[_0x14ff88(0x118)](_0x15fbaf['MYrXG'](_0x15fbaf['DpfGd'](_0x15fbaf[_0x14ff88(0x15d)]('\x0a',_0x324de6),'\x0a'),_0x52937f),'\x0a')),_0x15fbaf[_0x14ff88(0x13e)](_0x63b190,![])&&(_0x400ec1=0x1);}),_0x400ec1;}async function run(_0x1b718e,_0x586f1f){const _0x3e0093=a5_0x790f4e,_0x3fb0a5={'nTJIF':function(_0x3474e8,_0x3de75d){return _0x3474e8(_0x3de75d);},'RGNja':function(_0x41d2e8,_0x4b623d){return _0x41d2e8>_0x4b623d;},'DoTyI':_0x3e0093(0x109),'oBcAw':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','wtjCb':_0x3e0093(0x152),'MiKUF':_0x3e0093(0x163),'UBWrF':_0x3e0093(0x131),'MgARd':_0x3e0093(0x10a),'iXcvm':function(_0x59240e,_0x103d81){return _0x59240e>_0x103d81;},'CytjI':function(_0x3ec30d,_0x45a4bc){return _0x3ec30d-_0x45a4bc;},'mmaAb':function(_0x33118d,_0x33ebfa){return _0x33118d>=_0x33ebfa;},'DbbUg':function(_0x476ce7,_0x4d8f27){return _0x476ce7!=_0x4d8f27;},'kpXrQ':_0x3e0093(0x156),'HWsPs':function(_0x45c044,_0x4be057,_0x1f6968,_0x25a3fe,_0x5b415b,_0x415d89){return _0x45c044(_0x4be057,_0x1f6968,_0x25a3fe,_0x5b415b,_0x415d89);}},_0x1aac0e=new BrowserStackSetup(_0x1b718e,_0x3fb0a5[_0x3e0093(0x16c)]);await _0x1aac0e[_0x3e0093(0x146)]();!helper[_0x3e0093(0x177)]()&&await _0x1aac0e[_0x3e0093(0x113)]();await helper['handleApp'](_0x1aac0e['config']);const _0x28ce51=helper[_0x3e0093(0x155)](_0x1aac0e[_0x3e0093(0x151)]),_0x3126e6=helper[_0x3e0093(0x11e)](_0x1aac0e[_0x3e0093(0x151)],_0x28ce51,constants[_0x3e0093(0x134)]['CUCUMBER']);if(!_0x1aac0e[_0x3e0093(0x151)])return;const _0x510d3f=_0x1aac0e['config']['parallelsPerPlatform']||helper[_0x3e0093(0x117)](_0x1b718e,_0x586f1f,_0x1aac0e[_0x3e0093(0x151)],constants['FRAMEWORKS'][_0x3e0093(0x176)])||0x1,_0x140128={'server':helper[_0x3e0093(0x174)](_0x1aac0e[_0x3e0093(0x151)]),'proxySettings':_0x1aac0e['config'][_0x3e0093(0x16d)],'maxWorkers':_0x510d3f,'browserStackLogLevel':_0x1aac0e['config'][_0x3e0093(0x11f)],'skipSessionName':_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x15a)][_0x3e0093(0x165)],'skipSessionStatus':_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x15a)][_0x3e0093(0x168)],'turboScaleUrl':_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x16a)]},_0x77c8d6=process[_0x3e0093(0x164)],[_0x51d225,_0x2439cd]=helper[_0x3e0093(0x12a)](_0x77c8d6),_0x23619a=path['join'](process[_0x3e0093(0x15f)](),_0x3fb0a5['MgARd']);if(_0x3fb0a5['iXcvm'](_0x2439cd[_0x3e0093(0x149)],0x0)){helper[_0x3e0093(0x128)](_0x23619a);for(let _0x226043=_0x3fb0a5['CytjI'](_0x51d225['length'],0x1);_0x3fb0a5[_0x3e0093(0x108)](_0x226043,0x0);_0x226043--){_0x77c8d6[_0x3e0093(0x17a)](_0x51d225[_0x226043],0x2);}}!helper['isUndefined'](_0x1aac0e[_0x3e0093(0x151)]['accessibilityOptions'])&&(process[_0x3e0093(0x10e)][_0x3e0093(0x123)]=JSON[_0x3e0093(0x119)](_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x107)]));_0x3fb0a5[_0x3e0093(0x169)](_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x125)],null)?process[_0x3e0093(0x10e)][_0x3e0093(0x14f)]=_0x1aac0e[_0x3e0093(0x151)][_0x3e0093(0x125)]:process['env'][_0x3e0093(0x14f)]=_0x3fb0a5[_0x3e0093(0x147)];const _0x5a278b=await TestHubHandler[_0x3e0093(0x158)](constants['FRAMEWORKS'][_0x3e0093(0x176)],_0x1aac0e);helper['markSDKSetupComplete']();let _0xed5af4;_0x3fb0a5[_0x3e0093(0x172)](parallelCucumberRun,_0x3126e6,_0x140128,_0x1aac0e['config'],_0x77c8d6,_0x2439cd)[_0x3e0093(0x17b)](async _0x15d33c=>{const _0x504685=_0x3e0093;_0xed5af4=_0x15d33c;const _0x3c00de=_0x3fb0a5[_0x504685(0x127)](printCucumberStats,_0x15d33c);process[_0x504685(0x16b)]=_0x3c00de,_0x3fb0a5['RGNja'](_0x2439cd[_0x504685(0x149)],0x0)&&(logger[_0x504685(0x114)](_0x3fb0a5[_0x504685(0x11a)]),helper[_0x504685(0x10b)](_0x23619a,_0x2439cd),logger[_0x504685(0x114)](_0x3fb0a5[_0x504685(0x162)]),helper[_0x504685(0x170)](_0x23619a));})[_0x3e0093(0x12b)](async()=>{const _0x863893=_0x3e0093;_0x1aac0e[_0x863893(0x105)]=helper[_0x863893(0x121)](_0xed5af4,_0x3fb0a5[_0x863893(0x175)]),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop']();}catch(_0x353064){logger[_0x863893(0x114)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x863893(0x13a)](_0x353064));}try{const {browserstackFolderPath:_0x454e25,tcgConfigPath:_0x3dc3d6}=helper[_0x863893(0x15c)]();fs[_0x863893(0x126)](_0x3dc3d6),fs[_0x863893(0x12c)](_0x454e25);}catch(_0x58b801){logger['debug'](_0x3fb0a5[_0x863893(0x14e)],_0x58b801);}await utilities[_0x863893(0x132)](_0x1aac0e);});}function a5_0x33b4(_0x41f42b,_0x115663){const _0x2b3207=a5_0x2b32();return a5_0x33b4=function(_0x33b4a4,_0x53de5f){_0x33b4a4=_0x33b4a4-0x105;let _0x3aaa1b=_0x2b3207[_0x33b4a4];return _0x3aaa1b;},a5_0x33b4(_0x41f42b,_0x115663);}module[a5_0x790f4e(0x14b)]=run;
|