browserstack-node-sdk 1.34.19 → 1.34.20
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/patchHelper.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_0x4d8c58=a1_0x281d;(function(_0x16eedc,_0x121690){const _0x179bd2=a1_0x281d,_0x225d5a=_0x16eedc();while(!![]){try{const _0x30a82f=parseInt(_0x179bd2(0x175))/0x1*(-parseInt(_0x179bd2(0xd9))/0x2)+-parseInt(_0x179bd2(0xf4))/0x3+-parseInt(_0x179bd2(0xf2))/0x4+-parseInt(_0x179bd2(0x16b))/0x5*(-parseInt(_0x179bd2(0x133))/0x6)+-parseInt(_0x179bd2(0x161))/0x7*(parseInt(_0x179bd2(0x17a))/0x8)+-parseInt(_0x179bd2(0xe4))/0x9*(-parseInt(_0x179bd2(0x176))/0xa)+parseInt(_0x179bd2(0x15e))/0xb*(parseInt(_0x179bd2(0xdb))/0xc);if(_0x30a82f===_0x121690)break;else _0x225d5a['push'](_0x225d5a['shift']());}catch(_0x93a328){_0x225d5a['push'](_0x225d5a['shift']());}}}(a1_0x28d2,0x23dfc));const fs=require('fs'),util=require(a1_0x4d8c58(0xfc)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x4d8c58(0x159))[a1_0x4d8c58(0x149)],testOpsHelper=require(a1_0x4d8c58(0x154)),requestSpy=require(a1_0x4d8c58(0xee)),PlaywrightSessionDetails=require(a1_0x4d8c58(0x11e)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4d8c58(0x129)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x4d8c58(0x134)),PerformanceTester=require(a1_0x4d8c58(0x14d)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x4d8c58(0x148)),CodeceptWebDriver=requireModule(a1_0x4d8c58(0x124)),CodeceptRecorder=requireModule(a1_0x4d8c58(0x12a)),CodeceptPlaywright=requireModule(a1_0x4d8c58(0x140)),playwrightMarkSessionStatus=(_0x451a79,_0x32f43a,_0x5c3da3)=>{const _0x456115=a1_0x4d8c58,_0x1301cc={'jgJdd':_0x456115(0x174),'pbkcQ':function(_0x1ed33a,_0x34425e){return _0x1ed33a(_0x34425e);}},_0x2f3aae={};_0x2f3aae[_0x456115(0x164)]=_0x32f43a;const _0x21ee94={};_0x21ee94['action']=_0x1301cc['jgJdd'],_0x21ee94[_0x456115(0x131)]=_0x2f3aae;const _0x165792=_0x21ee94;return!_0x1301cc[_0x456115(0x12d)](isUndefined,_0x5c3da3)&&(_0x165792[_0x456115(0x131)]['reason']=JSON[_0x456115(0x10b)](_0x5c3da3)),_0x451a79['executeScript'](()=>{},'browserstack_executor:\x20'+JSON[_0x456115(0x10b)](_0x165792));},o11ySync=async _0x56110e=>{const _0x754650=a1_0x4d8c58,_0x59b4f6={};_0x59b4f6['bkGrJ']=function(_0x4ae5ac,_0xe7eac5){return _0x4ae5ac===_0xe7eac5;},_0x59b4f6[_0x754650(0x132)]=_0x754650(0xd7);const _0x547562=_0x59b4f6;_0x547562[_0x754650(0x169)](_0x56110e['constructor'][_0x754650(0x142)],_0x547562[_0x754650(0x132)])?await _0x56110e[_0x754650(0x12f)](_0x522319=>{},testOpsHelper[_0x754650(0x135)]()):await _0x56110e[_0x754650(0x12f)](testOpsHelper[_0x754650(0x135)]());},markSessionName=async(_0x23cc37,_0x568e96)=>{const _0x396e21=a1_0x4d8c58,_0x45e09d={};_0x45e09d[_0x396e21(0xed)]='setSessionName',_0x45e09d[_0x396e21(0xff)]=function(_0x434b56,_0x41ca9d){return _0x434b56===_0x41ca9d;},_0x45e09d[_0x396e21(0x117)]='Playwright';const _0x466259=_0x45e09d,_0x471e92={};_0x471e92[_0x396e21(0x142)]=_0x568e96;const _0x532503={};_0x532503[_0x396e21(0x14a)]=_0x466259[_0x396e21(0xed)],_0x532503[_0x396e21(0x131)]=_0x471e92;const _0x444dbd=_0x532503;_0x466259[_0x396e21(0xff)](_0x23cc37[_0x396e21(0x15a)][_0x396e21(0x142)],_0x466259[_0x396e21(0x117)])?await _0x23cc37[_0x396e21(0x12f)](()=>{},_0x396e21(0xec)+JSON[_0x396e21(0x10b)](_0x444dbd)):await _0x23cc37[_0x396e21(0x12f)]('browserstack_executor:\x20'+JSON[_0x396e21(0x10b)](_0x444dbd));},patchSaveScreenshot=_0x276b9f=>{const _0x5f530e=a1_0x4d8c58,_0x17a1aa={'GPmFS':_0x5f530e(0xe2),'icMZy':'TEST_SCREENSHOT','jRMlS':function(_0x5f3781){return _0x5f3781();},'eCIIq':function(_0x1495ee,_0x3799f0){return _0x1495ee(_0x3799f0);}};_0x17a1aa[_0x5f530e(0xfd)](isTrue,process[_0x5f530e(0xf0)][_0x5f530e(0x109)])&&!_0x276b9f['patchSaveScreenshot']&&(_0x276b9f[_0x5f530e(0xdc)]=!![],_0x276b9f[_0x5f530e(0x16e)]=_0x276b9f[_0x5f530e(0x12b)],_0x276b9f['saveScreenshot']=(_0x47259b,_0x376178=![])=>{const _0x383a30=_0x5f530e,_0x22e88d={'ldCQA':_0x17a1aa[_0x383a30(0xe6)],'VTxbX':_0x17a1aa['icMZy'],'ceHbE':function(_0x3c0382){const _0x26c413=_0x383a30;return _0x17a1aa[_0x26c413(0x147)](_0x3c0382);}};return new Promise(function(_0x2b75ce,_0xde4175){const _0x5f8343=_0x383a30;_0x276b9f[_0x5f8343(0x16e)](_0x47259b,_0x376178)[_0x5f8343(0x106)](()=>{const _0x2f1c72=_0x5f8343,_0x4dde21=CodeceptUtils[_0x2f1c72(0x152)](_0x47259b),_0x39a82e=fs[_0x2f1c72(0x155)](_0x4dde21);process[_0x2f1c72(0xe8)](_0x2f1c72(0x151)+process[_0x2f1c72(0x153)],{'timestamp':new Date()[_0x2f1c72(0x14b)](),'message':_0x39a82e[_0x2f1c72(0x10d)](_0x22e88d[_0x2f1c72(0x14f)]),'kind':_0x22e88d[_0x2f1c72(0xe7)]}),_0x22e88d[_0x2f1c72(0x137)](_0x2b75ce);})[_0x5f8343(0xf8)](()=>null);});});},patchWebDriverBefore=_0x2c07d6=>{const _0x55aaa5=a1_0x4d8c58,_0x4acd66={'LYfSR':function(_0x17ead7){return _0x17ead7();},'ApMux':function(_0x4c1f6d,_0x148b59){return _0x4c1f6d(_0x148b59);},'uYxpb':function(_0x4c73cc,_0x4fb7b1){return _0x4c73cc===_0x4fb7b1;},'xIvZF':_0x55aaa5(0x162),'cXwTO':function(_0x9e8864,_0x40c1a9){return _0x9e8864(_0x40c1a9);}},_0x1a12a7=async function(_0x1d2b40,_0x2a3bf2){const _0x43ff15=_0x55aaa5;return _0x4acd66[_0x43ff15(0xf5)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x43ff15(0x15c)]&&scripts['shouldWrapCommand'](_0x1d2b40[_0x43ff15(0x142)])&&_0x4acd66['ApMux'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x43ff15(0x145)]=!![],logger[_0x43ff15(0xf6)](_0x43ff15(0x128)+_0x1d2b40['class']+'\x20'+_0x1d2b40[_0x43ff15(0x142)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2c07d6,scripts[_0x43ff15(0x104)])),global[_0x43ff15(0x145)]=![],_0x2a3bf2[_0x43ff15(0xf9)](this,Array[_0x43ff15(0x13b)][_0x43ff15(0x157)]['call'](arguments,0x2));},_0x574fb7=CodeceptWebDriver[_0x55aaa5(0x13b)]['_before'];CodeceptWebDriver[_0x55aaa5(0x13b)]['_before']=async function(){const _0x4ac646=_0x55aaa5,_0x3631b5={'dpsfV':function(_0x5450de,_0x313199){return _0x4acd66['uYxpb'](_0x5450de,_0x313199);},'QVGjV':_0x4acd66[_0x4ac646(0xdd)]};await _0x574fb7[_0x4ac646(0xf9)](this,arguments),scripts[_0x4ac646(0x120)][_0x4ac646(0x115)](_0x4da57e=>_0x4da57e['name']&&_0x4da57e[_0x4ac646(0x141)])[_0x4ac646(0x127)](_0x32737b=>{const _0x8b12eb=_0x4ac646;this[_0x8b12eb(0x179)]['overwriteCommand'](_0x32737b[_0x8b12eb(0x142)],_0x1a12a7['bind'](this,_0x32737b),_0x3631b5[_0x8b12eb(0x139)](_0x32737b[_0x8b12eb(0x141)],_0x3631b5[_0x8b12eb(0x15d)]));}),_0x4acd66[_0x4ac646(0x100)](processWebDriverConfig,_0x2c07d6);};},patchPlaywrightBefore=()=>{const _0x715a59=a1_0x4d8c58;PlaywrightSessionDetails[_0x715a59(0x12e)]();const _0x2fd1c7=CodeceptPlaywright[_0x715a59(0x13b)][_0x715a59(0x11d)];CodeceptPlaywright[_0x715a59(0x13b)][_0x715a59(0x11d)]=async function(){const _0xb01c1=_0x715a59;this[_0xb01c1(0x178)]=await this[_0xb01c1(0x179)][_0xb01c1(0xfa)]()[0x0],await _0x2fd1c7['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x534be6=a1_0x4d8c58,_0x873c3d={};_0x873c3d[_0x534be6(0x166)]=_0x534be6(0xf7),_0x873c3d[_0x534be6(0x126)]='Playwright',_0x873c3d[_0x534be6(0x113)]='Puppeteer',_0x873c3d[_0x534be6(0x144)]='TestCafe';const _0x1a3ae5=_0x873c3d,_0x5b9af7=[_0x1a3ae5['PJxGq'],_0x1a3ae5['hoGvN'],_0x1a3ae5['oBBZr'],_0x1a3ae5[_0x534be6(0x144)]],_0x58fa25=_0x5b9af7[_0x534be6(0x14e)](_0x3c7f8d=>!!CodeceptJS[_0x534be6(0x13f)][_0x534be6(0x107)](_0x3c7f8d));if(!_0x58fa25)return null;return CodeceptJS[_0x534be6(0x13f)]['helpers'](_0x58fa25);};module['exports']=function(_0x407527){const _0x242169=a1_0x4d8c58,_0x3aec56={'MmMUv':_0x242169(0x11b),'jCuwY':_0x242169(0x16f),'ukJNL':function(_0x20b8f8){return _0x20b8f8();},'pTgaO':function(_0x45bee3,_0xebf049){return _0x45bee3(_0xebf049);},'tJTgE':function(_0x3bfb8f,_0x30a835,_0x323bc3){return _0x3bfb8f(_0x30a835,_0x323bc3);},'kqmwA':function(_0x3d3ae5,_0x4d83fc){return _0x3d3ae5(_0x4d83fc);},'ooacC':function(_0x577691,_0x33c6b7,_0x322d18,_0x538e82){return _0x577691(_0x33c6b7,_0x322d18,_0x538e82);},'miOJB':function(_0x25b227,_0x58ee65){return _0x25b227===_0x58ee65;},'RfVeo':_0x242169(0xf1),'hSmkK':function(_0x1ac9fd,_0x197363,_0x88bfc){return _0x1ac9fd(_0x197363,_0x88bfc);},'VTgpK':function(_0x5d75ff){return _0x5d75ff();},'DycIi':_0x242169(0xd8),'cyRvM':_0x242169(0x114),'lDInZ':'TEST_LOG','PBvjF':function(_0x483f35){return _0x483f35();},'DDFvd':_0x242169(0xd7),'txTSi':function(_0x55b680,_0x509931){return _0x55b680(_0x509931);}};_0x407527[_0x242169(0x116)]&&(global[_0x242169(0x168)]=_0x407527[_0x242169(0x116)]);PerformanceTester[_0x242169(0xe9)]();const _0x12e256=_0x3aec56[_0x242169(0x14c)](getCodeceptDriver),_0x41f48a=new O11yHelper(_0x12e256,_0x407527),_0x12bced=!!CodeceptJS['container'][_0x242169(0x107)](_0x3aec56[_0x242169(0x156)]);global['__driver']=_0x12e256,_0x12e256&&(_0x12bced?_0x3aec56[_0x242169(0xdf)](patchPlaywrightBefore):_0x3aec56['pTgaO'](patchWebDriverBefore,_0x12e256),_0x12e256[_0x242169(0xe5)]=async()=>{const _0x489dfd=_0x242169;if(global[_0x489dfd(0x15c)])await AccessibilityHelper[_0x489dfd(0xfb)](_0x12e256,scripts[_0x489dfd(0x104)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x12e256,scripts[_0x489dfd(0x11f)]);else return logger[_0x489dfd(0x130)](_0x3aec56['MmMUv']),{};},_0x12e256[_0x242169(0x170)]=async()=>{const _0x5dbbf5=_0x242169;if(global[_0x5dbbf5(0x15c)])await AccessibilityHelper[_0x5dbbf5(0xfb)](_0x12e256,scripts['performScan']),await AccessibilityHelper[_0x5dbbf5(0xfb)](_0x12e256,scripts[_0x5dbbf5(0x177)]);else return logger[_0x5dbbf5(0x130)](_0x3aec56['jCuwY']),{};},_0x3aec56['txTSi'](patchSaveScreenshot,_0x12e256)),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)]['all'][_0x242169(0x105)],()=>{const _0x449d52=_0x242169;try{_0x41f48a[_0x449d52(0x15f)](),testOpsHelper[_0x449d52(0x16c)]();}catch(_0x10e793){PerformanceTester[_0x449d52(0x122)](_0x10e793);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x138)][_0x242169(0x10a)],async()=>{const _0x1519d6=_0x242169;try{requestSpy['restore'](),await _0x41f48a[_0x1519d6(0x165)]();}catch(_0x4e496d){PerformanceTester[_0x1519d6(0x122)](_0x4e496d);}finally{PerformanceTester[_0x1519d6(0x108)]();}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x15b)][_0x242169(0x102)],_0x387f10=>{const _0x44981c=_0x242169;try{const _0xf6e437=_0x387f10[_0x44981c(0x111)][_0x44981c(0x121)],_0x2a658a=_0x41f48a[_0x44981c(0x171)](TEST_EVENTS[_0x44981c(0xef)],_0xf6e437);CodeceptRecorder[_0x44981c(0x13a)](()=>_0x41f48a[_0x44981c(0x136)](TEST_EVENTS[_0x44981c(0xef)],_0x2a658a));}catch(_0x160270){PerformanceTester[_0x44981c(0x122)](_0x160270);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x15b)]['passed'],_0x43fec7=>{const _0x3f7f4c=_0x242169;try{const _0x190660=_0x43fec7['ctx']['test'],_0x3cabc5=_0x41f48a[_0x3f7f4c(0x171)](TEST_EVENTS[_0x3f7f4c(0xeb)],_0x190660);CodeceptRecorder[_0x3f7f4c(0x13a)](()=>_0x41f48a[_0x3f7f4c(0x136)](TEST_EVENTS[_0x3f7f4c(0xeb)],_0x3cabc5));}catch(_0x437268){PerformanceTester[_0x3f7f4c(0x122)](_0x437268);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS['event'][_0x242169(0x15b)][_0x242169(0xde)],async(_0x517f3d,_0x2e963d)=>{const _0x22c082=_0x242169;try{const _0x1aad6e=_0x517f3d['ctx'][_0x22c082(0x121)],_0x2016de=_0x41f48a[_0x22c082(0x171)](TEST_EVENTS[_0x22c082(0xeb)],_0x1aad6e,_0x2e963d);CodeceptRecorder['add'](()=>_0x41f48a['fireEvent'](TEST_EVENTS[_0x22c082(0xeb)],_0x2016de));}catch(_0x5f492b){PerformanceTester['captureError'](_0x5f492b);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x121)]['before'],_0x3da5bc=>{const _0x1df288=_0x242169;try{_0x3aec56[_0x1df288(0xdf)](isBrowserstackInfra)&&(_0x12bced&&(global['__workerDetails']={'currentTest':{'name':_0x3da5bc[_0x1df288(0x11c)],'testInfo':{'titlePath':_0x3da5bc['titlePath']()}}}));}catch(_0x4ad76c){PerformanceTester['captureError'](_0x4ad76c);}}),CodeceptJS[_0x242169(0x125)]['dispatcher']['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x121)]['started'],_0x29acbc=>{const _0x10866a=_0x242169;try{const _0x238e42=_0x41f48a[_0x10866a(0x171)](TEST_EVENTS[_0x10866a(0x10c)],_0x29acbc);CodeceptRecorder['add'](()=>_0x41f48a['fireEvent'](TEST_EVENTS[_0x10866a(0x10c)],_0x238e42)),CodeceptRecorder[_0x10866a(0x13a)](async()=>{const _0x1381ff=_0x10866a;_0x3aec56[_0x1381ff(0xdf)](isBrowserstackInfra)&&(!_0x3aec56[_0x1381ff(0x13c)](isTrue,_0x407527[_0x1381ff(0x173)])&&await _0x3aec56[_0x1381ff(0x172)](markSessionName,_0x12e256,_0x29acbc[_0x1381ff(0x11c)]),_0x41f48a[_0x1381ff(0xfe)]&&await _0x3aec56[_0x1381ff(0x163)](o11ySync,_0x12e256));});}catch(_0x3e7fab){PerformanceTester[_0x10866a(0x122)](_0x3e7fab);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)]['test'][_0x242169(0x10e)],_0x381810=>{const _0x1c371a=_0x242169,_0x1def27={'kuVBZ':function(_0x2299ca){const _0x21e1dc=a1_0x281d;return _0x3aec56[_0x21e1dc(0xdf)](_0x2299ca);},'kOzGx':function(_0x2da006,_0x533ddf,_0x2e24b8){const _0x489ba8=a1_0x281d;return _0x3aec56[_0x489ba8(0x172)](_0x2da006,_0x533ddf,_0x2e24b8);}};try{const _0x4e0890=_0x41f48a[_0x1c371a(0x171)](TEST_EVENTS[_0x1c371a(0x16d)],_0x381810);CodeceptRecorder[_0x1c371a(0x13a)](()=>_0x41f48a[_0x1c371a(0x136)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4e0890)),CodeceptRecorder[_0x1c371a(0x13a)](async()=>{const _0x41a2c7=_0x1c371a;_0x1def27['kuVBZ'](isBrowserstackInfra)&&(_0x12bced?await _0x1def27[_0x41a2c7(0x103)](playwrightMarkSessionStatus,_0x12e256,STATE_PASSED):await _0x1def27[_0x41a2c7(0x103)](markSessionStatus,_0x12e256,STATE_PASSED));});}catch(_0x41d673){PerformanceTester['captureError'](_0x41d673);}}),CodeceptJS['event'][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x121)]['failed'],(_0x42a08c,_0x79a7a)=>{const _0x19373b=_0x242169;try{if(_0x3aec56['miOJB'](_0x42a08c['constructor']['name'],_0x3aec56[_0x19373b(0x101)])){const _0xa22633=_0x41f48a[_0x19373b(0x171)](TEST_EVENTS[_0x19373b(0x13d)],_0x42a08c[_0x19373b(0x111)][_0x19373b(0xea)]);CodeceptRecorder[_0x19373b(0x13a)](()=>_0x41f48a[_0x19373b(0x136)](TEST_EVENTS[_0x19373b(0x13d)],_0xa22633));}else{const _0x3550fc=_0x41f48a[_0x19373b(0x171)](TEST_EVENTS[_0x19373b(0x16d)],_0x42a08c,_0x79a7a);CodeceptRecorder[_0x19373b(0x13a)](()=>{const _0x7e8b75=_0x19373b;try{_0x41f48a['fireEvent'](TEST_EVENTS[_0x7e8b75(0x16d)],_0x3550fc);}catch(_0x392d91){logger['debug'](_0x7e8b75(0x16a)+util[_0x7e8b75(0x123)](_0x392d91));}}),CodeceptRecorder[_0x19373b(0x13a)](async()=>{const _0x37bfbc=_0x19373b;try{_0x3aec56[_0x37bfbc(0xdf)](isBrowserstackInfra)&&(_0x12bced?await _0x3aec56[_0x37bfbc(0x110)](playwrightMarkSessionStatus,_0x12e256,STATE_FAILED,_0x79a7a):await _0x3aec56[_0x37bfbc(0x110)](markSessionStatus,_0x12e256,STATE_FAILED,_0x79a7a));}catch(_0x2f11a2){logger[_0x37bfbc(0xf6)](_0x37bfbc(0xe3)+util['format'](_0x2f11a2));}});}}catch(_0x4960fa){PerformanceTester['captureError'](_0x4960fa);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x121)][_0x242169(0x11a)],_0x1cffaa=>{const _0x74a390=_0x242169;try{const _0x44f283=_0x41f48a[_0x74a390(0x171)](TEST_EVENTS[_0x74a390(0x13d)],_0x1cffaa);CodeceptRecorder['add'](()=>_0x41f48a[_0x74a390(0x136)](TEST_EVENTS[_0x74a390(0x13d)],_0x44f283));}catch(_0xc80a7f){PerformanceTester[_0x74a390(0x122)](_0xc80a7f);}}),CodeceptJS['event'][_0x242169(0x13e)]['on'](CodeceptJS['event'][_0x242169(0x121)][_0x242169(0x10a)],async(_0x4a07a8,_0x1b8a30)=>{const _0x25ff80=_0x242169;try{if(_0x3aec56[_0x25ff80(0xdf)](isBrowserstackInfra)){const _0x51136c=_0x3aec56[_0x25ff80(0x146)](shouldScanTestForAccessibility,_0x4a07a8[_0x25ff80(0x119)](),!![]);if(_0x3aec56[_0x25ff80(0x112)](isAccessibilityAutomationSession)&&global[_0x25ff80(0x15c)]&&_0x51136c){const _0x37a180={};_0x37a180['thTestRunUuid']=_0x4a07a8[_0x25ff80(0x150)],_0x37a180[_0x25ff80(0x10f)]=process[_0x25ff80(0xf0)][testHubConstants['ENV_VAR'][_0x25ff80(0xe0)]],_0x37a180['thJwtToken']=process[_0x25ff80(0xf0)][testHubConstants[_0x25ff80(0x118)][_0x25ff80(0xe1)]];const _0x2fc09b=_0x37a180;logger[_0x25ff80(0xf6)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x25ff80(0x10b)](_0x2fc09b)),CodeceptRecorder[_0x25ff80(0x13a)](async()=>{const _0x36ef0b=_0x25ff80;await AccessibilityHelper[_0x36ef0b(0xfb)](_0x12e256,scripts[_0x36ef0b(0x104)]),await AccessibilityHelper[_0x36ef0b(0xfb)](_0x12e256,scripts[_0x36ef0b(0x160)],_0x2fc09b);}),logger['info'](_0x3aec56[_0x25ff80(0x143)]);}}}catch(_0xaf1d62){PerformanceTester[_0x25ff80(0x122)](_0xaf1d62);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)]['step'][_0x242169(0x167)],_0x52d28b=>{const _0x79699a=_0x242169;try{process['emit'](_0x79699a(0x151)+process[_0x79699a(0x153)],{'timestamp':new Date()[_0x79699a(0x14b)](),'level':_0x3aec56[_0x79699a(0x12c)],'message':_0x52d28b,'kind':_0x3aec56[_0x79699a(0x158)],'http_response':{}});}catch(_0x2e18b4){PerformanceTester[_0x79699a(0x122)](_0x2e18b4);}}),CodeceptJS['event'][_0x242169(0x13e)]['on'](CodeceptJS['event'][_0x242169(0xf3)]['before'],_0x2be9ae=>{const _0x1b0aa2=_0x242169;_0x41f48a[_0x1b0aa2(0xda)](_0x2be9ae);}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0xf3)][_0x242169(0x10a)],_0x2d6979=>{const _0x11d7fe=_0x242169;_0x41f48a[_0x11d7fe(0x17b)](_0x2d6979);});};function a1_0x281d(_0x24b181,_0x51561f){const _0x28d2a2=a1_0x28d2();return a1_0x281d=function(_0x281df7,_0x50ea5d){_0x281df7=_0x281df7-0xd7;let _0x275cfa=_0x28d2a2[_0x281df7];return _0x275cfa;},a1_0x281d(_0x24b181,_0x51561f);}function a1_0x28d2(){const _0x18e8f6=['BS_TESTOPS_ALLOW_SCREENSHOTS','after','stringify','TEST_RUN_STARTED','toString','passed','thBuildUuid','ooacC','ctx','VTgpK','oBBZr','INFO','filter','skipSessionStatus','cvqLJ','ENV_VAR','titlePath','skipped','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','title','_before','../../bin/playwright/sessionDetails','getResultsSummary','commandsToWrap','test','captureError','format','codeceptjs/lib/helper/WebDriver.js','event','hoGvN','forEach','Performing\x20scan\x20for\x20','../../helpers/accessibility-automation/helper','codeceptjs/lib/recorder.js','saveScreenshot','cyRvM','pbkcQ','patch','executeScript','warn','arguments','mkZkr','6ydKBzR','../../helpers/accessibility-automation/scripts','getSyncScript','fireEvent','ceHbE','all','dpsfV','add','prototype','pTgaO','TEST_RUN_SKIPPED','dispatcher','container','codeceptjs/lib/helper/Playwright.js','class','name','DycIi','SOMYZ','bstackAllyScanning','hSmkK','jRMlS','codeceptjs/lib/utils.js','winstonLogger','action','toISOString','PBvjF','../../helpers/performance-tester','find','ldCQA','testAnalyticsId','bs:addLog:','screenshotOutputFolder','pid','../../helpers/test-observability/utils','readFileSync','DDFvd','slice','lDInZ','../../helpers/logger','constructor','hook','accessibilityPlatform','QVGjV','11mUCDyy','start','saveTestResults','423073ZgSRzX','Element','kqmwA','status','stop','PJxGq','comment','__skipSessionStatus','bkGrJ','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','605685rfErsJ','addRequestSpy','TEST_RUN_FINISHED','initSaveScreenshot','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','getAccessibilityResults','captureEvent','tJTgE','skipSessionName','setSessionStatus','2011aHGPnR','128950yswHyG','getResults','browserContext','browser','24nIratt','bddStepFinish','Playwright','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','136NkZvxS','bddStepStart','3431640pvBqYK','patchSaveScreenshot','xIvZF','failed','ukJNL','BROWSERSTACK_TESTHUB_UUID','BROWSERSTACK_TESTHUB_JWT','base64','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','153lRWjfO','getAccessibilityResultsSummary','GPmFS','VTxbX','emit','startMonitoring','currentTest','HOOK_RUN_FINISHED','browserstack_executor:\x20','MiAKI','../../helpers/request-spy','HOOK_RUN_STARTED','env','Suite','198152EBvqFo','bddStep','335337OLaYTe','LYfSR','debug','WebDriver','catch','apply','contexts','browserStackExecuteDriver','util','eCIIq','enabled','WzJQj','cXwTO','RfVeo','started','kOzGx','performScan','before','then','helpers','stopMonitoring'];a1_0x28d2=function(){return _0x18e8f6;};return a1_0x28d2();}
|
|
1
|
+
function a1_0x528b(){const _0x28ba22=['DtUoc','skipped','Yiemm','stringify','ctx','contexts','browserStackExecuteDriver','setSessionName','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','bstackAllyScanning','sabAH','format','gdRwm','../../helpers/accessibility-automation/helper','unJLT','oqZuA','setSessionStatus','Element','codeceptjs/lib/utils.js','1407HAymMK','nualr','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','patchSaveScreenshot','started','stop','_before','before','AKJzm','reason','ngFPi','catch','Vwubh','rQLOt','11rtmONs','307587xaahUu','1234815ctQJLF','dispatcher','187274DntnPS','warn','commandsToWrap','TEST_SCREENSHOT','nFSLR','currentTest','constructor','16NpxnNt','executeScript','filter','exports','shouldWrapCommand','status','find','performScan','wxezK','3162xOjoXe','../../bin/playwright/sessionDetails','base64','emit','codeceptjs/lib/recorder.js','jLSVD','toISOString','call','getResults','./helper.js','bind','ENV_VAR','winstonLogger','screenshotOutputFolder','saveScreenshot','wxUzp','pid','env','getSyncScript','HOOK_RUN_FINISHED','569340okwqBD','../../helpers/testhub/constants.js','patch','passed','accessibilityPlatform','hook','info','thJwtToken','captureEvent','event','start','initSaveScreenshot','1ycrAar','220392halkrB','helpers','startMonitoring','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','KgPtq','KteYz','BROWSERSTACK_TESTHUB_JWT','getAccessibilityResultsSummary','TestCafe','__driver','sHYdz','util','ZRMhM','getResultsSummary','fireEvent','toString','bddStepStart','../../helpers/logger','name','pKaDT','INFO','HOOK_RUN_STARTED','browser','./o11yHelper','addRequestSpy','nxeoD','xxCwe','skipSessionName','mogpW','thTestRunUuid','TEST_LOG','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','../../helpers/accessibility-automation/scripts','stopMonitoring','PKMgQ','browserstack_executor:\x20','readFileSync','acIjz','testAnalyticsId','browserContext','__skipSessionStatus','rdgZU','TEST_RUN_STARTED','WebDriver','ZElaG','slice','arguments','titlePath','captureError','EJnbj','lvbEy','pZKkD','udGjp','restore','Playwright','BS_TESTOPS_ALLOW_SCREENSHOTS','step','comment','TEST_RUN_FINISHED','forEach','enabled','../../helpers/helper','getAccessibilityResults','kAcvx','__workerDetails','jAjsN','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','prototype','eOzOQ','bs:addLog:','failed','TEST_RUN_SKIPPED','test','Performing\x20scan\x20for\x20','vNrrN','add','title','dsJJq','InTjc','apply','bddStepFinish','codeceptjs/lib/helper/Playwright.js','856430fTKSwC','wsbJW','class','../../helpers/request-spy','GOBwV','after','lrlSb','Suite','debug','../../helpers/test-observability/utils'];a1_0x528b=function(){return _0x28ba22;};return a1_0x528b();}const a1_0x10a98b=a1_0x1755;function a1_0x1755(_0x1d474a,_0x56ea57){const _0x528be3=a1_0x528b();return a1_0x1755=function(_0x175503,_0x464455){_0x175503=_0x175503-0x187;let _0x16ef84=_0x528be3[_0x175503];return _0x16ef84;},a1_0x1755(_0x1d474a,_0x56ea57);}(function(_0x1b0d3a,_0x1fa48f){const _0xb69af7=a1_0x1755,_0xe50c86=_0x1b0d3a();while(!![]){try{const _0x38d11a=parseInt(_0xb69af7(0x1b8))/0x1*(-parseInt(_0xb69af7(0x188))/0x2)+-parseInt(_0xb69af7(0x237))/0x3+parseInt(_0xb69af7(0x1ac))/0x4+parseInt(_0xb69af7(0x238))/0x5+-parseInt(_0xb69af7(0x198))/0x6*(parseInt(_0xb69af7(0x228))/0x7)+parseInt(_0xb69af7(0x18f))/0x8*(-parseInt(_0xb69af7(0x1b9))/0x9)+-parseInt(_0xb69af7(0x20b))/0xa*(-parseInt(_0xb69af7(0x236))/0xb);if(_0x38d11a===_0x1fa48f)break;else _0xe50c86['push'](_0xe50c86['shift']());}catch(_0x47ee59){_0xe50c86['push'](_0xe50c86['shift']());}}}(a1_0x528b,0x1e3e0));const fs=require('fs'),util=require(a1_0x10a98b(0x1c4)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x10a98b(0x1f6)),logger=require(a1_0x10a98b(0x1ca))[a1_0x10a98b(0x1a4)],testOpsHelper=require(a1_0x10a98b(0x214)),requestSpy=require(a1_0x10a98b(0x20e)),PlaywrightSessionDetails=require(a1_0x10a98b(0x199)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x10a98b(0x1d0)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x10a98b(0x222)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x10a98b(0x1d9)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x10a98b(0x1a1)),testHubConstants=require(a1_0x10a98b(0x1ad)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x10a98b(0x227)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js'),CodeceptRecorder=requireModule(a1_0x10a98b(0x19c)),CodeceptPlaywright=requireModule(a1_0x10a98b(0x20a)),playwrightMarkSessionStatus=(_0x550118,_0x5d2edb,_0x2a72b2)=>{const _0x1a01b2=a1_0x10a98b,_0x415f92={'vNrrN':_0x1a01b2(0x225),'pKaDT':function(_0xb72337,_0x1432df){return _0xb72337(_0x1432df);}},_0x10a592={};_0x10a592[_0x1a01b2(0x194)]=_0x5d2edb;const _0xfe7f42={};_0xfe7f42['action']=_0x415f92[_0x1a01b2(0x203)],_0xfe7f42[_0x1a01b2(0x1e7)]=_0x10a592;const _0x23b249=_0xfe7f42;return!_0x415f92[_0x1a01b2(0x1cc)](isUndefined,_0x2a72b2)&&(_0x23b249[_0x1a01b2(0x1e7)][_0x1a01b2(0x231)]=JSON[_0x1a01b2(0x218)](_0x2a72b2)),_0x550118[_0x1a01b2(0x190)](()=>{},'browserstack_executor:\x20'+JSON[_0x1a01b2(0x218)](_0x23b249));},o11ySync=async _0x2e5ccd=>{const _0x421b70=a1_0x10a98b,_0x53b779={};_0x53b779[_0x421b70(0x235)]=function(_0x4c8fc0,_0x14826d){return _0x4c8fc0===_0x14826d;},_0x53b779[_0x421b70(0x1a7)]=_0x421b70(0x1ef);const _0x198cc2=_0x53b779;_0x198cc2['rQLOt'](_0x2e5ccd[_0x421b70(0x18e)][_0x421b70(0x1cb)],_0x198cc2[_0x421b70(0x1a7)])?await _0x2e5ccd[_0x421b70(0x190)](_0x33f463=>{},testOpsHelper[_0x421b70(0x1aa)]()):await _0x2e5ccd['executeScript'](testOpsHelper['getSyncScript']());},markSessionName=async(_0x51c3bd,_0xb4c71d)=>{const _0x14b1de=a1_0x10a98b,_0xaaffed={};_0xaaffed['dsJJq']=_0x14b1de(0x21c),_0xaaffed['xxCwe']=function(_0xbb004d,_0x44448d){return _0xbb004d===_0x44448d;},_0xaaffed[_0x14b1de(0x1d2)]=_0x14b1de(0x1ef);const _0xd7092c=_0xaaffed,_0x2f196a={};_0x2f196a[_0x14b1de(0x1cb)]=_0xb4c71d;const _0x4bf2a8={};_0x4bf2a8['action']=_0xd7092c[_0x14b1de(0x206)],_0x4bf2a8[_0x14b1de(0x1e7)]=_0x2f196a;const _0x23a659=_0x4bf2a8;_0xd7092c[_0x14b1de(0x1d3)](_0x51c3bd['constructor']['name'],_0xd7092c[_0x14b1de(0x1d2)])?await _0x51c3bd[_0x14b1de(0x190)](()=>{},_0x14b1de(0x1dc)+JSON[_0x14b1de(0x218)](_0x23a659)):await _0x51c3bd['executeScript']('browserstack_executor:\x20'+JSON['stringify'](_0x23a659));},patchSaveScreenshot=_0x464d0e=>{const _0x285819=a1_0x10a98b,_0x459607={'Yiemm':_0x285819(0x19a),'mogpW':_0x285819(0x18b),'udGjp':function(_0x8d5632){return _0x8d5632();},'oqZuA':function(_0x1bc85a,_0x3cf06a){return _0x1bc85a(_0x3cf06a);}};_0x459607[_0x285819(0x224)](isTrue,process[_0x285819(0x1a9)][_0x285819(0x1f0)])&&!_0x464d0e[_0x285819(0x22b)]&&(_0x464d0e[_0x285819(0x22b)]=!![],_0x464d0e[_0x285819(0x1b7)]=_0x464d0e['saveScreenshot'],_0x464d0e[_0x285819(0x1a6)]=(_0x36e46e,_0x2e3ba2=![])=>{const _0x55d834=_0x285819,_0x326282={'jLSVD':_0x459607[_0x55d834(0x217)],'eOzOQ':_0x459607[_0x55d834(0x1d5)],'pZKkD':function(_0x269d62){const _0x6bb358=_0x55d834;return _0x459607[_0x6bb358(0x1ed)](_0x269d62);}};return new Promise(function(_0x18fbfc,_0x13fd99){const _0x123f8f=_0x55d834;_0x464d0e[_0x123f8f(0x1b7)](_0x36e46e,_0x2e3ba2)['then'](()=>{const _0x264f63=_0x123f8f,_0x9b5c32=CodeceptUtils[_0x264f63(0x1a5)](_0x36e46e),_0x2f5466=fs[_0x264f63(0x1dd)](_0x9b5c32);process[_0x264f63(0x19b)](_0x264f63(0x1fe)+process['pid'],{'timestamp':new Date()[_0x264f63(0x19e)](),'message':_0x2f5466[_0x264f63(0x1c8)](_0x326282[_0x264f63(0x19d)]),'kind':_0x326282[_0x264f63(0x1fd)]}),_0x326282[_0x264f63(0x1ec)](_0x18fbfc);})[_0x123f8f(0x233)](()=>null);});});},patchWebDriverBefore=_0x1a3b1a=>{const _0x198d26=a1_0x10a98b,_0x20c547={'CngGH':function(_0x6c3803){return _0x6c3803();},'acIjz':function(_0x490960,_0x22ab5f){return _0x490960(_0x22ab5f);},'unJLT':function(_0x3e5757,_0x5b5b86){return _0x3e5757===_0x5b5b86;},'sabAH':_0x198d26(0x226)},_0x5297ad=async function(_0x40ec91,_0x1cb83d){const _0x4b6b0d=_0x198d26;return _0x20c547['CngGH'](isAccessibilityAutomationSession)&&!global[_0x4b6b0d(0x21e)]&&global[_0x4b6b0d(0x1b0)]&&scripts[_0x4b6b0d(0x193)](_0x40ec91[_0x4b6b0d(0x1cb)])&&_0x20c547[_0x4b6b0d(0x1de)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4b6b0d(0x21e)]=!![],logger[_0x4b6b0d(0x213)](_0x4b6b0d(0x202)+_0x40ec91[_0x4b6b0d(0x20d)]+'\x20'+_0x40ec91['name']),await AccessibilityHelper[_0x4b6b0d(0x21b)](_0x1a3b1a,scripts[_0x4b6b0d(0x196)])),global[_0x4b6b0d(0x21e)]=![],_0x1cb83d['apply'](this,Array[_0x4b6b0d(0x1fc)][_0x4b6b0d(0x1e6)][_0x4b6b0d(0x19f)](arguments,0x2));},_0x207cce=CodeceptWebDriver['prototype'][_0x198d26(0x22e)];CodeceptWebDriver[_0x198d26(0x1fc)]['_before']=async function(){const _0x2aa39d=_0x198d26,_0x21cb85={'wxezK':function(_0x573e6f,_0x31fb25){const _0xe94f20=a1_0x1755;return _0x20c547[_0xe94f20(0x223)](_0x573e6f,_0x31fb25);},'EJnbj':_0x20c547[_0x2aa39d(0x21f)]};await _0x207cce[_0x2aa39d(0x208)](this,arguments),scripts[_0x2aa39d(0x18a)][_0x2aa39d(0x191)](_0x20a817=>_0x20a817['name']&&_0x20a817[_0x2aa39d(0x20d)])[_0x2aa39d(0x1f4)](_0x1db1fd=>{const _0x3d66be=_0x2aa39d;this[_0x3d66be(0x1cf)]['overwriteCommand'](_0x1db1fd[_0x3d66be(0x1cb)],_0x5297ad[_0x3d66be(0x1a2)](this,_0x1db1fd),_0x21cb85[_0x3d66be(0x197)](_0x1db1fd[_0x3d66be(0x20d)],_0x21cb85[_0x3d66be(0x1ea)]));}),_0x20c547[_0x2aa39d(0x1de)](processWebDriverConfig,_0x1a3b1a);};},patchPlaywrightBefore=()=>{const _0x3c6062=a1_0x10a98b;PlaywrightSessionDetails[_0x3c6062(0x1ae)]();const _0x491a9a=CodeceptPlaywright['prototype'][_0x3c6062(0x22e)];CodeceptPlaywright[_0x3c6062(0x1fc)]['_before']=async function(){const _0x4c84cd=_0x3c6062;this[_0x4c84cd(0x1e0)]=await this[_0x4c84cd(0x1cf)][_0x4c84cd(0x21a)]()[0x0],await _0x491a9a['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x5a5e3a=a1_0x10a98b,_0x51f8a0={};_0x51f8a0[_0x5a5e3a(0x1f8)]=_0x5a5e3a(0x1e4),_0x51f8a0['sZSrJ']=_0x5a5e3a(0x1ef),_0x51f8a0[_0x5a5e3a(0x221)]='Puppeteer',_0x51f8a0['nFSLR']=_0x5a5e3a(0x1c1);const _0x1b27e4=_0x51f8a0,_0x5c9981=[_0x1b27e4['kAcvx'],_0x1b27e4['sZSrJ'],_0x1b27e4['gdRwm'],_0x1b27e4[_0x5a5e3a(0x18c)]],_0x35498e=_0x5c9981[_0x5a5e3a(0x195)](_0x916892=>!!CodeceptJS['container']['helpers'](_0x916892));if(!_0x35498e)return null;return CodeceptJS['container'][_0x5a5e3a(0x1ba)](_0x35498e);};module[a1_0x10a98b(0x192)]=function(_0x2b361f){const _0x180893=a1_0x10a98b,_0x7c83eb={'ZElaG':_0x180893(0x21d),'ngFPi':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','KgPtq':function(_0x11824b){return _0x11824b();},'jAjsN':function(_0x588f2e){return _0x588f2e();},'InTjc':function(_0x398577,_0x505c53){return _0x398577(_0x505c53);},'GOBwV':function(_0x4abb45,_0x32abc8,_0x431d82){return _0x4abb45(_0x32abc8,_0x431d82);},'jVCUj':function(_0x34f0a8){return _0x34f0a8();},'wsbJW':function(_0x524cd1,_0x2bb9fd,_0x5b8e3d){return _0x524cd1(_0x2bb9fd,_0x5b8e3d);},'Vwubh':function(_0xf1e82c,_0x5dde24,_0x753399,_0x32e309){return _0xf1e82c(_0x5dde24,_0x753399,_0x32e309);},'lrlSb':function(_0x38484a,_0x2e2da2){return _0x38484a===_0x2e2da2;},'PKMgQ':_0x180893(0x212),'DtUoc':function(_0x208e36,_0x9cb4e6,_0x168a88){return _0x208e36(_0x9cb4e6,_0x168a88);},'ensUv':function(_0x329d0c){return _0x329d0c();},'KteYz':_0x180893(0x1bc),'zFhxF':_0x180893(0x1cd),'YsWeC':_0x180893(0x1d7),'lvbEy':function(_0x34b372){return _0x34b372();},'XkjIx':'Playwright','rdgZU':function(_0x431c00){return _0x431c00();},'uwJkV':function(_0x14a4b4,_0x2d5560){return _0x14a4b4(_0x2d5560);},'nKQiJ':function(_0x1bc2b1,_0x1e6184){return _0x1bc2b1(_0x1e6184);}};_0x2b361f['skipSessionStatus']&&(global[_0x180893(0x1e1)]=_0x2b361f['skipSessionStatus']);PerformanceTester[_0x180893(0x1bb)]();const _0x13a220=_0x7c83eb[_0x180893(0x1eb)](getCodeceptDriver),_0x1035d3=new O11yHelper(_0x13a220,_0x2b361f),_0x329e20=!!CodeceptJS['container'][_0x180893(0x1ba)](_0x7c83eb['XkjIx']);global[_0x180893(0x1c2)]=_0x13a220,_0x13a220&&(_0x329e20?_0x7c83eb[_0x180893(0x1e2)](patchPlaywrightBefore):_0x7c83eb['uwJkV'](patchWebDriverBefore,_0x13a220),_0x13a220[_0x180893(0x1c0)]=async()=>{const _0x5d0587=_0x180893;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x5d0587(0x21b)](_0x13a220,scripts[_0x5d0587(0x196)]),await AccessibilityHelper[_0x5d0587(0x21b)](_0x13a220,scripts[_0x5d0587(0x1c6)]);else return logger[_0x5d0587(0x189)](_0x7c83eb[_0x5d0587(0x1e5)]),{};},_0x13a220[_0x180893(0x1f7)]=async()=>{const _0x4d57af=_0x180893;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x4d57af(0x21b)](_0x13a220,scripts[_0x4d57af(0x196)]),await AccessibilityHelper[_0x4d57af(0x21b)](_0x13a220,scripts[_0x4d57af(0x1a0)]);else return logger[_0x4d57af(0x189)](_0x7c83eb[_0x4d57af(0x232)]),{};},_0x7c83eb['nKQiJ'](patchSaveScreenshot,_0x13a220)),CodeceptJS[_0x180893(0x1b5)]['dispatcher']['on'](CodeceptJS[_0x180893(0x1b5)]['all'][_0x180893(0x22f)],()=>{const _0x580e88=_0x180893;try{_0x1035d3[_0x580e88(0x1b6)](),testOpsHelper[_0x580e88(0x1d1)]();}catch(_0xcb90f0){PerformanceTester[_0x580e88(0x1e9)](_0xcb90f0);}}),CodeceptJS[_0x180893(0x1b5)][_0x180893(0x187)]['on'](CodeceptJS[_0x180893(0x1b5)]['all'][_0x180893(0x210)],async()=>{const _0x98248b=_0x180893;try{requestSpy[_0x98248b(0x1ee)](),await _0x1035d3[_0x98248b(0x22d)]();}catch(_0x26eaed){PerformanceTester['captureError'](_0x26eaed);}finally{PerformanceTester[_0x98248b(0x1da)]();}}),CodeceptJS['event'][_0x180893(0x187)]['on'](CodeceptJS[_0x180893(0x1b5)]['hook'][_0x180893(0x22c)],_0x57ed68=>{const _0x4a57a5=_0x180893;try{const _0x139c74=_0x57ed68[_0x4a57a5(0x219)][_0x4a57a5(0x201)],_0x1c7a68=_0x1035d3[_0x4a57a5(0x1b4)](TEST_EVENTS[_0x4a57a5(0x1ce)],_0x139c74);CodeceptRecorder[_0x4a57a5(0x204)](()=>_0x1035d3[_0x4a57a5(0x1c7)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x1c7a68));}catch(_0x167073){PerformanceTester[_0x4a57a5(0x1e9)](_0x167073);}}),CodeceptJS[_0x180893(0x1b5)]['dispatcher']['on'](CodeceptJS[_0x180893(0x1b5)][_0x180893(0x1b1)][_0x180893(0x1af)],_0x2db28b=>{const _0x248eae=_0x180893;try{const _0xfb2a86=_0x2db28b['ctx'][_0x248eae(0x201)],_0xdd8cc9=_0x1035d3[_0x248eae(0x1b4)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0xfb2a86);CodeceptRecorder[_0x248eae(0x204)](()=>_0x1035d3[_0x248eae(0x1c7)](TEST_EVENTS[_0x248eae(0x1ab)],_0xdd8cc9));}catch(_0x391ba4){PerformanceTester[_0x248eae(0x1e9)](_0x391ba4);}}),CodeceptJS[_0x180893(0x1b5)][_0x180893(0x187)]['on'](CodeceptJS['event']['hook'][_0x180893(0x1ff)],async(_0x56234e,_0x2d791c)=>{const _0xa03fad=_0x180893;try{const _0x1db616=_0x56234e[_0xa03fad(0x219)][_0xa03fad(0x201)],_0x71d4ec=_0x1035d3['captureEvent'](TEST_EVENTS[_0xa03fad(0x1ab)],_0x1db616,_0x2d791c);CodeceptRecorder['add'](()=>_0x1035d3[_0xa03fad(0x1c7)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x71d4ec));}catch(_0x33e9e9){PerformanceTester[_0xa03fad(0x1e9)](_0x33e9e9);}}),CodeceptJS[_0x180893(0x1b5)][_0x180893(0x187)]['on'](CodeceptJS[_0x180893(0x1b5)][_0x180893(0x201)][_0x180893(0x22f)],_0x53c424=>{const _0x45fe65=_0x180893;try{_0x7c83eb[_0x45fe65(0x1bd)](isBrowserstackInfra)&&(_0x329e20&&(global[_0x45fe65(0x1f9)]={'currentTest':{'name':_0x53c424[_0x45fe65(0x205)],'testInfo':{'titlePath':_0x53c424[_0x45fe65(0x1e8)]()}}}));}catch(_0x183045){PerformanceTester[_0x45fe65(0x1e9)](_0x183045);}}),CodeceptJS[_0x180893(0x1b5)][_0x180893(0x187)]['on'](CodeceptJS['event'][_0x180893(0x201)][_0x180893(0x22c)],_0x1bcca8=>{const _0x416103=_0x180893;try{const _0x184828=_0x1035d3[_0x416103(0x1b4)](TEST_EVENTS[_0x416103(0x1e3)],_0x1bcca8);CodeceptRecorder['add'](()=>_0x1035d3['fireEvent'](TEST_EVENTS[_0x416103(0x1e3)],_0x184828)),CodeceptRecorder[_0x416103(0x204)](async()=>{const _0x28fa8b=_0x416103;_0x7c83eb['jAjsN'](isBrowserstackInfra)&&(!_0x7c83eb[_0x28fa8b(0x207)](isTrue,_0x2b361f[_0x28fa8b(0x1d4)])&&await _0x7c83eb[_0x28fa8b(0x20f)](markSessionName,_0x13a220,_0x1bcca8[_0x28fa8b(0x205)]),_0x1035d3[_0x28fa8b(0x1f5)]&&await _0x7c83eb[_0x28fa8b(0x207)](o11ySync,_0x13a220));});}catch(_0x41b9ed){PerformanceTester['captureError'](_0x41b9ed);}}),CodeceptJS[_0x180893(0x1b5)]['dispatcher']['on'](CodeceptJS['event']['test'][_0x180893(0x1af)],_0x4d395b=>{const _0x2924be=_0x180893,_0x407cdf={'ToXXu':function(_0x4229d5){return _0x7c83eb['jVCUj'](_0x4229d5);},'sHYdz':function(_0x2ea7d6,_0x12d620,_0x38b092){const _0x2d2593=a1_0x1755;return _0x7c83eb[_0x2d2593(0x20c)](_0x2ea7d6,_0x12d620,_0x38b092);},'AKJzm':function(_0x5f48dc,_0x51f5df,_0x507149){const _0x2e6dd1=a1_0x1755;return _0x7c83eb[_0x2e6dd1(0x20f)](_0x5f48dc,_0x51f5df,_0x507149);}};try{const _0x58bb3c=_0x1035d3[_0x2924be(0x1b4)](TEST_EVENTS[_0x2924be(0x1f3)],_0x4d395b);CodeceptRecorder[_0x2924be(0x204)](()=>_0x1035d3['fireEvent'](TEST_EVENTS[_0x2924be(0x1f3)],_0x58bb3c)),CodeceptRecorder['add'](async()=>{const _0x50d3ea=_0x2924be;_0x407cdf['ToXXu'](isBrowserstackInfra)&&(_0x329e20?await _0x407cdf[_0x50d3ea(0x1c3)](playwrightMarkSessionStatus,_0x13a220,STATE_PASSED):await _0x407cdf[_0x50d3ea(0x230)](markSessionStatus,_0x13a220,STATE_PASSED));});}catch(_0x56f413){PerformanceTester[_0x2924be(0x1e9)](_0x56f413);}}),CodeceptJS[_0x180893(0x1b5)][_0x180893(0x187)]['on'](CodeceptJS[_0x180893(0x1b5)][_0x180893(0x201)][_0x180893(0x1ff)],(_0xc7677c,_0x2a0d8d)=>{const _0x18feb8=_0x180893,_0x213b6e={'nualr':function(_0x4efa7c){const _0xc138eb=a1_0x1755;return _0x7c83eb[_0xc138eb(0x1fa)](_0x4efa7c);},'ZRMhM':function(_0x2f2430,_0x37d2d1,_0x2c23c3,_0x1f561c){return _0x7c83eb['Vwubh'](_0x2f2430,_0x37d2d1,_0x2c23c3,_0x1f561c);},'yWIdT':function(_0x4a17f8,_0x248875,_0x94c393,_0x532da7){const _0x269a7f=a1_0x1755;return _0x7c83eb[_0x269a7f(0x234)](_0x4a17f8,_0x248875,_0x94c393,_0x532da7);}};try{if(_0x7c83eb[_0x18feb8(0x211)](_0xc7677c[_0x18feb8(0x18e)][_0x18feb8(0x1cb)],_0x7c83eb[_0x18feb8(0x1db)])){const _0x32988d=_0x1035d3[_0x18feb8(0x1b4)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0xc7677c[_0x18feb8(0x219)][_0x18feb8(0x18d)]);CodeceptRecorder['add'](()=>_0x1035d3['fireEvent'](TEST_EVENTS[_0x18feb8(0x200)],_0x32988d));}else{const _0x263e27=_0x1035d3[_0x18feb8(0x1b4)](TEST_EVENTS[_0x18feb8(0x1f3)],_0xc7677c,_0x2a0d8d);CodeceptRecorder[_0x18feb8(0x204)](()=>{const _0x4c7aaa=_0x18feb8;try{_0x1035d3[_0x4c7aaa(0x1c7)](TEST_EVENTS[_0x4c7aaa(0x1f3)],_0x263e27);}catch(_0x121ef7){logger['debug'](_0x4c7aaa(0x1fb)+util[_0x4c7aaa(0x220)](_0x121ef7));}}),CodeceptRecorder['add'](async()=>{const _0xf860f1=_0x18feb8;try{_0x213b6e[_0xf860f1(0x229)](isBrowserstackInfra)&&(_0x329e20?await _0x213b6e[_0xf860f1(0x1c5)](playwrightMarkSessionStatus,_0x13a220,STATE_FAILED,_0x2a0d8d):await _0x213b6e['yWIdT'](markSessionStatus,_0x13a220,STATE_FAILED,_0x2a0d8d));}catch(_0x2b341f){logger[_0xf860f1(0x213)](_0xf860f1(0x1d8)+util[_0xf860f1(0x220)](_0x2b341f));}});}}catch(_0x426636){PerformanceTester['captureError'](_0x426636);}}),CodeceptJS[_0x180893(0x1b5)]['dispatcher']['on'](CodeceptJS[_0x180893(0x1b5)][_0x180893(0x201)][_0x180893(0x216)],_0x16181e=>{const _0xdad1c9=_0x180893;try{const _0x179101=_0x1035d3[_0xdad1c9(0x1b4)](TEST_EVENTS[_0xdad1c9(0x200)],_0x16181e);CodeceptRecorder[_0xdad1c9(0x204)](()=>_0x1035d3['fireEvent'](TEST_EVENTS[_0xdad1c9(0x200)],_0x179101));}catch(_0x493b9c){PerformanceTester[_0xdad1c9(0x1e9)](_0x493b9c);}}),CodeceptJS[_0x180893(0x1b5)][_0x180893(0x187)]['on'](CodeceptJS['event'][_0x180893(0x201)][_0x180893(0x210)],async(_0x3f5810,_0x31c40c)=>{const _0x55e886=_0x180893;try{if(_0x7c83eb['jAjsN'](isBrowserstackInfra)){const _0x3676bd=_0x7c83eb[_0x55e886(0x215)](shouldScanTestForAccessibility,_0x3f5810[_0x55e886(0x1e8)](),!![]);if(_0x7c83eb['ensUv'](isAccessibilityAutomationSession)&&global[_0x55e886(0x1b0)]&&_0x3676bd){const _0x3a1e4a={};_0x3a1e4a[_0x55e886(0x1d6)]=_0x3f5810[_0x55e886(0x1df)],_0x3a1e4a['thBuildUuid']=process['env'][testHubConstants[_0x55e886(0x1a3)]['BROWSERSTACK_TESTHUB_UUID']],_0x3a1e4a[_0x55e886(0x1b3)]=process[_0x55e886(0x1a9)][testHubConstants['ENV_VAR'][_0x55e886(0x1bf)]];const _0x5b5017=_0x3a1e4a;logger['debug'](_0x55e886(0x22a)+JSON[_0x55e886(0x218)](_0x5b5017)),CodeceptRecorder[_0x55e886(0x204)](async()=>{const _0x1c9f73=_0x55e886;await AccessibilityHelper[_0x1c9f73(0x21b)](_0x13a220,scripts[_0x1c9f73(0x196)]),await AccessibilityHelper[_0x1c9f73(0x21b)](_0x13a220,scripts['saveTestResults'],_0x5b5017);}),logger[_0x55e886(0x1b2)](_0x7c83eb[_0x55e886(0x1be)]);}}}catch(_0x241156){PerformanceTester[_0x55e886(0x1e9)](_0x241156);}}),CodeceptJS[_0x180893(0x1b5)][_0x180893(0x187)]['on'](CodeceptJS['event'][_0x180893(0x1f1)][_0x180893(0x1f2)],_0x275084=>{const _0x14504f=_0x180893;try{process['emit'](_0x14504f(0x1fe)+process[_0x14504f(0x1a8)],{'timestamp':new Date()['toISOString'](),'level':_0x7c83eb['zFhxF'],'message':_0x275084,'kind':_0x7c83eb['YsWeC'],'http_response':{}});}catch(_0x85c686){PerformanceTester['captureError'](_0x85c686);}}),CodeceptJS[_0x180893(0x1b5)][_0x180893(0x187)]['on'](CodeceptJS['event']['bddStep'][_0x180893(0x22f)],_0x1b75eb=>{const _0x5ed0fd=_0x180893;_0x1035d3[_0x5ed0fd(0x1c9)](_0x1b75eb);}),CodeceptJS[_0x180893(0x1b5)][_0x180893(0x187)]['on'](CodeceptJS[_0x180893(0x1b5)]['bddStep']['after'],_0x201731=>{const _0x469f95=_0x180893;_0x1035d3[_0x469f95(0x209)](_0x201731);});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x573c(_0x5c1d49,_0x514b65){const _0x16e631=a2_0x16e6();return a2_0x573c=function(_0x573ce8,_0x1d3524){_0x573ce8=_0x573ce8-0xc8;let _0x38b572=_0x16e631[_0x573ce8];return _0x38b572;},a2_0x573c(_0x5c1d49,_0x514b65);}const a2_0x2eb6a2=a2_0x573c;function a2_0x16e6(){const _0x3d6ce3=['1234387rGiBiB','slice','chromium','event','join','useW3C','109118VTaTMM','Workers','format','chdir','push','../../helpers/utilities','playwright-chromium','mDjkE','chrome','4vHsnNs','Passed\x20:\x20','profile','YAulC','Started\x20:\x20','OrKfj','pQZkm','xeWRH','passed','playwright-webkit','require','tzodC','oMrYW','10879488YkYAHL','lNAtr','launchBuild','stop','qNVwY','teardownAll','dZNcR','NkLrQ','failed','pbQdb','ojBiW','printResults','pomWn','winstonLogger','../../helpers/BrowserStackSetup','all','rGiqH','codecept.json','19610tgIARB','mergeDeep','FRAMEWORKS','HAyVz','JKYtr','BROWSERSTACK_RERUN','existsSync','xhabm','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','prepareCapabilities','plugins','testConfig','WebDriver','path','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','SUZBv','vBFSO','bdbZL','testContextOptions','root','trim','BROWSERSTACK_TEST_ACCESSIBILITY_YML','612Zdqyhi','findIndex','debug','stack','codeceptjs','run','Playwright','toLowerCase','log','3632178NZGYXv','cwd','BROWSERSTACK_RERUN_TESTS','test','helpers','getPlaywrightUrl','bootstrapAll','accessibilityOptions','BROWSERSTACK_TEST_OBSERVABILITY_YML','1278978qyLjTK','enabled','handleApp','HttHo','isTestObservabilitySession','webkit','3339039vsKkQv','browserWSEndpoint','testObservability','--config','skipSessionName','skipSessionStatus','info','../../helpers/helper','now','HKUeF','getPlatformName','exports','addConfig','printBuildLink','../../helpers/test-observability/utils','browserName','browser','err','getUserWorkerCount','null','errorMessage','forEach','title','stringify','length','BrowserStackPlugin.js','config','dirname','createGroupsOfSuites','validPlatformsPresent','env','split','desiredCapabilities','-cucumber','CODECEPT','SgDVD','parallelsPerPlatform','5AfZlvx','browserStackCwd','EfeLN','aOHtR','tMzbk','aNFwE','spawn','JBNtl','isUndefined','huzAl'];a2_0x16e6=function(){return _0x3d6ce3;};return a2_0x16e6();}(function(_0x7cbff9,_0x3e35fa){const _0x59c9c5=a2_0x573c,_0x3c323f=_0x7cbff9();while(!![]){try{const _0x793e3b=-parseInt(_0x59c9c5(0xdb))/0x1+parseInt(_0x59c9c5(0x116))/0x2+-parseInt(_0x59c9c5(0xe1))/0x3*(-parseInt(_0x59c9c5(0x11f))/0x4)+-parseInt(_0x59c9c5(0x106))/0x5*(parseInt(_0x59c9c5(0xd2))/0x6)+parseInt(_0x59c9c5(0x110))/0x7+parseInt(_0x59c9c5(0x12c))/0x8+-parseInt(_0x59c9c5(0xc9))/0x9*(parseInt(_0x59c9c5(0x13e))/0xa);if(_0x793e3b===_0x3e35fa)break;else _0x3c323f['push'](_0x3c323f['shift']());}catch(_0x49bccd){_0x3c323f['push'](_0x3c323f['shift']());}}}(a2_0x16e6,0xa7850));const fs=require('fs'),path=require(a2_0x2eb6a2(0x14b)),util=require('util'),process=require('process'),logger=require('../../helpers/logger')[a2_0x2eb6a2(0x139)],{default:BrowserStackSetup}=require(a2_0x2eb6a2(0x13a)),helper=require(a2_0x2eb6a2(0xe8)),utilities=require(a2_0x2eb6a2(0x11b)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x2eb6a2(0xe8)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x2eb6a2(0xef)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x489f1c,_0x38ecf1)=>{const _0x439e53=a2_0x2eb6a2,_0x557d1f={};_0x557d1f['oMrYW']=function(_0x6675cd,_0x1c06f6){return _0x6675cd===_0x1c06f6;},_0x557d1f['xeWRH']='codecept.conf.js',_0x557d1f[_0x439e53(0x136)]=_0x439e53(0x13d);const _0x1c4b16=_0x557d1f;let _0x54bed3=null;const _0x1c87c1={};let _0x37cca7=_0x38ecf1[_0x439e53(0xca)](_0x1c1eb5=>_0x1c1eb5===_0x439e53(0xe4));_0x1c4b16[_0x439e53(0x12b)](_0x37cca7,-0x1)&&(_0x37cca7=_0x38ecf1[_0x439e53(0xca)](_0x11fea7=>_0x11fea7==='-c'));if(!helper[_0x439e53(0x10e)](_0x489f1c[_0x439e53(0xfb)])&&fs[_0x439e53(0x144)](path[_0x439e53(0x114)](process[_0x439e53(0xd3)](),_0x489f1c[_0x439e53(0xfb)])))_0x54bed3=path[_0x439e53(0x114)](process['cwd'](),_0x489f1c[_0x439e53(0xfb)]),_0x38ecf1['slice'](_0x37cca7,0x2);else{if(!helper[_0x439e53(0x10e)](_0x489f1c['c'])&&fs[_0x439e53(0x144)](path['join'](process[_0x439e53(0xd3)](),_0x489f1c['c'])))_0x54bed3=path['join'](process[_0x439e53(0xd3)](),_0x489f1c['c']),_0x38ecf1[_0x439e53(0x111)](_0x37cca7,0x2);else{if(fs[_0x439e53(0x144)](path[_0x439e53(0x114)](process[_0x439e53(0xd3)](),_0x1c4b16[_0x439e53(0x126)])))_0x54bed3=path[_0x439e53(0x114)](process['cwd'](),_0x1c4b16[_0x439e53(0x126)]);else fs[_0x439e53(0x144)](path[_0x439e53(0x114)](process[_0x439e53(0xd3)](),_0x1c4b16[_0x439e53(0x136)]))&&(_0x54bed3=path[_0x439e53(0x114)](process[_0x439e53(0xd3)](),_0x1c4b16[_0x439e53(0x136)]));}}return _0x54bed3;},getO11yRerunPattern=()=>{const _0x165ba2=a2_0x2eb6a2,_0x2d9f7b={};_0x2d9f7b[_0x165ba2(0x12a)]=function(_0x389306,_0x4ab985){return _0x389306!==_0x4ab985;},_0x2d9f7b[_0x165ba2(0x108)]=_0x165ba2(0xf4);const _0x393d05=_0x2d9f7b,_0x1eeb7c=helper['isTrue'](process['env'][_0x165ba2(0x143)]);if(_0x1eeb7c){const _0x24797a=process[_0x165ba2(0xff)][_0x165ba2(0xd4)],_0x203ff9=[];if(_0x393d05[_0x165ba2(0x12a)](_0x24797a,_0x393d05[_0x165ba2(0x108)])&&!helper[_0x165ba2(0x10e)](_0x24797a)){_0x24797a[_0x165ba2(0x100)](',')['map'](_0x2aae63=>{const _0x4fd955=_0x165ba2;_0x203ff9[_0x4fd955(0x11a)]('('+_0x2aae63[_0x4fd955(0x152)]()+')');});const _0x217717='^'+_0x203ff9[_0x165ba2(0x114)]('|')+'$';return _0x217717;}}return null;},a2_0x2d7c91={};a2_0x2d7c91[a2_0x2eb6a2(0x11e)]=a2_0x2eb6a2(0x112),a2_0x2d7c91[a2_0x2eb6a2(0x11c)]=a2_0x2eb6a2(0x112),a2_0x2d7c91['playwright-firefox']='firefox',a2_0x2d7c91[a2_0x2eb6a2(0x128)]=a2_0x2eb6a2(0xe0);const pwToCodeceptBrowser=a2_0x2d7c91;async function run(_0x477f50,_0x3a80a5){const _0x3ae55e=a2_0x2eb6a2,_0x449c11={'aOHtR':function(_0x1a1f6a,_0x583938){return _0x1a1f6a+_0x583938;},'pbQdb':function(_0x12ae46,_0xd3fd0){return _0x12ae46(_0xd3fd0);},'UrGGy':function(_0x331fed,_0x3e8737,_0x4a35b1){return _0x331fed(_0x3e8737,_0x4a35b1);},'xhabm':_0x3ae55e(0xfb),'HAyVz':_0x3ae55e(0xd6),'pomWn':function(_0x1bb08e){return _0x1bb08e();},'pQZkm':function(_0x1103b0){return _0x1103b0();},'vBFSO':'Failed\x20:\x20','lNAtr':_0x3ae55e(0x120),'bdbZL':_0x3ae55e(0x123),'gJXuQ':'1|4|0|3|2','JKYtr':_0x3ae55e(0xcd),'afChG':function(_0xbfd601,_0x295f17,_0x110159){return _0xbfd601(_0x295f17,_0x110159);},'SUZBv':function(_0x375b43,_0x49b5d8){return _0x375b43(_0x49b5d8);},'JBNtl':_0x3ae55e(0x14c),'NkLrQ':_0x3ae55e(0xcf),'HKUeF':_0x3ae55e(0x14a),'aNFwE':function(_0x335516,_0x51d384){return _0x335516!=_0x51d384;},'tMzbk':'false','bijuF':function(_0x2a9180,_0x34a35){return _0x2a9180+_0x34a35;},'aZWgD':function(_0x14cc7c,_0x56f68c,_0x3b5973){return _0x14cc7c(_0x56f68c,_0x3b5973);},'mvukW':'gherkin','YAulC':_0x3ae55e(0x102),'qNVwY':function(_0x2f0f9b,_0xe2c87c){return _0x2f0f9b(_0xe2c87c);},'qLfoz':function(_0x599c2f){return _0x599c2f();},'XOACv':function(_0x4846b4,_0x304472){return _0x4846b4*_0x304472;},'SgDVD':function(_0x12610a,_0x196a9e,_0x31a185){return _0x12610a(_0x196a9e,_0x31a185);},'bsKJe':'browser','mDjkE':_0x3ae55e(0x101),'rGiqH':_0x3ae55e(0x151),'huzAl':_0x3ae55e(0xfa),'HttHo':_0x3ae55e(0x107)},_0x215f9f=new BrowserStackSetup(_0x477f50,_0x449c11[_0x3ae55e(0x142)]);await _0x215f9f['initialize'](),await helper[_0x3ae55e(0xdd)](_0x215f9f[_0x3ae55e(0xfb)]);if(!_0x215f9f[_0x3ae55e(0xfb)])return;process[_0x3ae55e(0x121)]=_0x477f50[_0x3ae55e(0x121)];_0x477f50[_0x3ae55e(0x121)]&&(process[_0x3ae55e(0xff)][_0x3ae55e(0x121)]=_0x477f50[_0x3ae55e(0x121)]);const _0x3b3c8a=_0x449c11['afChG'](getUserCodeceptJSConfigs,_0x477f50,_0x3a80a5);let _0x3b2389={};_0x3b3c8a?(logger[_0x3ae55e(0xe7)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x3b3c8a),_0x3b2389=_0x449c11[_0x3ae55e(0x14d)](require,_0x3b3c8a)):logger['info'](_0x449c11[_0x3ae55e(0x10d)]);let _0x4ab0ec=![];_0x449c11['afChG'](nestedKeyValue,_0x3b2389,[_0x449c11['xhabm'],_0x449c11[_0x3ae55e(0x141)],_0x449c11['NkLrQ']])&&(_0x4ab0ec=!![]);const _0x123ddf=_0x4ab0ec?_0x449c11[_0x3ae55e(0x133)]:_0x449c11[_0x3ae55e(0xea)];let _0x5d367e=!_0x4ab0ec?helper[_0x3ae55e(0x115)](_0x215f9f[_0x3ae55e(0xfb)]):![];!helper[_0x3ae55e(0x10e)](_0x215f9f[_0x3ae55e(0xfb)]['accessibilityOptions'])&&(process[_0x3ae55e(0xff)][_0x3ae55e(0x146)]=JSON[_0x3ae55e(0xf8)](_0x215f9f[_0x3ae55e(0xfb)][_0x3ae55e(0xd9)]));let _0x266322=_0x215f9f[_0x3ae55e(0xfb)]['accessibility'];_0x266322=_0x266322||_0x449c11[_0x3ae55e(0x14d)](checkAccessibilityPlatformConfig,_0x215f9f[_0x3ae55e(0xfb)]),process[_0x3ae55e(0xff)][_0x3ae55e(0xc8)]=_0x266322;_0x266322&&(_0x5d367e=!_0x266322);_0x449c11[_0x3ae55e(0x10b)](_0x215f9f['config'][_0x3ae55e(0xe3)],null)?process['env'][_0x3ae55e(0xda)]=_0x215f9f[_0x3ae55e(0xfb)][_0x3ae55e(0xe3)]:process[_0x3ae55e(0xff)][_0x3ae55e(0xda)]=_0x449c11[_0x3ae55e(0x10a)];const _0x497747=_0x449c11['bijuF'](_0x449c11[_0x3ae55e(0x142)],_0x449c11['aZWgD'](nestedKeyValue,_0x3b2389,[_0x449c11['xhabm'],_0x449c11['mvukW']])?_0x449c11[_0x3ae55e(0x122)]:''),_0x200f20=await TestHubHandler[_0x3ae55e(0x12e)](_0x497747,_0x215f9f);_0x266322&&_0x449c11[_0x3ae55e(0x130)](setAccessibilityCapabilities,_0x215f9f['config']);const _0x58f64a={},_0xd6e523=[],_0x9a5ecc=_0x215f9f[_0x3ae55e(0xfb)][_0x3ae55e(0x105)]||helper[_0x3ae55e(0xf3)](_0x477f50,_0x3a80a5,_0x215f9f[_0x3ae55e(0xfb)],constants[_0x3ae55e(0x140)][_0x3ae55e(0x103)])||0x1;let _0x2da681=0x1;if(_0x449c11['qLfoz'](isBrowserstackInfra)){const _0x5622f4=helper[_0x3ae55e(0x147)](_0x215f9f[_0x3ae55e(0xfb)],_0x5d367e,constants[_0x3ae55e(0x140)]['CODECEPT']);helper[_0x3ae55e(0xfe)](_0x215f9f[_0x3ae55e(0xfb)])?_0x2da681=_0x449c11['XOACv'](_0x9a5ecc,_0x215f9f['config']['platforms'][_0x3ae55e(0xf9)]):_0x2da681=_0x9a5ecc,_0x5622f4[_0x3ae55e(0xf6)](_0x14fef1=>{const _0x46dfd3=_0x3ae55e,_0x5ddc53={'OrKfj':function(_0x4daf28,_0x9729a){const _0x354c1e=a2_0x573c;return _0x449c11[_0x354c1e(0x109)](_0x4daf28,_0x9729a);},'dZNcR':function(_0x45b146,_0x186a56){const _0x2dd315=a2_0x573c;return _0x449c11[_0x2dd315(0x135)](_0x45b146,_0x186a56);}},_0x49a893=_0x449c11[_0x46dfd3(0x109)](helper[_0x46dfd3(0xeb)](_0x14fef1,'_'),'_'+Date[_0x46dfd3(0xe9)]()),_0x3d5356=((()=>{const _0x49f31b=_0x46dfd3;if(_0x4ab0ec){const _0x103ddc=pwToCodeceptBrowser[_0x14fef1[_0x49f31b(0xf0)]]||_0x14fef1[_0x49f31b(0xf0)];return{'browser':_0x103ddc,[_0x103ddc]:{'browserWSEndpoint':_0x5ddc53[_0x49f31b(0x124)](helper[_0x49f31b(0xd7)](_0x215f9f[_0x49f31b(0xfb)]),_0x5ddc53[_0x49f31b(0x132)](encodeURIComponent,JSON[_0x49f31b(0xf8)](_0x14fef1)))}};}const _0x1d8a88={};return _0x1d8a88[_0x49f31b(0x101)]=_0x14fef1,_0x1d8a88;})()),_0x72ae66=_0x449c11['UrGGy'](nestedKeyValue,_0x3b2389,[_0x449c11[_0x46dfd3(0x145)],_0x449c11['HAyVz'],_0x123ddf]);_0x58f64a[_0x49a893]=_0x72ae66?helper[_0x46dfd3(0x13f)](_0x3d5356,_0x72ae66):_0x3d5356,!_0x4ab0ec&&(_0x58f64a[_0x49a893][_0x46dfd3(0xf1)]=_0x14fef1['browserName']||_0x3d5356[_0x46dfd3(0xf1)]),_0xd6e523[_0x46dfd3(0x11a)](_0x49a893);});}else{_0x2da681=0x1;if(_0x4ab0ec){const _0x469a59=_0x449c11[_0x3ae55e(0x104)](nestedKeyValue,_0x3b2389,[_0x449c11['xhabm'],_0x449c11[_0x3ae55e(0x141)],_0x123ddf,_0x449c11['bsKJe']]),_0x40d594=_0x449c11['aZWgD'](nestedKeyValue,_0x3b2389,[_0x449c11['xhabm'],_0x449c11[_0x3ae55e(0x141)],_0x123ddf,_0x469a59]);_0x40d594&&_0x40d594[_0x3ae55e(0xe2)]&&(_0x40d594[_0x3ae55e(0xe2)]=helper[_0x3ae55e(0x147)](null,null,_0x497747[_0x3ae55e(0xd0)](),null,null,_0x40d594[_0x3ae55e(0xe2)]));}else _0x3b2389['config'][_0x449c11[_0x3ae55e(0x141)]][_0x123ddf][_0x449c11[_0x3ae55e(0x11d)]]=helper[_0x3ae55e(0x147)](null,null,_0x497747[_0x3ae55e(0xd0)](),_0x449c11[_0x3ae55e(0x104)](nestedKeyValue,_0x3b2389,[_0x449c11[_0x3ae55e(0x145)],_0x449c11[_0x3ae55e(0x141)],_0x123ddf,_0x449c11[_0x3ae55e(0x11d)]]),null,null);_0x58f64a[_0x449c11[_0x3ae55e(0x13c)]]=_0x3b2389[_0x3ae55e(0xfb)],_0xd6e523[_0x3ae55e(0x11a)](_0x449c11[_0x3ae55e(0x13c)]);}const _0x28987e={};_0x28987e[_0x3ae55e(0x149)]=_0x3b3c8a;const _0x3e6e4c=_0x28987e,_0x2857d7=path[_0x3ae55e(0x114)](__dirname,_0x449c11[_0x3ae55e(0x10f)]),_0xbc472d=process['cwd']();process[_0x3ae55e(0xff)][_0x449c11[_0x3ae55e(0xde)]]=_0xbc472d,process[_0x3ae55e(0x119)](path[_0x3ae55e(0xfc)](_0x3b3c8a));const _0x33d888=new CodeceptJS[(_0x3ae55e(0x117))](null,_0x3e6e4c),_0x5dfc6c=_0x33d888[_0x3ae55e(0xfd)](_0x2da681),_0x43c2e7=testOpsHelper[_0x3ae55e(0xdf)](),_0x1f42a8=_0xd6e523['map'](_0x27f4e4=>{const _0x3a26fa=_0x3ae55e,_0xba6580={};_0xba6580[_0x3a26fa(0xcf)]=_0x58f64a[_0x27f4e4];const _0x58de0b={};_0x58de0b[_0x3a26fa(0x14a)]=_0x58f64a[_0x27f4e4];const _0x390db4=_0x4ab0ec?_0xba6580:_0x58de0b,_0x2b8a1b=_0x449c11[_0x3a26fa(0x138)](getO11yRerunPattern),_0xb78a70={};_0xb78a70['helpers']=_0x390db4;const _0x48bf76={};_0x48bf76[_0x3a26fa(0x129)]=_0x2857d7,_0x48bf76[_0x3a26fa(0xdc)]=!![],_0x48bf76[_0x3a26fa(0xe5)]=_0x215f9f[_0x3a26fa(0xfb)]['testContextOptions'][_0x3a26fa(0xe5)],_0x48bf76['skipSessionStatus']=_0x215f9f[_0x3a26fa(0xfb)][_0x3a26fa(0x150)][_0x3a26fa(0xe6)],_0x48bf76[_0x3a26fa(0xe3)]=_0x43c2e7,_0x48bf76['frameworkName']=_0x497747;const _0x1e2b90={};_0x1e2b90['BrowserStackPlugin']=_0x48bf76;const _0x3bc826={};return _0x3bc826[_0x3a26fa(0x148)]=_0x1e2b90,helper['mergeDeep']({},_0x3b2389['config'],_0x449c11[_0x3a26fa(0x125)](isBrowserstackInfra)?_0xb78a70:{},_0x2b8a1b?{'grep':_0x2b8a1b}:{},_0x3bc826);});for(const _0x3f05dd of _0x1f42a8){for(const _0x5b0da4 of _0x5dfc6c){const _0x5718f7=_0x33d888[_0x3ae55e(0x10c)]();_0x5718f7['addTests'](_0x5b0da4),_0x5718f7[_0x3ae55e(0xed)](_0x3f05dd);}}_0x33d888['on'](CodeceptJS[_0x3ae55e(0x113)][_0x3ae55e(0xd5)][_0x3ae55e(0x134)],(_0x4ee16d,_0x2f8721)=>{const _0x289bf7=_0x3ae55e;console[_0x289bf7(0xd1)](_0x449c11[_0x289bf7(0x14e)],_0x4ee16d[_0x289bf7(0xf7)]);const _0xfe7515={[_0x4ee16d[_0x289bf7(0xf7)]]:_0x4ee16d[_0x289bf7(0xf2)][_0x289bf7(0xcc)]};_testErrorData[_0x289bf7(0x11a)](_0xfe7515);}),_0x33d888['on'](CodeceptJS[_0x3ae55e(0x113)][_0x3ae55e(0xd5)][_0x3ae55e(0x127)],async _0x250a60=>{const _0x1b6b6d=_0x3ae55e;console[_0x1b6b6d(0xd1)](_0x449c11[_0x1b6b6d(0x12d)],_0x250a60[_0x1b6b6d(0xf7)]);}),_0x33d888['on'](CodeceptJS[_0x3ae55e(0x113)][_0x3ae55e(0xd5)]['before'],async _0x4aab07=>{const _0x40e2aa=_0x3ae55e;console[_0x40e2aa(0xd1)](_0x449c11[_0x40e2aa(0x14f)],_0x4aab07['title']);}),_0x33d888['on'](CodeceptJS[_0x3ae55e(0x113)][_0x3ae55e(0x13b)]['result'],async()=>{const _0x1a8666=_0x3ae55e,_0x80c7bd=_0x449c11['gJXuQ']['split']('|');let _0x1ce7bc=0x0;while(!![]){switch(_0x80c7bd[_0x1ce7bc++]){case'0':utilities['finalExecution'](_0x215f9f);continue;case'1':_0x215f9f[_0x1a8666(0xf5)]=_testErrorData;continue;case'2':_0x33d888[_0x1a8666(0x137)]();continue;case'3':try{await TestHubHandler[_0x1a8666(0x12f)]();}catch(_0x544203){logger[_0x1a8666(0xcb)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x1a8666(0x118)](_0x544203));}continue;case'4':testOpsHelper[_0x1a8666(0xee)]();continue;}break;}});async function _0x4329d7(){const _0x508093=_0x3ae55e;try{await _0x33d888[_0x508093(0xd8)](),await _0x33d888[_0x508093(0xce)]();}finally{process[_0x508093(0x119)](_0xbc472d),await _0x33d888[_0x508093(0x131)]();}}_0x449c11[_0x3ae55e(0x125)](_0x4329d7);}module[a2_0x2eb6a2(0xec)]=run;
|
|
2
|
+
'use strict';function a2_0xc72c(){const _0x314ddb=['format','1928dPSSEG','BROWSERSTACK_TEST_OBSERVABILITY_YML','debug','gherkin','join','THsbv','enabled','platforms','log','false','printResults','YbeLq','SzwrU','winstonLogger','toLowerCase','run','chromium','getPlaywrightUrl','lAdNc','dJSea','sTxoV','Started\x20:\x20','cwd','isTestObservabilitySession','JktjD','printBuildLink','playwright-webkit','existsSync','xeLJw','6SKFuAD','pMshe','dirname','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','testConfig','IInrP','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','CODECEPT','config','cJTIO','rHAHV','exports','Failed\x20:\x20','cyWau','4OuQTch','../../helpers/logger','WHsWe','stringify','AlvDH','rafIV','isUndefined','chdir','webkit','env','helpers','QbUyp','sKLkE','szbWG','initialize','codeceptjs/lib/index.js','root','8397171NPJsuY','../utils/constants','failed','browserName','YYqpf','forEach','addTests','parallelsPerPlatform','passed','../../helpers/utilities','before','fljlr','launchBuild','5425RzXIFO','3|2|0|4|1','findIndex','../../helpers/test-observability/utils','2277915BckPIP','accessibilityOptions','lfjNP','slice','xXAVL','skipSessionName','skipSessionStatus','null','accessibility','info','BROWSERSTACK_RERUN','Passed\x20:\x20','err','addConfig','profile','testContextOptions','push','spawn','testObservability','xCuDw','xcKnp','validPlatformsPresent','4591945OuMsYH','UlKep','util','Gjple','length','../../helpers/accessibility-automation/helper','prepareCapabilities','PbkcR','xfvel','FRAMEWORKS','../../helpers/BrowserStackSetup','McsXs','codecept.json','title','ksvLj','getUserWorkerCount','firefox','stack','event','bootstrapAll','-cucumber','YLMUS','getPlatformName','PISoa','BROWSERSTACK_TEST_ACCESSIBILITY_YML','445439FdrWbR','BrowserStackPlugin.js','split','../../helpers/helper','rDwgv','codecept.conf.js','Workers','map','browser','desiredCapabilities','Playwright','hDdVt','chrome','BrowserStackPlugin','WebDriver','mergeDeep','22111340XQUWgj','errorMessage','KNAci','xusdz','stop','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserWSEndpoint','handleApp','../../bin/playwright/accessibility-helper','10171842jlsdYl'];a2_0xc72c=function(){return _0x314ddb;};return a2_0xc72c();}const a2_0x4be693=a2_0x4042;function a2_0x4042(_0x282345,_0x39db87){const _0xc72cc3=a2_0xc72c();return a2_0x4042=function(_0x4042b4,_0x1ddd5b){_0x4042b4=_0x4042b4-0x101;let _0x23d045=_0xc72cc3[_0x4042b4];return _0x23d045;},a2_0x4042(_0x282345,_0x39db87);}(function(_0x3c232a,_0x8a4a6d){const _0x200646=a2_0x4042,_0x4bf998=_0x3c232a();while(!![]){try{const _0x25fd10=-parseInt(_0x200646(0x143))/0x1*(parseInt(_0x200646(0x17b))/0x2)+parseInt(_0x200646(0x114))/0x3+parseInt(_0x200646(0x189))/0x4*(parseInt(_0x200646(0x12a))/0x5)+parseInt(_0x200646(0x15c))/0x6+-parseInt(_0x200646(0x110))/0x7*(-parseInt(_0x200646(0x15e))/0x8)+parseInt(_0x200646(0x103))/0x9+-parseInt(_0x200646(0x153))/0xa;if(_0x25fd10===_0x8a4a6d)break;else _0x4bf998['push'](_0x4bf998['shift']());}catch(_0x319bbe){_0x4bf998['push'](_0x4bf998['shift']());}}}(a2_0xc72c,0xe6cc0));const fs=require('fs'),path=require('path'),util=require(a2_0x4be693(0x12c)),process=require('process'),logger=require(a2_0x4be693(0x18a))[a2_0x4be693(0x16b)],{default:BrowserStackSetup}=require(a2_0x4be693(0x134)),helper=require(a2_0x4be693(0x146)),utilities=require(a2_0x4be693(0x10c)),{checkAccessibilityPlatformConfig}=require(a2_0x4be693(0x12f)),{setAccessibilityCapabilities}=require(a2_0x4be693(0x15b)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4be693(0x146)),CodeceptJS=requireModule(a2_0x4be693(0x101)),testOpsHelper=require(a2_0x4be693(0x113)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x4be693(0x104)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x4937f9,_0x56ec3e)=>{const _0x284202=a2_0x4be693,_0x2ec7a1={};_0x2ec7a1[_0x284202(0x180)]=function(_0x37603d,_0x353423){return _0x37603d===_0x353423;},_0x2ec7a1[_0x284202(0x185)]=_0x284202(0x148),_0x2ec7a1[_0x284202(0x127)]=_0x284202(0x136);const _0x22b8ff=_0x2ec7a1;let _0x32a083=null;const _0x10d515={};let _0x156b2c=_0x56ec3e[_0x284202(0x112)](_0x56b689=>_0x56b689==='--config');_0x22b8ff[_0x284202(0x180)](_0x156b2c,-0x1)&&(_0x156b2c=_0x56ec3e[_0x284202(0x112)](_0x544634=>_0x544634==='-c'));if(!helper['isUndefined'](_0x4937f9[_0x284202(0x183)])&&fs[_0x284202(0x179)](path[_0x284202(0x162)](process['cwd'](),_0x4937f9[_0x284202(0x183)])))_0x32a083=path[_0x284202(0x162)](process['cwd'](),_0x4937f9[_0x284202(0x183)]),_0x56ec3e[_0x284202(0x117)](_0x156b2c,0x2);else{if(!helper[_0x284202(0x18f)](_0x4937f9['c'])&&fs['existsSync'](path[_0x284202(0x162)](process['cwd'](),_0x4937f9['c'])))_0x32a083=path['join'](process[_0x284202(0x174)](),_0x4937f9['c']),_0x56ec3e[_0x284202(0x117)](_0x156b2c,0x2);else{if(fs[_0x284202(0x179)](path['join'](process[_0x284202(0x174)](),_0x22b8ff[_0x284202(0x185)])))_0x32a083=path['join'](process[_0x284202(0x174)](),_0x22b8ff[_0x284202(0x185)]);else fs['existsSync'](path['join'](process[_0x284202(0x174)](),_0x22b8ff[_0x284202(0x127)]))&&(_0x32a083=path[_0x284202(0x162)](process['cwd'](),_0x22b8ff['xCuDw']));}}return _0x32a083;},getO11yRerunPattern=()=>{const _0x15389c=a2_0x4be693,_0x414af6={};_0x414af6[_0x15389c(0x131)]=function(_0x17b186,_0x469cc4){return _0x17b186!==_0x469cc4;},_0x414af6['xusdz']=_0x15389c(0x11b);const _0x33ce2f=_0x414af6,_0x40e8a6=helper['isTrue'](process[_0x15389c(0x192)][_0x15389c(0x11e)]);if(_0x40e8a6){const _0x57d2a7=process[_0x15389c(0x192)]['BROWSERSTACK_RERUN_TESTS'],_0x22dbeb=[];if(_0x33ce2f[_0x15389c(0x131)](_0x57d2a7,_0x33ce2f[_0x15389c(0x156)])&&!helper[_0x15389c(0x18f)](_0x57d2a7)){_0x57d2a7[_0x15389c(0x145)](',')['map'](_0x2cea36=>{const _0x29bec5=_0x15389c;_0x22dbeb[_0x29bec5(0x124)]('('+_0x2cea36['trim']()+')');});const _0x4e2e7a='^'+_0x22dbeb[_0x15389c(0x162)]('|')+'$';return _0x4e2e7a;}}return null;},a2_0x2b837f={};a2_0x2b837f[a2_0x4be693(0x14f)]=a2_0x4be693(0x16e),a2_0x2b837f['playwright-chromium']=a2_0x4be693(0x16e),a2_0x2b837f['playwright-firefox']=a2_0x4be693(0x13a),a2_0x2b837f[a2_0x4be693(0x178)]=a2_0x4be693(0x191);const pwToCodeceptBrowser=a2_0x2b837f;async function run(_0x4c69ad,_0x39c376){const _0x8b1edb=a2_0x4be693,_0x27d7f8={'UlKep':function(_0xdaa146,_0x3ff6eb){return _0xdaa146+_0x3ff6eb;},'hDdVt':function(_0x42e211,_0x2954e5){return _0x42e211(_0x2954e5);},'ZUTwe':function(_0x54c2a4,_0x2b0e70){return _0x54c2a4+_0x2b0e70;},'JktjD':function(_0x5b7a9b,_0x1857f7,_0x4d9f06){return _0x5b7a9b(_0x1857f7,_0x4d9f06);},'Gjple':_0x8b1edb(0x183),'xeLJw':'helpers','rDwgv':function(_0x330200){return _0x330200();},'szbWG':function(_0x58e66f){return _0x58e66f();},'McsXs':_0x8b1edb(0x187),'lAdNc':_0x8b1edb(0x11f),'YbeLq':_0x8b1edb(0x173),'uQQsj':_0x8b1edb(0x111),'sKLkE':'codeceptjs','WHsWe':function(_0x4ed429,_0x496b61,_0x49885c){return _0x4ed429(_0x496b61,_0x49885c);},'ikHZg':function(_0x391e94,_0x446319){return _0x391e94(_0x446319);},'fljlr':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','dagqP':function(_0x1a7789,_0xb3434b,_0x4d38bf){return _0x1a7789(_0xb3434b,_0x4d38bf);},'PISoa':'Playwright','rafIV':_0x8b1edb(0x151),'pMshe':function(_0x5449f7,_0x5aa021){return _0x5449f7!=_0x5aa021;},'QbUyp':_0x8b1edb(0x167),'SzwrU':function(_0x2ee4a3,_0x37a856){return _0x2ee4a3+_0x37a856;},'KNAci':function(_0x574db9,_0x1d49f8,_0x52f2b3){return _0x574db9(_0x1d49f8,_0x52f2b3);},'ksvLj':_0x8b1edb(0x161),'lfjNP':_0x8b1edb(0x13e),'YYqpf':function(_0x137ca9,_0x307642){return _0x137ca9(_0x307642);},'xXAVL':function(_0x1272ad){return _0x1272ad();},'THsbv':function(_0x3e9d11,_0x14649f){return _0x3e9d11*_0x14649f;},'cyWau':function(_0x5a9bf6,_0x22bdf5,_0x44fe05){return _0x5a9bf6(_0x22bdf5,_0x44fe05);},'jzWQH':'browser','xfJYv':function(_0x5a4382,_0x3817b3,_0x27e23c){return _0x5a4382(_0x3817b3,_0x27e23c);},'AlvDH':'desiredCapabilities','cJTIO':function(_0x3d82d9,_0x5b6964,_0x31e956){return _0x3d82d9(_0x5b6964,_0x31e956);},'YLMUS':_0x8b1edb(0x102),'cQUIW':_0x8b1edb(0x144),'dJSea':'browserStackCwd','xcKnp':function(_0x4df0c6){return _0x4df0c6();}},_0xea8642=new BrowserStackSetup(_0x4c69ad,_0x27d7f8['sKLkE']);await _0xea8642[_0x8b1edb(0x197)](),await helper[_0x8b1edb(0x15a)](_0xea8642[_0x8b1edb(0x183)]);if(!_0xea8642[_0x8b1edb(0x183)])return;process['profile']=_0x4c69ad[_0x8b1edb(0x122)];_0x4c69ad[_0x8b1edb(0x122)]&&(process[_0x8b1edb(0x192)][_0x8b1edb(0x122)]=_0x4c69ad[_0x8b1edb(0x122)]);const _0x1f9201=_0x27d7f8[_0x8b1edb(0x18b)](getUserCodeceptJSConfigs,_0x4c69ad,_0x39c376);let _0xa043c3={};_0x1f9201?(logger[_0x8b1edb(0x11d)](_0x8b1edb(0x181)+_0x1f9201),_0xa043c3=_0x27d7f8['ikHZg'](require,_0x1f9201)):logger[_0x8b1edb(0x11d)](_0x27d7f8[_0x8b1edb(0x10e)]);let _0x131daf=![];_0x27d7f8['dagqP'](nestedKeyValue,_0xa043c3,[_0x27d7f8['Gjple'],_0x27d7f8[_0x8b1edb(0x17a)],_0x27d7f8['PISoa']])&&(_0x131daf=!![]);const _0x1b5175=_0x131daf?_0x27d7f8[_0x8b1edb(0x141)]:_0x27d7f8[_0x8b1edb(0x18e)];let _0xdf86a=!_0x131daf?helper['useW3C'](_0xea8642[_0x8b1edb(0x183)]):![];!helper[_0x8b1edb(0x18f)](_0xea8642[_0x8b1edb(0x183)][_0x8b1edb(0x115)])&&(process['env'][_0x8b1edb(0x158)]=JSON['stringify'](_0xea8642['config']['accessibilityOptions']));let _0x1b0f15=_0xea8642[_0x8b1edb(0x183)][_0x8b1edb(0x11c)];_0x1b0f15=_0x1b0f15||_0x27d7f8[_0x8b1edb(0x14e)](checkAccessibilityPlatformConfig,_0xea8642['config']),process[_0x8b1edb(0x192)][_0x8b1edb(0x142)]=_0x1b0f15;_0x1b0f15&&(_0xdf86a=!_0x1b0f15);_0x27d7f8[_0x8b1edb(0x17c)](_0xea8642[_0x8b1edb(0x183)][_0x8b1edb(0x126)],null)?process[_0x8b1edb(0x192)][_0x8b1edb(0x15f)]=_0xea8642[_0x8b1edb(0x183)][_0x8b1edb(0x126)]:process[_0x8b1edb(0x192)][_0x8b1edb(0x15f)]=_0x27d7f8[_0x8b1edb(0x194)];const _0x20a75f=_0x27d7f8[_0x8b1edb(0x16a)](_0x27d7f8[_0x8b1edb(0x195)],_0x27d7f8[_0x8b1edb(0x155)](nestedKeyValue,_0xa043c3,[_0x27d7f8[_0x8b1edb(0x12d)],_0x27d7f8[_0x8b1edb(0x138)]])?_0x27d7f8[_0x8b1edb(0x116)]:''),_0x4c2865=await TestHubHandler[_0x8b1edb(0x10f)](_0x20a75f,_0xea8642);_0x1b0f15&&_0x27d7f8[_0x8b1edb(0x107)](setAccessibilityCapabilities,_0xea8642['config']);const _0x25428d={},_0x23078d=[],_0x31e2bb=_0xea8642['config'][_0x8b1edb(0x10a)]||helper[_0x8b1edb(0x139)](_0x4c69ad,_0x39c376,_0xea8642[_0x8b1edb(0x183)],constants[_0x8b1edb(0x133)][_0x8b1edb(0x182)])||0x1;let _0x806250=0x1;if(_0x27d7f8[_0x8b1edb(0x118)](isBrowserstackInfra)){const _0x5b8f3c=helper[_0x8b1edb(0x130)](_0xea8642['config'],_0xdf86a,constants[_0x8b1edb(0x133)][_0x8b1edb(0x182)]);helper[_0x8b1edb(0x129)](_0xea8642[_0x8b1edb(0x183)])?_0x806250=_0x27d7f8[_0x8b1edb(0x163)](_0x31e2bb,_0xea8642['config'][_0x8b1edb(0x165)][_0x8b1edb(0x12e)]):_0x806250=_0x31e2bb,_0x5b8f3c[_0x8b1edb(0x108)](_0x4ff108=>{const _0x4c1b62=_0x8b1edb,_0x4bd3ae={'xfvel':function(_0x2e217c,_0x45bf53){const _0x4a21ad=a2_0x4042;return _0x27d7f8[_0x4a21ad(0x12b)](_0x2e217c,_0x45bf53);},'sTxoV':function(_0x353d97,_0x131f3f){const _0x36314b=a2_0x4042;return _0x27d7f8[_0x36314b(0x14e)](_0x353d97,_0x131f3f);}},_0x73a377=_0x27d7f8['ZUTwe'](helper[_0x4c1b62(0x140)](_0x4ff108,'_'),'_'+Date['now']()),_0x10f6da=((()=>{const _0x42fffa=_0x4c1b62;if(_0x131daf){const _0x4b8e08=pwToCodeceptBrowser[_0x4ff108[_0x42fffa(0x106)]]||_0x4ff108['browserName'];return{'browser':_0x4b8e08,[_0x4b8e08]:{'browserWSEndpoint':_0x4bd3ae[_0x42fffa(0x132)](helper[_0x42fffa(0x16f)](_0xea8642['config']),_0x4bd3ae[_0x42fffa(0x172)](encodeURIComponent,JSON[_0x42fffa(0x18c)](_0x4ff108)))}};}const _0x1bbe06={};return _0x1bbe06[_0x42fffa(0x14c)]=_0x4ff108,_0x1bbe06;})()),_0x4cef6c=_0x27d7f8[_0x4c1b62(0x176)](nestedKeyValue,_0xa043c3,[_0x27d7f8[_0x4c1b62(0x12d)],_0x27d7f8['xeLJw'],_0x1b5175]);_0x25428d[_0x73a377]=_0x4cef6c?helper['mergeDeep'](_0x10f6da,_0x4cef6c):_0x10f6da,!_0x131daf&&(_0x25428d[_0x73a377][_0x4c1b62(0x14b)]=_0x4ff108[_0x4c1b62(0x106)]||_0x10f6da[_0x4c1b62(0x14b)]),_0x23078d['push'](_0x73a377);});}else{_0x806250=0x1;if(_0x131daf){const _0x223a78=_0x27d7f8[_0x8b1edb(0x188)](nestedKeyValue,_0xa043c3,[_0x27d7f8[_0x8b1edb(0x12d)],_0x27d7f8[_0x8b1edb(0x17a)],_0x1b5175,_0x27d7f8['jzWQH']]),_0x8565d0=_0x27d7f8['xfJYv'](nestedKeyValue,_0xa043c3,[_0x27d7f8['Gjple'],_0x27d7f8[_0x8b1edb(0x17a)],_0x1b5175,_0x223a78]);_0x8565d0&&_0x8565d0[_0x8b1edb(0x159)]&&(_0x8565d0[_0x8b1edb(0x159)]=helper['prepareCapabilities'](null,null,_0x20a75f['toLowerCase'](),null,null,_0x8565d0['browserWSEndpoint']));}else _0xa043c3[_0x8b1edb(0x183)][_0x27d7f8[_0x8b1edb(0x17a)]][_0x1b5175][_0x27d7f8[_0x8b1edb(0x18d)]]=helper[_0x8b1edb(0x130)](null,null,_0x20a75f[_0x8b1edb(0x16c)](),_0x27d7f8[_0x8b1edb(0x184)](nestedKeyValue,_0xa043c3,[_0x27d7f8[_0x8b1edb(0x12d)],_0x27d7f8[_0x8b1edb(0x17a)],_0x1b5175,_0x27d7f8['AlvDH']]),null,null);_0x25428d[_0x27d7f8[_0x8b1edb(0x13f)]]=_0xa043c3[_0x8b1edb(0x183)],_0x23078d[_0x8b1edb(0x124)](_0x27d7f8[_0x8b1edb(0x13f)]);}const _0x37df81={};_0x37df81[_0x8b1edb(0x17f)]=_0x1f9201;const _0x4029e6=_0x37df81,_0x2d50e7=path[_0x8b1edb(0x162)](__dirname,_0x27d7f8['cQUIW']),_0x90e769=process[_0x8b1edb(0x174)]();process[_0x8b1edb(0x192)][_0x27d7f8[_0x8b1edb(0x171)]]=_0x90e769,process[_0x8b1edb(0x190)](path[_0x8b1edb(0x17d)](_0x1f9201));const _0x220506=new CodeceptJS[(_0x8b1edb(0x149))](null,_0x4029e6),_0x484f7c=_0x220506['createGroupsOfSuites'](_0x806250),_0x49e6da=testOpsHelper[_0x8b1edb(0x175)](),_0x1f3bef=_0x23078d[_0x8b1edb(0x14a)](_0x13834e=>{const _0x21d241=_0x8b1edb,_0x15d4bb={};_0x15d4bb[_0x21d241(0x14d)]=_0x25428d[_0x13834e];const _0x1f7a6e={};_0x1f7a6e[_0x21d241(0x151)]=_0x25428d[_0x13834e];const _0x3b5f45=_0x131daf?_0x15d4bb:_0x1f7a6e,_0x4ba598=_0x27d7f8[_0x21d241(0x147)](getO11yRerunPattern),_0x6cf10d={};_0x6cf10d[_0x21d241(0x193)]=_0x3b5f45;const _0x10c9ab={};_0x10c9ab['require']=_0x2d50e7,_0x10c9ab[_0x21d241(0x164)]=!![],_0x10c9ab['skipSessionName']=_0xea8642['config'][_0x21d241(0x123)][_0x21d241(0x119)],_0x10c9ab['skipSessionStatus']=_0xea8642[_0x21d241(0x183)]['testContextOptions'][_0x21d241(0x11a)],_0x10c9ab[_0x21d241(0x126)]=_0x49e6da,_0x10c9ab['frameworkName']=_0x20a75f;const _0x407798={};_0x407798[_0x21d241(0x150)]=_0x10c9ab;const _0x42b2bd={};return _0x42b2bd['plugins']=_0x407798,helper[_0x21d241(0x152)]({},_0xa043c3[_0x21d241(0x183)],_0x27d7f8[_0x21d241(0x196)](isBrowserstackInfra)?_0x6cf10d:{},_0x4ba598?{'grep':_0x4ba598}:{},_0x42b2bd);});for(const _0x237c52 of _0x1f3bef){for(const _0x200521 of _0x484f7c){const _0x54a795=_0x220506[_0x8b1edb(0x125)]();_0x54a795[_0x8b1edb(0x109)](_0x200521),_0x54a795[_0x8b1edb(0x121)](_0x237c52);}}_0x220506['on'](CodeceptJS[_0x8b1edb(0x13c)]['test'][_0x8b1edb(0x105)],(_0x146c30,_0x492d5c)=>{const _0x5410e9=_0x8b1edb;console[_0x5410e9(0x166)](_0x27d7f8[_0x5410e9(0x135)],_0x146c30[_0x5410e9(0x137)]);const _0x413afb={[_0x146c30[_0x5410e9(0x137)]]:_0x146c30[_0x5410e9(0x120)][_0x5410e9(0x13b)]};_testErrorData[_0x5410e9(0x124)](_0x413afb);}),_0x220506['on'](CodeceptJS[_0x8b1edb(0x13c)]['test'][_0x8b1edb(0x10b)],async _0x44f486=>{const _0x33df54=_0x8b1edb;console['log'](_0x27d7f8[_0x33df54(0x170)],_0x44f486[_0x33df54(0x137)]);}),_0x220506['on'](CodeceptJS[_0x8b1edb(0x13c)]['test'][_0x8b1edb(0x10d)],async _0x5aaf02=>{const _0x257b3f=_0x8b1edb;console[_0x257b3f(0x166)](_0x27d7f8[_0x257b3f(0x169)],_0x5aaf02[_0x257b3f(0x137)]);}),_0x220506['on'](CodeceptJS[_0x8b1edb(0x13c)]['all']['result'],async()=>{const _0x1b40fb=_0x8b1edb,_0x2d9993=_0x27d7f8['uQQsj'][_0x1b40fb(0x145)]('|');let _0x5ed62d=0x0;while(!![]){switch(_0x2d9993[_0x5ed62d++]){case'0':utilities['finalExecution'](_0xea8642);continue;case'1':_0x220506[_0x1b40fb(0x168)]();continue;case'2':testOpsHelper[_0x1b40fb(0x177)]();continue;case'3':_0xea8642[_0x1b40fb(0x154)]=_testErrorData;continue;case'4':try{await TestHubHandler[_0x1b40fb(0x157)]();}catch(_0x47c59c){logger[_0x1b40fb(0x160)](_0x1b40fb(0x17e)+util[_0x1b40fb(0x15d)](_0x47c59c));}continue;}break;}});async function _0x4bff56(){const _0x36ec29=_0x8b1edb;try{await _0x220506[_0x36ec29(0x13d)](),await _0x220506[_0x36ec29(0x16d)]();}finally{process[_0x36ec29(0x190)](_0x90e769),await _0x220506['teardownAll']();}}_0x27d7f8[_0x8b1edb(0x128)](_0x4bff56);}module[a2_0x4be693(0x186)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x46f1d4=a3_0x52ef;function a3_0x52ef(_0x5c9024,_0x58c567){const _0x2c9eee=a3_0x2c9e();return a3_0x52ef=function(_0x52ef41,_0x27d939){_0x52ef41=_0x52ef41-0x14e;let _0xe41ea1=_0x2c9eee[_0x52ef41];return _0xe41ea1;},a3_0x52ef(_0x5c9024,_0x58c567);}function a3_0x2c9e(){const _0x13e1aa=['VycaJ','../../bin/playwright/sessionDetails','708059Onkcge','Playwright','searchParams','gNvpy','constructor','processWebDriverConfig','WebDriver','../../helpers/logger','includes','EhVnT','PDDIj','vOLuG','WpaUn','YRgTJ','sJKtR','rMWzi','KjMep','../../helpers/accessibility-automation/helper','LaOoo','IBFZs','lMNoI','platformName','ULlIy','winstonLogger','os_version','shouldPatchExecuteScript','browser_version','platform_version','config','capabilities','browserVersion','2792940YHODvI','VgAhf','1UmahGv','accessibilityPlatform','platform','browserName','4BewCQh','Mtexj','mFzNY','13904fJCgkF','platformVersion','__cloud_provider___','9OrvfBd','browser','239862zgrlUz','../../helpers/helper','bstack:options','vbhXY','RFwDP','282090AXLrVY','xKXUy','caps','parse','860880uvxMJA','1316Uaiebd','etqYs','sNsoZ','browserWSEndpoint','BljVa','sWXda','2994EhcLcV','chrome','name','MsKLq','warn','HpESI'];a3_0x2c9e=function(){return _0x13e1aa;};return a3_0x2c9e();}(function(_0xbab1cf,_0x5217a3){const _0x1e677b=a3_0x52ef,_0x35a953=_0xbab1cf();while(!![]){try{const _0x539ff1=-parseInt(_0x1e677b(0x169))/0x1*(-parseInt(_0x1e677b(0x17a))/0x2)+parseInt(_0x1e677b(0x175))/0x3*(-parseInt(_0x1e677b(0x16d))/0x4)+-parseInt(_0x1e677b(0x17e))/0x5+parseInt(_0x1e677b(0x185))/0x6*(-parseInt(_0x1e677b(0x17f))/0x7)+parseInt(_0x1e677b(0x170))/0x8+parseInt(_0x1e677b(0x173))/0x9*(parseInt(_0x1e677b(0x167))/0xa)+parseInt(_0x1e677b(0x18d))/0xb;if(_0x539ff1===_0x5217a3)break;else _0x35a953['push'](_0x35a953['shift']());}catch(_0x344c54){_0x35a953['push'](_0x35a953['shift']());}}}(a3_0x2c9e,0x224d8));const {isUndefined,nestedKeyValue}=require(a3_0x46f1d4(0x176)),logger=require(a3_0x46f1d4(0x14f))[a3_0x46f1d4(0x15f)],PlaywrightSessionDetails=require(a3_0x46f1d4(0x18c)),{isAccessibilityAutomationSession}=require(a3_0x46f1d4(0x159)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x16208c=>{const _0x2b201e=a3_0x46f1d4,_0x20369a={};_0x20369a[_0x2b201e(0x152)]=_0x2b201e(0x177),_0x20369a[_0x2b201e(0x181)]=_0x2b201e(0x171),_0x20369a[_0x2b201e(0x18a)]=_0x2b201e(0x163),_0x20369a[_0x2b201e(0x190)]='osVersion',_0x20369a['lMNoI']=_0x2b201e(0x160);const _0x5b29e6=_0x20369a;if(!_0x16208c)return null;const _0x2b96c4=_0x16208c[_0x5b29e6['PDDIj']],_0x3dc137=[_0x5b29e6[_0x2b201e(0x181)],_0x5b29e6[_0x2b201e(0x18a)],_0x5b29e6[_0x2b201e(0x190)],_0x5b29e6[_0x2b201e(0x15c)]];for(const _0x5b47c5 of _0x3dc137){if(_0x2b96c4&&_0x2b96c4[_0x5b47c5])return _0x2b96c4[_0x5b47c5];else{if(_0x16208c[_0x5b47c5])return _0x16208c[_0x5b47c5];}}return null;};exports['fetchPlatformDetails']=_0x36548d=>{const _0x2ccff0=a3_0x46f1d4,_0x527031={'sWXda':'unknown_grid','Klyjm':function(_0x4acec0,_0x1fe8ec){return _0x4acec0===_0x1fe8ec;},'VgAhf':_0x2ccff0(0x14e),'mFzNY':function(_0x56f379,_0x1ddfdb){return _0x56f379(_0x1ddfdb);},'EhVnT':function(_0x1a2be7,_0x267535,_0x41e240){return _0x1a2be7(_0x267535,_0x41e240);},'xKXUy':_0x2ccff0(0x164),'ymbcw':'desiredCapabilities','rMWzi':function(_0x23c38c,_0x2ee81f){return _0x23c38c===_0x2ee81f;},'Mlzdk':_0x2ccff0(0x18e),'IBFZs':function(_0x9de108,_0x14bb65,_0x55829c){return _0x9de108(_0x14bb65,_0x55829c);},'sJKtR':'browser','ULlIy':_0x2ccff0(0x182),'etqYs':_0x2ccff0(0x17c)};if(!_0x36548d)return null;let _0x1cda17=global[_0x2ccff0(0x172)]||_0x527031[_0x2ccff0(0x184)];if(_0x527031['Klyjm'](_0x36548d[_0x2ccff0(0x191)][_0x2ccff0(0x187)],_0x527031[_0x2ccff0(0x168)])){const _0x610962=_0x36548d[_0x2ccff0(0x174)];if(!_0x610962)return null;const _0x403fd7=_0x610962['capabilities'],_0x58268d=_0x527031['mFzNY'](getOSVersionFromCaps,_0x527031[_0x2ccff0(0x151)](nestedKeyValue,_0x36548d,[_0x527031[_0x2ccff0(0x17b)],_0x527031['ymbcw']]));return{[_0x1cda17]:{'browser':_0x403fd7['browserName'],'browser_version':_0x403fd7[_0x2ccff0(0x166)],'capabilities':_0x403fd7,'platform':_0x403fd7[_0x2ccff0(0x15d)],'platform_version':_0x403fd7[_0x2ccff0(0x171)]||_0x58268d,'product':_0x527031['mFzNY'](getObservabilityLinkedProductName,_0x403fd7),'session_id':_0x610962['sessionId']}};}else{if(_0x527031[_0x2ccff0(0x157)](_0x36548d[_0x2ccff0(0x191)]['name'],_0x527031['Mlzdk'])){const _0x5254b9=PlaywrightSessionDetails['getDetails']();_0x1cda17=_0x5254b9['cloudProvider']||_0x1cda17;const _0x549f67=_0x527031[_0x2ccff0(0x15b)](nestedKeyValue,_0x36548d,[_0x527031[_0x2ccff0(0x17b)],_0x527031[_0x2ccff0(0x156)],_0x527031[_0x2ccff0(0x15e)]]),_0x4ba5ac=_0x549f67?JSON[_0x2ccff0(0x17d)](new URL(_0x549f67)[_0x2ccff0(0x18f)]['get'](_0x527031[_0x2ccff0(0x180)])):{};return{[_0x1cda17]:{'browser':_0x5254b9[_0x2ccff0(0x174)]||_0x4ba5ac[_0x2ccff0(0x16c)],'browser_version':_0x5254b9[_0x2ccff0(0x162)]||_0x4ba5ac[_0x2ccff0(0x162)],'capabilities':_0x4ba5ac,'platform':_0x5254b9[_0x2ccff0(0x16b)],'platform_version':_0x5254b9['platform_version'],'product':_0x527031[_0x2ccff0(0x16f)](getObservabilityLinkedProductName,_0x4ba5ac),'session_id':_0x5254b9['bsSessionId']}};}}},exports[a3_0x46f1d4(0x192)]=_0x51b59d=>{const _0x190929=a3_0x46f1d4,_0x41e06b={'YRgTJ':function(_0x4350a6){return _0x4350a6();},'RFwDP':function(_0x42fda8,_0x37bb67){return _0x42fda8===_0x37bb67;},'VycaJ':'latest','KjMep':function(_0x2e5a2b,_0x172751){return _0x2e5a2b>_0x172751;},'LaOoo':function(_0x13a8dd,_0x3c13f0){return _0x13a8dd(_0x3c13f0);},'FCAVv':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Mtexj':function(_0x21344b,_0x468413){return _0x21344b===_0x468413;},'SXVbj':_0x190929(0x186),'vbhXY':function(_0x5bf030,_0x349d72){return _0x5bf030===_0x349d72;},'MsKLq':'playwright-chromium','vOLuG':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','BljVa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x41e06b[_0x190929(0x155)](isAccessibilityAutomationSession)){const _0x5b7f29=_0x51b59d['browser'],_0x450b11=_0x5b7f29[_0x190929(0x165)];global[_0x190929(0x16a)]=!![],!(_0x41e06b[_0x190929(0x179)](_0x450b11[_0x190929(0x166)],_0x41e06b[_0x190929(0x18b)])||_0x41e06b[_0x190929(0x158)](_0x41e06b[_0x190929(0x15a)](parseInt,_0x450b11['browserVersion']),0x5e))&&(logger[_0x190929(0x189)](_0x41e06b['FCAVv']),global[_0x190929(0x16a)]=![]),!(_0x41e06b[_0x190929(0x16e)](_0x450b11['browserName'],_0x41e06b['SXVbj'])||_0x41e06b[_0x190929(0x178)](_0x450b11[_0x190929(0x16c)],_0x41e06b[_0x190929(0x188)]))&&(logger[_0x190929(0x189)](_0x41e06b[_0x190929(0x153)]),global[_0x190929(0x16a)]=![]),!_0x41e06b[_0x190929(0x15a)](isUndefined,_0x450b11['deviceName'])&&(logger['warn'](_0x41e06b[_0x190929(0x183)]),global[_0x190929(0x16a)]=![]);}},exports[a3_0x46f1d4(0x161)]=_0x12f1da=>{const _0x3b67b5=a3_0x46f1d4,_0x4eefa8={};_0x4eefa8['ZicnB']='browserstack_executor',_0x4eefa8['WpaUn']='browserstack_accessibility_automation_script';const _0x524ca8=_0x4eefa8;if(!_0x12f1da)return![];return!_0x12f1da[_0x3b67b5(0x150)](_0x524ca8['ZicnB'])&&!_0x12f1da[_0x3b67b5(0x150)](_0x524ca8[_0x3b67b5(0x154)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4_0x393d(){const _0x4249b8=['testAnalyticsId','JtNHw','sjGZF','title','UfXZv','started','OWgdN','name','getCBTInfo','includes','accessibilityPlatform','lLmAq','JAzWa','retryOf','getRootParentFile','setupBrowserDetails','ukEaW','patchConsoleLogger','failed','location_prefix','now','ctx','TestRunStarted','failure_reason_expanded','SiZdC','mapTestHooks','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getTime','prefixTestPath','Failed\x20to\x20parse\x20wsendpoint\x20','../../helpers/test-observability/constants','launch','pnNDc','LogCreated','VkgRL','HDNGT','CHyqY','browserstack','VpvLG','cgBHZ','ciRug','xwSQf','../../helpers/logger','ikfpl','hook','test','LaMSO','NCcXg','getFailureType','uwxAf','tDVpx','XMoUz','resetSkipTestHooks','bind','2|0|5|3|4|1','fireEvent','toUpperCase','2022492PImoQp','euWXI','../playwright/sessionDetails','bddStepStart','match','initializeBddStep','TestRunSkipped','client','exports','debug','test_run_uuid','uxcCo','qhVsD','STATE_FAILED','codeceptjs','../mocha/test-observability/mochaUtils','bqvvg','type','body','QZLuc','sendCBTInfo','../../helpers/test-observability/utils','stringify','nkwLp','WmSez','toISOString','tsyVh','split','File\x20path\x20could\x20not\x20be\x20found','getInstance','startedAt','test_run','shutdown','NmtiS','mTgJy','captureEvent','586209rZqPFZ','uuid','HookRunStarted','YCzus','result','browserType.js','JHaUZ','defineProperty','wLhyR','GpJlg','expanded','../../helpers/test-observability/sessionHandler','PLAYWRIGHT_HUB_URL','fgRQu','jbvqO','TEST_RUN_SKIPPED','nwzso','HkHXm','pending','markedStatus','suites','.git','bs:addLog:','getHooksForTest','replace','hook_type','finished','status','PwutP','IQTJl','obsBrowserTypeMockApplied','_beforeEach','Playwright','VJCgo','skipped','TCSpw','__platformCaps','lJzfG','file','TwNQX','hook_run_uuid','text','6221808SuJomr','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','event_type','YbhLW','JSwVO','apply','TEST_RUN_FINISHED','gsBXC','xJHfQ','gvrhP','aVfAg','wsEndpoint','frameworkName','JbZab','ZjZSn','cQUzr','2bpBOSN','connect','IkWvK','\x20with\x20error\x20:\x20','hook_run','PathHelper','then','JLSGO','KRoFE','mwAJz','kekeW','pVHnl','TXKHV','concat','err','40615GuuxrW','6872gDfhwU','forEach','O11yHelper','fxtkS','1278930OQFaOz','hookAnalyticsId','jEyUP','findGitConfig','groups','RUsXE','BHtmb','_afterEach','__cloud_provider___','currentHook','parent','tags','STATE_PASSED','relative','duration','gcLUN','345234QsbzrC','driver','integrations','_paths','./helper.js','qfdht','appendTestItemLog','lib','TEST_RUN_STARTED','HookRunFinished','push','FcIwO','BrowserType','ihluy','getHierarchy','iBZne','removeAllListeners','QsfJu','dirname','errorsDetailed','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','length','string','_beforeAll','yXLhM','currentTest','config','success','stepAnalyticsId','finished_at','enabled','failure','_afterAll','aIVDA','YoGfS','toLowerCase','RDGMz','uploadEventData','ntxuP','nyyaD','wHmTm','bddSteps','toString','fDKhs','bddStepFinish','CODECEPT','uQGMT','HOOK_RUN_FINISHED','failureData','iUMfS','file_name','gqZxn','javascript','TEST_EVENTS','../utils/constants','../../helpers/test-observability/requestQueueHandler','vsQpE','hLKOy','4767nXttMC','passed','bfHOj','keyword'];a4_0x393d=function(){return _0x4249b8;};return a4_0x393d();}const a4_0x594fb4=a4_0x2927;(function(_0x2cb204,_0x170bda){const _0x559500=a4_0x2927,_0x222c10=_0x2cb204();while(!![]){try{const _0x274607=parseInt(_0x559500(0x267))/0x1+-parseInt(_0x559500(0x258))/0x2*(parseInt(_0x559500(0x21e))/0x3)+-parseInt(_0x559500(0x1fa))/0x4+-parseInt(_0x559500(0x26c))/0x5+-parseInt(_0x559500(0x27c))/0x6+parseInt(_0x559500(0x2b6))/0x7*(parseInt(_0x559500(0x268))/0x8)+parseInt(_0x559500(0x248))/0x9;if(_0x274607===_0x170bda)break;else _0x222c10['push'](_0x222c10['shift']());}catch(_0x8ddc5){_0x222c10['push'](_0x222c10['shift']());}}}(a4_0x393d,0x49ddb));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x594fb4(0x20f)),{getTestEnv}=require(a4_0x594fb4(0x209)),{FRAMEWORKS}=require(a4_0x594fb4(0x1df)),logger=require(a4_0x594fb4(0x1eb))['winstonLogger'],SessionHandler=require(a4_0x594fb4(0x229)),RequestQueueHandler=require(a4_0x594fb4(0x2b3)),PlaywrightSessionDetails=require(a4_0x594fb4(0x1fc)),debug=testOpsHelper[a4_0x594fb4(0x203)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x594fb4(0x2b2)),{fetchPlatformDetails}=require(a4_0x594fb4(0x280)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x594fb4(0x1be),STATE_FAILED='failed',a4_0xe8efde={};a4_0xe8efde[a4_0x594fb4(0x284)]=a4_0x594fb4(0x1d7),a4_0xe8efde[a4_0x594fb4(0x24e)]='TestRunFinished',a4_0xe8efde[a4_0x594fb4(0x22d)]=a4_0x594fb4(0x200),a4_0xe8efde['HOOK_RUN_STARTED']=a4_0x594fb4(0x220),a4_0xe8efde[a4_0x594fb4(0x2ab)]=a4_0x594fb4(0x285);function a4_0x2927(_0xff5e59,_0x47b1b3){const _0x393d7f=a4_0x393d();return a4_0x2927=function(_0x292750,_0x52b121){_0x292750=_0x292750-0x1be;let _0x5c6370=_0x393d7f[_0x292750];return _0x5c6370;},a4_0x2927(_0xff5e59,_0x47b1b3);}const TEST_EVENTS=a4_0xe8efde,parseEvent=_0x536f51=>{const _0x14936a=a4_0x594fb4,_0x2221bf={};_0x2221bf[_0x14936a(0x22f)]=function(_0x59745e,_0x1d86ec){return _0x59745e<_0x1d86ec;},_0x2221bf[_0x14936a(0x2a3)]=function(_0x2881f7,_0x540485){return _0x2881f7===_0x540485;},_0x2221bf['qhVsD']='test',_0x2221bf['tsyVh']=_0x14936a(0x1ed),_0x2221bf[_0x14936a(0x287)]=function(_0x3c2702,_0x19e4b8){return _0x3c2702===_0x19e4b8;},_0x2221bf[_0x14936a(0x2b4)]=_0x14936a(0x240),_0x2221bf[_0x14936a(0x1e5)]=function(_0x524d32,_0x5eff4a){return _0x524d32===_0x5eff4a;},_0x2221bf[_0x14936a(0x21c)]='started',_0x2221bf[_0x14936a(0x1e1)]=function(_0x1f27df,_0x11af55){return _0x1f27df===_0x11af55;},_0x2221bf[_0x14936a(0x24f)]=_0x14936a(0x238);const _0x1aaa97=_0x2221bf,_0x506a93=_0x536f51[_0x14936a(0x1fe)](/^(.*)Run(.*)$/);if(!_0x506a93)return null;if(_0x1aaa97[_0x14936a(0x22f)](_0x506a93[_0x14936a(0x291)],0x3))return null;const _0x3d8bda=_0x506a93[0x1][_0x14936a(0x29f)](),_0x5cc52e=_0x506a93[0x2][_0x14936a(0x29f)]();return{'test':_0x1aaa97[_0x14936a(0x2a3)](_0x3d8bda,_0x1aaa97[_0x14936a(0x206)]),'hook':_0x1aaa97['nyyaD'](_0x3d8bda,_0x1aaa97[_0x14936a(0x214)]),'skipped':_0x1aaa97[_0x14936a(0x287)](_0x5cc52e,_0x1aaa97[_0x14936a(0x2b4)]),'started':_0x1aaa97[_0x14936a(0x1e5)](_0x5cc52e,_0x1aaa97['mTgJy']),'finished':_0x1aaa97[_0x14936a(0x1e1)](_0x5cc52e,_0x1aaa97['gsBXC'])};},mockPWBrowserType=_0x3d55ef=>{const _0x1dd994=a4_0x594fb4,_0x145960={'ntxuP':function(_0x2a8167,_0x53f15f){return _0x2a8167===_0x53f15f;},'POKVW':_0x1dd994(0x292),'LaMSO':function(_0x53b5e7,_0x203b8c,_0x1dda2f){return _0x53b5e7(_0x203b8c,_0x1dda2f);},'euWXI':_0x1dd994(0x253),'JLSGO':function(_0x4fe56e,_0x22b24c){return _0x4fe56e(_0x22b24c);},'iBZne':_0x1dd994(0x1e6),'YCzus':function(_0x48de22,_0x1b8e1a){return _0x48de22(_0x1b8e1a);},'ECSMF':_0x1dd994(0x283),'xJHfQ':_0x1dd994(0x201),'aIVDA':_0x1dd994(0x223),'kekeW':function(_0x471a62,_0x5f2ae8){return _0x471a62(_0x5f2ae8);},'SiZdC':function(_0x461825,_0x585283){return _0x461825(_0x585283);},'IkWvK':'Not\x20able\x20to\x20import\x20Browser','TXKHV':_0x1dd994(0x259),'TwNQX':'launch'},_0x3a9fc7=path['join'](_0x145960['ECSMF'],_0x145960[_0x1dd994(0x250)],_0x145960[_0x1dd994(0x29d)]),_0x4f140c=_0x145960[_0x1dd994(0x262)](importFileFromPWCore,_0x3a9fc7);if(!_0x4f140c){_0x145960[_0x1dd994(0x1d9)](debug,_0x145960[_0x1dd994(0x25a)]);return;}const _0x1474af=_0x4f140c[_0x1dd994(0x288)],_0x2088dd=_0x1474af['prototype'];if(_0x2088dd[_0x1dd994(0x23c)])return;const _0x1a6766=_0x2088dd[_0x1dd994(0x259)];Object['defineProperty'](_0x2088dd,_0x145960[_0x1dd994(0x264)],{'get':function(){const _0x23732a=_0x1dd994,_0x495f6b={'RDGMz':function(_0x451ec2,_0x222dab){const _0x5e7869=a4_0x2927;return _0x145960[_0x5e7869(0x2a2)](_0x451ec2,_0x222dab);},'GuAPt':_0x145960['POKVW'],'GpJlg':function(_0x2fa104,_0x5b6250,_0x2a0432){return _0x145960['LaMSO'](_0x2fa104,_0x5b6250,_0x2a0432);},'HDNGT':_0x145960[_0x23732a(0x1fb)],'ciRug':function(_0x26bed7,_0x4db0ae){const _0x897917=_0x23732a;return _0x145960[_0x897917(0x25f)](_0x26bed7,_0x4db0ae);},'fDKhs':_0x145960[_0x23732a(0x28b)],'XMoUz':function(_0x31f0e1,_0x52023b,_0x2f5440){const _0x41057a=_0x23732a;return _0x145960[_0x41057a(0x1ef)](_0x31f0e1,_0x52023b,_0x2f5440);},'ukEaW':function(_0x5b765a,_0x1b5706){const _0x559239=_0x23732a;return _0x145960[_0x559239(0x221)](_0x5b765a,_0x1b5706);}};return async function _0xcf0b69(_0x1a384d,_0xab42ec){const _0x4fd79f=_0x23732a,_0x475e6d={'TCSpw':function(_0x597d20,_0x595d0d){const _0x381c4e=a4_0x2927;return _0x495f6b[_0x381c4e(0x2a0)](_0x597d20,_0x595d0d);},'WmSez':_0x495f6b['GuAPt']},_0x2701da=_0x495f6b[_0x4fd79f(0x227)](nestedKeyValue,_0x1a384d,[_0x495f6b[_0x4fd79f(0x1e4)]])||_0x1a384d;let _0x2fb25b=null,_0x565e08=null;try{[_0x565e08,_0x2fb25b]=_0x2701da?_0x495f6b[_0x4fd79f(0x1e9)](parseWSEndpoint,_0x2701da):[null,null],global[_0x4fd79f(0x242)]=_0x2fb25b,_0x565e08[_0x4fd79f(0x1ca)](_0x495f6b[_0x4fd79f(0x2a7)])&&(global[_0x4fd79f(0x274)]=_0x495f6b[_0x4fd79f(0x2a7)]);}catch(_0x38b38d){logger[_0x4fd79f(0x203)](_0x4fd79f(0x1de)+_0x2701da+'\x20'+_0x38b38d);}_0x495f6b[_0x4fd79f(0x1f4)](processAccessibilityCaps,_0x2fb25b,_0x565e08);if(global[_0x4fd79f(0x1cb)]){const _0x38a48d=await _0x2088dd['connectOverCDP'][_0x4fd79f(0x24d)](this,[''+Constants[_0x4fd79f(0x22a)]+_0x495f6b[_0x4fd79f(0x1d1)](encodeURIComponent,JSON[_0x4fd79f(0x210)](_0x2fb25b))]);return PlaywrightSessionDetails[_0x4fd79f(0x1d0)](_0x38a48d,_0x3d55ef,_0x2701da),_0x38a48d;}return _0x1a6766['apply'](this,arguments)['then'](_0x3b0f9d=>{const _0xabf165=_0x4fd79f;let _0x7aefa9=_0x1a384d['wsEndpoint'];return _0x475e6d[_0xabf165(0x241)](typeof _0x1a384d,_0x475e6d[_0xabf165(0x212)])&&(_0x7aefa9=_0x1a384d),PlaywrightSessionDetails[_0xabf165(0x1d0)](_0x3b0f9d,_0x3d55ef,_0x7aefa9),_0x3b0f9d;});};}});const _0x2cb40a=_0x2088dd[_0x1dd994(0x1e0)];Object[_0x1dd994(0x225)](_0x2088dd,_0x145960[_0x1dd994(0x245)],{'get':function(){return async function _0xd23d0b(){const _0x12b99a=a4_0x2927;return _0x2cb40a[_0x12b99a(0x24d)](this,arguments)[_0x12b99a(0x25e)](_0x3a3ebb=>{const _0x1e9ef0=_0x12b99a;return PlaywrightSessionDetails[_0x1e9ef0(0x1d0)](_0x3a3ebb,null),_0x3a3ebb;});};}});};class O11yHelper{['currentTest']=null;[a4_0x594fb4(0x275)]=null;[a4_0x594fb4(0x29a)]=![];['frameworkName']=![];constructor(_0x568499,_0x4ced5a){const _0x47c449=a4_0x594fb4,_0x5bd092={'EFmsX':_0x47c449(0x1f7),'lNyea':function(_0x24e578,_0x58c9e7){return _0x24e578===_0x58c9e7;},'VpvLG':_0x47c449(0x23e),'JbZab':function(_0x5f0e0a,_0xf492d2){return _0x5f0e0a(_0xf492d2);},'BHtmb':function(_0x4e82c0){return _0x4e82c0();}},_0x5921c6=_0x5bd092['EFmsX'][_0x47c449(0x215)]('|');let _0x543bf5=0x0;while(!![]){switch(_0x5921c6[_0x543bf5++]){case'0':this[_0x47c449(0x254)]=_0x4ced5a['frameworkName'];continue;case'1':this['driver']&&_0x5bd092['lNyea'](this[_0x47c449(0x27d)]['constructor'][_0x47c449(0x1c8)],_0x5bd092[_0x47c449(0x1e7)])&&_0x5bd092[_0x47c449(0x255)](mockPWBrowserType,null);continue;case'2':this[_0x47c449(0x29a)]=_0x5bd092[_0x47c449(0x272)](shouldProcessEventForTesthub);continue;case'3':this['_testEnv']=_0x5bd092[_0x47c449(0x272)](getTestEnv);continue;case'4':this[_0x47c449(0x27f)]=new testOpsHelper[(_0x47c449(0x25d))]({'cwd':process['cwd']()},this['_testEnv'][_0x47c449(0x1d4)]);continue;case'5':this[_0x47c449(0x27d)]=_0x568499;continue;}break;}}['start'](){const _0x4260c3=a4_0x594fb4;if(!this[_0x4260c3(0x29a)])return;testOpsHelper[_0x4260c3(0x1d2)](),process[_0x4260c3(0x28c)](_0x4260c3(0x234)+process['pid']),process['on'](_0x4260c3(0x234)+process['pid'],this[_0x4260c3(0x282)][_0x4260c3(0x1f6)](this));}async['stop'](){const _0x30239c=a4_0x594fb4;await RequestQueueHandler[_0x30239c(0x217)]()[_0x30239c(0x21a)]();}async[a4_0x594fb4(0x282)](_0x12547c){const _0x406bfb=a4_0x594fb4,_0x5c73f6={'VJCgo':_0x406bfb(0x1e2),'XGtzL':function(_0x508a10,_0x3d010e){return _0x508a10(_0x3d010e);}};try{this[_0x406bfb(0x275)]&&!this[_0x406bfb(0x275)][_0x406bfb(0x231)]&&(_0x12547c['hook_run_uuid']=this['currentHook'][_0x406bfb(0x26d)]);!_0x12547c[_0x406bfb(0x246)]&&this[_0x406bfb(0x295)]&&!this[_0x406bfb(0x295)]['markedStatus']&&(_0x12547c[_0x406bfb(0x204)]=this[_0x406bfb(0x295)][_0x406bfb(0x1c1)]);if(_0x12547c[_0x406bfb(0x246)]||_0x12547c['test_run_uuid']){const _0x2bcb07={};_0x2bcb07[_0x406bfb(0x24a)]=_0x5c73f6[_0x406bfb(0x23f)],_0x2bcb07['logs']=[_0x12547c],await SessionHandler['uploadEventData'](_0x2bcb07);}}catch(_0xc8936e){_0x5c73f6['XGtzL'](debug,_0x406bfb(0x290)+_0xc8936e);}}async[a4_0x594fb4(0x20e)](_0x2e8969){const _0x3b8868=a4_0x594fb4,_0x789f75={'PwutP':'CBTSessionCreated','RUsXE':function(_0x4c1d87,_0x2faf55){return _0x4c1d87(_0x2faf55);}};if(!this[_0x3b8868(0x29a)])return;const _0x328b1c=this[_0x3b8868(0x1c9)](this[_0x3b8868(0x27d)]);try{const _0x216d48={};_0x216d48[_0x3b8868(0x21f)]=_0x2e8969,_0x216d48[_0x3b8868(0x27e)]=_0x328b1c;const _0x495847=_0x216d48,_0x502a1f={};_0x502a1f[_0x3b8868(0x24a)]=_0x789f75[_0x3b8868(0x23a)],_0x502a1f[_0x3b8868(0x219)]=_0x495847,await SessionHandler['uploadEventData'](_0x502a1f);}catch(_0x517e60){_0x789f75[_0x3b8868(0x271)](debug,_0x3b8868(0x249)+_0x517e60);}}['getCBTInfo'](_0x5a23f4){const _0x3da87c=a4_0x594fb4,_0x2c503d={'bqvvg':function(_0x4a83cf,_0x27a4be){return _0x4a83cf(_0x27a4be);}};return _0x2c503d[_0x3da87c(0x20a)](fetchPlatformDetails,_0x5a23f4);}[a4_0x594fb4(0x1f5)]=_0x4462ae=>{const _0x52b59c=a4_0x594fb4,_0x468595={};_0x468595['doBSB']=_0x52b59c(0x23d),_0x468595[_0x52b59c(0x205)]=_0x52b59c(0x273);const _0x56911a=_0x468595;if(!_0x4462ae||!_0x4462ae['parent'])return;[_0x56911a['doBSB'],_0x56911a[_0x52b59c(0x205)]]['forEach'](_0x1856d8=>{const _0x407e0b=_0x4462ae['parent'][_0x1856d8];_0x407e0b['forEach'](_0x46242c=>{const _0x1afa3a=a4_0x2927;_0x46242c[_0x1afa3a(0x26d)]&&(_0x46242c[_0x1afa3a(0x26d)]=null);});});};[a4_0x594fb4(0x1da)](_0x5129db){const _0x36c7d7=a4_0x594fb4,_0x5b8eec={'nkwLp':_0x36c7d7(0x208),'UfXZv':function(_0x3e7bb7){return _0x3e7bb7();},'QZLuc':function(_0x3b0757,_0x5eac44){return _0x3b0757===_0x5eac44;},'oDzBj':_0x36c7d7(0x273),'JtNHw':_0x36c7d7(0x293),'QWhey':_0x36c7d7(0x29c),'KRoFE':_0x36c7d7(0x23d)};if(!_0x5129db||!_0x5129db[_0x36c7d7(0x276)])return;[_0x5b8eec[_0x36c7d7(0x1c2)],_0x5b8eec['QWhey'],_0x5b8eec[_0x36c7d7(0x260)],_0x5b8eec['oDzBj']]['forEach'](_0x5a01ff=>{const _0x5e5bd9=_0x5129db['parent'][_0x5a01ff]||[];_0x5e5bd9['forEach'](_0x2640d1=>{const _0x227e32=a4_0x2927;if(_0x2640d1[_0x227e32(0x1c4)][_0x227e32(0x1ca)](_0x5b8eec[_0x227e32(0x211)]))return;if(!_0x2640d1[_0x227e32(0x26d)])_0x2640d1[_0x227e32(0x26d)]=_0x5b8eec[_0x227e32(0x1c5)](uuidv4);else _0x2640d1['markedStatus']&&_0x5b8eec[_0x227e32(0x20d)](_0x5a01ff,_0x5b8eec['oDzBj'])&&(_0x2640d1[_0x227e32(0x26d)]=_0x5b8eec[_0x227e32(0x1c5)](uuidv4),delete _0x2640d1[_0x227e32(0x231)]);});}),this[_0x36c7d7(0x1da)](_0x5129db[_0x36c7d7(0x276)]);}[a4_0x594fb4(0x235)](_0x807cc){const _0x4e16d5=a4_0x594fb4,_0x4c3bca={};_0x4c3bca[_0x4e16d5(0x29e)]=_0x4e16d5(0x293),_0x4c3bca['iUMfS']=_0x4e16d5(0x29c),_0x4c3bca['fxtkS']='_beforeEach',_0x4c3bca[_0x4e16d5(0x1f2)]=_0x4e16d5(0x273);const _0x41bd76=_0x4c3bca;if(!_0x807cc||!_0x807cc[_0x4e16d5(0x276)])return[];const _0x33d546=[];return[_0x41bd76['YoGfS'],_0x41bd76[_0x4e16d5(0x2ad)],_0x41bd76[_0x4e16d5(0x26b)],_0x41bd76[_0x4e16d5(0x1f2)]][_0x4e16d5(0x269)](_0x2cce59=>{const _0x178069=_0x4e16d5,_0x5539e2=_0x807cc[_0x178069(0x276)][_0x2cce59]||[];_0x5539e2[_0x178069(0x269)](_0x6d86fe=>{const _0x1704ef=_0x178069;_0x6d86fe[_0x1704ef(0x26d)]&&_0x33d546['push'](_0x6d86fe[_0x1704ef(0x26d)]);});}),[][_0x4e16d5(0x265)](_0x33d546,this[_0x4e16d5(0x235)](_0x807cc[_0x4e16d5(0x276)]));}['getHookType'](_0x260a95){const _0x25a289=a4_0x594fb4,_0x775a85=/^"(?<hook>.*)" hook:.*$/,_0x4324af=_0x260a95[_0x25a289(0x1c4)],_0x1b7138=_0x4324af[_0x25a289(0x1fe)](_0x775a85);if(_0x1b7138&&_0x1b7138[_0x25a289(0x270)])return _0x1b7138['groups'][_0x25a289(0x1ed)][_0x25a289(0x1f9)]()[_0x25a289(0x236)]('\x20','_');return null;}[a4_0x594fb4(0x26f)](_0x4f8274){const _0x537db1=a4_0x594fb4,_0xe4d04e={};_0xe4d04e[_0x537db1(0x1ec)]=function(_0x3de29b,_0x41f571){return _0x3de29b===_0x41f571;},_0xe4d04e['VkgRL']=function(_0x3a3e83,_0xc4a95e){return _0x3a3e83===_0xc4a95e;},_0xe4d04e[_0x537db1(0x226)]=function(_0x2f2922,_0x11ee83){return _0x2f2922===_0x11ee83;},_0xe4d04e[_0x537db1(0x1f0)]=function(_0x3baad8,_0x51991b){return _0x3baad8===_0x51991b;},_0xe4d04e[_0x537db1(0x1e8)]=_0x537db1(0x233),_0xe4d04e[_0x537db1(0x1bf)]=_0x537db1(0x296);const _0x552ae8=_0xe4d04e,_0xbb138d=path['sep'];if(_0x552ae8[_0x537db1(0x1ec)](_0x4f8274,null)||_0x552ae8[_0x537db1(0x1e3)](_0x4f8274,'')||_0x552ae8[_0x537db1(0x226)](_0x4f8274,_0xbb138d)||_0x552ae8[_0x537db1(0x1f0)](_0x4f8274,path[_0x537db1(0x28e)](_0x4f8274)))return null;try{return fs['statSync'](path['join'](_0x4f8274,_0x552ae8['cgBHZ'],_0x552ae8[_0x537db1(0x1bf)])),_0x4f8274;}catch(_0x263b0d){const _0x503499=path[_0x537db1(0x28e)](_0x4f8274);return this[_0x537db1(0x26f)](_0x503499);}}['getRootParentFile'](_0x1ec7c4){const _0xc9c4a1=a4_0x594fb4,_0x21ba6c={};_0x21ba6c[_0xc9c4a1(0x1ea)]=function(_0x3c7583,_0x360018){return _0x3c7583>_0x360018;};const _0x1a4884=_0x21ba6c;if(_0x1ec7c4['file'])return _0x1ec7c4[_0xc9c4a1(0x244)];if(_0x1ec7c4[_0xc9c4a1(0x1d6)]){const _0x5c2a22=_0x1ec7c4['ctx']['currentTest']?this[_0xc9c4a1(0x1cf)](_0x1ec7c4[_0xc9c4a1(0x1d6)]['currentTest']):null;if(_0x5c2a22)return _0x5c2a22;}if(_0x1ec7c4[_0xc9c4a1(0x276)]){const _0x224eb5=this[_0xc9c4a1(0x1cf)](_0x1ec7c4[_0xc9c4a1(0x276)])||(_0x1ec7c4['parent'][_0xc9c4a1(0x1d6)]&&_0x1ec7c4[_0xc9c4a1(0x276)]['ctx'][_0xc9c4a1(0x295)]?this[_0xc9c4a1(0x1cf)](_0x1ec7c4[_0xc9c4a1(0x276)][_0xc9c4a1(0x1d6)][_0xc9c4a1(0x295)]):null);if(_0x224eb5)return _0x224eb5;_0x1ec7c4[_0xc9c4a1(0x276)][_0xc9c4a1(0x232)]&&_0x1a4884['xwSQf'](_0x1ec7c4[_0xc9c4a1(0x276)][_0xc9c4a1(0x232)][_0xc9c4a1(0x291)],0x0)&&_0x1ec7c4[_0xc9c4a1(0x276)][_0xc9c4a1(0x232)]['forEach'](_0xdac4b0=>{const _0x27ec84=_0xc9c4a1,_0x4d45aa=_0xdac4b0[_0x27ec84(0x1d6)]?this['getRootParentFile'](_0xdac4b0[_0x27ec84(0x1d6)]):null;if(_0x4d45aa)return _0x4d45aa;});}return null;}['getHierarchy'](_0x5467d5){const _0x10ec10=a4_0x594fb4,_0x327ef1={};_0x327ef1[_0x10ec10(0x256)]=function(_0x64894a,_0x4771dd){return _0x64894a!==_0x4771dd;};const _0x15becf=_0x327ef1,_0x2457e4=[];if(_0x5467d5&&_0x5467d5[_0x10ec10(0x276)]){let _0x5c6d75=_0x5467d5[_0x10ec10(0x276)];while(_0x5c6d75&&_0x15becf[_0x10ec10(0x256)](_0x5c6d75[_0x10ec10(0x1c4)],'')){_0x2457e4[_0x10ec10(0x286)](_0x5c6d75[_0x10ec10(0x1c4)]),_0x5c6d75=_0x5c6d75[_0x10ec10(0x276)];}}return _0x2457e4;}[a4_0x594fb4(0x21d)](_0x2d8f71,_0x1b315c,_0x248d15=undefined){const _0x459376=a4_0x594fb4,_0x404d10={'aVfAg':function(_0x1caee2,_0x5dadc6){return _0x1caee2(_0x5dadc6);},'JAzWa':function(_0x2687a1){return _0x2687a1();},'cQUzr':function(_0x363c66){return _0x363c66();},'pVHnl':function(_0x1809f1){return _0x1809f1();},'gqZxn':function(_0x39de1c,_0x5bf63c){return _0x39de1c(_0x5bf63c);},'jEyUP':'util','KnfcS':_0x459376(0x266),'mwAJz':function(_0x492570,_0x189b13){return _0x492570!==_0x189b13;},'JHaUZ':_0x459376(0x216),'JSwVO':_0x459376(0x230),'fgRQu':_0x459376(0x1d3),'tDVpx':_0x459376(0x1be),'wHmTm':'skipped','lJzfG':_0x459376(0x2b0),'uQGMT':function(_0x555e6d,_0x3e33ea){return _0x555e6d-_0x3e33ea;},'WlkuU':function(_0x140c62,_0x8032ca,_0x4c21e9,_0x35e35b,_0x1835c5){return _0x140c62(_0x8032ca,_0x4c21e9,_0x35e35b,_0x1835c5);},'OWgdN':function(_0x5e256f,_0x4213cd){return _0x5e256f!==_0x4213cd;},'lLmAq':_0x459376(0x27e),'IQTJl':'meta','QsfJu':_0x459376(0x29b),'yXLhM':'failure_backtrace','gcLUN':'backtrace','dqyYb':_0x459376(0x1d8),'hLKOy':_0x459376(0x228),'ihluy':function(_0x531481,_0x4e6398){return _0x531481===_0x4e6398;},'YbhLW':_0x459376(0x25c),'jbvqO':_0x459376(0x219)};if(!this[_0x459376(0x29a)])return;try{if(_0x1b315c['fn']&&_0x1b315c['fn'][_0x459376(0x2a6)]()[_0x459376(0x1fe)](/browserstack internal helper hook/))return;const _0x392297=_0x404d10[_0x459376(0x252)](parseEvent,_0x2d8f71);if(!_0x392297)return;if(_0x392297['test']){this[_0x459376(0x295)]=_0x1b315c,this[_0x459376(0x275)]=null;if(_0x392297['started']||_0x392297['skipped']){_0x1b315c[_0x459376(0x218)]=new Date(),_0x1b315c[_0x459376(0x231)]=![];if(!_0x1b315c[_0x459376(0x1c1)])_0x1b315c[_0x459376(0x1c1)]=_0x404d10[_0x459376(0x1cd)](uuidv4);else _0x1b315c[_0x459376(0x231)]&&(!_0x1b315c[_0x459376(0x1ce)]&&(_0x1b315c[_0x459376(0x1ce)]=_0x1b315c['testAnalyticsId']),_0x1b315c[_0x459376(0x1c1)]=_0x404d10['JAzWa'](uuidv4));}}else{if(_0x392297[_0x459376(0x1ed)]){this['currentHook']=_0x1b315c;if(_0x392297['started']){_0x1b315c[_0x459376(0x218)]=new Date(),_0x1b315c[_0x459376(0x231)]=![];if(!_0x1b315c[_0x459376(0x26d)])_0x1b315c['hookAnalyticsId']=_0x404d10[_0x459376(0x257)](uuidv4);else _0x1b315c[_0x459376(0x26d)]&&_0x1b315c['markedStatus']&&(_0x1b315c[_0x459376(0x26d)]=_0x404d10[_0x459376(0x263)](uuidv4));}}}if(_0x392297[_0x459376(0x238)]&&_0x1b315c[_0x459376(0x231)])return;let _0x1d9e48;try{_0x1d9e48=this[_0x459376(0x1cf)](_0x1b315c);}catch(_0x29b0f1){logger[_0x459376(0x203)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x29b0f1),_0x1d9e48=null;}const _0x48a73a=_0x404d10[_0x459376(0x2af)](require,_0x404d10[_0x459376(0x26e)]);let _0x102576=[];_0x248d15&&(_0x102576=[_0x248d15,_0x404d10['KnfcS']]);const _0x349db5=_0x404d10[_0x459376(0x261)](_0x1b315c[_0x459376(0x28f)],undefined)?_0x48a73a['inspect'](_0x1b315c[_0x459376(0x28f)][0x0]):_0x404d10[_0x459376(0x261)](_0x248d15,undefined)?_0x248d15['toString']():undefined,_0x35fd39=_0x1d9e48?this[_0x459376(0x26f)](_0x1d9e48):null,_0x1d0c35=_0x1d9e48?this['_paths'][_0x459376(0x1dd)](this[_0x459376(0x1cf)](_0x1b315c)):_0x404d10[_0x459376(0x224)];let _0x2b14f2=_0x404d10[_0x459376(0x24c)];const _0xde4225=!_0x392297[_0x459376(0x1c6)]?new Date()[_0x459376(0x213)]():null;if(_0x392297[_0x459376(0x238)])_0x2b14f2=_0x248d15?_0x404d10[_0x459376(0x22b)]:_0x404d10['tDVpx'],_0x1b315c[_0x459376(0x231)]=!![];else _0x392297[_0x459376(0x240)]&&(_0x2b14f2=_0x404d10[_0x459376(0x2a4)],_0x1b315c[_0x459376(0x231)]=!![]);const _0x15882a={'framework':this[_0x459376(0x254)],'uuid':_0x1b315c['testAnalyticsId']||_0x1b315c['hookAnalyticsId'],'name':_0x1b315c[_0x459376(0x1c4)],'body':{'lang':_0x404d10[_0x459376(0x243)],'code':_0x1b315c[_0x459376(0x20c)][_0x459376(0x2a6)]()},'type':_0x1b315c[_0x459376(0x20b)],'scope':_0x1b315c['fullTitle'](),'scopes':this[_0x459376(0x28a)](_0x1b315c),'file_name':_0x1d0c35,'vc_filepath':_0x35fd39?path[_0x459376(0x279)](_0x35fd39,_0x1d9e48):null,'location':_0x1d0c35,'result':_0x2b14f2,'failure_reason':_0x349db5,'duration_in_ms':_0x1b315c[_0x459376(0x27a)]||(_0x392297[_0x459376(0x238)]||_0x392297[_0x459376(0x240)])?_0x404d10[_0x459376(0x2aa)](Date[_0x459376(0x1d5)](),new Date(_0x1b315c['startedAt'])[_0x459376(0x1dc)]()):null,'started_at':new Date(_0x1b315c[_0x459376(0x218)])[_0x459376(0x213)](),'finished_at':_0xde4225,'failure':testOpsHelper[_0x459376(0x2ac)][_0x459376(0x24d)](null,_0x102576),'failure_type':!_0x349db5?null:testOpsHelper[_0x459376(0x1f1)](_0x349db5),'retry_of':_0x1b315c[_0x459376(0x1ce)]||null,'tags':_0x1b315c[_0x459376(0x277)]||[],'customRerunParam':{'rerun_name':_0x1b315c['fullTitle']()}};_0x404d10['WlkuU'](appendTesthubParams,_0x15882a,_0x2d8f71,_0x1b315c,FRAMEWORKS[_0x459376(0x2a9)]);if(_0x392297[_0x459376(0x1ed)])[_0x15882a[_0x459376(0x237)],_0x15882a[_0x459376(0x1c8)]]=[this['getHookType'](_0x1b315c),_0x1b315c['ctx']['test']['title']],_0x392297[_0x459376(0x238)]?_0x404d10[_0x459376(0x1c7)](_0x15882a[_0x459376(0x222)],_0x404d10[_0x459376(0x22b)])&&(_0x15882a[_0x459376(0x222)]=_0x404d10['tDVpx']):_0x15882a[_0x459376(0x20c)]={};else _0x392297[_0x459376(0x1ee)]&&(this['mapTestHooks'](_0x1b315c),_0x392297[_0x459376(0x240)]&&this[_0x459376(0x1f5)](_0x1b315c),(_0x392297['finished']||_0x392297[_0x459376(0x240)])&&(_0x15882a['hooks']=this['getHooksForTest'](_0x1b315c)));this['driver']&&(_0x392297[_0x459376(0x1c6)]||_0x392297[_0x459376(0x240)])&&(_0x15882a[_0x404d10[_0x459376(0x1cc)]]=this['getCBTInfo'](this[_0x459376(0x27d)]));_0x392297[_0x459376(0x1ee)]&&_0x392297[_0x459376(0x238)]&&_0x1b315c[_0x459376(0x2a5)]&&(_0x15882a[_0x404d10[_0x459376(0x23b)]]={'feature':{'name':_0x1b315c[_0x459376(0x276)]['feature'][_0x459376(0x1c8)],'path':_0x15882a[_0x459376(0x2ae)],'description':_0x1b315c['parent']['comment']},'scenario':{'name':_0x1b315c[_0x459376(0x1c4)]},'steps':_0x1b315c[_0x459376(0x2a5)]});const _0xb44901=_0x15882a[_0x404d10[_0x459376(0x28d)]][0x0];_0xb44901&&(_0x15882a[_0x404d10[_0x459376(0x294)]]=_0xb44901[_0x404d10[_0x459376(0x27b)]],_0x15882a[_0x404d10['dqyYb']]=_0xb44901[_0x404d10[_0x459376(0x2b5)]]);if(_0x1b315c[_0x459376(0x2a5)])for(const _0x414748 of _0x1b315c['bddSteps']){!_0x414748[_0x459376(0x299)]&&(_0x414748[_0x459376(0x299)]=new Date()[_0x459376(0x213)](),_0x404d10[_0x459376(0x289)](_0x414748[_0x459376(0x222)],_0x404d10['JSwVO'])&&(_0xb44901?(_0x414748['result']=_0x404d10[_0x459376(0x22b)],_0x414748[_0x459376(0x29b)]=_0xb44901[_0x404d10[_0x459376(0x27b)]][0x0]):_0x414748[_0x459376(0x222)]=_0x404d10[_0x459376(0x1f3)]));}const _0x3d41a5={};_0x3d41a5[_0x459376(0x24a)]=_0x392297[_0x459376(0x240)]?TEST_EVENTS[_0x459376(0x24e)]:_0x2d8f71;const _0x1a31b8=_0x3d41a5;return _0x392297['hook']?_0x1a31b8[_0x404d10[_0x459376(0x24b)]]=_0x15882a:_0x1a31b8[_0x404d10[_0x459376(0x22c)]]=_0x15882a,_0x1a31b8;}catch(_0x4b1734){logger[_0x459376(0x203)](_0x459376(0x1db)+_0x2d8f71+_0x459376(0x25b)+_0x4b1734);}}async[a4_0x594fb4(0x1f8)](_0x4fd57b,_0x582a5f){const _0x1e664e=a4_0x594fb4;if(!this['enabled']||!_0x582a5f||!_0x4fd57b)return![];try{return await SessionHandler[_0x1e664e(0x2a1)](_0x582a5f);}catch(_0x47c874){logger[_0x1e664e(0x203)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4fd57b+'\x20with\x20error\x20:\x20'+_0x47c874);}}['initializeBddStep'](_0x3d5821){const _0x25047b=a4_0x594fb4,_0x1d607e={};_0x1d607e[_0x25047b(0x22e)]=_0x25047b(0x230);const _0x594134=_0x1d607e;return{'id':_0x3d5821[_0x25047b(0x298)],'text':_0x3d5821[_0x25047b(0x247)],'keyword':_0x3d5821[_0x25047b(0x1c0)],'started_at':_0x3d5821[_0x25047b(0x218)][_0x25047b(0x213)](),'result':_0x594134['nwzso']};}[a4_0x594fb4(0x1fd)](_0x595341){const _0x44644d=a4_0x594fb4,_0x5be366={'sjGZF':function(_0xa7f539){return _0xa7f539();}};!this[_0x44644d(0x295)]['bddSteps']&&(this[_0x44644d(0x295)][_0x44644d(0x2a5)]=[]),!_0x595341['stepAnalyticsId']&&(_0x595341[_0x44644d(0x298)]=_0x5be366[_0x44644d(0x1c3)](uuidv4),_0x595341[_0x44644d(0x218)]=new Date(),this['currentTest'][_0x44644d(0x2a5)][_0x44644d(0x286)](this[_0x44644d(0x1ff)](_0x595341)));}[a4_0x594fb4(0x2a8)](_0x517119){const _0xe99d25=a4_0x594fb4,_0x3ebdb5={'CFnhQ':function(_0x434368,_0x2ec0a6){return _0x434368(_0x2ec0a6);},'gvrhP':_0xe99d25(0x297),'NmtiS':_0xe99d25(0x230),'qfdht':_0xe99d25(0x1be),'iXdfb':function(_0x58c01b,_0x4bb187){return _0x58c01b-_0x4bb187;}};let _0x34a249=this[_0xe99d25(0x295)][_0xe99d25(0x2a5)]['find'](_0x51f598=>_0x51f598['id']===_0x517119[_0xe99d25(0x298)]);_0x3ebdb5['CFnhQ'](isUndefined,_0x34a249)&&(_0x34a249=this[_0xe99d25(0x1ff)](_0x517119)),_0x34a249['result']=[_0x3ebdb5[_0xe99d25(0x251)],_0x3ebdb5[_0xe99d25(0x21b)]][_0xe99d25(0x1ca)](_0x517119[_0xe99d25(0x239)])?_0x3ebdb5[_0xe99d25(0x281)]:_0x517119[_0xe99d25(0x239)],_0x34a249['finished_at']=new Date()[_0xe99d25(0x213)](),_0x34a249[_0xe99d25(0x27a)]=_0x3ebdb5['iXdfb'](Date[_0xe99d25(0x1d5)](),_0x517119['startedAt'][_0xe99d25(0x1dc)]()),_0x34a249['failure']=_0x517119[_0xe99d25(0x266)]?_0x517119[_0xe99d25(0x266)]['message']:null;}}const a4_0x5a4dc9={};a4_0x5a4dc9[a4_0x594fb4(0x26a)]=O11yHelper,a4_0x5a4dc9[a4_0x594fb4(0x278)]=STATE_PASSED,a4_0x5a4dc9[a4_0x594fb4(0x207)]=STATE_FAILED,a4_0x5a4dc9[a4_0x594fb4(0x2b1)]=TEST_EVENTS,module[a4_0x594fb4(0x202)]=a4_0x5a4dc9;
|
|
1
|
+
const a4_0xabb89a=a4_0x2791;(function(_0xfded0b,_0x5a3b04){const _0x2ddde8=a4_0x2791,_0x2b03f0=_0xfded0b();while(!![]){try{const _0x1e0d21=-parseInt(_0x2ddde8(0x152))/0x1+parseInt(_0x2ddde8(0x117))/0x2+parseInt(_0x2ddde8(0x16d))/0x3+parseInt(_0x2ddde8(0x1b3))/0x4*(parseInt(_0x2ddde8(0x1bd))/0x5)+parseInt(_0x2ddde8(0x11f))/0x6*(parseInt(_0x2ddde8(0x139))/0x7)+parseInt(_0x2ddde8(0x168))/0x8*(-parseInt(_0x2ddde8(0x1c8))/0x9)+parseInt(_0x2ddde8(0x128))/0xa*(parseInt(_0x2ddde8(0x13f))/0xb);if(_0x1e0d21===_0x5a3b04)break;else _0x2b03f0['push'](_0x2b03f0['shift']());}catch(_0x4d16ca){_0x2b03f0['push'](_0x2b03f0['shift']());}}}(a4_0x5f29,0x6a057));const path=require(a4_0xabb89a(0x1e8)),fs=require('fs'),{v4:uuidv4}=require(a4_0xabb89a(0x140)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0xabb89a(0x1d3)),logger=require('../../helpers/logger')[a4_0xabb89a(0x207)],SessionHandler=require(a4_0xabb89a(0x1e2)),RequestQueueHandler=require(a4_0xabb89a(0x1e0)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0xabb89a(0x1ff)],{processAccessibilityCaps}=require(a4_0xabb89a(0x14d)),Constants=require(a4_0xabb89a(0x12c)),{fetchPlatformDetails}=require(a4_0xabb89a(0x1f6)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0xabb89a(0x1a6)),STATE_PASSED='passed',STATE_FAILED=a4_0xabb89a(0x194),a4_0x29d442={};function a4_0x2791(_0x54070f,_0x35209b){const _0x5f296a=a4_0x5f29();return a4_0x2791=function(_0x2791d6,_0x112505){_0x2791d6=_0x2791d6-0x10c;let _0x5e668f=_0x5f296a[_0x2791d6];return _0x5e668f;},a4_0x2791(_0x54070f,_0x35209b);}a4_0x29d442[a4_0xabb89a(0x198)]=a4_0xabb89a(0x169),a4_0x29d442['TEST_RUN_FINISHED']=a4_0xabb89a(0x145),a4_0x29d442[a4_0xabb89a(0x1ed)]=a4_0xabb89a(0x179),a4_0x29d442[a4_0xabb89a(0x121)]=a4_0xabb89a(0x1a4),a4_0x29d442[a4_0xabb89a(0x1f3)]=a4_0xabb89a(0x175);const TEST_EVENTS=a4_0x29d442,parseEvent=_0x9cb335=>{const _0x1075d9=a4_0xabb89a,_0x328f2e={};_0x328f2e[_0x1075d9(0x172)]=function(_0x129de8,_0x41924a){return _0x129de8<_0x41924a;},_0x328f2e['AGEIP']=function(_0x443c51,_0x260422){return _0x443c51===_0x260422;},_0x328f2e[_0x1075d9(0x1e7)]=_0x1075d9(0x16f),_0x328f2e[_0x1075d9(0x191)]=_0x1075d9(0x1a9),_0x328f2e[_0x1075d9(0x1d1)]=_0x1075d9(0x151),_0x328f2e[_0x1075d9(0x15d)]=_0x1075d9(0x192),_0x328f2e['LQXVd']='finished';const _0x3c25d8=_0x328f2e,_0x2efe4d=_0x9cb335[_0x1075d9(0x127)](/^(.*)Run(.*)$/);if(!_0x2efe4d)return null;if(_0x3c25d8[_0x1075d9(0x172)](_0x2efe4d[_0x1075d9(0x1c5)],0x3))return null;const _0x4c9515=_0x2efe4d[0x1][_0x1075d9(0x1dc)](),_0x5d197c=_0x2efe4d[0x2][_0x1075d9(0x1dc)]();return{'test':_0x3c25d8[_0x1075d9(0x17b)](_0x4c9515,_0x3c25d8[_0x1075d9(0x1e7)]),'hook':_0x3c25d8[_0x1075d9(0x17b)](_0x4c9515,_0x3c25d8['VIihy']),'skipped':_0x3c25d8['AGEIP'](_0x5d197c,_0x3c25d8[_0x1075d9(0x1d1)]),'started':_0x3c25d8[_0x1075d9(0x17b)](_0x5d197c,_0x3c25d8[_0x1075d9(0x15d)]),'finished':_0x3c25d8[_0x1075d9(0x17b)](_0x5d197c,_0x3c25d8[_0x1075d9(0x17e)])};},mockPWBrowserType=_0x403885=>{const _0x234845=a4_0xabb89a,_0x47adad={'roIEX':function(_0x5da1ed,_0x4402e7,_0x4b447a){return _0x5da1ed(_0x4402e7,_0x4b447a);},'sPWHc':'wsEndpoint','hlMZi':function(_0x1e51ab,_0x521704){return _0x1e51ab(_0x521704);},'VGYjp':_0x234845(0x1d5),'vlNMH':function(_0x35ce8c,_0x1b2285){return _0x35ce8c(_0x1b2285);},'cZCaD':function(_0x4f9d2d,_0x164ac6){return _0x4f9d2d===_0x164ac6;},'kpNuR':'string','BfOxJ':'lib','mZMax':_0x234845(0x202),'sHZqC':_0x234845(0x1ce),'yOwIV':function(_0x4cb1bd,_0x18b6e2){return _0x4cb1bd(_0x18b6e2);},'jVWTN':function(_0xc902cd,_0x5284af){return _0xc902cd(_0x5284af);},'mJLtF':_0x234845(0x14a),'Ssrun':_0x234845(0x12e),'FGhrn':_0x234845(0x196)},_0x5a402b=path['join'](_0x47adad[_0x234845(0x13b)],_0x47adad['mZMax'],_0x47adad[_0x234845(0x144)]),_0x5ed5bb=_0x47adad[_0x234845(0x167)](importFileFromPWCore,_0x5a402b);if(!_0x5ed5bb){_0x47adad[_0x234845(0x1c4)](debug,_0x47adad[_0x234845(0x129)]);return;}const _0x52ef0e=_0x5ed5bb['BrowserType'],_0x48422e=_0x52ef0e[_0x234845(0x18c)];if(_0x48422e[_0x234845(0x119)])return;const _0x541656=_0x48422e['connect'];Object['defineProperty'](_0x48422e,_0x47adad[_0x234845(0x1e5)],{'get':function(){const _0x4bf457=_0x234845,_0x1f315c={'ClpfC':function(_0x244c4e,_0x4f36f){const _0x51155c=a4_0x2791;return _0x47adad[_0x51155c(0x1d8)](_0x244c4e,_0x4f36f);},'KxGdM':_0x47adad[_0x4bf457(0x1ec)]};return async function _0x4b9bb1(_0x4f2f4d,_0x52671b){const _0x3552d9=_0x4bf457,_0x482f7e=_0x47adad[_0x3552d9(0x134)](nestedKeyValue,_0x4f2f4d,[_0x47adad['sPWHc']])||_0x4f2f4d;let _0x3ec07b=null,_0xaac77b=null;try{[_0xaac77b,_0x3ec07b]=_0x482f7e?_0x47adad[_0x3552d9(0x1e3)](parseWSEndpoint,_0x482f7e):[null,null],global[_0x3552d9(0x1ba)]=_0x3ec07b,_0xaac77b['includes'](_0x47adad[_0x3552d9(0x124)])&&(global[_0x3552d9(0x1a5)]=_0x47adad['VGYjp']);}catch(_0x15b713){logger[_0x3552d9(0x1ff)](_0x3552d9(0x181)+_0x482f7e+'\x20'+_0x15b713);}_0x47adad[_0x3552d9(0x134)](processAccessibilityCaps,_0x3ec07b,_0xaac77b);if(global[_0x3552d9(0x187)]){const _0x2d1ab9=await _0x48422e[_0x3552d9(0x1f5)][_0x3552d9(0x208)](this,[''+Constants[_0x3552d9(0x1da)]+_0x47adad[_0x3552d9(0x113)](encodeURIComponent,JSON['stringify'](_0x3ec07b))]);return PlaywrightSessionDetails[_0x3552d9(0x14b)](_0x2d1ab9,_0x403885,_0x482f7e),_0x2d1ab9;}return _0x541656['apply'](this,arguments)[_0x3552d9(0x1a8)](_0x27e159=>{const _0x28ee4d=_0x3552d9;let _0xdd3743=_0x4f2f4d[_0x28ee4d(0x1cd)];return _0x1f315c[_0x28ee4d(0x1bb)](typeof _0x4f2f4d,_0x1f315c[_0x28ee4d(0x1a7)])&&(_0xdd3743=_0x4f2f4d),PlaywrightSessionDetails[_0x28ee4d(0x14b)](_0x27e159,_0x403885,_0xdd3743),_0x27e159;});};}});const _0x48260d=_0x48422e[_0x234845(0x196)];Object['defineProperty'](_0x48422e,_0x47adad['FGhrn'],{'get':function(){return async function _0x5600a4(){const _0x33f096=a4_0x2791;return _0x48260d[_0x33f096(0x208)](this,arguments)[_0x33f096(0x1a8)](_0x2c11fa=>{const _0x1f16f8=_0x33f096;return PlaywrightSessionDetails[_0x1f16f8(0x14b)](_0x2c11fa,null),_0x2c11fa;});};}});};class O11yHelper{[a4_0xabb89a(0x1fa)]=null;[a4_0xabb89a(0x1c6)]=null;['enabled']=![];[a4_0xabb89a(0x10e)]=![];constructor(_0x5c1f42,_0x42d93a){const _0x2a6da9=a4_0xabb89a,_0x1dfd5b={'zQZDX':_0x2a6da9(0x197),'AfuXT':function(_0x9597a4){return _0x9597a4();},'erAcG':function(_0x341b4f){return _0x341b4f();},'hibpf':function(_0x32dbd7,_0x2338c9){return _0x32dbd7===_0x2338c9;},'VeHtE':_0x2a6da9(0x1d6),'oWpfo':function(_0x27a42a,_0x181eae){return _0x27a42a(_0x181eae);}},_0x2991c2=_0x1dfd5b[_0x2a6da9(0x1ee)][_0x2a6da9(0x13a)]('|');let _0x5c7176=0x0;while(!![]){switch(_0x2991c2[_0x5c7176++]){case'0':this['_testEnv']=_0x1dfd5b[_0x2a6da9(0x147)](getTestEnv);continue;case'1':this[_0x2a6da9(0x10c)]=new testOpsHelper[(_0x2a6da9(0x177))]({'cwd':process['cwd']()},this[_0x2a6da9(0x1b5)]['location_prefix']);continue;case'2':this[_0x2a6da9(0x10e)]=_0x42d93a[_0x2a6da9(0x10e)];continue;case'3':this['enabled']=_0x1dfd5b[_0x2a6da9(0x17d)](shouldProcessEventForTesthub);continue;case'4':this[_0x2a6da9(0x11d)]=_0x5c1f42;continue;case'5':this[_0x2a6da9(0x11d)]&&_0x1dfd5b[_0x2a6da9(0x133)](this[_0x2a6da9(0x11d)][_0x2a6da9(0x112)][_0x2a6da9(0x1c3)],_0x1dfd5b['VeHtE'])&&_0x1dfd5b[_0x2a6da9(0x143)](mockPWBrowserType,null);continue;}break;}}[a4_0xabb89a(0x1b0)](){const _0x548bc1=a4_0xabb89a;if(!this[_0x548bc1(0x146)])return;testOpsHelper[_0x548bc1(0x157)](),process['removeAllListeners'](_0x548bc1(0x1b6)+process[_0x548bc1(0x171)]),process['on'](_0x548bc1(0x1b6)+process['pid'],this[_0x548bc1(0x1f2)][_0x548bc1(0x1f7)](this));}async['stop'](){const _0x247c4f=a4_0xabb89a;await RequestQueueHandler[_0x247c4f(0x14c)]()['shutdown']();}async[a4_0xabb89a(0x1f2)](_0x369ffe){const _0x43a16b=a4_0xabb89a,_0x763f73={'oonVA':_0x43a16b(0x200),'oLHiL':function(_0x36d894,_0x5d6ccd){return _0x36d894(_0x5d6ccd);}};try{this[_0x43a16b(0x1c6)]&&!this[_0x43a16b(0x1c6)][_0x43a16b(0x126)]&&(_0x369ffe[_0x43a16b(0x199)]=this['currentHook'][_0x43a16b(0x185)]);!_0x369ffe[_0x43a16b(0x199)]&&this[_0x43a16b(0x1fa)]&&!this['currentTest'][_0x43a16b(0x126)]&&(_0x369ffe[_0x43a16b(0x1c7)]=this['currentTest']['testAnalyticsId']);if(_0x369ffe[_0x43a16b(0x199)]||_0x369ffe[_0x43a16b(0x1c7)]){const _0x5ad610={};_0x5ad610['event_type']=_0x763f73[_0x43a16b(0x170)],_0x5ad610[_0x43a16b(0x1e1)]=[_0x369ffe],await SessionHandler[_0x43a16b(0x184)](_0x5ad610);}}catch(_0x213ae0){_0x763f73[_0x43a16b(0x1ae)](debug,_0x43a16b(0x1f9)+_0x213ae0);}}async['sendCBTInfo'](_0x3cd449){const _0x4179be=a4_0xabb89a,_0xacbf05={'ENuUW':_0x4179be(0x1ac),'PMkvl':function(_0x5c4fdf,_0x40584c){return _0x5c4fdf(_0x40584c);}};if(!this[_0x4179be(0x146)])return;const _0x301acf=this[_0x4179be(0x14f)](this[_0x4179be(0x11d)]);try{const _0x4331c7={};_0x4331c7[_0x4179be(0x140)]=_0x3cd449,_0x4331c7['integrations']=_0x301acf;const _0x1ece2b=_0x4331c7,_0x3a1257={};_0x3a1257[_0x4179be(0x118)]=_0xacbf05[_0x4179be(0x163)],_0x3a1257[_0x4179be(0x1f0)]=_0x1ece2b,await SessionHandler[_0x4179be(0x184)](_0x3a1257);}catch(_0x48a33f){_0xacbf05[_0x4179be(0x1d4)](debug,_0x4179be(0x189)+_0x48a33f);}}[a4_0xabb89a(0x14f)](_0x546051){const _0x24abdd=a4_0xabb89a,_0x198a0e={'xHjUn':function(_0x4c17e8,_0x356ab2){return _0x4c17e8(_0x356ab2);}};return _0x198a0e[_0x24abdd(0x12a)](fetchPlatformDetails,_0x546051);}[a4_0xabb89a(0x1cc)]=_0x233c31=>{const _0x4a8323=a4_0xabb89a,_0x3a5bde={};_0x3a5bde[_0x4a8323(0x17a)]=_0x4a8323(0x1a1),_0x3a5bde[_0x4a8323(0x18e)]='_afterEach';const _0x119f9a=_0x3a5bde;if(!_0x233c31||!_0x233c31[_0x4a8323(0x18f)])return;[_0x119f9a['SIyQP'],_0x119f9a[_0x4a8323(0x18e)]][_0x4a8323(0x19c)](_0x1e62df=>{const _0x4b9173=_0x4a8323,_0x266e22=_0x233c31[_0x4b9173(0x18f)][_0x1e62df];_0x266e22['forEach'](_0x47b0e7=>{const _0x1e3233=_0x4b9173;_0x47b0e7[_0x1e3233(0x185)]&&(_0x47b0e7[_0x1e3233(0x185)]=null);});});};[a4_0xabb89a(0x209)](_0x5e014a){const _0x474471=a4_0xabb89a,_0x2b4c43={'ceXpN':'codeceptjs','jrnqv':function(_0x1597ef){return _0x1597ef();},'Dlwmx':function(_0x487109,_0x279196){return _0x487109===_0x279196;},'QGgdS':_0x474471(0x14e),'khxIV':_0x474471(0x1ef),'ciyTa':_0x474471(0x156),'zEYBo':_0x474471(0x1a1)};if(!_0x5e014a||!_0x5e014a[_0x474471(0x18f)])return;[_0x2b4c43[_0x474471(0x183)],_0x2b4c43[_0x474471(0x15a)],_0x2b4c43[_0x474471(0x204)],_0x2b4c43[_0x474471(0x16e)]][_0x474471(0x19c)](_0x4fbe88=>{const _0x552515=_0x474471,_0x33e840={'dFHXE':_0x2b4c43['ceXpN'],'Vnhuz':function(_0x56c88d){const _0xa68f57=a4_0x2791;return _0x2b4c43[_0xa68f57(0x10d)](_0x56c88d);},'qKxKH':function(_0x1d6988,_0x138475){const _0xa2888c=a4_0x2791;return _0x2b4c43[_0xa2888c(0x1f8)](_0x1d6988,_0x138475);},'pJgml':_0x2b4c43['QGgdS']},_0x274f2e=_0x5e014a[_0x552515(0x18f)][_0x4fbe88]||[];_0x274f2e['forEach'](_0xa3edbc=>{const _0x831645=_0x552515;if(_0xa3edbc[_0x831645(0x160)][_0x831645(0x12f)](_0x33e840[_0x831645(0x136)]))return;if(!_0xa3edbc[_0x831645(0x185)])_0xa3edbc[_0x831645(0x185)]=_0x33e840[_0x831645(0x1be)](uuidv4);else _0xa3edbc[_0x831645(0x126)]&&_0x33e840[_0x831645(0x19a)](_0x4fbe88,_0x33e840[_0x831645(0x1db)])&&(_0xa3edbc[_0x831645(0x185)]=_0x33e840[_0x831645(0x1be)](uuidv4),delete _0xa3edbc['markedStatus']);});}),this['mapTestHooks'](_0x5e014a['parent']);}[a4_0xabb89a(0x1f1)](_0x36edb0){const _0x25a647=a4_0xabb89a,_0x4ba6e5={};_0x4ba6e5[_0x25a647(0x1ad)]=_0x25a647(0x1ef),_0x4ba6e5[_0x25a647(0x205)]=_0x25a647(0x156),_0x4ba6e5[_0x25a647(0x135)]=_0x25a647(0x1a1),_0x4ba6e5[_0x25a647(0x158)]=_0x25a647(0x14e);const _0x297c3e=_0x4ba6e5;if(!_0x36edb0||!_0x36edb0[_0x25a647(0x18f)])return[];const _0x5ea551=[];return[_0x297c3e[_0x25a647(0x1ad)],_0x297c3e[_0x25a647(0x205)],_0x297c3e['JsLun'],_0x297c3e['JsZZQ']][_0x25a647(0x19c)](_0x10f555=>{const _0x13f3a4=_0x25a647,_0x2f7099=_0x36edb0[_0x13f3a4(0x18f)][_0x10f555]||[];_0x2f7099[_0x13f3a4(0x19c)](_0x49ed4b=>{const _0x11ad85=_0x13f3a4;_0x49ed4b[_0x11ad85(0x185)]&&_0x5ea551[_0x11ad85(0x1c1)](_0x49ed4b['hookAnalyticsId']);});}),[][_0x25a647(0x178)](_0x5ea551,this['getHooksForTest'](_0x36edb0['parent']));}[a4_0xabb89a(0x165)](_0x307b79){const _0x369b0c=a4_0xabb89a,_0x194c63=/^"(?<hook>.*)" hook:.*$/,_0xedb2b1=_0x307b79[_0x369b0c(0x160)],_0x3842df=_0xedb2b1[_0x369b0c(0x127)](_0x194c63);if(_0x3842df&&_0x3842df[_0x369b0c(0x122)])return _0x3842df[_0x369b0c(0x122)][_0x369b0c(0x1a9)][_0x369b0c(0x173)]()[_0x369b0c(0x154)]('\x20','_');return null;}[a4_0xabb89a(0x18a)](_0x3d88c0){const _0x5c4610=a4_0xabb89a,_0x54f21d={};_0x54f21d[_0x5c4610(0x1af)]=function(_0x271fc6,_0x33dfeb){return _0x271fc6===_0x33dfeb;},_0x54f21d[_0x5c4610(0x201)]=function(_0xc04646,_0x4c10da){return _0xc04646===_0x4c10da;},_0x54f21d[_0x5c4610(0x186)]=function(_0x292762,_0x4887cc){return _0x292762===_0x4887cc;},_0x54f21d['nckwr']='.git',_0x54f21d[_0x5c4610(0x1eb)]=_0x5c4610(0x1a2);const _0x13b63d=_0x54f21d,_0x1ff6c4=path[_0x5c4610(0x19f)];if(_0x13b63d[_0x5c4610(0x1af)](_0x3d88c0,null)||_0x13b63d['pSLQK'](_0x3d88c0,'')||_0x13b63d[_0x5c4610(0x201)](_0x3d88c0,_0x1ff6c4)||_0x13b63d[_0x5c4610(0x186)](_0x3d88c0,path[_0x5c4610(0x11c)](_0x3d88c0)))return null;try{return fs[_0x5c4610(0x142)](path[_0x5c4610(0x166)](_0x3d88c0,_0x13b63d[_0x5c4610(0x206)],_0x13b63d[_0x5c4610(0x1eb)])),_0x3d88c0;}catch(_0x330a47){const _0x2fed5e=path[_0x5c4610(0x11c)](_0x3d88c0);return this['findGitConfig'](_0x2fed5e);}}[a4_0xabb89a(0x10f)](_0x1a6bd8){const _0x150534=a4_0xabb89a,_0x264722={};_0x264722[_0x150534(0x116)]=function(_0x4edab5,_0x1f208a){return _0x4edab5>_0x1f208a;};const _0x43c744=_0x264722;if(_0x1a6bd8[_0x150534(0x13e)])return _0x1a6bd8['file'];if(_0x1a6bd8[_0x150534(0x155)]){const _0xb43364=_0x1a6bd8[_0x150534(0x155)]['currentTest']?this['getRootParentFile'](_0x1a6bd8[_0x150534(0x155)]['currentTest']):null;if(_0xb43364)return _0xb43364;}if(_0x1a6bd8[_0x150534(0x18f)]){const _0x441000=this[_0x150534(0x10f)](_0x1a6bd8[_0x150534(0x18f)])||(_0x1a6bd8['parent'][_0x150534(0x155)]&&_0x1a6bd8[_0x150534(0x18f)][_0x150534(0x155)][_0x150534(0x1fa)]?this['getRootParentFile'](_0x1a6bd8['parent']['ctx']['currentTest']):null);if(_0x441000)return _0x441000;_0x1a6bd8[_0x150534(0x18f)]['suites']&&_0x43c744[_0x150534(0x116)](_0x1a6bd8[_0x150534(0x18f)]['suites']['length'],0x0)&&_0x1a6bd8[_0x150534(0x18f)][_0x150534(0x174)][_0x150534(0x19c)](_0x1bcd19=>{const _0x4de9be=_0x150534,_0x3d497a=_0x1bcd19['ctx']?this['getRootParentFile'](_0x1bcd19[_0x4de9be(0x155)]):null;if(_0x3d497a)return _0x3d497a;});}return null;}[a4_0xabb89a(0x190)](_0x5a8627){const _0x4a6d23=a4_0xabb89a,_0x4aaf9f={};_0x4aaf9f[_0x4a6d23(0x138)]=function(_0x38f31d,_0x30a42d){return _0x38f31d!==_0x30a42d;};const _0x3e6439=_0x4aaf9f,_0x9ef572=[];if(_0x5a8627&&_0x5a8627[_0x4a6d23(0x18f)]){let _0x55f29a=_0x5a8627[_0x4a6d23(0x18f)];while(_0x55f29a&&_0x3e6439[_0x4a6d23(0x138)](_0x55f29a[_0x4a6d23(0x160)],'')){_0x9ef572[_0x4a6d23(0x1c1)](_0x55f29a[_0x4a6d23(0x160)]),_0x55f29a=_0x55f29a['parent'];}}return _0x9ef572;}['captureEvent'](_0x438feb,_0x4dfa84,_0x3e52a0=undefined){const _0x1cab7b=a4_0xabb89a,_0x220748={'YaleP':function(_0x38af9c,_0xc2dbdc){return _0x38af9c(_0xc2dbdc);},'DvXgM':function(_0x5b25bd){return _0x5b25bd();},'gYhmr':function(_0x51610c){return _0x51610c();},'wiGOG':function(_0x4f52d3,_0x1d29d9){return _0x4f52d3(_0x1d29d9);},'vYTZv':_0x1cab7b(0x18d),'Usyul':_0x1cab7b(0x149),'iEInf':function(_0x158a44,_0x5b9165){return _0x158a44!==_0x5b9165;},'iknMD':function(_0x2f9789,_0x4b93cb){return _0x2f9789!==_0x4b93cb;},'TegrJ':_0x1cab7b(0x125),'Didih':'pending','DRYvu':_0x1cab7b(0x194),'VKCEM':'passed','dPSMn':_0x1cab7b(0x151),'WGhfZ':_0x1cab7b(0x17c),'UJijP':function(_0x11d09d,_0xabfbe6){return _0x11d09d-_0xabfbe6;},'hIJSP':function(_0x309820,_0xebc21,_0x4e6225,_0x504ae5,_0x224d73){return _0x309820(_0xebc21,_0x4e6225,_0x504ae5,_0x224d73);},'aNpPq':function(_0x5961e8,_0x5a9d77){return _0x5961e8!==_0x5a9d77;},'sYiyz':_0x1cab7b(0x120),'CqOxI':'meta','phRCV':_0x1cab7b(0x1c0),'enmQL':_0x1cab7b(0x162),'KvPHp':_0x1cab7b(0x150),'eNPQo':_0x1cab7b(0x1d9),'QYrqA':_0x1cab7b(0x132),'jiaVK':function(_0x4a4cd8,_0x4d9753){return _0x4a4cd8===_0x4d9753;},'TPUPy':_0x1cab7b(0x1ca),'fLyZl':_0x1cab7b(0x1f0)};if(!this[_0x1cab7b(0x146)])return;try{if(_0x4dfa84['fn']&&_0x4dfa84['fn'][_0x1cab7b(0x1b4)]()[_0x1cab7b(0x127)](/browserstack internal helper hook/))return;const _0x26fbef=_0x220748[_0x1cab7b(0x1e9)](parseEvent,_0x438feb);if(!_0x26fbef)return;if(_0x26fbef['test']){this[_0x1cab7b(0x1fa)]=_0x4dfa84,this[_0x1cab7b(0x1c6)]=null;if(_0x26fbef[_0x1cab7b(0x192)]||_0x26fbef[_0x1cab7b(0x151)]){_0x4dfa84[_0x1cab7b(0x164)]=new Date(),_0x4dfa84[_0x1cab7b(0x126)]=![];if(!_0x4dfa84[_0x1cab7b(0x1b9)])_0x4dfa84[_0x1cab7b(0x1b9)]=_0x220748[_0x1cab7b(0x1c2)](uuidv4);else _0x4dfa84[_0x1cab7b(0x126)]&&(!_0x4dfa84['retryOf']&&(_0x4dfa84[_0x1cab7b(0x1aa)]=_0x4dfa84[_0x1cab7b(0x1b9)]),_0x4dfa84[_0x1cab7b(0x1b9)]=_0x220748[_0x1cab7b(0x1c2)](uuidv4));}}else{if(_0x26fbef[_0x1cab7b(0x1a9)]){this[_0x1cab7b(0x1c6)]=_0x4dfa84;if(_0x26fbef[_0x1cab7b(0x192)]){_0x4dfa84['startedAt']=new Date(),_0x4dfa84[_0x1cab7b(0x126)]=![];if(!_0x4dfa84['hookAnalyticsId'])_0x4dfa84[_0x1cab7b(0x185)]=_0x220748['DvXgM'](uuidv4);else _0x4dfa84['hookAnalyticsId']&&_0x4dfa84[_0x1cab7b(0x126)]&&(_0x4dfa84[_0x1cab7b(0x185)]=_0x220748[_0x1cab7b(0x16a)](uuidv4));}}}if(_0x26fbef['finished']&&_0x4dfa84[_0x1cab7b(0x126)])return;let _0xeab57c;try{_0xeab57c=this[_0x1cab7b(0x10f)](_0x4dfa84);}catch(_0xd2dd1){logger[_0x1cab7b(0x1ff)](_0x1cab7b(0x1e6)+_0xd2dd1),_0xeab57c=null;}const _0x487fb5=_0x220748[_0x1cab7b(0x19b)](require,_0x220748[_0x1cab7b(0x1dd)]);let _0x32ba93=[];_0x3e52a0&&(_0x32ba93=[_0x3e52a0,_0x220748[_0x1cab7b(0x1cb)]]);const _0x8edba9=_0x220748[_0x1cab7b(0x1e4)](_0x4dfa84[_0x1cab7b(0x203)],undefined)?_0x487fb5['inspect'](_0x4dfa84['errorsDetailed'][0x0]):_0x220748[_0x1cab7b(0x153)](_0x3e52a0,undefined)?_0x3e52a0[_0x1cab7b(0x1b4)]():undefined,_0x39976c=_0xeab57c?this['findGitConfig'](_0xeab57c):null,_0x25ce24=_0xeab57c?this[_0x1cab7b(0x10c)][_0x1cab7b(0x1ab)](this[_0x1cab7b(0x10f)](_0x4dfa84)):_0x220748[_0x1cab7b(0x1a3)];let _0x369e05=_0x220748[_0x1cab7b(0x15b)];const _0x3c98d3=!_0x26fbef['started']?new Date()[_0x1cab7b(0x1b1)]():null;if(_0x26fbef[_0x1cab7b(0x130)])_0x369e05=_0x3e52a0?_0x220748[_0x1cab7b(0x1c9)]:_0x220748['VKCEM'],_0x4dfa84['markedStatus']=!![];else _0x26fbef['skipped']&&(_0x369e05=_0x220748[_0x1cab7b(0x1cf)],_0x4dfa84[_0x1cab7b(0x126)]=!![]);const _0x4e9df4={'framework':this[_0x1cab7b(0x10e)],'uuid':_0x4dfa84[_0x1cab7b(0x1b9)]||_0x4dfa84[_0x1cab7b(0x185)],'name':_0x4dfa84[_0x1cab7b(0x160)],'body':{'lang':_0x220748[_0x1cab7b(0x182)],'code':_0x4dfa84[_0x1cab7b(0x180)][_0x1cab7b(0x1b4)]()},'type':_0x4dfa84[_0x1cab7b(0x176)],'scope':_0x4dfa84[_0x1cab7b(0x1ea)](),'scopes':this['getHierarchy'](_0x4dfa84),'file_name':_0x25ce24,'vc_filepath':_0x39976c?path[_0x1cab7b(0x1fb)](_0x39976c,_0xeab57c):null,'location':_0x25ce24,'result':_0x369e05,'failure_reason':_0x8edba9,'duration_in_ms':_0x4dfa84['duration']||(_0x26fbef[_0x1cab7b(0x130)]||_0x26fbef[_0x1cab7b(0x151)])?_0x220748['UJijP'](Date['now'](),new Date(_0x4dfa84[_0x1cab7b(0x164)])[_0x1cab7b(0x111)]()):null,'started_at':new Date(_0x4dfa84[_0x1cab7b(0x164)])[_0x1cab7b(0x1b1)](),'finished_at':_0x3c98d3,'failure':testOpsHelper['failureData'][_0x1cab7b(0x208)](null,_0x32ba93),'failure_type':!_0x8edba9?null:testOpsHelper[_0x1cab7b(0x13d)](_0x8edba9),'retry_of':_0x4dfa84[_0x1cab7b(0x1aa)]||null,'tags':_0x4dfa84['tags']||[],'customRerunParam':{'rerun_name':_0x4dfa84['fullTitle']()}};_0x220748[_0x1cab7b(0x11e)](appendTesthubParams,_0x4e9df4,_0x438feb,_0x4dfa84,FRAMEWORKS[_0x1cab7b(0x15e)]);if(_0x26fbef[_0x1cab7b(0x1a9)])[_0x4e9df4['hook_type'],_0x4e9df4['name']]=[this[_0x1cab7b(0x165)](_0x4dfa84),_0x4dfa84[_0x1cab7b(0x155)][_0x1cab7b(0x16f)][_0x1cab7b(0x160)]],_0x26fbef['finished']?_0x220748[_0x1cab7b(0x1d0)](_0x4e9df4[_0x1cab7b(0x195)],_0x220748['DRYvu'])&&(_0x4e9df4[_0x1cab7b(0x195)]=_0x220748['VKCEM']):_0x4e9df4['body']={};else _0x26fbef[_0x1cab7b(0x16f)]&&(this['mapTestHooks'](_0x4dfa84),_0x26fbef[_0x1cab7b(0x151)]&&this[_0x1cab7b(0x1cc)](_0x4dfa84),(_0x26fbef['finished']||_0x26fbef[_0x1cab7b(0x151)])&&(_0x4e9df4[_0x1cab7b(0x1b7)]=this[_0x1cab7b(0x1f1)](_0x4dfa84)));this[_0x1cab7b(0x11d)]&&(_0x26fbef[_0x1cab7b(0x192)]||_0x26fbef[_0x1cab7b(0x151)])&&(_0x4e9df4[_0x220748[_0x1cab7b(0x15c)]]=this[_0x1cab7b(0x14f)](this['driver']));_0x26fbef[_0x1cab7b(0x16f)]&&_0x26fbef['finished']&&_0x4dfa84['bddSteps']&&(_0x4e9df4[_0x220748[_0x1cab7b(0x137)]]={'feature':{'name':_0x4dfa84[_0x1cab7b(0x18f)][_0x1cab7b(0x161)][_0x1cab7b(0x1c3)],'path':_0x4e9df4[_0x1cab7b(0x16c)],'description':_0x4dfa84[_0x1cab7b(0x18f)][_0x1cab7b(0x12b)]},'scenario':{'name':_0x4dfa84[_0x1cab7b(0x160)]},'steps':_0x4dfa84['bddSteps']});const _0x42a38a=_0x4e9df4[_0x220748['phRCV']][0x0];_0x42a38a&&(_0x4e9df4[_0x220748['enmQL']]=_0x42a38a[_0x220748[_0x1cab7b(0x1bc)]],_0x4e9df4[_0x220748[_0x1cab7b(0x1fe)]]=_0x42a38a[_0x220748[_0x1cab7b(0x193)]]);if(_0x4dfa84[_0x1cab7b(0x16b)])for(const _0x5a04c0 of _0x4dfa84[_0x1cab7b(0x16b)]){!_0x5a04c0[_0x1cab7b(0x123)]&&(_0x5a04c0[_0x1cab7b(0x123)]=new Date()[_0x1cab7b(0x1b1)](),_0x220748[_0x1cab7b(0x1f4)](_0x5a04c0['result'],_0x220748[_0x1cab7b(0x15b)])&&(_0x42a38a?(_0x5a04c0['result']=_0x220748['DRYvu'],_0x5a04c0['failure']=_0x42a38a[_0x220748[_0x1cab7b(0x1bc)]][0x0]):_0x5a04c0[_0x1cab7b(0x195)]=_0x220748[_0x1cab7b(0x141)]));}const _0x595620={};_0x595620[_0x1cab7b(0x118)]=_0x26fbef[_0x1cab7b(0x151)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x438feb;const _0x34ed9e=_0x595620;return _0x26fbef['hook']?_0x34ed9e[_0x220748[_0x1cab7b(0x131)]]=_0x4e9df4:_0x34ed9e[_0x220748[_0x1cab7b(0x1fc)]]=_0x4e9df4,_0x34ed9e;}catch(_0x4bd7e4){logger['debug'](_0x1cab7b(0x1b8)+_0x438feb+_0x1cab7b(0x115)+_0x4bd7e4);}}async[a4_0xabb89a(0x12d)](_0x17f6a4,_0x4049d5){const _0x2e7376=a4_0xabb89a;if(!this[_0x2e7376(0x146)]||!_0x4049d5||!_0x17f6a4)return![];try{return await SessionHandler[_0x2e7376(0x184)](_0x4049d5);}catch(_0x43f3a8){logger[_0x2e7376(0x1ff)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x17f6a4+_0x2e7376(0x115)+_0x43f3a8);}}[a4_0xabb89a(0x1b2)](_0x4b4a35){const _0x1a28e0=a4_0xabb89a,_0x475b71={};_0x475b71['qOFyc']=_0x1a28e0(0x1d2);const _0x113ba0=_0x475b71;return{'id':_0x4b4a35[_0x1a28e0(0x188)],'text':_0x4b4a35['text'],'keyword':_0x4b4a35[_0x1a28e0(0x1bf)],'started_at':_0x4b4a35['startedAt'][_0x1a28e0(0x1b1)](),'result':_0x113ba0[_0x1a28e0(0x1d7)]};}[a4_0xabb89a(0x17f)](_0x38d3a9){const _0x5d5ff2=a4_0xabb89a,_0x3542c6={'YtYhK':function(_0xe91648){return _0xe91648();}};!this[_0x5d5ff2(0x1fa)][_0x5d5ff2(0x16b)]&&(this[_0x5d5ff2(0x1fa)]['bddSteps']=[]),!_0x38d3a9[_0x5d5ff2(0x188)]&&(_0x38d3a9[_0x5d5ff2(0x188)]=_0x3542c6[_0x5d5ff2(0x19d)](uuidv4),_0x38d3a9[_0x5d5ff2(0x164)]=new Date(),this['currentTest'][_0x5d5ff2(0x16b)][_0x5d5ff2(0x1c1)](this[_0x5d5ff2(0x1b2)](_0x38d3a9)));}[a4_0xabb89a(0x11b)](_0x367512){const _0x35ba56=a4_0xabb89a,_0x5875d5={'rYcvb':function(_0x2d1cfa,_0x4c3957){return _0x2d1cfa(_0x4c3957);},'nyxTI':_0x35ba56(0x148),'CzXbg':'pending','qTHId':_0x35ba56(0x159),'rsZLt':function(_0x178d71,_0x339a7f){return _0x178d71-_0x339a7f;}};let _0x5deaa3=this[_0x35ba56(0x1fa)]['bddSteps'][_0x35ba56(0x19e)](_0x3988fd=>_0x3988fd['id']===_0x367512[_0x35ba56(0x188)]);_0x5875d5[_0x35ba56(0x1de)](isUndefined,_0x5deaa3)&&(_0x5deaa3=this['initializeBddStep'](_0x367512)),_0x5deaa3[_0x35ba56(0x195)]=[_0x5875d5['nyxTI'],_0x5875d5[_0x35ba56(0x18b)]][_0x35ba56(0x12f)](_0x367512['status'])?_0x5875d5['qTHId']:_0x367512[_0x35ba56(0x11a)],_0x5deaa3[_0x35ba56(0x123)]=new Date()[_0x35ba56(0x1b1)](),_0x5deaa3['duration']=_0x5875d5[_0x35ba56(0x1df)](Date[_0x35ba56(0x110)](),_0x367512[_0x35ba56(0x164)]['getTime']()),_0x5deaa3[_0x35ba56(0x1c0)]=_0x367512[_0x35ba56(0x149)]?_0x367512[_0x35ba56(0x149)][_0x35ba56(0x1a0)]:null;}}const a4_0x170415={};a4_0x170415[a4_0xabb89a(0x15f)]=O11yHelper,a4_0x170415[a4_0xabb89a(0x114)]=STATE_PASSED,a4_0x170415['STATE_FAILED']=STATE_FAILED,a4_0x170415[a4_0xabb89a(0x1fd)]=TEST_EVENTS,module[a4_0xabb89a(0x13c)]=a4_0x170415;function a4_0x5f29(){const _0x1e2fa3=['mJLtF','xHjUn','comment','../utils/constants','fireEvent','connect','includes','finished','TPUPy','expanded','hibpf','roIEX','JsLun','dFHXE','CqOxI','SuIoY','85386CdSkWZ','split','BfOxJ','exports','getFailureType','file','319TGGlLC','uuid','VKCEM','statSync','oWpfo','sHZqC','TestRunFinished','enabled','AfuXT','success','err','Not\x20able\x20to\x20import\x20Browser','setupBrowserDetails','getInstance','../playwright/accessibility-helper','_afterEach','getCBTInfo','backtrace','skipped','526239aXMBSw','iknMD','replace','ctx','_afterAll','patchConsoleLogger','JsZZQ','passed','ciyTa','Didih','sYiyz','EKvsX','CODECEPT','O11yHelper','title','feature','failure_backtrace','ENuUW','startedAt','getHookType','join','yOwIV','56nYMXVU','TestRunStarted','gYhmr','bddSteps','file_name','1427598uuKzGi','QGgdS','test','oonVA','pid','gdieA','toUpperCase','suites','HookRunFinished','type','PathHelper','concat','TestRunSkipped','SIyQP','AGEIP','javascript','erAcG','LQXVd','bddStepStart','body','Failed\x20to\x20parse\x20wsendpoint\x20','WGhfZ','khxIV','uploadEventData','hookAnalyticsId','vvIDt','accessibilityPlatform','stepAnalyticsId','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','findGitConfig','CzXbg','prototype','util','RUuio','parent','getHierarchy','VIihy','started','QYrqA','failed','result','launch','3|2|4|0|1|5','TEST_RUN_STARTED','hook_run_uuid','qKxKH','wiGOG','forEach','YtYhK','find','sep','message','_beforeEach','config','TegrJ','HookRunStarted','__cloud_provider___','../../helpers/testhub/utils.js','KxGdM','then','hook','retryOf','prefixTestPath','CBTSessionCreated','FWmal','oLHiL','pSLQK','start','toISOString','initializeBddStep','253948jNUgvX','toString','_testEnv','bs:addLog:','hooks','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','testAnalyticsId','__platformCaps','ClpfC','KvPHp','35iwoqHK','Vnhuz','keyword','failure','push','DvXgM','name','jVWTN','length','currentHook','test_run_uuid','928539dXRTKF','DRYvu','hook_run','Usyul','resetSkipTestHooks','wsEndpoint','browserType.js','dPSMn','aNpPq','cpqAt','pending','../../helpers/test-observability/constants','PMkvl','browserstack','Playwright','qOFyc','cZCaD','failure_reason_expanded','PLAYWRIGHT_HUB_URL','pJgml','toLowerCase','vYTZv','rYcvb','rsZLt','../../helpers/test-observability/requestQueueHandler','logs','../../helpers/test-observability/sessionHandler','hlMZi','iEInf','Ssrun','failed\x20to\x20get\x20root\x20parent\x20file\x20','pjrDN','path','YaleP','fullTitle','LfKAk','kpNuR','TEST_RUN_SKIPPED','zQZDX','_beforeAll','test_run','getHooksForTest','appendTestItemLog','HOOK_RUN_FINISHED','jiaVK','connectOverCDP','./helper.js','bind','Dlwmx','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','currentTest','relative','fLyZl','TEST_EVENTS','eNPQo','debug','LogCreated','fPHSe','client','errorsDetailed','zEYBo','NEqgP','nckwr','winstonLogger','apply','mapTestHooks','_paths','jrnqv','frameworkName','getRootParentFile','now','getTime','constructor','vlNMH','STATE_PASSED','\x20with\x20error\x20:\x20','sjoZh','1076626aXxdTs','event_type','obsBrowserTypeMockApplied','status','bddStepFinish','dirname','driver','hIJSP','48MojUFi','integrations','HOOK_RUN_STARTED','groups','finished_at','VGYjp','File\x20path\x20could\x20not\x20be\x20found','markedStatus','match','43630JhBRFh'];a4_0x5f29=function(){return _0x1e2fa3;};return a4_0x5f29();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x25bec5=a5_0x993f;(function(_0x251baf,_0x2f8b8e){const _0x375bc3=a5_0x993f,_0x277c4e=_0x251baf();while(!![]){try{const _0x1ad14b=-parseInt(_0x375bc3(0x153))/0x1*(parseInt(_0x375bc3(0x1a9))/0x2)+parseInt(_0x375bc3(0x187))/0x3+-parseInt(_0x375bc3(0x1c0))/0x4+-parseInt(_0x375bc3(0x1bc))/0x5*(parseInt(_0x375bc3(0x155))/0x6)+parseInt(_0x375bc3(0x160))/0x7*(parseInt(_0x375bc3(0x156))/0x8)+-parseInt(_0x375bc3(0x197))/0x9+-parseInt(_0x375bc3(0x16b))/0xa*(-parseInt(_0x375bc3(0x171))/0xb);if(_0x1ad14b===_0x2f8b8e)break;else _0x277c4e['push'](_0x277c4e['shift']());}catch(_0x41a943){_0x277c4e['push'](_0x277c4e['shift']());}}}(a5_0x43b2,0x221df));function a5_0x993f(_0x2cd100,_0x541c2d){const _0x43b28d=a5_0x43b2();return a5_0x993f=function(_0x993ffc,_0x53c3af){_0x993ffc=_0x993ffc-0x14f;let _0x4939b0=_0x43b28d[_0x993ffc];return _0x4939b0;},a5_0x993f(_0x2cd100,_0x541c2d);}const fs=require('fs'),path=require(a5_0x25bec5(0x194)),util=require(a5_0x25bec5(0x1bb)),logger=require(a5_0x25bec5(0x16a))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x25bec5(0x180)),utilities=require('../../helpers/utilities'),constants=require(a5_0x25bec5(0x151)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x25bec5(0x183)),testOpsHelper=require(a5_0x25bec5(0x17f)),chalk=require('chalk');function printCucumberStats(_0xf6875a){const _0x2f0ff3=a5_0x25bec5,_0xfc4aaa={};_0xfc4aaa[_0x2f0ff3(0x188)]=function(_0x6cce03,_0x257981){return _0x6cce03>_0x257981;},_0xfc4aaa['nKHLZ']=function(_0x246ffb,_0x2ecd92){return _0x246ffb-_0x2ecd92;},_0xfc4aaa[_0x2f0ff3(0x179)]=function(_0x2136f0,_0x3dd007){return _0x2136f0-_0x3dd007;},_0xfc4aaa[_0x2f0ff3(0x177)]=function(_0x305357,_0x464481){return _0x305357>_0x464481;},_0xfc4aaa[_0x2f0ff3(0x1aa)]=function(_0x3cf38e,_0x35b285){return _0x3cf38e>_0x35b285;},_0xfc4aaa['Dkthd']=function(_0x2468f3,_0x398177){return _0x2468f3>_0x398177;},_0xfc4aaa[_0x2f0ff3(0x15c)]=function(_0x58536e,_0x1a4d3d){return _0x58536e>_0x1a4d3d;},_0xfc4aaa[_0x2f0ff3(0x195)]=function(_0x5de0fe,_0x43431d){return _0x5de0fe+_0x43431d;},_0xfc4aaa[_0x2f0ff3(0x18c)]=function(_0x52438c,_0x39c060){return _0x52438c+_0x39c060;},_0xfc4aaa[_0x2f0ff3(0x1b4)]=function(_0x4a346f,_0x2ae1bd){return _0x4a346f+_0x2ae1bd;},_0xfc4aaa[_0x2f0ff3(0x165)]=function(_0x4744bf,_0x31b59b){return _0x4744bf+_0x31b59b;},_0xfc4aaa[_0x2f0ff3(0x1ab)]=function(_0x39d9dd,_0x2463e4){return _0x39d9dd+_0x2463e4;},_0xfc4aaa[_0x2f0ff3(0x184)]=function(_0x588188,_0x2715aa){return _0x588188+_0x2715aa;},_0xfc4aaa[_0x2f0ff3(0x1b3)]=function(_0x14e500,_0x3125bc){return _0x14e500===_0x3125bc;},_0xfc4aaa[_0x2f0ff3(0x18d)]=_0x2f0ff3(0x1af);const _0x549ecd=_0xfc4aaa;let _0x88a93d=0x0;if(_0x549ecd['UbeRO'](_0xf6875a[_0x2f0ff3(0x189)],0x0))return _0x88a93d;return console[_0x2f0ff3(0x176)](chalk[_0x2f0ff3(0x191)][_0x2f0ff3(0x1bf)](_0x549ecd[_0x2f0ff3(0x18d)])),_0xf6875a[_0x2f0ff3(0x18a)](_0x1a4c8c=>{const _0x377cd7=_0x2f0ff3,_0x270066=_0x1a4c8c[0x0],_0x13aa05=_0x1a4c8c[0x1];console[_0x377cd7(0x176)]('\x0a'+chalk[_0x377cd7(0x191)]['yellow'](''+helper[_0x377cd7(0x163)](_0x270066)));const _0x136b32=_0x13aa05[_0x377cd7(0x15a)],_0x3e7a54=_0x13aa05[_0x377cd7(0x174)],_0x564509=_0x13aa05[_0x377cd7(0x1bd)],_0xdaeb5e=_0x13aa05[_0x377cd7(0x154)],_0x494fdc=_0x13aa05[_0x377cd7(0x1a8)],_0xbd3a9d=_0x13aa05[_0x377cd7(0x150)],_0x291827=_0x13aa05['stepsPending'],_0x322823=_0x13aa05[_0x377cd7(0x19f)],_0x1908dd=_0x13aa05['stepsUnknown'],_0x9e9940=_0x13aa05['stepsAmbiguous'],_0x449962=_0x13aa05[_0x377cd7(0x161)];let _0x47e5ef=_0x136b32+_0x377cd7(0x17c);const _0x30401b=_0x549ecd[_0x377cd7(0x188)](_0x549ecd[_0x377cd7(0x199)](_0x136b32,_0x564509),0x0)?_0x549ecd[_0x377cd7(0x179)](_0x136b32,_0x564509):0x0;if(_0x549ecd[_0x377cd7(0x188)](_0x564509,0x0)&&_0x549ecd[_0x377cd7(0x188)](_0x30401b,0x0))_0x47e5ef+='\x20('+chalk[_0x377cd7(0x191)]['red'](_0x564509+'\x20failed')+',\x20'+chalk['bold'][_0x377cd7(0x198)](_0x30401b+'\x20passed')+')';else(_0x549ecd['SYxei'](_0x564509,0x0)||_0x549ecd[_0x377cd7(0x188)](_0x30401b,0x0))&&(_0x47e5ef+=_0x549ecd[_0x377cd7(0x1aa)](_0x564509,0x0)?'\x20('+chalk[_0x377cd7(0x191)][_0x377cd7(0x1a1)](_0x564509+_0x377cd7(0x17d))+')':'\x20('+chalk['bold'][_0x377cd7(0x198)](_0x30401b+_0x377cd7(0x19d))+')');const _0xd7d74e=_0x3e7a54+_0x377cd7(0x1a6),_0x3f98f8=[];_0x549ecd[_0x377cd7(0x1aa)](_0x9e9940,0x0)&&_0x3f98f8[_0x377cd7(0x17a)](''+chalk['bold']['red'](_0x9e9940+'\x20ambiguous'));_0x549ecd[_0x377cd7(0x157)](_0xdaeb5e,0x0)&&_0x3f98f8['push'](''+chalk['bold'][_0x377cd7(0x1a1)](_0xdaeb5e+_0x377cd7(0x17d)));_0x549ecd[_0x377cd7(0x1aa)](_0x494fdc,0x0)&&_0x3f98f8[_0x377cd7(0x17a)](''+chalk[_0x377cd7(0x191)][_0x377cd7(0x198)](_0x494fdc+_0x377cd7(0x19d)));_0x549ecd[_0x377cd7(0x177)](_0x291827,0x0)&&_0x3f98f8['push'](''+chalk[_0x377cd7(0x191)][_0x377cd7(0x181)](_0x291827+_0x377cd7(0x152)));_0x549ecd['SYxei'](_0xbd3a9d,0x0)&&_0x3f98f8[_0x377cd7(0x17a)](''+chalk[_0x377cd7(0x191)]['cyan'](_0xbd3a9d+'\x20skipped'));_0x549ecd[_0x377cd7(0x15c)](_0x322823,0x0)&&_0x3f98f8[_0x377cd7(0x17a)](''+chalk[_0x377cd7(0x191)][_0x377cd7(0x181)](_0x322823+_0x377cd7(0x19e)));_0x549ecd['nVFuk'](_0x1908dd,0x0)&&_0x3f98f8[_0x377cd7(0x17a)](''+chalk[_0x377cd7(0x191)][_0x377cd7(0x181)](_0x1908dd+_0x377cd7(0x1a3)));const _0x46928c=_0x549ecd[_0x377cd7(0x195)](_0x549ecd['TkmTu'](_0x549ecd['LmHbg'](_0xd7d74e,'('),_0x3f98f8[_0x377cd7(0x1a5)](',\x20')),')');console[_0x377cd7(0x176)](_0x549ecd['MMRQU'](_0x549ecd['SHopQ'](_0x549ecd[_0x377cd7(0x18c)](_0x549ecd[_0x377cd7(0x184)]('\x0a',_0x47e5ef),'\x0a'),_0x46928c),'\x0a')),_0x549ecd[_0x377cd7(0x1b3)](_0x449962,![])&&(_0x88a93d=0x1);}),_0x88a93d;}async function run(_0x25ed6e,_0x3ba0a9){const _0x5ea6d8=a5_0x25bec5,_0x988cc8={'kGSfw':function(_0x8dacb7,_0x1f6c28){return _0x8dacb7(_0x1f6c28);},'ZWJBb':function(_0x3189f6,_0xf38e6a){return _0x3189f6>_0xf38e6a;},'IFYWR':_0x5ea6d8(0x1a4),'oMILS':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','KQEpN':'cucumber','Qyfjt':_0x5ea6d8(0x1a0),'JjHBM':_0x5ea6d8(0x182),'sACuV':_0x5ea6d8(0x17e),'AUjjv':function(_0x21369d,_0x4db3f4){return _0x21369d>_0x4db3f4;},'vdSOm':function(_0x3726ce,_0x2840b4){return _0x3726ce-_0x2840b4;},'Rnxrs':function(_0x2fe644,_0x466500){return _0x2fe644>=_0x466500;},'iFqYQ':function(_0x50bf2c,_0x1ff43d){return _0x50bf2c!=_0x1ff43d;},'kAFxk':_0x5ea6d8(0x1ad),'IhifD':function(_0x5799ed,_0x2fd0be,_0x42f10d,_0x3f213e,_0x54a2e1,_0x22793e){return _0x5799ed(_0x2fd0be,_0x42f10d,_0x3f213e,_0x54a2e1,_0x22793e);}},_0x5d49f6=new BrowserStackSetup(_0x25ed6e,_0x988cc8['JjHBM']);await _0x5d49f6[_0x5ea6d8(0x1ba)]();!helper[_0x5ea6d8(0x168)]()&&await _0x5d49f6[_0x5ea6d8(0x19a)]();await helper[_0x5ea6d8(0x172)](_0x5d49f6[_0x5ea6d8(0x185)]);const _0x4cbb14=helper['useW3C'](_0x5d49f6[_0x5ea6d8(0x185)]),_0x14cecc=helper[_0x5ea6d8(0x1ac)](_0x5d49f6[_0x5ea6d8(0x185)],_0x4cbb14,constants[_0x5ea6d8(0x18b)][_0x5ea6d8(0x17b)]);if(!_0x5d49f6[_0x5ea6d8(0x185)])return;const _0x1fb7f8=_0x5d49f6['config']['parallelsPerPlatform']||helper[_0x5ea6d8(0x190)](_0x25ed6e,_0x3ba0a9,_0x5d49f6[_0x5ea6d8(0x185)],constants[_0x5ea6d8(0x18b)]['CUCUMBER'])||0x1,_0x22599b={'server':helper[_0x5ea6d8(0x15f)](_0x5d49f6[_0x5ea6d8(0x185)]),'proxySettings':_0x5d49f6[_0x5ea6d8(0x185)]['proxySettings'],'maxWorkers':_0x1fb7f8,'browserStackLogLevel':_0x5d49f6[_0x5ea6d8(0x185)]['logLevel'],'skipSessionName':_0x5d49f6[_0x5ea6d8(0x185)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x5d49f6[_0x5ea6d8(0x185)][_0x5ea6d8(0x1b8)][_0x5ea6d8(0x14f)],'turboScaleUrl':_0x5d49f6['config'][_0x5ea6d8(0x1b0)]},_0x54ac18=process[_0x5ea6d8(0x16c)],[_0x2d4f3f,_0x10f45b]=helper[_0x5ea6d8(0x16e)](_0x54ac18),_0x20111c=path[_0x5ea6d8(0x1a5)](process[_0x5ea6d8(0x159)](),_0x988cc8['sACuV']);if(_0x988cc8[_0x5ea6d8(0x1be)](_0x10f45b[_0x5ea6d8(0x189)],0x0)){helper['createDir'](_0x20111c);for(let _0x1e9309=_0x988cc8[_0x5ea6d8(0x1b6)](_0x2d4f3f['length'],0x1);_0x988cc8[_0x5ea6d8(0x1b9)](_0x1e9309,0x0);_0x1e9309--){_0x54ac18[_0x5ea6d8(0x193)](_0x2d4f3f[_0x1e9309],0x2);}}!helper[_0x5ea6d8(0x15d)](_0x5d49f6[_0x5ea6d8(0x185)][_0x5ea6d8(0x175)])&&(process['env'][_0x5ea6d8(0x166)]=JSON[_0x5ea6d8(0x164)](_0x5d49f6[_0x5ea6d8(0x185)]['accessibilityOptions']));_0x988cc8[_0x5ea6d8(0x170)](_0x5d49f6[_0x5ea6d8(0x185)]['testObservability'],null)?process['env'][_0x5ea6d8(0x1b1)]=_0x5d49f6[_0x5ea6d8(0x185)][_0x5ea6d8(0x1a2)]:process['env'][_0x5ea6d8(0x1b1)]=_0x988cc8[_0x5ea6d8(0x162)];const _0x322f7a=await TestHubHandler['launchBuild'](constants['FRAMEWORKS']['CUCUMBER'],_0x5d49f6);helper[_0x5ea6d8(0x186)]();let _0x112915;_0x988cc8[_0x5ea6d8(0x1a7)](parallelCucumberRun,_0x14cecc,_0x22599b,_0x5d49f6[_0x5ea6d8(0x185)],_0x54ac18,_0x10f45b)[_0x5ea6d8(0x15b)](async _0x12358e=>{const _0xcf2728=_0x5ea6d8;_0x112915=_0x12358e;const _0x46b6cb=_0x988cc8[_0xcf2728(0x16f)](printCucumberStats,_0x12358e);process[_0xcf2728(0x18f)]=_0x46b6cb,_0x988cc8[_0xcf2728(0x169)](_0x10f45b[_0xcf2728(0x189)],0x0)&&(logger[_0xcf2728(0x173)](_0x988cc8['IFYWR']),helper[_0xcf2728(0x178)](_0x20111c,_0x10f45b),logger[_0xcf2728(0x173)](_0x988cc8[_0xcf2728(0x18e)]),helper[_0xcf2728(0x16d)](_0x20111c));})['finally'](async()=>{const _0x136583=_0x5ea6d8;_0x5d49f6[_0x136583(0x15e)]=helper[_0x136583(0x1ae)](_0x112915,_0x988cc8[_0x136583(0x1b5)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x136583(0x19c)]();}catch(_0x5b7e43){logger[_0x136583(0x173)](_0x136583(0x1b7)+util[_0x136583(0x196)](_0x5b7e43));}try{const {browserstackFolderPath:_0x361532,tcgConfigPath:_0x122eca}=helper[_0x136583(0x192)]();fs[_0x136583(0x1b2)](_0x122eca),fs[_0x136583(0x1c1)](_0x361532);}catch(_0xe38ff7){logger[_0x136583(0x173)](_0x988cc8[_0x136583(0x158)],_0xe38ff7);}await utilities[_0x136583(0x19b)](_0x5d49f6);});}module[a5_0x25bec5(0x167)]=run;function a5_0x43b2(){const _0x319dcc=['88mEpguO','Dkthd','Qyfjt','cwd','scenarios','then','nVFuk','isUndefined','errorMessage','getHubUrl','74109BbtRNh','processSuccess','kAFxk','getPlatformName','stringify','MMRQU','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','exports','isBrowserstackInfra','ZWJBb','../../helpers/logger','2181180bbtbFv','argv','removeDir','parseFormatters','kGSfw','iFqYQ','33ndveHP','handleApp','debug','steps','accessibilityOptions','log','SYxei','mergeOutputFiles','HzNNq','push','CUCUMBER','\x20scenarios','\x20failed','tmp','../../helpers/test-observability/utils','../../helpers/helper','yellow','cucumber-js','../../helpers/testhub/testhubHandler','uiquo','config','markSDKSetupComplete','543228RRXLia','FzAPJ','length','forEach','FRAMEWORKS','TkmTu','DUrNy','oMILS','exitCode','getUserWorkerCount','bold','getTCGConfigFilePaths','splice','path','gnqFo','format','1575810uHTHxU','green','nKHLZ','setupTCGAuth','finalExecution','stop','\x20passed','\x20undefined','stepsUndefined','error\x20removing\x20tcg\x20config\x20file','red','testObservability','\x20skipped','Generating\x20consolidated\x20report...','join','\x20steps','IhifD','stepsPassed','3452UUtALr','PMqxy','SHopQ','prepareCapabilities','false','getErrorMessageFromResults','****\x20RESULTS\x20****','turboScaleUrl','BROWSERSTACK_TEST_OBSERVABILITY_YML','unlinkSync','UbeRO','LmHbg','KQEpN','vdSOm','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','testContextOptions','Rnxrs','initialize','util','5NgnuNz','scenariosFailed','AUjjv','bgWhite','843628vuhZYk','rmdirSync','skipSessionStatus','stepsSkipped','../utils/constants','\x20pending','101tlFQVY','stepsFailed','1510926TYLKyG'];a5_0x43b2=function(){return _0x319dcc;};return a5_0x43b2();}
|
|
2
|
+
'use strict';function a5_0x1946(_0x392958,_0x53471a){const _0xe2b71f=a5_0xe2b7();return a5_0x1946=function(_0x1946ba,_0x321682){_0x1946ba=_0x1946ba-0x143;let _0x44ecfd=_0xe2b71f[_0x1946ba];return _0x44ecfd;},a5_0x1946(_0x392958,_0x53471a);}const a5_0x2abb3f=a5_0x1946;(function(_0x3a35af,_0x1959d3){const _0xb17929=a5_0x1946,_0x1bc30f=_0x3a35af();while(!![]){try{const _0x384339=parseInt(_0xb17929(0x177))/0x1*(parseInt(_0xb17929(0x16c))/0x2)+-parseInt(_0xb17929(0x15b))/0x3+-parseInt(_0xb17929(0x155))/0x4+-parseInt(_0xb17929(0x16a))/0x5+parseInt(_0xb17929(0x1a7))/0x6*(-parseInt(_0xb17929(0x197))/0x7)+-parseInt(_0xb17929(0x15a))/0x8+parseInt(_0xb17929(0x143))/0x9*(parseInt(_0xb17929(0x153))/0xa);if(_0x384339===_0x1959d3)break;else _0x1bc30f['push'](_0x1bc30f['shift']());}catch(_0x3a6d85){_0x1bc30f['push'](_0x1bc30f['shift']());}}}(a5_0xe2b7,0x37b80));const fs=require('fs'),path=require(a5_0x2abb3f(0x145)),util=require(a5_0x2abb3f(0x19d)),logger=require(a5_0x2abb3f(0x174))[a5_0x2abb3f(0x17e)],{default:BrowserStackSetup}=require(a5_0x2abb3f(0x158)),helper=require(a5_0x2abb3f(0x149)),utilities=require('../../helpers/utilities'),constants=require(a5_0x2abb3f(0x146)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x2abb3f(0x199)),testOpsHelper=require(a5_0x2abb3f(0x1ae)),chalk=require(a5_0x2abb3f(0x185));function a5_0xe2b7(){const _0x192840=['SFcNP','finalExecution','\x20skipped','../../helpers/test-observability/utils','accessibilityOptions','push','parseFormatters','16184889dmUMNu','config','path','../utils/constants','argv','\x20failed','../../helpers/helper','mergeOutputFiles','splice','stepsPassed','env','yellow','Generating\x20consolidated\x20report...','stop','false','processSuccess','10bwdneY','scenarios','1627916MyqRVu','bgWhite','logLevel','../../helpers/BrowserStackSetup','fdmhl','2930304CcqGXN','612402phuPsO','stepsUnknown','****\x20RESULTS\x20****','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','XlnpN','fOlSL','PmAUb','green','length','yXknQ','cyan','\x20passed','createDir','Removing\x20tmp\x20directory\x20created\x20for\x20reports','testContextOptions','1150790igrUaT','bold','92xBsuZH','dEZjI','tmp','UfAcG','isUndefined','eczXI','CujIQ','NqXWG','../../helpers/logger','rQDMs','finally','647mBaYhF','join','cucumber','FRAMEWORKS','exports','skipSessionName','steps','winstonLogger','kUWOR','errorMessage','markSDKSetupComplete','CiCgP','GycYg','DFRoq','chalk','nzhCd','parallelsPerPlatform','qncVm','testObservability','BROWSERSTACK_TEST_OBSERVABILITY_YML','qaWsf','stepsUndefined','skipSessionStatus','\x20steps','HrJEB','\x20undefined','unlinkSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','log','useW3C','OyTav','\x20ambiguous','549220JizPDz','stepsPending','../../helpers/testhub/testhubHandler','CUCUMBER','bnpOS','error\x20removing\x20tcg\x20config\x20file','util','prepareCapabilities','handleApp','getErrorMessageFromResults','pDYLr','debug','scenariosFailed','proxySettings','OTGVD','cucumber-js','30cGedfg','then','initialize','red'];a5_0xe2b7=function(){return _0x192840;};return a5_0xe2b7();}function printCucumberStats(_0x1cbc83){const _0x44d442=a5_0x2abb3f,_0x45a7c4={};_0x45a7c4['PmAUb']=function(_0x7e0af9,_0x443429){return _0x7e0af9>_0x443429;},_0x45a7c4['dEZjI']=function(_0x47b5d7,_0x365b06){return _0x47b5d7-_0x365b06;},_0x45a7c4['kUWOR']=function(_0x4f2bbe,_0x26a0c6){return _0x4f2bbe-_0x26a0c6;},_0x45a7c4[_0x44d442(0x172)]=function(_0x10784f,_0x44f4f3){return _0x10784f>_0x44f4f3;},_0x45a7c4['rQDMs']=function(_0x594890,_0x490a3d){return _0x594890>_0x490a3d;},_0x45a7c4[_0x44d442(0x173)]=function(_0x4f9d39,_0x58cc28){return _0x4f9d39>_0x58cc28;},_0x45a7c4[_0x44d442(0x18b)]=function(_0xb17bd6,_0xec8dcc){return _0xb17bd6>_0xec8dcc;},_0x45a7c4[_0x44d442(0x1ab)]=function(_0xff1837,_0x2f14af){return _0xff1837+_0x2f14af;},_0x45a7c4['GycYg']=function(_0x50e637,_0x2be99f){return _0x50e637+_0x2be99f;},_0x45a7c4[_0x44d442(0x16f)]=function(_0x34ef5c,_0x6012c3){return _0x34ef5c+_0x6012c3;},_0x45a7c4[_0x44d442(0x18f)]=function(_0x336f4d,_0x1a30f7){return _0x336f4d+_0x1a30f7;},_0x45a7c4['yXknQ']=function(_0x1dde31,_0x3154a4){return _0x1dde31+_0x3154a4;},_0x45a7c4['CiCgP']=function(_0x617bc9,_0x2ee057){return _0x617bc9===_0x2ee057;},_0x45a7c4[_0x44d442(0x184)]=_0x44d442(0x15d);const _0x3039e9=_0x45a7c4;let _0x3e518f=0x0;if(_0x3039e9['CiCgP'](_0x1cbc83[_0x44d442(0x163)],0x0))return _0x3e518f;return console[_0x44d442(0x193)](chalk[_0x44d442(0x16b)][_0x44d442(0x156)](_0x3039e9['DFRoq'])),_0x1cbc83['forEach'](_0x1b4995=>{const _0x2ce276=_0x44d442,_0x164fbe=_0x1b4995[0x0],_0x320a6f=_0x1b4995[0x1];console[_0x2ce276(0x193)]('\x0a'+chalk[_0x2ce276(0x16b)]['yellow'](''+helper['getPlatformName'](_0x164fbe)));const _0x45c7aa=_0x320a6f[_0x2ce276(0x154)],_0x3ec94d=_0x320a6f[_0x2ce276(0x17d)],_0x3d48b5=_0x320a6f[_0x2ce276(0x1a3)],_0x18fda5=_0x320a6f['stepsFailed'],_0x539efc=_0x320a6f[_0x2ce276(0x14c)],_0x119538=_0x320a6f['stepsSkipped'],_0x3a2779=_0x320a6f[_0x2ce276(0x198)],_0x4e58ff=_0x320a6f[_0x2ce276(0x18c)],_0x170077=_0x320a6f[_0x2ce276(0x15c)],_0x3ca0da=_0x320a6f['stepsAmbiguous'],_0x11c9ed=_0x320a6f[_0x2ce276(0x152)];let _0x26f40a=_0x45c7aa+'\x20scenarios';const _0x56b0b5=_0x3039e9[_0x2ce276(0x161)](_0x3039e9[_0x2ce276(0x16d)](_0x45c7aa,_0x3d48b5),0x0)?_0x3039e9[_0x2ce276(0x17f)](_0x45c7aa,_0x3d48b5):0x0;if(_0x3039e9[_0x2ce276(0x172)](_0x3d48b5,0x0)&&_0x3039e9[_0x2ce276(0x172)](_0x56b0b5,0x0))_0x26f40a+='\x20('+chalk[_0x2ce276(0x16b)][_0x2ce276(0x1aa)](_0x3d48b5+_0x2ce276(0x148))+',\x20'+chalk[_0x2ce276(0x16b)][_0x2ce276(0x162)](_0x56b0b5+_0x2ce276(0x166))+')';else(_0x3039e9[_0x2ce276(0x161)](_0x3d48b5,0x0)||_0x3039e9[_0x2ce276(0x172)](_0x56b0b5,0x0))&&(_0x26f40a+=_0x3039e9[_0x2ce276(0x175)](_0x3d48b5,0x0)?'\x20('+chalk['bold'][_0x2ce276(0x1aa)](_0x3d48b5+_0x2ce276(0x148))+')':'\x20('+chalk[_0x2ce276(0x16b)][_0x2ce276(0x162)](_0x56b0b5+_0x2ce276(0x166))+')');const _0x12c477=_0x3ec94d+_0x2ce276(0x18e),_0x51f6a6=[];_0x3039e9[_0x2ce276(0x161)](_0x3ca0da,0x0)&&_0x51f6a6[_0x2ce276(0x1b0)](''+chalk['bold'][_0x2ce276(0x1aa)](_0x3ca0da+_0x2ce276(0x196)));_0x3039e9[_0x2ce276(0x173)](_0x18fda5,0x0)&&_0x51f6a6[_0x2ce276(0x1b0)](''+chalk[_0x2ce276(0x16b)][_0x2ce276(0x1aa)](_0x18fda5+_0x2ce276(0x148)));_0x3039e9[_0x2ce276(0x161)](_0x539efc,0x0)&&_0x51f6a6[_0x2ce276(0x1b0)](''+chalk[_0x2ce276(0x16b)]['green'](_0x539efc+_0x2ce276(0x166)));_0x3039e9[_0x2ce276(0x18b)](_0x3a2779,0x0)&&_0x51f6a6[_0x2ce276(0x1b0)](''+chalk[_0x2ce276(0x16b)][_0x2ce276(0x14e)](_0x3a2779+'\x20pending'));_0x3039e9[_0x2ce276(0x18b)](_0x119538,0x0)&&_0x51f6a6[_0x2ce276(0x1b0)](''+chalk[_0x2ce276(0x16b)][_0x2ce276(0x165)](_0x119538+_0x2ce276(0x1ad)));_0x3039e9[_0x2ce276(0x173)](_0x4e58ff,0x0)&&_0x51f6a6['push'](''+chalk[_0x2ce276(0x16b)][_0x2ce276(0x14e)](_0x4e58ff+_0x2ce276(0x190)));_0x3039e9[_0x2ce276(0x172)](_0x170077,0x0)&&_0x51f6a6[_0x2ce276(0x1b0)](''+chalk[_0x2ce276(0x16b)][_0x2ce276(0x14e)](_0x170077+_0x2ce276(0x1ad)));const _0x2594ef=_0x3039e9[_0x2ce276(0x1ab)](_0x3039e9[_0x2ce276(0x183)](_0x3039e9['GycYg'](_0x12c477,'('),_0x51f6a6[_0x2ce276(0x178)](',\x20')),')');console[_0x2ce276(0x193)](_0x3039e9[_0x2ce276(0x16f)](_0x3039e9[_0x2ce276(0x18f)](_0x3039e9[_0x2ce276(0x164)](_0x3039e9[_0x2ce276(0x164)]('\x0a',_0x26f40a),'\x0a'),_0x2594ef),'\x0a')),_0x3039e9[_0x2ce276(0x182)](_0x11c9ed,![])&&(_0x3e518f=0x1);}),_0x3e518f;}async function run(_0x32353b,_0x1eb3be){const _0x5a0c4e=a5_0x2abb3f,_0xaffe4f={'nzhCd':function(_0x84fe2d,_0xe1dcfa){return _0x84fe2d(_0xe1dcfa);},'pDYLr':function(_0x6f7037,_0x1f961c){return _0x6f7037>_0x1f961c;},'HDswb':_0x5a0c4e(0x14f),'eczXI':_0x5a0c4e(0x168),'fdmhl':_0x5a0c4e(0x179),'XlnpN':_0x5a0c4e(0x19c),'fOlSL':_0x5a0c4e(0x1a6),'qncVm':_0x5a0c4e(0x16e),'bnpOS':function(_0x56190f,_0x4abe56){return _0x56190f>_0x4abe56;},'aFUXd':function(_0x21bdcf,_0x200aff){return _0x21bdcf-_0x200aff;},'EANEm':function(_0x4c44bd,_0x33501e){return _0x4c44bd>=_0x33501e;},'OyTav':function(_0x27cf5a,_0x2021f0){return _0x27cf5a!=_0x2021f0;},'OTGVD':_0x5a0c4e(0x151),'bOkXR':function(_0x30adce,_0x53be89,_0x48f358,_0x3199aa,_0x1e84de,_0x4cc0e7){return _0x30adce(_0x53be89,_0x48f358,_0x3199aa,_0x1e84de,_0x4cc0e7);}},_0x38cf62=new BrowserStackSetup(_0x32353b,_0xaffe4f[_0x5a0c4e(0x160)]);await _0x38cf62[_0x5a0c4e(0x1a9)]();!helper['isBrowserstackInfra']()&&await _0x38cf62['setupTCGAuth']();await helper[_0x5a0c4e(0x19f)](_0x38cf62[_0x5a0c4e(0x144)]);const _0x44115c=helper[_0x5a0c4e(0x194)](_0x38cf62[_0x5a0c4e(0x144)]),_0x23c9d5=helper[_0x5a0c4e(0x19e)](_0x38cf62['config'],_0x44115c,constants[_0x5a0c4e(0x17a)][_0x5a0c4e(0x19a)]);if(!_0x38cf62[_0x5a0c4e(0x144)])return;const _0x59e4a3=_0x38cf62[_0x5a0c4e(0x144)][_0x5a0c4e(0x187)]||helper['getUserWorkerCount'](_0x32353b,_0x1eb3be,_0x38cf62[_0x5a0c4e(0x144)],constants[_0x5a0c4e(0x17a)]['CUCUMBER'])||0x1,_0x50b239={'server':helper['getHubUrl'](_0x38cf62[_0x5a0c4e(0x144)]),'proxySettings':_0x38cf62[_0x5a0c4e(0x144)][_0x5a0c4e(0x1a4)],'maxWorkers':_0x59e4a3,'browserStackLogLevel':_0x38cf62[_0x5a0c4e(0x144)][_0x5a0c4e(0x157)],'skipSessionName':_0x38cf62['config'][_0x5a0c4e(0x169)][_0x5a0c4e(0x17c)],'skipSessionStatus':_0x38cf62[_0x5a0c4e(0x144)][_0x5a0c4e(0x169)][_0x5a0c4e(0x18d)],'turboScaleUrl':_0x38cf62[_0x5a0c4e(0x144)]['turboScaleUrl']},_0x19f1f0=process[_0x5a0c4e(0x147)],[_0x50317a,_0x250974]=helper[_0x5a0c4e(0x1b1)](_0x19f1f0),_0x593823=path[_0x5a0c4e(0x178)](process['cwd'](),_0xaffe4f[_0x5a0c4e(0x188)]);if(_0xaffe4f[_0x5a0c4e(0x19b)](_0x250974[_0x5a0c4e(0x163)],0x0)){helper[_0x5a0c4e(0x167)](_0x593823);for(let _0x196394=_0xaffe4f['aFUXd'](_0x50317a[_0x5a0c4e(0x163)],0x1);_0xaffe4f['EANEm'](_0x196394,0x0);_0x196394--){_0x19f1f0[_0x5a0c4e(0x14b)](_0x50317a[_0x196394],0x2);}}!helper[_0x5a0c4e(0x170)](_0x38cf62[_0x5a0c4e(0x144)][_0x5a0c4e(0x1af)])&&(process[_0x5a0c4e(0x14d)][_0x5a0c4e(0x192)]=JSON['stringify'](_0x38cf62[_0x5a0c4e(0x144)][_0x5a0c4e(0x1af)]));_0xaffe4f[_0x5a0c4e(0x195)](_0x38cf62['config'][_0x5a0c4e(0x189)],null)?process[_0x5a0c4e(0x14d)][_0x5a0c4e(0x18a)]=_0x38cf62[_0x5a0c4e(0x144)][_0x5a0c4e(0x189)]:process[_0x5a0c4e(0x14d)][_0x5a0c4e(0x18a)]=_0xaffe4f[_0x5a0c4e(0x1a5)];const _0x4af03c=await TestHubHandler['launchBuild'](constants[_0x5a0c4e(0x17a)][_0x5a0c4e(0x19a)],_0x38cf62);helper[_0x5a0c4e(0x181)]();let _0x4c044a;_0xaffe4f['bOkXR'](parallelCucumberRun,_0x23c9d5,_0x50b239,_0x38cf62[_0x5a0c4e(0x144)],_0x19f1f0,_0x250974)[_0x5a0c4e(0x1a8)](async _0x2fd2d7=>{const _0x390ef0=_0x5a0c4e;_0x4c044a=_0x2fd2d7;const _0xb08cf8=_0xaffe4f[_0x390ef0(0x186)](printCucumberStats,_0x2fd2d7);process['exitCode']=_0xb08cf8,_0xaffe4f[_0x390ef0(0x1a1)](_0x250974[_0x390ef0(0x163)],0x0)&&(logger[_0x390ef0(0x1a2)](_0xaffe4f['HDswb']),helper[_0x390ef0(0x14a)](_0x593823,_0x250974),logger[_0x390ef0(0x1a2)](_0xaffe4f[_0x390ef0(0x171)]),helper['removeDir'](_0x593823));})[_0x5a0c4e(0x176)](async()=>{const _0x136046=_0x5a0c4e;_0x38cf62[_0x136046(0x180)]=helper[_0x136046(0x1a0)](_0x4c044a,_0xaffe4f[_0x136046(0x159)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x136046(0x150)]();}catch(_0x237173){logger['debug'](_0x136046(0x15e)+util['format'](_0x237173));}try{const {browserstackFolderPath:_0x3b3e5b,tcgConfigPath:_0x15def9}=helper['getTCGConfigFilePaths']();fs[_0x136046(0x191)](_0x15def9),fs['rmdirSync'](_0x3b3e5b);}catch(_0x34861e){logger[_0x136046(0x1a2)](_0xaffe4f[_0x136046(0x15f)],_0x34861e);}await utilities[_0x136046(0x1ac)](_0x38cf62);});}module[a5_0x2abb3f(0x17b)]=run;
|