browserstack-node-sdk 1.46.6 → 1.46.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.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/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.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/customSequencer.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.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.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/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.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/accessibilityRetryHelper.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/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.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/metadata.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/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.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/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.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
|
-
function a44_0x5319(_0x36fec0,_0x1f33ca){const _0x38b0f2=a44_0x38b0();return a44_0x5319=function(_0x531958,_0x592cb2){_0x531958=_0x531958-0x188;let _0x1d3907=_0x38b0f2[_0x531958];return _0x1d3907;},a44_0x5319(_0x36fec0,_0x1f33ca);}function a44_0x38b0(){const _0x104db3=['getFailureData','flzYS','compareVersions','WVOJG','xontp','filter','test','Awsav','onStepEnd','toISOString','process.js','LogCreated','../../../helpers/test-observability/constants','faeGI','NSarj','PzBjW','debug','NzXNF','Jimvy','validateFilePath','getTestTags','gtcXf','tags','Test\x20timeout\x20of','sxFDA','TEST_LOG','TEST_ATTACHMENT','YlwQl','stack','slice','arHty','sendSessionDetails','winstonLogger','dzmDW','KznVJ','endSession','1787650zSIlFp','performance-reporter.html','1320940HFPLSV','pEMYB','getTestRunIdentifier','MZFuB','Error\x20in\x20sending\x20trace\x20file:\x20%s','597758nxlQyC','18ZVELZR','AXmGN','join','env','sendEventData','GrSyn','SnvEb','setupBrowserDetails','TdTXG','CAwKD','JUgkp','PLAYWRIGHT','../../../helpers/logger','5FDlHfM','ueWkf','YMxUI','VbKCM','path','MCiUU','uploadTraceZip','common','util','lfGpJ','BTWBN','ndUMV','./test-details','tRVXp','OqUld','sgDvn','BJjHG','icpCl','IcrDq','onStepBegin','eDsDx','21850068AHZSUr','xxfhY','runner/projectUtils.js','WEJBu','Found\x20key:\x20','beforeWorkerHook','21ChhARP','1.35.0','VfTVx','../../../helpers/helper','AZzyF','runner/loadUtils.js','statSync','oNxEa','startsWith','isRunning','337442BmShtw','getConfigLoaderPath','bBPwd','calculatePerformance','stopAndGenerate','trace','call','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','@playwright/test','toString','basename','24ipUlbD','length','map','match','title','nYdaE','toLowerCase','GOabf','find','addTraceFilePath','../../v2/browserstackCLI','getPlaywrightLibPath','UABPI','Qdady','gxfhq','START_TIME','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','seePE','onTestEnd','djgjx','getInstance','sendTestLog','upMuJ','../../../helpers/test-observability/utils','ERROR','attachments','SEuWs','afterTestHook','lib','ERwlh','JagFQ','GOvqw','format','4031004EplobP','findNestedKey','Searching\x20for\x20key:\x20','PvyAl','@playwright/test/lib/transform/transform.js','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','tgQFC','Iettr','MLhXU','onTestBegin','_projectId','\x20in\x20arguments','11NjVUPe','sendTraceZip','getTime','error','EnRAm','SixPU','prototype','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','performance-report-worker-','KJNBS','rNtLL','requestSpyCallback','existsSync','qZAXA','playwright/lib/transform/transform.js','Arguments','JXGfE','testUId','TKzdq','readdirSync','2464470bRDXiy','Total\x20duration\x20for\x20whole\x20build\x20is\x20','playwright','ofcvr','Percentage\x20of\x20increased\x20time\x20is\x20','1.38.0','\x20in\x20attachments','hGnEb','doo11ySync'];a44_0x38b0=function(){return _0x104db3;};return a44_0x38b0();}const a44_0x5c806f=a44_0x5319;(function(_0x5832e8,_0x702446){const _0x1c3838=a44_0x5319,_0x3e5fd7=_0x5832e8();while(!![]){try{const _0x24a367=parseInt(_0x1c3838(0x21f))/0x1+parseInt(_0x1c3838(0x1a4))/0x2*(parseInt(_0x1c3838(0x19a))/0x3)+-parseInt(_0x1c3838(0x1d0))/0x4*(parseInt(_0x1c3838(0x232))/0x5)+parseInt(_0x1c3838(0x1f0))/0x6+-parseInt(_0x1c3838(0x224))/0x7*(-parseInt(_0x1c3838(0x1af))/0x8)+parseInt(_0x1c3838(0x225))/0x9*(parseInt(_0x1c3838(0x21d))/0xa)+-parseInt(_0x1c3838(0x1dc))/0xb*(parseInt(_0x1c3838(0x194))/0xc);if(_0x24a367===_0x702446)break;else _0x3e5fd7['push'](_0x3e5fd7['shift']());}catch(_0x137007){_0x3e5fd7['push'](_0x3e5fd7['shift']());}}}(a44_0x38b0,0xaa5fe));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a44_0x5c806f(0x1c6)),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x5c806f(0x205)),helper=require(a44_0x5c806f(0x19d)),path=require(a44_0x5c806f(0x236)),logger=require(a44_0x5c806f(0x231))[a44_0x5c806f(0x219)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a44_0x5c806f(0x18b)),util=require(a44_0x5c806f(0x23a)),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x502c53=a44_0x5c806f,_0x52d8b8={'MZFuB':function(_0x42ee97,_0x28f7b7){return _0x42ee97(_0x28f7b7);},'YMxUI':_0x502c53(0x1b9)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x52d8b8[_0x502c53(0x222)](require,_0x52d8b8[_0x502c53(0x234)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x18b9c9=>{const _0x29c0a3=a44_0x5c806f;return _0x18b9c9[_0x29c0a3(0x1b2)](/@(\w+)/g)?.[_0x29c0a3(0x1b1)](_0x2b80fa=>_0x2b80fa['slice'](0x1))||[];};exports[a44_0x5c806f(0x20d)]=_0x41bf4d=>{const _0x369264=a44_0x5c806f,_0xf73bad={'KznVJ':function(_0x1fc98e,_0x1f647e){return _0x1fc98e(_0x1f647e);}};if(_0x41bf4d[_0x369264(0x20f)])return _0x41bf4d['tags']['map'](_0x3e7827=>_0x3e7827[_0x369264(0x1a2)]('@')?_0x3e7827['substr'](0x1):_0x3e7827);return _0xf73bad[_0x369264(0x21b)](getTagsFromTitle,_0x41bf4d[_0x369264(0x1b3)]);},exports[a44_0x5c806f(0x1a7)]=async()=>{const _0x5625f2=a44_0x5c806f,_0x295f7e={'MCiUU':function(_0x32954f,_0x1151d5){return _0x32954f-_0x1151d5;},'KJNBS':_0x5625f2(0x21e),'lbzDC':'onBegin','dzmDW':_0x5625f2(0x21c),'NSarj':_0x5625f2(0x1d9),'TKzdq':_0x5625f2(0x1c1),'TdTXG':_0x5625f2(0x192),'arHty':_0x5625f2(0x201),'TNVCX':_0x5625f2(0x199),'ERwlh':'afterWorkerHook','IcrDq':'beforeTestHook','pEMYB':_0x5625f2(0x1ca),'hGnEb':_0x5625f2(0x1f8),'JagFQ':'processPageScreenshot','Awsav':_0x5625f2(0x218),'Qdady':_0x5625f2(0x22c),'SixPU':_0x5625f2(0x1e7),'IbVoA':_0x5625f2(0x1c4),'tgQFC':function(_0x28ac26,_0x5e86d8){return _0x28ac26(_0x5e86d8);},'SnvEb':function(_0x51af93,_0x3c45a2){return _0x51af93/_0x3c45a2;},'EnRAm':function(_0x13b386,_0x22b38b){return _0x13b386+_0x22b38b;},'QzbMn':function(_0x3028c3,_0x37c537){return _0x3028c3*_0x37c537;},'BJjHG':function(_0x28bac6,_0x33b9cf){return _0x28bac6/_0x33b9cf;},'PvyAl':function(_0x3d6972,_0x472deb){return _0x3d6972+_0x472deb;}};if(!process[_0x5625f2(0x228)]['START_TIME'])return;const _0x32a2b2=_0x295f7e[_0x5625f2(0x237)](new Date()[_0x5625f2(0x1de)](),new Date(process['env'][_0x5625f2(0x1be)])[_0x5625f2(0x1de)]()),_0x280001=await PerformanceTester[_0x5625f2(0x1a8)](_0x295f7e[_0x5625f2(0x1e5)],[_0x295f7e['lbzDC'],_0x295f7e[_0x5625f2(0x21a)],_0x295f7e[_0x5625f2(0x207)],_0x295f7e[_0x5625f2(0x1ee)],_0x295f7e[_0x5625f2(0x22d)],_0x295f7e[_0x5625f2(0x217)]]),_0x2204b4=fs[_0x5625f2(0x1ef)]('.'),_0x5d267a=_0x2204b4[_0x5625f2(0x1fe)](_0x101100=>_0x101100[_0x5625f2(0x1a2)](_0x5625f2(0x1e4))&&_0x101100['endsWith']('.json')),_0x2a0196=await PerformanceTester['calculateTimesFromMultipleFiles'](_0x5d267a,[_0x295f7e['TNVCX'],_0x295f7e[_0x5625f2(0x1cc)],_0x295f7e[_0x5625f2(0x191)],_0x295f7e[_0x5625f2(0x220)],_0x295f7e[_0x5625f2(0x1f7)],_0x295f7e[_0x5625f2(0x1cd)],_0x295f7e[_0x5625f2(0x200)],_0x295f7e[_0x5625f2(0x1bc)],_0x295f7e[_0x5625f2(0x1e1)],_0x295f7e['IbVoA']]);_0x295f7e['tgQFC'](debug,_0x5625f2(0x1f1)+_0x295f7e[_0x5625f2(0x22b)](_0x32a2b2,0x3e8)+'\x20s'),_0x295f7e['tgQFC'](debug,_0x5625f2(0x1bf)+_0x295f7e[_0x5625f2(0x1e0)](_0x2a0196,_0x280001)),_0x295f7e[_0x5625f2(0x1d6)](debug,_0x5625f2(0x1f4)+_0x295f7e['QzbMn'](_0x295f7e[_0x5625f2(0x18f)](_0x295f7e[_0x5625f2(0x1d3)](_0x2a0196,_0x280001),_0x32a2b2),0x64));},exports['getTransformPath']=()=>{const _0x3cc15f=a44_0x5c806f,_0x12c7e9={'NzXNF':function(_0x3eb09c,_0x16eb68){return _0x3eb09c(_0x16eb68);},'eDsDx':function(_0x3ce5c4,_0x13a4b3){return _0x3ce5c4>=_0x13a4b3;},'kUpuh':_0x3cc15f(0x1f5),'seePE':_0x3cc15f(0x1ea),'VfTVx':_0x3cc15f(0x1f2),'PzBjW':_0x3cc15f(0x19b),'Jimvy':_0x3cc15f(0x1d4),'ueWkf':_0x3cc15f(0x1ac),'lfGpJ':'@playwright/test/lib/common/transform.js'},_0x1958c6=_0x12c7e9[_0x3cc15f(0x20a)](getFrameworkVersion,FRAMEWORKS[_0x3cc15f(0x230)]);if(_0x12c7e9[_0x3cc15f(0x193)](helper[_0x3cc15f(0x1fb)](_0x1958c6,_0x12c7e9['kUpuh']),0x0))return[_0x12c7e9[_0x3cc15f(0x1c0)],_0x12c7e9[_0x3cc15f(0x19c)]];if(_0x12c7e9[_0x3cc15f(0x193)](helper['compareVersions'](_0x1958c6,_0x12c7e9[_0x3cc15f(0x208)]),0x0))return[_0x12c7e9[_0x3cc15f(0x20b)],_0x12c7e9[_0x3cc15f(0x233)]];return[_0x12c7e9[_0x3cc15f(0x188)],_0x12c7e9[_0x3cc15f(0x233)]];},exports[a44_0x5c806f(0x1a5)]=()=>{const _0x34be75=a44_0x5c806f,_0x2a0a30={'gxfhq':function(_0x2cd079,_0x1b2102){return _0x2cd079(_0x1b2102);},'tRVXp':function(_0x87ac34,_0x244a9b){return _0x87ac34>=_0x244a9b;},'xxfhY':'1.38.0','TOoGm':'playwright/lib/common/configLoader.js','PXfyi':_0x34be75(0x1f2),'BTWBN':'@playwright/test/lib/common/configLoader.js','sgDvn':_0x34be75(0x1ac)},_0x47b4fd=_0x2a0a30[_0x34be75(0x1bd)](getFrameworkVersion,FRAMEWORKS[_0x34be75(0x230)]);if(_0x2a0a30[_0x34be75(0x18c)](helper['compareVersions'](_0x47b4fd,_0x2a0a30[_0x34be75(0x195)]),0x0))return[_0x2a0a30['TOoGm'],_0x2a0a30['PXfyi']];return[_0x2a0a30[_0x34be75(0x189)],_0x2a0a30[_0x34be75(0x18e)]];},exports['getLoadUtilsPath']=()=>{const _0x241131=a44_0x5c806f,_0x48c493={};_0x48c493[_0x241131(0x1e6)]=_0x241131(0x19f);const _0x1cdf3c=_0x48c493;return helper[_0x241131(0x1ba)](_0x1cdf3c[_0x241131(0x1e6)]);},exports['getProjectUtilsPath']=()=>{const _0x408cf1=a44_0x5c806f,_0x8f8406={};_0x8f8406[_0x408cf1(0x1ec)]=_0x408cf1(0x196);const _0x22a4e4=_0x8f8406;return helper['getPlaywrightLibPath'](_0x22a4e4[_0x408cf1(0x1ec)]);},exports['getForkProcessPath']=()=>{const _0x1757ef=a44_0x5c806f,_0x25c84d={'GrSyn':function(_0x2ed99d,_0x371f41){return _0x2ed99d(_0x371f41);},'CAwKD':function(_0x19b281,_0x39498a){return _0x19b281>=_0x39498a;},'xontp':_0x1757ef(0x1f5),'gtcXf':_0x1757ef(0x1cb),'JUgkp':_0x1757ef(0x239),'GOvqw':_0x1757ef(0x203),'qZAXA':_0x1757ef(0x1ff)},_0x4d1845=_0x25c84d[_0x1757ef(0x22a)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x25c84d[_0x1757ef(0x22e)](helper[_0x1757ef(0x1fb)](_0x4d1845,_0x25c84d[_0x1757ef(0x1fd)]),0x0))return path['join'](_0x25c84d[_0x1757ef(0x20e)],_0x25c84d['JUgkp'],_0x25c84d['GOvqw']);return path[_0x1757ef(0x227)](_0x25c84d[_0x1757ef(0x1e9)],_0x25c84d[_0x1757ef(0x20e)],_0x25c84d[_0x1757ef(0x22f)],_0x25c84d[_0x1757ef(0x1ce)]);},exports[a44_0x5c806f(0x1f9)]=(_0x37940a,{test_run_uuid:_0x42f2f3})=>{const _0x44ba6f=a44_0x5c806f,_0x48d6b5={'flzYS':_0x44ba6f(0x1c7),'gPKUN':_0x44ba6f(0x212),'bBPwd':function(_0x8deefb,_0x2c8378){return _0x8deefb<=_0x2c8378;},'ndUMV':function(_0xd9f4c,_0x236c4b){return _0xd9f4c(_0x236c4b);},'icpCl':_0x44ba6f(0x210),'pmCVr':function(_0xc60566,_0x33b0c5){return _0xc60566(_0x33b0c5);},'AZzyF':function(_0x452c1f,_0x1c551a){return _0x452c1f>=_0x1c551a;},'UABPI':'1.42.0','ztHga':function(_0x5426d5,_0xb952b7){return _0x5426d5>_0xb952b7;},'moFXH':function(_0x2baad3,_0x3114c4){return _0x2baad3(_0x3114c4);},'VbKCM':function(_0x30a9d0,_0x316de9,_0x2c4d47){return _0x30a9d0(_0x316de9,_0x2c4d47);},'nYdaE':_0x44ba6f(0x1ff)};if(!_0x37940a||_0x48d6b5[_0x44ba6f(0x1a6)](_0x37940a[_0x44ba6f(0x1b0)],0x0))return[];const _0x276f3f=_0x48d6b5[_0x44ba6f(0x18a)](removeAnsiColors,_0x37940a[0x0]['message']);if(_0x276f3f[_0x44ba6f(0x1a2)](_0x48d6b5[_0x44ba6f(0x190)])){const _0x1e8917=_0x37940a[0x0],_0x11759b=_0x48d6b5['pmCVr'](getFrameworkVersion,FRAMEWORKS[_0x44ba6f(0x230)]);if((!_0x1e8917['stack']||_0x48d6b5[_0x44ba6f(0x19e)](_0x11759b,_0x48d6b5[_0x44ba6f(0x1bb)]))&&_0x48d6b5['ztHga'](_0x37940a['length'],0x1))return{'failureData':[{'backtrace':[_0x276f3f,_0x48d6b5['moFXH'](removeAnsiColors,_0x37940a[0x1][_0x44ba6f(0x215)])]}],'logs':_0x37940a[_0x44ba6f(0x216)](0x2)[_0x44ba6f(0x1b1)](_0xd961cd=>{const _0x531b0c=_0x44ba6f;return{'timestamp':new Date()[_0x531b0c(0x202)](),'level':_0x48d6b5[_0x531b0c(0x1fa)],'message':''+_0xd961cd['message'],'kind':_0x48d6b5['gPKUN'],'http_response':{},'test_run_uuid':_0x42f2f3};})};}return{'failureData':_0x48d6b5[_0x44ba6f(0x235)](failureData,_0x37940a,_0x48d6b5[_0x44ba6f(0x1b4)]),'logs':[]};},exports['validateFilePath']=_0x46c89d=>{const _0x62aef9=a44_0x5c806f,_0x5417b1={};_0x5417b1['faeGI']=function(_0x4b34f8,_0x3aaad0){return _0x4b34f8!==_0x3aaad0;},_0x5417b1[_0x62aef9(0x1d7)]='.zip',_0x5417b1[_0x62aef9(0x18d)]=function(_0x1185c0,_0x31580f){return _0x1185c0>_0x31580f;};const _0x2adcac=_0x5417b1;if(_0x46c89d&&fs[_0x62aef9(0x1e8)](_0x46c89d)){if(_0x2adcac[_0x62aef9(0x206)](path['extname'](_0x46c89d)[_0x62aef9(0x1b5)](),_0x2adcac['Iettr']))return logger[_0x62aef9(0x1df)](_0x62aef9(0x1ab)+_0x46c89d),![];const _0x3aad3c=fs[_0x62aef9(0x1a0)](_0x46c89d)['size'];if(_0x2adcac[_0x62aef9(0x18d)](_0x3aad3c,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x62aef9(0x1df)](_0x62aef9(0x1e3)+_0x3aad3c+'\x20bytes'),![];return!![];}return![];},exports[a44_0x5c806f(0x1d1)]=(_0x2288c1,_0x5a3b4e)=>{const _0x3d6f45=a44_0x5c806f,_0x11a04f={};_0x11a04f[_0x3d6f45(0x211)]=_0x3d6f45(0x1eb);const _0x10490f=_0x11a04f;logger[_0x3d6f45(0x209)](_0x3d6f45(0x1d2)+_0x5a3b4e);if(_0x2288c1&&_0x2288c1[_0x3d6f45(0x1c8)]){const _0x305f4d=_0x2288c1['attachments'][_0x3d6f45(0x1b7)](_0x56746f=>_0x56746f['name']===_0x3d6f45(0x1a9));if(_0x305f4d)return logger['debug']('Found\x20key:\x20'+_0x5a3b4e+_0x3d6f45(0x1f6)),_0x305f4d[_0x5a3b4e];}else{if(_0x2288c1&&Object[_0x3d6f45(0x1e2)][_0x3d6f45(0x1ad)][_0x3d6f45(0x1aa)](_0x2288c1)['includes'](_0x10490f['sxFDA']))for(const _0x26afa2 of _0x2288c1){if(_0x26afa2[_0x5a3b4e])return logger[_0x3d6f45(0x209)](_0x3d6f45(0x198)+_0x5a3b4e+_0x3d6f45(0x1db)),_0x26afa2[_0x5a3b4e];}};return'';},exports[a44_0x5c806f(0x238)]=async(_0x194731,_0x1cff81)=>{const _0x554562=a44_0x5c806f,_0x35fd81={};_0x35fd81[_0x554562(0x1d8)]=_0x554562(0x204),_0x35fd81['djgjx']=_0x554562(0x213),_0x35fd81[_0x554562(0x1c5)]=_0x554562(0x1dd),_0x35fd81[_0x554562(0x1b6)]=_0x554562(0x223);const _0x48ebc6=_0x35fd81;try{const _0x1055a5={'event_type':_0x48ebc6[_0x554562(0x1d8)],'logs':[{'data':_0x194731?fs['createReadStream'](_0x194731):'','test_run_uuid':_0x1cff81,'kind':_0x48ebc6[_0x554562(0x1c2)],'fileName':_0x194731?path[_0x554562(0x1ae)](_0x194731):''}]};return await SessionHandler[_0x554562(0x229)](_0x1055a5,0x0,_0x48ebc6[_0x554562(0x1c5)]);}catch(_0x22784b){logger[_0x554562(0x1df)](util[_0x554562(0x1cf)](_0x48ebc6[_0x554562(0x1b6)],_0x22784b));}},exports['sendTraceZip']=async(_0x4b0050,_0x286cfe)=>{const _0x57f98e=a44_0x5c806f,_0x322b24={'WEJBu':_0x57f98e(0x236),'oNxEa':'Trace\x20enabled','YlwQl':function(_0x2682ce){return _0x2682ce();},'ofcvr':_0x57f98e(0x223)};try{logger[_0x57f98e(0x209)](_0x57f98e(0x1d5)+_0x286cfe);let _0x105a97=await exports['findNestedKey'](_0x4b0050,_0x322b24[_0x57f98e(0x197)]);if(exports[_0x57f98e(0x20c)](_0x105a97)){logger[_0x57f98e(0x209)](_0x322b24[_0x57f98e(0x1a1)]),_0x105a97=path['resolve'](_0x105a97);const _0x4df57c={};_0x4df57c[_0x57f98e(0x1ed)]=_0x286cfe,_0x4df57c['filePath']=_0x105a97;const _0x8d9eff=_0x4df57c;_0x322b24[_0x57f98e(0x214)](getBrowserstackCLI)[_0x57f98e(0x1c3)]()[_0x57f98e(0x1a3)]()?TestInfo['addTraceFilePath'](_0x8d9eff):TestDetails[_0x57f98e(0x1b8)](_0x8d9eff);};}catch(_0x194791){logger[_0x57f98e(0x1df)](util[_0x57f98e(0x1cf)](_0x322b24[_0x57f98e(0x1f3)],_0x194791));}},exports['getTestIdentifier']=_0x1533e3=>{const _0x411750=a44_0x5c806f,_0x372d51={};_0x372d51[_0x411750(0x226)]=function(_0x2fecf6,_0x55810c){return _0x2fecf6+_0x55810c;};const _0x58e53f=_0x372d51;return _0x58e53f['AXmGN'](_0x58e53f[_0x411750(0x226)](_0x1533e3[_0x411750(0x1da)],'-'),_0x1533e3['id']);},exports[a44_0x5c806f(0x221)]=(_0x511366,_0x31c795)=>{const _0x40e7b9=a44_0x5c806f,_0x1bfb2f={};_0x1bfb2f[_0x40e7b9(0x1fc)]=function(_0x1bc4ee,_0x2f1349){return _0x1bc4ee+_0x2f1349;},_0x1bfb2f[_0x40e7b9(0x1c9)]=function(_0x2d053b,_0x52873c){return _0x2d053b+_0x52873c;};const _0x5368a3=_0x1bfb2f;return _0x5368a3[_0x40e7b9(0x1fc)](_0x5368a3[_0x40e7b9(0x1c9)](_0x511366['id'],'-'),_0x31c795);};
|
|
1
|
+
const a44_0x2bb216=a44_0x5793;(function(_0x1fee44,_0x2cd4f2){const _0x92d06f=a44_0x5793,_0xf3d3e1=_0x1fee44();while(!![]){try{const _0x184dfe=-parseInt(_0x92d06f(0x1c5))/0x1*(parseInt(_0x92d06f(0x1cc))/0x2)+parseInt(_0x92d06f(0x201))/0x3*(parseInt(_0x92d06f(0x1d6))/0x4)+parseInt(_0x92d06f(0x231))/0x5*(parseInt(_0x92d06f(0x1e2))/0x6)+-parseInt(_0x92d06f(0x228))/0x7*(parseInt(_0x92d06f(0x22a))/0x8)+parseInt(_0x92d06f(0x1ad))/0x9*(-parseInt(_0x92d06f(0x244))/0xa)+parseInt(_0x92d06f(0x1e6))/0xb*(-parseInt(_0x92d06f(0x205))/0xc)+parseInt(_0x92d06f(0x22e))/0xd;if(_0x184dfe===_0x2cd4f2)break;else _0xf3d3e1['push'](_0xf3d3e1['shift']());}catch(_0x1e7051){_0xf3d3e1['push'](_0xf3d3e1['shift']());}}}(a44_0x162a,0x54a0e));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a44_0x2bb216(0x20b)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a44_0x2bb216(0x1ee)),helper=require(a44_0x2bb216(0x217)),path=require('path'),logger=require(a44_0x2bb216(0x21e))[a44_0x2bb216(0x1f1)],SessionHandler=require(a44_0x2bb216(0x233)),TestDetails=require('./test-details'),util=require(a44_0x2bb216(0x1c7)),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function a44_0x5793(_0x1c4e97,_0x6badd5){const _0x162a66=a44_0x162a();return a44_0x5793=function(_0x579314,_0x115580){_0x579314=_0x579314-0x1a5;let _0x167871=_0x162a66[_0x579314];return _0x167871;},a44_0x5793(_0x1c4e97,_0x6badd5);}function getBrowserstackCLI(){const _0x7f053b=a44_0x2bb216,_0x53487a={'ycZWk':function(_0x38ec6e,_0x406e94){return _0x38ec6e(_0x406e94);},'CFBKE':_0x7f053b(0x1b2)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x53487a['ycZWk'](require,_0x53487a[_0x7f053b(0x203)])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x30e971=>{const _0x38dfd7=a44_0x2bb216;return _0x30e971[_0x38dfd7(0x20d)](/@(\w+)/g)?.[_0x38dfd7(0x1e4)](_0x423238=>_0x423238[_0x38dfd7(0x212)](0x1))||[];};exports[a44_0x2bb216(0x1d3)]=_0x4a44c0=>{const _0x11cc5b=a44_0x2bb216,_0x22ce86={'AceKc':function(_0x2545c9,_0x140f8b){return _0x2545c9(_0x140f8b);}};if(_0x4a44c0[_0x11cc5b(0x224)])return _0x4a44c0[_0x11cc5b(0x224)]['map'](_0x429e69=>_0x429e69[_0x11cc5b(0x1f2)]('@')?_0x429e69[_0x11cc5b(0x1cb)](0x1):_0x429e69);return _0x22ce86[_0x11cc5b(0x222)](getTagsFromTitle,_0x4a44c0[_0x11cc5b(0x1b6)]);},exports[a44_0x2bb216(0x1ae)]=async()=>{const _0x1facb8=a44_0x2bb216,_0x51a41a={'ecGak':function(_0x5e28ee,_0x33a2cb){return _0x5e28ee-_0x33a2cb;},'hasPE':'performance-reporter.html','wPnbP':_0x1facb8(0x1f6),'MskLi':_0x1facb8(0x24a),'HljpK':'onTestBegin','ajiYo':_0x1facb8(0x1f9),'abKcU':_0x1facb8(0x1a5),'LEvUc':'onStepEnd','hltKL':_0x1facb8(0x1e8),'DiXBg':_0x1facb8(0x249),'GVVYf':_0x1facb8(0x219),'ITdfk':_0x1facb8(0x221),'EIoor':_0x1facb8(0x1db),'XprvW':'processPageScreenshot','XwJvY':_0x1facb8(0x1e0),'PSAXC':_0x1facb8(0x1ea),'EaGvg':_0x1facb8(0x1e7),'tqkAU':_0x1facb8(0x1b5),'inedX':function(_0x202964,_0x3e3d9d){return _0x202964(_0x3e3d9d);},'vSbiv':function(_0xcf7629,_0x8cd458){return _0xcf7629/_0x8cd458;},'arVLT':function(_0x3810af,_0x528e1e){return _0x3810af+_0x528e1e;},'ZTCAu':function(_0x391774,_0x4f2b15){return _0x391774*_0x4f2b15;},'XFmuk':function(_0xf0048d,_0x211cc5){return _0xf0048d+_0x211cc5;}};if(!process[_0x1facb8(0x1dd)]['START_TIME'])return;const _0xde9e15=_0x51a41a['ecGak'](new Date()[_0x1facb8(0x1f4)](),new Date(process['env'][_0x1facb8(0x1fb)])[_0x1facb8(0x1f4)]()),_0x204215=await PerformanceTester['stopAndGenerate'](_0x51a41a[_0x1facb8(0x202)],[_0x51a41a[_0x1facb8(0x1c3)],_0x51a41a['MskLi'],_0x51a41a['HljpK'],_0x51a41a['ajiYo'],_0x51a41a['abKcU'],_0x51a41a[_0x1facb8(0x1ff)]]),_0x3eaf10=fs['readdirSync']('.'),_0x561c4b=_0x3eaf10['filter'](_0x59ae27=>_0x59ae27[_0x1facb8(0x1f2)](_0x1facb8(0x200))&&_0x59ae27['endsWith'](_0x1facb8(0x223))),_0x168942=await PerformanceTester[_0x1facb8(0x1f8)](_0x561c4b,[_0x51a41a[_0x1facb8(0x24b)],_0x51a41a[_0x1facb8(0x1fa)],_0x51a41a[_0x1facb8(0x1ce)],_0x51a41a['ITdfk'],_0x51a41a[_0x1facb8(0x1f7)],_0x51a41a[_0x1facb8(0x240)],_0x51a41a[_0x1facb8(0x20e)],_0x51a41a[_0x1facb8(0x1be)],_0x51a41a[_0x1facb8(0x24d)],_0x51a41a[_0x1facb8(0x241)]]);_0x51a41a[_0x1facb8(0x1e9)](debug,_0x1facb8(0x1bd)+_0x51a41a[_0x1facb8(0x207)](_0xde9e15,0x3e8)+'\x20s'),_0x51a41a[_0x1facb8(0x1e9)](debug,_0x1facb8(0x1de)+_0x51a41a[_0x1facb8(0x214)](_0x168942,_0x204215)),_0x51a41a[_0x1facb8(0x1e9)](debug,_0x1facb8(0x1c6)+_0x51a41a['ZTCAu'](_0x51a41a['vSbiv'](_0x51a41a[_0x1facb8(0x1eb)](_0x168942,_0x204215),_0xde9e15),0x64));},exports[a44_0x2bb216(0x229)]=()=>{const _0x836bfc=a44_0x2bb216,_0x325bff={'uffHH':function(_0x31c295,_0x202266){return _0x31c295(_0x202266);},'LhZfY':function(_0x300930,_0x32ea07){return _0x300930>=_0x32ea07;},'zLdEY':'1.38.0','GxMQq':_0x836bfc(0x1d1),'hhZYt':_0x836bfc(0x1d0),'vpklr':_0x836bfc(0x20f),'RceRD':'@playwright/test/lib/transform/transform.js','vPBVS':'@playwright/test','iTHGl':_0x836bfc(0x1d2)},_0x5b4564=_0x325bff[_0x836bfc(0x1ca)](getFrameworkVersion,FRAMEWORKS[_0x836bfc(0x1df)]);if(_0x325bff[_0x836bfc(0x1a9)](helper[_0x836bfc(0x225)](_0x5b4564,_0x325bff[_0x836bfc(0x1c8)]),0x0))return[_0x325bff[_0x836bfc(0x1bb)],_0x325bff[_0x836bfc(0x1cd)]];if(_0x325bff['LhZfY'](helper[_0x836bfc(0x225)](_0x5b4564,_0x325bff[_0x836bfc(0x206)]),0x0))return[_0x325bff[_0x836bfc(0x236)],_0x325bff[_0x836bfc(0x237)]];return[_0x325bff['iTHGl'],_0x325bff[_0x836bfc(0x237)]];},exports['getConfigLoaderPath']=()=>{const _0x2508a0=a44_0x2bb216,_0x5e19ce={'GHAlU':function(_0x156ff6,_0x1f8052){return _0x156ff6(_0x1f8052);},'BjPMx':function(_0x44b5ca,_0x315157){return _0x44b5ca>=_0x315157;},'UuhFW':_0x2508a0(0x1af),'yTxha':'playwright/lib/common/configLoader.js','rLOrX':_0x2508a0(0x1d0),'bZoYh':_0x2508a0(0x1f0),'sjJdX':_0x2508a0(0x23b)},_0x4e33c1=_0x5e19ce['GHAlU'](getFrameworkVersion,FRAMEWORKS[_0x2508a0(0x1df)]);if(_0x5e19ce['BjPMx'](helper[_0x2508a0(0x225)](_0x4e33c1,_0x5e19ce[_0x2508a0(0x243)]),0x0))return[_0x5e19ce[_0x2508a0(0x24f)],_0x5e19ce[_0x2508a0(0x21d)]];return[_0x5e19ce[_0x2508a0(0x1d5)],_0x5e19ce[_0x2508a0(0x1ed)]];},exports['getLoadUtilsPath']=()=>{const _0x2d7ff8=a44_0x2bb216,_0x31a790={};_0x31a790[_0x2d7ff8(0x239)]=_0x2d7ff8(0x1b7);const _0x7f2f0b=_0x31a790;return helper[_0x2d7ff8(0x234)](_0x7f2f0b['QcMgy']);},exports[a44_0x2bb216(0x245)]=()=>{const _0x3f3be2=a44_0x2bb216,_0x5e56b7={};_0x5e56b7['DSEJS']='runner/projectUtils.js';const _0x43f479=_0x5e56b7;return helper[_0x3f3be2(0x234)](_0x43f479[_0x3f3be2(0x247)]);},exports['getForkProcessPath']=()=>{const _0x1be312=a44_0x2bb216,_0x246cf0={'AymnK':function(_0x52c4cd,_0xb6ea35){return _0x52c4cd(_0xb6ea35);},'PAtnw':function(_0x46c99b,_0x13d136){return _0x46c99b>=_0x13d136;},'YHQxj':_0x1be312(0x1af),'vxqSf':_0x1be312(0x22b),'Yylqu':_0x1be312(0x1f5),'WAjKV':_0x1be312(0x1e3),'Amkuj':_0x1be312(0x23c)},_0x15e38c=_0x246cf0['AymnK'](getFrameworkVersion,FRAMEWORKS[_0x1be312(0x1df)]);if(_0x246cf0[_0x1be312(0x1d9)](helper['compareVersions'](_0x15e38c,_0x246cf0[_0x1be312(0x1ab)]),0x0))return path['join'](_0x246cf0[_0x1be312(0x210)],_0x246cf0['Yylqu'],_0x246cf0[_0x1be312(0x1b8)]);return path[_0x1be312(0x1dc)](_0x246cf0[_0x1be312(0x24c)],_0x246cf0['vxqSf'],_0x246cf0[_0x1be312(0x22c)],_0x246cf0[_0x1be312(0x1b8)]);},exports[a44_0x2bb216(0x1a6)]=(_0x1ea25a,{test_run_uuid:_0x503fd3})=>{const _0x3b1863=a44_0x2bb216,_0x50a9c0={'hidTH':'ERROR','owkQo':_0x3b1863(0x24e),'XxyQa':function(_0x934dea,_0x24183c){return _0x934dea<=_0x24183c;},'ZQSSy':function(_0x191492,_0x4ee144){return _0x191492(_0x4ee144);},'ktUjP':_0x3b1863(0x1f3),'mcKjB':function(_0x4f235e,_0x493172){return _0x4f235e>=_0x493172;},'CEfPN':_0x3b1863(0x209),'gzvUy':function(_0x1aceb5,_0x535909){return _0x1aceb5>_0x535909;},'mHzZI':function(_0x43491b,_0x47d885,_0x180efb){return _0x43491b(_0x47d885,_0x180efb);},'WvcMU':'test'};if(!_0x1ea25a||_0x50a9c0['XxyQa'](_0x1ea25a[_0x3b1863(0x1ac)],0x0))return[];const _0x49d7b5=_0x50a9c0['ZQSSy'](removeAnsiColors,_0x1ea25a[0x0][_0x3b1863(0x1fc)]);if(_0x49d7b5['startsWith'](_0x50a9c0['ktUjP'])){const _0x411365=_0x1ea25a[0x0],_0x5ca712=_0x50a9c0[_0x3b1863(0x1aa)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x411365['stack']||_0x50a9c0['mcKjB'](_0x5ca712,_0x50a9c0[_0x3b1863(0x1bf)]))&&_0x50a9c0['gzvUy'](_0x1ea25a[_0x3b1863(0x1ac)],0x1))return{'failureData':[{'backtrace':[_0x49d7b5,_0x50a9c0[_0x3b1863(0x1aa)](removeAnsiColors,_0x1ea25a[0x1][_0x3b1863(0x220)])]}],'logs':_0x1ea25a[_0x3b1863(0x212)](0x2)[_0x3b1863(0x1e4)](_0x414a4b=>{const _0x37a72d=_0x3b1863;return{'timestamp':new Date()[_0x37a72d(0x242)](),'level':_0x50a9c0[_0x37a72d(0x218)],'message':''+_0x414a4b[_0x37a72d(0x1fc)],'kind':_0x50a9c0[_0x37a72d(0x20c)],'http_response':{},'test_run_uuid':_0x503fd3};})};}return{'failureData':_0x50a9c0['mHzZI'](failureData,_0x1ea25a,_0x50a9c0['WvcMU']),'logs':[]};},exports['validateFilePath']=_0x16fa41=>{const _0x1aa427=a44_0x2bb216,_0x2cad1e={};_0x2cad1e[_0x1aa427(0x238)]=function(_0x1c8598,_0x4ff5c9){return _0x1c8598!==_0x4ff5c9;},_0x2cad1e[_0x1aa427(0x23a)]=_0x1aa427(0x1d4),_0x2cad1e[_0x1aa427(0x21b)]=function(_0x3503a8,_0x36c994){return _0x3503a8>_0x36c994;};const _0x107502=_0x2cad1e;if(_0x16fa41&&fs['existsSync'](_0x16fa41)){if(_0x107502[_0x1aa427(0x238)](path[_0x1aa427(0x22f)](_0x16fa41)[_0x1aa427(0x1d8)](),_0x107502[_0x1aa427(0x23a)]))return logger[_0x1aa427(0x1b1)](_0x1aa427(0x1a7)+_0x16fa41),![];const _0x57147f=fs[_0x1aa427(0x216)](_0x16fa41)[_0x1aa427(0x246)];if(_0x107502[_0x1aa427(0x21b)](_0x57147f,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error'](_0x1aa427(0x1ef)+_0x57147f+'\x20bytes'),![];return!![];}return![];},exports[a44_0x2bb216(0x1bc)]=(_0x2dcb5f,_0x52e36b)=>{const _0x59e3d5=a44_0x2bb216,_0x2ea8ce={};_0x2ea8ce[_0x59e3d5(0x20a)]=_0x59e3d5(0x1c1);const _0x24ae50=_0x2ea8ce;logger[_0x59e3d5(0x1c0)]('Searching\x20for\x20key:\x20'+_0x52e36b);if(_0x2dcb5f&&_0x2dcb5f['attachments']){const _0x3d9ed4=_0x2dcb5f['attachments'][_0x59e3d5(0x1b4)](_0x20cea9=>_0x20cea9['name']==='trace');if(_0x3d9ed4)return logger[_0x59e3d5(0x1c0)]('Found\x20key:\x20'+_0x52e36b+_0x59e3d5(0x1b9)),_0x3d9ed4[_0x52e36b];}else{if(_0x2dcb5f&&Object[_0x59e3d5(0x227)]['toString'][_0x59e3d5(0x1cf)](_0x2dcb5f)[_0x59e3d5(0x235)](_0x24ae50[_0x59e3d5(0x20a)]))for(const _0x1a7e45 of _0x2dcb5f){if(_0x1a7e45[_0x52e36b])return logger[_0x59e3d5(0x1c0)](_0x59e3d5(0x1b0)+_0x52e36b+'\x20in\x20arguments'),_0x1a7e45[_0x52e36b];}};return'';},exports['uploadTraceZip']=async(_0x3cb79f,_0x2df43e)=>{const _0x4f3bce=a44_0x2bb216,_0x265d94={};_0x265d94[_0x4f3bce(0x211)]=_0x4f3bce(0x23f),_0x265d94[_0x4f3bce(0x232)]=_0x4f3bce(0x248),_0x265d94[_0x4f3bce(0x208)]='sendTraceZip',_0x265d94[_0x4f3bce(0x204)]=_0x4f3bce(0x22d);const _0x14f04e=_0x265d94;try{const _0x143cf1={'event_type':_0x14f04e[_0x4f3bce(0x211)],'logs':[{'data':_0x3cb79f?fs[_0x4f3bce(0x21f)](_0x3cb79f):'','test_run_uuid':_0x2df43e,'kind':_0x14f04e[_0x4f3bce(0x232)],'fileName':_0x3cb79f?path[_0x4f3bce(0x1a8)](_0x3cb79f):''}]};return await SessionHandler[_0x4f3bce(0x1ec)](_0x143cf1,0x0,_0x14f04e['AgtqY']);}catch(_0x59ae28){logger[_0x4f3bce(0x1b1)](util[_0x4f3bce(0x1fe)](_0x14f04e[_0x4f3bce(0x204)],_0x59ae28));}},exports['sendTraceZip']=async(_0x23f2cc,_0x55a7a4)=>{const _0x566f2d=a44_0x2bb216,_0x140523={'jrxLB':_0x566f2d(0x1d7),'dgmjS':_0x566f2d(0x23e),'yjIre':function(_0x19ebcf){return _0x19ebcf();},'TqwXO':_0x566f2d(0x22d)};try{logger[_0x566f2d(0x1c0)](_0x566f2d(0x1ba)+_0x55a7a4);let _0x535593=await exports['findNestedKey'](_0x23f2cc,_0x140523[_0x566f2d(0x215)]);if(exports['validateFilePath'](_0x535593)){logger[_0x566f2d(0x1c0)](_0x140523[_0x566f2d(0x23d)]),_0x535593=path[_0x566f2d(0x1da)](_0x535593);const _0x337294={};_0x337294[_0x566f2d(0x1c9)]=_0x55a7a4,_0x337294[_0x566f2d(0x1fd)]=_0x535593;const _0x110a4b=_0x337294;_0x140523[_0x566f2d(0x226)](getBrowserstackCLI)[_0x566f2d(0x1b3)]()[_0x566f2d(0x1c4)]()?TestInfo[_0x566f2d(0x1e5)](_0x110a4b):TestDetails['addTraceFilePath'](_0x110a4b);};}catch(_0x7386ab){logger[_0x566f2d(0x1b1)](util[_0x566f2d(0x1fe)](_0x140523[_0x566f2d(0x21c)],_0x7386ab));}},exports[a44_0x2bb216(0x213)]=_0x469822=>{const _0x2963b3=a44_0x2bb216,_0x368fe5={};_0x368fe5[_0x2963b3(0x1c2)]=function(_0x511672,_0x3266f1){return _0x511672+_0x3266f1;},_0x368fe5[_0x2963b3(0x21a)]=function(_0xec452d,_0x22597c){return _0xec452d+_0x22597c;};const _0x3894f6=_0x368fe5;return _0x3894f6[_0x2963b3(0x1c2)](_0x3894f6['FHNQs'](_0x469822['_projectId'],'-'),_0x469822['id']);},exports[a44_0x2bb216(0x1e1)]=(_0x138a8c,_0x2f3080)=>{const _0x1a75ec=a44_0x2bb216,_0x39a69b={};_0x39a69b[_0x1a75ec(0x230)]=function(_0x2b4593,_0x3fdd55){return _0x2b4593+_0x3fdd55;};const _0x1d8088=_0x39a69b;return _0x1d8088['YKxvd'](_0x1d8088[_0x1a75ec(0x230)](_0x138a8c['id'],'-'),_0x2f3080);};function a44_0x162a(){const _0x2b94fa=['EaGvg','TEST_LOG','yTxha','onStepBegin','getFailureData','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','basename','LhZfY','ZQSSy','YHQxj','length','9783vEtLwT','calculatePerformance','1.38.0','Found\x20key:\x20','error','../../v2/browserstackCLI','getInstance','find','sendTestLog','title','runner/loadUtils.js','WAjKV','\x20in\x20attachments','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','GxMQq','findNestedKey','Total\x20duration\x20for\x20whole\x20build\x20is\x20','PSAXC','CEfPN','debug','Arguments','xPwql','wPnbP','isRunning','166280GLwNiq','Percentage\x20of\x20increased\x20time\x20is\x20','util','zLdEY','testUId','uffHH','substr','2qOKudS','hhZYt','GVVYf','call','playwright','playwright/lib/transform/transform.js','@playwright/test/lib/common/transform.js','getTestTags','.zip','bZoYh','192300fKODfj','path','toLowerCase','PAtnw','resolve','doo11ySync','join','env','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','PLAYWRIGHT','sendSessionDetails','getTestRunIdentifier','115698BjgPNa','process.js','map','addTraceFilePath','979YaPLIk','requestSpyCallback','beforeWorkerHook','inedX','setupBrowserDetails','XFmuk','sendEventData','sjJdX','../../../helpers/test-observability/constants','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','@playwright/test/lib/common/configLoader.js','winstonLogger','startsWith','Test\x20timeout\x20of','getTime','common','onBegin','EIoor','calculateTimesFromMultipleFiles','onTestEnd','DiXBg','START_TIME','message','filePath','format','LEvUc','performance-report-worker-','6SoDIfR','hasPE','CFBKE','DVPpb','26052gLAMLz','vpklr','vSbiv','AgtqY','1.42.0','KzUBu','../../../helpers/performance/performance-tester','owkQo','match','XwJvY','1.35.0','vxqSf','AmSfU','slice','getTestIdentifier','arVLT','jrxLB','statSync','../../../helpers/helper','hidTH','beforeTestHook','FHNQs','bUWzR','TqwXO','rLOrX','../../../helpers/logger','createReadStream','stack','afterTestHook','AceKc','.json','tags','compareVersions','yjIre','prototype','18508xfcfzI','getTransformPath','1528kUCDHO','lib','Yylqu','Error\x20in\x20sending\x20trace\x20file:\x20%s','9266829NLhtbt','extname','YKxvd','135RzuZvc','CGbjH','../../../helpers/test-observability/sessionHandler','getPlaywrightLibPath','includes','RceRD','vPBVS','XFUIQ','QcMgy','ROGEy','@playwright/test','test','dgmjS','Trace\x20enabled','LogCreated','XprvW','tqkAU','toISOString','UuhFW','1090TAWfwg','getProjectUtilsPath','size','DSEJS','TEST_ATTACHMENT','afterWorkerHook','endSession','hltKL','Amkuj'];a44_0x162a=function(){return _0x2b94fa;};return a44_0x162a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a45_0x33d90c=a45_0x3c82;(function(_0x13e1bb,_0x59553d){const _0x472921=a45_0x3c82,_0x4be503=_0x13e1bb();while(!![]){try{const _0x3eb685=parseInt(_0x472921(0x1b1))/0x1*(parseInt(_0x472921(0x252))/0x2)+parseInt(_0x472921(0x1f8))/0x3+parseInt(_0x472921(0x28a))/0x4*(-parseInt(_0x472921(0x29b))/0x5)+parseInt(_0x472921(0x28e))/0x6*(parseInt(_0x472921(0x21b))/0x7)+parseInt(_0x472921(0x26c))/0x8+-parseInt(_0x472921(0x19d))/0x9*(-parseInt(_0x472921(0x1cc))/0xa)+parseInt(_0x472921(0x25a))/0xb*(-parseInt(_0x472921(0x282))/0xc);if(_0x3eb685===_0x59553d)break;else _0x4be503['push'](_0x4be503['shift']());}catch(_0x4cfcfe){_0x4be503['push'](_0x4be503['shift']());}}}(a45_0x2c20,0x22213));const RequestQueueHandler=require(a45_0x33d90c(0x1ee)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x33d90c(0x1b5)),{v4:uuidv4}=require(a45_0x33d90c(0x1a1)),path=require(a45_0x33d90c(0x1d9)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x33d90c(0x257)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a45_0x33d90c(0x218)),fs=require('fs'),util=require(a45_0x33d90c(0x287)),{o11yClassErrorHandler}=require(a45_0x33d90c(0x28f)),PerformanceTester=require(a45_0x33d90c(0x1ab)),{FRAMEWORKS}=require(a45_0x33d90c(0x196)),SessionHandler=require(a45_0x33d90c(0x184)),{appendTesthubParams}=require(a45_0x33d90c(0x296)),helper=require(a45_0x33d90c(0x1b4)),BrowserstackCLI=require(a45_0x33d90c(0x23a)),TestFrameworkState=require(a45_0x33d90c(0x234)),HookState=require(a45_0x33d90c(0x1d0)),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x33d90c(0x291));function a45_0x2c20(){const _0x5d2d20=['_bs_hookIdentifier','.txt','startTime','reportLogs','file','_testHooksMap','exports','needToReportStep','_trackedEvents','fMEZQ','NFiBQ','env','getInstance','KKwTy','onTestEnd','igKyh','uyHXj','awNKV','uyLKb','./test-details','BAdyL','screenshot','35vNvpkL','object','KmZEO','uploadEventData','MyReporter','DYuJy','POST','SNnzC','uqyZT','addTestUIDAndReportLog','ViVhP','hook','sendSessionDetails','PiwkZ','getCustomRerunParam','cPWVr','base64','mIwPw','unknown','pending','mNjtJ','onStepBegin','passed','pOKHG','toISOString','../../v2/state/testFrameworkState','Error\x20in\x20calculating\x20performance:\x20','sendTestRunEvent','bjwOJ','length','\x20is\x20triggered','../../v2/browserstackCLI','options','beforeAll\x20hook','SKBza','QffBG','SbfGQ','PLAYWRIGHT','gBntU','FwmXd','getStepIdentifier','OokfE','HVvQU','TEST_STEP','BnhOB','BROWSERSTACK_TEST_RUN_ID','zQXiN','NlBBe','failure_reason','\x20-\x20','backtrace','OmZZt','aArxs','BNrGA','homedir','138SGojft','sendHookRunEvent','INIT_TEST','vOJXT','getTestUUID','../../../helpers/test-observability/utils','WNNnX','HookRunFinished','220pYOccG','getScope','afterEach\x20hook','test_run_uuid','qVInp','bPxmk','Sending\x20session\x20details\x20for\x20','JUkdD','result','logs','getTime','_gitConfigured','kVhom','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','MRDNq','MfJGT','stack','indexOf','1051040LMkoiE','QZDub','PRE','hmnWn','cIDJf','\x20at\x20','rQiGd','\x20is\x20triggered\x20for\x20test\x20','errors','DdKJT','PQzki','mnWEr','status','getTestFramework','Test\x20Started\x20with\x20unique\x20id\x20','event_type','startedAt','CIxOJ','CYrOC','JyYlk','startsWith','error','152544LdiDZR','onStepEnd','JAIAh','nWWYa','getHierarchy','util','PyQUm','split','408sUBNQs','join','err','title','46884JTCfgr','../../../helpers/test-observability/error-handler','WMgOg','../../../../src/bin/utils/constants','javascript','mkdirSync','nUyYn','ymaNe','../../../helpers/testhub/utils','hook_run','ATzMF','utf8','TLBpa','12630xTzwLw','test','zyxhH','root','../../../helpers/test-observability/sessionHandler','onTestBegin','lbOOG','size','AFTER_EACH','skipped','AaDhQ','parent','GXhda','IIsDS','bwxAk','vCvcD','qWHqg','oueed','endSession','UguHW','XrQxr','BEFORE_ALL','../../../helpers/test-observability/constants','bZZnR','push','ZWguj','trackEvent','DGPJG','TyOIU','90GJjNcQ','Trace\x20file\x20found\x20for\x20test:\x20','BROWSERSTACK_LOG_LEVEL','reverse','uuid','beforeEach\x20hook','wFUGD','hook_run_uuid','Hook\x20Finished\x20with\x20unique\x20id\x20','TestRunFinished','lBptN','kwYFK','performance-report-reporter.json','readFileSync','../../../helpers/performance/performance-tester','relative','isRunning','shutdown','LogCreated','After\x20Hooks','2999mtlTvf','XMSLI','xXTqF','../../../helpers/helper','./pwUtils','zHLgZ','VKAxB','enqgb','asUKu','Rpbfi','map','meta','titlePath','ifmqh','iFCIf','kWcdE','forEach','getHookType','message','configureGit','NmFwc','qcoxT','retry','iEiRl','format','splice','_tags','93440lYuXFR','xXNzs','AFTER_ALL','depth','../../v2/state/hookState','expanded','duration','failure_type','onBegin','CBTSessionCreated','toDZM','existsSync','toString','path','EiGVW','Expected\x20to\x20fail,\x20but\x20passed.','dTMFO','test_run','LmNwe','HCHRh','jWDqw','_gitConfigPath','mUXev','attachments','steps','PXexW','trace_','hwqWK','VvqJS','TestRunStarted','location','GzxwD','TEST_SCREENSHOT','ERdod','../../../helpers/test-observability/requestQueueHandler','.browserstack','filter','failure','inspect','vmlsX','retry_of','step','category','failed','542598RurTVe','statSync','ohDLL','rkbmt','_tests','getStepsAndLogs','expectedStatus','iFgJl','Hook\x20Started\x20with\x20unique\x20id\x20','all','QagMW','MIyAU','ZwQNc'];a45_0x2c20=function(){return _0x5d2d20;};return a45_0x2c20();}class MyReporter{constructor(_0x1f2a38){const _0x45d810=a45_0x33d90c,_0x5cbde9={'IIsDS':'6|0|2|7|5|1|3|4','ZwQNc':_0x45d810(0x1a9),'ymaNe':function(_0x494614,_0x464c17,_0x4a54dc,_0x5b09c8){return _0x494614(_0x464c17,_0x4a54dc,_0x5b09c8);}},_0x5c44e0=_0x5cbde9[_0x45d810(0x18d)][_0x45d810(0x289)]('|');let _0x43dc18=0x0;while(!![]){switch(_0x5c44e0[_0x43dc18++]){case'0':process[_0x45d810(0x210)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester['startMonitoring'](_0x5cbde9[_0x45d810(0x204)]),process[_0x45d810(0x210)]['START_TIME']=new Date()[_0x45d810(0x233)]());continue;case'1':this[_0x45d810(0x265)]=![];continue;case'2':this[_0x45d810(0x1fc)]={};continue;case'3':this[_0x45d810(0x1e1)]=null;continue;case'4':this[_0x45d810(0x20d)]=[];continue;case'5':this[_0x45d810(0x23b)]=_0x1f2a38;continue;case'6':const _0x13cad8={};_0x13cad8['logLevel']=process['env'][_0x45d810(0x19f)],_0x5cbde9[_0x45d810(0x295)](setLogLevel,_0x13cad8,new Map(),new Map());continue;case'7':this[_0x45d810(0x20a)]={};continue;}break;}}async[a45_0x33d90c(0x1d4)](){const _0x42cb16=a45_0x33d90c,_0x3cb469={};_0x3cb469['GzxwD']='Playwright';const _0x4b65f8=_0x3cb469;TestDetails['setup'](),await this[_0x42cb16(0x1c4)](),TestInfo['setup'](_0x4b65f8[_0x42cb16(0x1eb)]);if(BrowserstackCLI[_0x42cb16(0x211)]()[_0x42cb16(0x1ad)]()){await BrowserstackCLI[_0x42cb16(0x211)]()[_0x42cb16(0x279)]()[_0x42cb16(0x19a)](TestFrameworkState[_0x42cb16(0x254)],HookState[_0x42cb16(0x26e)],{});return;}}async[a45_0x33d90c(0x185)](_0x2449fe,_0x5d6231){const _0x3bbfcf=a45_0x33d90c,_0x3c4d4d={'OokfE':function(_0x497212,_0x53ab68){return _0x497212(_0x53ab68);},'VkOGA':function(_0x18ab9e,_0x982e33,_0x5f14d2){return _0x18ab9e(_0x982e33,_0x5f14d2);},'Hkzcl':function(_0x3da11c,_0x269deb){return _0x3da11c(_0x269deb);},'TyOIU':_0x3bbfcf(0x1e9)};if(BrowserstackCLI[_0x3bbfcf(0x211)]()[_0x3bbfcf(0x1ad)]()){const _0x38bee9={};_0x38bee9[_0x3bbfcf(0x29c)]=_0x2449fe,_0x38bee9['result']=_0x5d6231,await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x3bbfcf(0x19a)](TestFrameworkState['TEST'],HookState[_0x3bbfcf(0x26e)],_0x38bee9);return;}const _0x1c6017=_0x3c4d4d[_0x3bbfcf(0x244)](getTestIdentifier,_0x2449fe),_0x327877=TestDetails[_0x3bbfcf(0x256)](_0x3c4d4d['VkOGA'](getTestRunIdentifier,_0x2449fe,_0x5d6231[_0x3bbfcf(0x1c7)]));process[_0x3bbfcf(0x210)][_0x3bbfcf(0x248)]=_0x327877;const _0x3726f6={};_0x3726f6[_0x3bbfcf(0x1a1)]=_0x327877,_0x3726f6[_0x3bbfcf(0x27c)]=_0x5d6231[_0x3bbfcf(0x207)],this['_tests'][_0x1c6017]=_0x3726f6,_0x3c4d4d['Hkzcl'](trace,_0x3bbfcf(0x27a)+_0x1c6017),await this[_0x3bbfcf(0x236)](_0x2449fe,_0x3c4d4d[_0x3bbfcf(0x19c)],_0x5d6231);}async[a45_0x33d90c(0x230)](_0xad0b2e,_0x41ce09,_0x525400){const _0xb80122=a45_0x33d90c,_0x328339={'HVvQU':function(_0xfcb7ad,_0x37765d,_0x4f9304){return _0xfcb7ad(_0x37765d,_0x4f9304);},'VKAxB':function(_0x3f14dc,_0x28b886){return _0x3f14dc(_0x28b886);},'uyLKb':'HookRunStarted'};if(!this[_0xb80122(0x20c)](_0x525400,_0xad0b2e))return;if(BrowserstackCLI[_0xb80122(0x211)]()[_0xb80122(0x1ad)]()){const _0x2349c4=this[_0xb80122(0x1c2)](_0x525400[_0xb80122(0x28d)]),_0xaa0a00=TestFrameworkState[_0x2349c4],_0x539562={};_0x539562[_0xb80122(0x29c)]=_0xad0b2e,_0x539562[_0xb80122(0x262)]=_0x41ce09,_0x539562[_0xb80122(0x1f5)]=_0x525400,await BrowserstackCLI[_0xb80122(0x211)]()[_0xb80122(0x279)]()[_0xb80122(0x19a)](_0xaa0a00,HookState[_0xb80122(0x26e)],_0x539562);return;}const _0x5aaacb=this['setStepIdentifier'](_0xad0b2e,_0x525400);this['_tests'][_0x5aaacb]={'uuid':TestDetails[_0xb80122(0x256)](_0x5aaacb),'startedAt':_0x525400['startTime']['toISOString']()};const _0xabae9a=_0x328339[_0xb80122(0x245)](getTestRunIdentifier,_0xad0b2e,_0x41ce09[_0xb80122(0x1c7)]);!this[_0xb80122(0x20a)][_0xabae9a]&&(this[_0xb80122(0x20a)][_0xabae9a]=[]),this['_testHooksMap'][_0xabae9a]['push'](this[_0xb80122(0x1fc)][_0x5aaacb]['uuid']),_0x328339[_0xb80122(0x1b7)](trace,_0xb80122(0x200)+_0x5aaacb+_0xb80122(0x273)+_0xabae9a),await this[_0xb80122(0x253)](_0xad0b2e,_0x525400,_0x328339[_0xb80122(0x217)],_0x41ce09);}async[a45_0x33d90c(0x283)](_0x47bb22,_0x3d84d8,_0x1d4928){const _0x31950f=a45_0x33d90c,_0x355a00={'FYtwe':function(_0x12d4e7,_0x19f74d){return _0x12d4e7+_0x19f74d;},'KKwTy':function(_0x2a61ef,_0x18051c){return _0x2a61ef(_0x18051c);},'kWcdE':'HookRunFinished'};if(!this['needToReportStep'](_0x1d4928,_0x47bb22))return;if(BrowserstackCLI[_0x31950f(0x211)]()[_0x31950f(0x1ad)]()){const _0x5bb942=this['getHookType'](_0x1d4928[_0x31950f(0x28d)]),_0x4a8bed=TestFrameworkState[_0x5bb942],_0x2f26b5={};_0x2f26b5[_0x31950f(0x29c)]=_0x47bb22,_0x2f26b5[_0x31950f(0x262)]=_0x3d84d8,_0x2f26b5[_0x31950f(0x1f5)]=_0x1d4928,await BrowserstackCLI[_0x31950f(0x211)]()[_0x31950f(0x279)]()['trackEvent'](_0x4a8bed,HookState[_0x31950f(0x221)],_0x2f26b5);return;}const _0x4c8451=this[_0x31950f(0x243)](_0x47bb22,_0x1d4928);this['_tests'][_0x4c8451]={...this[_0x31950f(0x1fc)][_0x4c8451]||{},'finishedAt':new Date(_0x355a00['FYtwe'](_0x1d4928['startTime'][_0x31950f(0x264)](),_0x1d4928[_0x31950f(0x1d2)]))},_0x355a00[_0x31950f(0x212)](trace,_0x31950f(0x1a5)+_0x4c8451+_0x31950f(0x239)),await this[_0x31950f(0x253)](_0x47bb22,_0x1d4928,_0x355a00[_0x31950f(0x1c0)],_0x3d84d8);}async[a45_0x33d90c(0x213)](_0x871e14,_0x45ddc2){const _0x28a03f=a45_0x33d90c,_0xe126af={'nWWYa':function(_0x5a108c,_0x3a37d3){return _0x5a108c===_0x3a37d3;},'mUXev':_0x28a03f(0x21a),'bjwOJ':_0x28a03f(0x1ec),'xClel':_0x28a03f(0x22b),'iFCIf':function(_0x141a0a,_0x37015b){return _0x141a0a(_0x37015b);},'yxnJq':function(_0x1bcb4d,_0x4c5fa6,_0x40d246){return _0x1bcb4d(_0x4c5fa6,_0x40d246);},'ViVhP':function(_0x2e805b,_0x329efc){return _0x2e805b(_0x329efc);},'hmnWn':'TestRunFinished','WMgOg':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','rBHzr':function(_0x448644,_0x1b3324){return _0x448644(_0x1b3324);},'gBntU':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','Rpbfi':function(_0x454da7,_0xfaf48c){return _0x454da7>_0xfaf48c;}};if(BrowserstackCLI[_0x28a03f(0x211)]()[_0x28a03f(0x1ad)]()){const _0x85df13={};_0x85df13[_0x28a03f(0x29c)]=_0x871e14,_0x85df13[_0x28a03f(0x262)]=_0x45ddc2,this[_0x28a03f(0x20d)][_0x28a03f(0x198)](BrowserstackCLI[_0x28a03f(0x211)]()[_0x28a03f(0x279)]()['trackEvent'](TestFrameworkState['TEST'],HookState['POST'],_0x85df13));return;}const _0xfe2999=_0xe126af[_0x28a03f(0x1bf)](getTestIdentifier,_0x871e14),_0x461adc=TestDetails[_0x28a03f(0x256)](_0xe126af['yxnJq'](getTestRunIdentifier,_0x871e14,_0x45ddc2['retry']));this['_tests'][_0xfe2999]={...this[_0x28a03f(0x1fc)][_0xfe2999]||{},'finishedAt':new Date()[_0x28a03f(0x233)]()},_0xe126af[_0x28a03f(0x225)](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0xfe2999);try{await this[_0x28a03f(0x236)](_0x871e14,_0xe126af[_0x28a03f(0x26f)],_0x45ddc2);}catch(_0xd27e7a){_0xe126af[_0x28a03f(0x1bf)](debug,util[_0x28a03f(0x1c9)](_0xe126af[_0x28a03f(0x290)],_0xd27e7a[_0x28a03f(0x1d8)]()));}try{_0xe126af['rBHzr'](debug,_0x28a03f(0x267)+_0x461adc),await _0xe126af['yxnJq'](sendTraceZip,_0x45ddc2,_0x461adc);}catch(_0x228dde){_0xe126af['rBHzr'](debug,util['format'](_0xe126af[_0x28a03f(0x241)],_0x228dde['toString']()));}const _0x562dbd=[];_0x45ddc2[_0x28a03f(0x1e3)]&&_0x45ddc2[_0x28a03f(0x1e3)][_0x28a03f(0x1bb)](_0x5ec119=>{const _0x37e429=_0x28a03f;if(_0xe126af[_0x37e429(0x285)](_0x5ec119['name'],_0xe126af[_0x37e429(0x1e2)])){if(!_0x5ec119[_0x37e429(0x1d9)]||!fs[_0x37e429(0x1d7)](_0x5ec119['path']))return;_0x562dbd['push']({'test_run_uuid':_0x461adc,'timestamp':fs[_0x37e429(0x1f9)](_0x5ec119[_0x37e429(0x1d9)])['mtime'],'kind':_0xe126af[_0x37e429(0x237)],'message':fs[_0x37e429(0x1aa)](_0x5ec119[_0x37e429(0x1d9)],{'encoding':_0xe126af['xClel']})});}}),_0xe126af[_0x28a03f(0x1ba)](_0x562dbd[_0x28a03f(0x238)],0x0)&&await MyReporter[_0x28a03f(0x208)](_0x562dbd);}async['endSession'](){const _0xfe3af7=a45_0x33d90c;await RequestQueueHandler['getInstance']()[_0xfe3af7(0x1ae)]();}async['onEnd'](_0xf2c1ef){const _0x405675=a45_0x33d90c,_0x47ced4={'QZDub':function(_0x3684e7){return _0x3684e7();},'oueed':function(_0x33cc5e,_0x2a6f51){return _0x33cc5e(_0x2a6f51);}};await Promise[_0x405675(0x201)](this[_0x405675(0x20d)]),await this[_0x405675(0x192)]();try{process[_0x405675(0x210)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x47ced4[_0x405675(0x26d)](calculatePerformance);}catch(_0x4c900a){_0x47ced4[_0x405675(0x191)](debug,_0x405675(0x235)+_0x4c900a[_0x405675(0x1d8)]());}}static async[a45_0x33d90c(0x224)](_0x3dc35d,_0x3a45c7){const _0x4990d1=a45_0x33d90c;_0x3a45c7[_0x4990d1(0x25d)]=TestDetails[_0x4990d1(0x256)](_0x3dc35d),await this[_0x4990d1(0x208)]([_0x3a45c7]);}static async[a45_0x33d90c(0x208)](_0x518ef2){const _0x454867=a45_0x33d90c,_0x4a1e52={};_0x4a1e52[_0x454867(0x1da)]=_0x454867(0x1af);const _0x23bc58=_0x4a1e52;if(BrowserstackCLI['getInstance']()[_0x454867(0x1ad)]())return;const _0xc69f1e={};_0xc69f1e[_0x454867(0x27b)]=_0x23bc58[_0x454867(0x1da)],_0xc69f1e[_0x454867(0x263)]=_0x518ef2,await SessionHandler[_0x454867(0x21e)](_0xc69f1e);}async['sendHookRunEvent'](_0x383d54,_0x4e2db4,_0x43c4e1,_0x183b1a){const _0x58ed7e=a45_0x33d90c,_0x5977e1={'KmZEO':_0x58ed7e(0x226),'FwmXd':_0x58ed7e(0x292),'TLBpa':_0x58ed7e(0x22e),'lBptN':function(_0xfd00ac,_0x26b790){return _0xfd00ac>=_0x26b790;},'enqgb':function(_0x43d652,_0x558a38){return _0x43d652===_0x558a38;},'VzgqI':_0x58ed7e(0x259),'kwYFK':function(_0x279740,_0x4a22c9){return _0x279740>_0x4a22c9;},'aPszu':_0x58ed7e(0x1f7),'toDZM':function(_0x563aeb,_0x50e028){return _0x563aeb(_0x50e028);},'mNjtJ':function(_0x53a699,_0x5a24f9,_0x429fc9){return _0x53a699(_0x5a24f9,_0x429fc9);},'SNnzC':_0x58ed7e(0x28c),'ATzMF':function(_0x4345f3,_0x47a440){return _0x4345f3===_0x47a440;},'ifmqh':_0x58ed7e(0x231)},_0x3d9d7f=this[_0x58ed7e(0x243)](_0x383d54,_0x4e2db4),_0x416c5d=this[_0x58ed7e(0x1fc)][_0x3d9d7f],_0x40b178={'uuid':_0x416c5d[_0x58ed7e(0x1a1)],'type':_0x5977e1[_0x58ed7e(0x21d)],'hook_type':this['getHookType'](_0x4e2db4['title']),'name':_0x4e2db4['title'],'scope':this[_0x58ed7e(0x25b)](_0x4e2db4),'scopes':this[_0x58ed7e(0x286)](_0x383d54),'body':{'lang':_0x5977e1[_0x58ed7e(0x242)],'code':null},'identifier':_0x3d9d7f,'file_name':path['relative'](process['cwd'](),_0x383d54['location'][_0x58ed7e(0x209)]),'location':path[_0x58ed7e(0x1ac)](process['cwd'](),_0x383d54['location'][_0x58ed7e(0x209)]),'result':_0x5977e1[_0x58ed7e(0x29a)],'duration_in_ms':_0x5977e1[_0x58ed7e(0x1a7)](_0x4e2db4[_0x58ed7e(0x1d2)],0x0)?_0x4e2db4['duration']:undefined,'vc_filepath':this['_gitConfigPath']&&_0x383d54[_0x58ed7e(0x1ea)][_0x58ed7e(0x209)]?path[_0x58ed7e(0x1ac)](this[_0x58ed7e(0x1e1)],_0x383d54[_0x58ed7e(0x1ea)][_0x58ed7e(0x209)]):undefined,'started_at':_0x416c5d[_0x58ed7e(0x27c)],'finished_at':_0x416c5d['finishedAt'],'framework':FRAMEWORKS[_0x58ed7e(0x240)]};if(_0x5977e1[_0x58ed7e(0x1b8)](_0x43c4e1,_0x5977e1['VzgqI'])){const {steps:_0x49d49c,logs:_0x80f015}=this[_0x58ed7e(0x1fd)](_0x4e2db4[_0x58ed7e(0x1e4)],_0x416c5d['uuid'],_0x5977e1['KmZEO']);_0x80f015&&_0x5977e1[_0x58ed7e(0x1a8)](_0x80f015[_0x58ed7e(0x238)],0x0)&&await MyReporter['reportLogs'](_0x80f015);const _0x31aa72={};_0x31aa72[_0x58ed7e(0x1e4)]=_0x49d49c,_0x40b178[_0x58ed7e(0x1bc)]=_0x31aa72;if(_0x4e2db4[_0x58ed7e(0x281)]){_0x40b178[_0x58ed7e(0x262)]=_0x5977e1['aPszu'],_0x40b178[_0x58ed7e(0x24b)]=_0x5977e1[_0x58ed7e(0x1d6)](removeAnsiColors,_0x4e2db4[_0x58ed7e(0x281)][_0x58ed7e(0x1c3)]),_0x40b178[_0x58ed7e(0x1d3)]=_0x5977e1[_0x58ed7e(0x1d6)](getFailureType,_0x4e2db4[_0x58ed7e(0x281)][_0x58ed7e(0x1c3)]);const _0x53963b=_0x5977e1[_0x58ed7e(0x22f)](failureData,_0x4e2db4[_0x58ed7e(0x281)],_0x5977e1[_0x58ed7e(0x222)]);if(_0x53963b&&_0x5977e1[_0x58ed7e(0x298)](_0x53963b['length'],0x0)){const _0x46bc54={};_0x46bc54['backtrace']=[_0x40b178['failure_reason']],_0x46bc54[_0x58ed7e(0x1d1)]=[],_0x53963b[_0x58ed7e(0x198)](_0x46bc54);}_0x40b178[_0x58ed7e(0x1f1)]=_0x53963b;}else _0x40b178[_0x58ed7e(0x262)]=_0x5977e1[_0x58ed7e(0x1be)];}const _0x583246={};_0x583246[_0x58ed7e(0x27b)]=_0x43c4e1,_0x583246[_0x58ed7e(0x297)]=_0x40b178;const _0x2bf0a3=_0x583246;await SessionHandler['uploadEventData'](_0x2bf0a3);}[a45_0x33d90c(0x1fd)](_0x8128bb,_0xf648de,_0x896456){const _0x557b77=a45_0x33d90c,_0x2bb8ea={'JUkdD':function(_0x2c6aae,_0x2ff2ad){return _0x2c6aae===_0x2ff2ad;},'WNNnX':_0x557b77(0x226),'JyYlk':function(_0x176036,_0x76e4ad){return _0x176036===_0x76e4ad;},'GXhda':_0x557b77(0x1b0),'zHLgZ':function(_0x34e8a0,_0x7c0e17){return _0x34e8a0===_0x7c0e17;},'UguHW':'Before\x20Hooks','iFgJl':function(_0x1d08d8,_0x105d75){return _0x1d08d8===_0x105d75;},'nUyYn':'test','EZsOg':'test_run_uuid','VvqJS':_0x557b77(0x1a4),'PiwkZ':_0x557b77(0x246),'vOJXT':_0x557b77(0x1f7),'iEiRl':_0x557b77(0x231),'rQiGd':function(_0x22efa7,_0x1034b0){return _0x22efa7(_0x1034b0);},'cIDJf':function(_0x3ae66e){return _0x3ae66e();},'BnhOB':function(_0x43032f,_0x84ba6f){return _0x43032f(_0x84ba6f);},'NxRIv':function(_0x1fd094,_0x90d89e){return _0x1fd094(_0x90d89e);},'xXNzs':function(_0x25e0b4,_0x5d036b,_0x1915df){return _0x25e0b4(_0x5d036b,_0x1915df);},'xyOor':function(_0x1c3e4b,_0xc6bb8f,_0x14a21d){return _0x1c3e4b(_0xc6bb8f,_0x14a21d);}},_0x491824=[],_0x2fab81=[],_0x17daeb=_0x8128bb[_0x557b77(0x1f0)](_0x3ee4e4=>{const _0x1f3a8b=_0x557b77;if(_0x2bb8ea[_0x1f3a8b(0x261)](_0x3ee4e4[_0x1f3a8b(0x1f6)],_0x2bb8ea[_0x1f3a8b(0x258)])&&(_0x2bb8ea[_0x1f3a8b(0x27f)](_0x3ee4e4[_0x1f3a8b(0x28d)],_0x2bb8ea[_0x1f3a8b(0x18c)])||_0x2bb8ea[_0x1f3a8b(0x1b6)](_0x3ee4e4[_0x1f3a8b(0x28d)],_0x2bb8ea[_0x1f3a8b(0x193)])))return![];return!![];}),_0x4dded3=(_0x38dd7e,_0xdc5fb3=![])=>{const _0x508864=_0x557b77;if(_0x2bb8ea['iFgJl'](_0x38dd7e[_0x508864(0x1e4)][_0x508864(0x238)],0x0)){const _0x3d238b=_0x2bb8ea[_0x508864(0x1ff)](_0x896456,_0x2bb8ea[_0x508864(0x294)])?_0x2bb8ea['EZsOg']:_0x2bb8ea[_0x508864(0x1e8)];_0x2fab81[_0x508864(0x198)]({'kind':_0x2bb8ea[_0x508864(0x228)],[_0x3d238b]:_0xf648de,'message':_0x38dd7e[_0x508864(0x28d)],'timestamp':_0x38dd7e[_0x508864(0x207)][_0x508864(0x233)](),'level':_0x38dd7e[_0x508864(0x281)]?_0x2bb8ea[_0x508864(0x255)]:_0x2bb8ea['iEiRl'],'duration':_0x38dd7e[_0x508864(0x1d2)],'failure':_0x38dd7e[_0x508864(0x281)]&&_0x38dd7e[_0x508864(0x281)][_0x508864(0x1c3)]&&_0x2bb8ea['rQiGd'](removeAnsiColors,_0x38dd7e[_0x508864(0x281)]['message']),'failure_type':_0x2bb8ea[_0x508864(0x272)](getFailureType,_0x38dd7e[_0x508864(0x281)]&&_0x38dd7e['error']['message'])});}else{!_0xdc5fb3&&_0x491824[_0x508864(0x198)]({'id':_0x2bb8ea[_0x508864(0x270)](uuidv4),'text':_0x38dd7e['title'],'keyword':undefined,'started_at':_0x38dd7e['startTime'][_0x508864(0x233)](),'duration':_0x38dd7e['duration'],'result':_0x38dd7e['error']?_0x2bb8ea['vOJXT']:_0x2bb8ea[_0x508864(0x1c8)],'failure':_0x38dd7e['error']&&_0x38dd7e[_0x508864(0x281)][_0x508864(0x1c3)]&&_0x2bb8ea[_0x508864(0x247)](removeAnsiColors,_0x38dd7e[_0x508864(0x281)][_0x508864(0x1c3)]),'failure_type':_0x2bb8ea['NxRIv'](getFailureType,_0x38dd7e[_0x508864(0x281)]&&_0x38dd7e[_0x508864(0x281)][_0x508864(0x1c3)])});for(const _0x2d3203 of _0x38dd7e[_0x508864(0x1e4)]){_0x2bb8ea[_0x508864(0x1cd)](_0x4dded3,_0x2d3203,!![]);}}};for(const _0xe9e1c0 of _0x17daeb){_0x2bb8ea['xyOor'](_0x4dded3,_0xe9e1c0,![]);}const _0x2aaf20={};return _0x2aaf20[_0x557b77(0x1e4)]=_0x491824,_0x2aaf20[_0x557b77(0x263)]=_0x2fab81,_0x2aaf20;}async[a45_0x33d90c(0x236)](_0x4ab888,_0x479a7e,_0x175d8b){const _0x5cb8ae=a45_0x33d90c,_0x23c410={'AaDhQ':function(_0x59f102,_0x2047ca){return _0x59f102(_0x2047ca);},'MRDNq':'TEST_ATTACHMENT','SbfGQ':function(_0x1ba8c7,_0x31ed93){return _0x1ba8c7(_0x31ed93);},'DGPJG':'test','vCvcD':_0x5cb8ae(0x292),'bwxAk':_0x5cb8ae(0x22e),'MIyAU':function(_0x883e71,_0x1b0306){return _0x883e71(_0x1b0306);},'bhymx':function(_0x383f94,_0x364500,_0x190f45,_0x29de54,_0x1b3d14){return _0x383f94(_0x364500,_0x190f45,_0x29de54,_0x1b3d14);},'CYrOC':function(_0x325c04,_0x1e1e84){return _0x325c04>_0x1e1e84;},'OmZZt':function(_0x3ee5f2,_0x5291cf,_0x26bb59){return _0x3ee5f2(_0x5291cf,_0x26bb59);},'PQzki':function(_0x5155cf,_0x79478f){return _0x5155cf-_0x79478f;},'mIwPw':function(_0x51a02c,_0x5e85f6){return _0x51a02c===_0x5e85f6;},'BNrGA':_0x5cb8ae(0x1a6),'BAdyL':function(_0x357bd9,_0x55a657){return _0x357bd9===_0x55a657;},'bZZnR':_0x5cb8ae(0x189),'vmlsX':_0x5cb8ae(0x231),'kVhom':function(_0x444bef,_0x18f305){return _0x444bef===_0x18f305;},'PXexW':'failed','hsDLg':function(_0x174839,_0x12ea9a){return _0x174839===_0x12ea9a;},'zQXiN':'timedOut','xXTqF':function(_0x4d6fe1,_0x32314c){return _0x4d6fe1===_0x32314c;},'SKBza':_0x5cb8ae(0x1db),'HCHRh':function(_0x4a7e04,_0x5035fe,_0x552125){return _0x4a7e04(_0x5035fe,_0x552125);},'XMSLI':function(_0x473cdb,_0x5f4a39){return _0x473cdb(_0x5f4a39);},'ERdod':function(_0xbfe968,_0x22959e){return _0xbfe968(_0x22959e);},'jWDqw':function(_0x167fba,_0x4f47cf,_0x269e34){return _0x167fba(_0x4f47cf,_0x269e34);},'qWHqg':function(_0x49529b,_0x28a9ce){return _0x49529b===_0x28a9ce;},'cPUtB':_0x5cb8ae(0x1d9),'igKyh':function(_0x4e914f,_0x112377){return _0x4e914f(_0x112377);},'TKulK':_0x5cb8ae(0x1ef),'ohDLL':_0x5cb8ae(0x299),'pOKHG':function(_0x15c336,_0xbd99b9){return _0x15c336(_0xbd99b9);},'DYuJy':function(_0x26d415,_0x580933){return _0x26d415!==_0x580933;}},_0x1912cb=_0x23c410[_0x5cb8ae(0x23f)](getTestIdentifier,_0x4ab888),_0x2215e3=this[_0x5cb8ae(0x25b)](_0x4ab888),_0x6feb20=this[_0x5cb8ae(0x1fc)][_0x1912cb],_0x54348=path[_0x5cb8ae(0x1ac)](process['cwd'](),_0x4ab888[_0x5cb8ae(0x1ea)]['file']);await this['configureGit']();const _0x5b767d={'uuid':_0x6feb20[_0x5cb8ae(0x1a1)],'type':_0x23c410[_0x5cb8ae(0x19b)],'name':_0x4ab888[_0x5cb8ae(0x28d)],'body':{'lang':_0x23c410[_0x5cb8ae(0x18f)],'code':_0x4ab888['fn'][_0x5cb8ae(0x1d8)]()},'scope':_0x2215e3,'scopes':this['getHierarchy'](_0x4ab888),'identifier':_0x1912cb,'file_name':_0x54348,'location':_0x54348,'result':_0x23c410[_0x5cb8ae(0x18e)],'duration_in_ms':_0x175d8b&&_0x175d8b[_0x5cb8ae(0x1d2)]?_0x175d8b[_0x5cb8ae(0x1d2)]:null,'vc_filepath':this[_0x5cb8ae(0x1e1)]&&_0x4ab888[_0x5cb8ae(0x1ea)]['file']?path['relative'](this[_0x5cb8ae(0x1e1)],_0x4ab888[_0x5cb8ae(0x1ea)][_0x5cb8ae(0x209)]):undefined,'started_at':_0x6feb20[_0x5cb8ae(0x27c)],'finished_at':_0x6feb20['finishedAt'],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x4ab888)},'tags':_0x23c410[_0x5cb8ae(0x203)](getTestTags,_0x4ab888)};_0x23c410['bhymx'](appendTesthubParams,_0x5b767d,_0x479a7e,_0x4ab888,FRAMEWORKS[_0x5cb8ae(0x240)]);_0x175d8b&&_0x23c410['CYrOC'](_0x175d8b['retry'],0x0)&&(_0x5b767d[_0x5cb8ae(0x1f4)]=TestDetails['getTestUUID'](_0x23c410[_0x5cb8ae(0x24e)](getTestRunIdentifier,_0x4ab888,_0x23c410[_0x5cb8ae(0x276)](_0x175d8b[_0x5cb8ae(0x1c7)],0x1))));if(_0x23c410[_0x5cb8ae(0x22c)](_0x479a7e,_0x23c410[_0x5cb8ae(0x250)])){_0x5b767d[_0x5cb8ae(0x262)]=_0x175d8b[_0x5cb8ae(0x278)];if(_0x23c410[_0x5cb8ae(0x219)](_0x175d8b[_0x5cb8ae(0x278)],_0x4ab888[_0x5cb8ae(0x1fe)]))_0x5b767d[_0x5cb8ae(0x262)]=_0x23c410[_0x5cb8ae(0x219)](_0x175d8b['status'],_0x23c410[_0x5cb8ae(0x197)])?_0x23c410[_0x5cb8ae(0x197)]:_0x23c410['vmlsX'];else{(_0x23c410['mIwPw'](_0x5b767d[_0x5cb8ae(0x262)],_0x23c410[_0x5cb8ae(0x1f3)])||_0x23c410[_0x5cb8ae(0x266)](_0x5b767d[_0x5cb8ae(0x262)],_0x23c410['PXexW'])||_0x23c410['hsDLg'](_0x5b767d['result'],_0x23c410[_0x5cb8ae(0x249)]))&&(_0x5b767d['result']=_0x23c410[_0x5cb8ae(0x1e5)]);if(_0x23c410['kVhom'](_0x175d8b[_0x5cb8ae(0x278)],_0x23c410[_0x5cb8ae(0x1f3)])&&_0x23c410[_0x5cb8ae(0x1b3)](_0x4ab888[_0x5cb8ae(0x1fe)],_0x23c410[_0x5cb8ae(0x1e5)])){const _0x5f260c={};_0x5f260c['message']=_0x23c410['SKBza'],_0x5f260c[_0x5cb8ae(0x26a)]=_0x23c410[_0x5cb8ae(0x23d)],_0x175d8b[_0x5cb8ae(0x281)]=_0x5f260c,_0x175d8b[_0x5cb8ae(0x274)]=[_0x175d8b[_0x5cb8ae(0x281)]];}}const _0x1e2d0e=_0x23c410[_0x5cb8ae(0x1df)](getTestRunIdentifier,_0x4ab888,_0x175d8b[_0x5cb8ae(0x1c7)]);_0x5b767d['hooks']=this[_0x5cb8ae(0x20a)][_0x1e2d0e];const {steps:_0x1dcba8,logs:_0x516c95}=this[_0x5cb8ae(0x1fd)](_0x175d8b['steps'],_0x6feb20[_0x5cb8ae(0x1a1)],_0x23c410[_0x5cb8ae(0x19b)]);await MyReporter['reportLogs'](_0x516c95);const _0x5e0483={};_0x5e0483[_0x5cb8ae(0x1e4)]=_0x1dcba8,_0x5b767d[_0x5cb8ae(0x1bc)]=_0x5e0483;if(_0x175d8b[_0x5cb8ae(0x281)]){_0x5b767d[_0x5cb8ae(0x24b)]=_0x23c410[_0x5cb8ae(0x1b2)](removeAnsiColors,_0x175d8b[_0x5cb8ae(0x281)][_0x5cb8ae(0x1c3)]),_0x5b767d[_0x5cb8ae(0x1d3)]=_0x23c410[_0x5cb8ae(0x1ed)](getFailureType,_0x175d8b[_0x5cb8ae(0x281)][_0x5cb8ae(0x1c3)]);const _0x1636a0={};_0x1636a0[_0x5cb8ae(0x25d)]=_0x6feb20[_0x5cb8ae(0x1a1)];const {failureData:_0x34f3a5,logs:_0x6288ff}=_0x23c410[_0x5cb8ae(0x1e0)](getFailureData,_0x175d8b[_0x5cb8ae(0x274)],_0x1636a0);if(_0x34f3a5&&_0x23c410[_0x5cb8ae(0x190)](_0x34f3a5[_0x5cb8ae(0x238)],0x0)){const _0x3c98eb={};_0x3c98eb[_0x5cb8ae(0x24d)]=[_0x5b767d['failure_reason']],_0x3c98eb[_0x5cb8ae(0x1d1)]=[],_0x34f3a5[_0x5cb8ae(0x198)](_0x3c98eb);}_0x5b767d[_0x5cb8ae(0x1f1)]=_0x34f3a5,_0x6288ff&&_0x23c410[_0x5cb8ae(0x27e)](_0x6288ff[_0x5cb8ae(0x238)],0x0)&&await MyReporter[_0x5cb8ae(0x208)](_0x6288ff);}}let _0x3681a5=_0x23c410['jWDqw'](findNestedKey,_0x175d8b,_0x23c410['cPUtB']);if(_0x3681a5&&_0x23c410[_0x5cb8ae(0x214)](validateFilePath,_0x3681a5))_0x23c410[_0x5cb8ae(0x1b2)](debug,_0x5cb8ae(0x19e)+_0x6feb20[_0x5cb8ae(0x1a1)]+_0x5cb8ae(0x271)+_0x3681a5);else{const _0x18ec73=path[_0x5cb8ae(0x28b)](helper[_0x5cb8ae(0x251)](),_0x23c410['TKulK']);!fs[_0x5cb8ae(0x1d7)](_0x18ec73)&&fs[_0x5cb8ae(0x293)](_0x18ec73),fs[_0x5cb8ae(0x1d7)](path[_0x5cb8ae(0x28b)](_0x18ec73,_0x5cb8ae(0x1e6)+_0x6feb20[_0x5cb8ae(0x1a1)]+_0x5cb8ae(0x206)))&&(_0x3681a5=fs['readFileSync'](path[_0x5cb8ae(0x28b)](_0x18ec73,_0x5cb8ae(0x1e6)+_0x6feb20[_0x5cb8ae(0x1a1)]+_0x5cb8ae(0x206)),_0x23c410[_0x5cb8ae(0x1fa)]),_0x23c410[_0x5cb8ae(0x232)](debug,_0x5cb8ae(0x19e)+_0x6feb20['uuid']+'\x20at\x20'+_0x3681a5));}const _0x1336de={};_0x1336de[_0x5cb8ae(0x27b)]=_0x479a7e,_0x1336de[_0x5cb8ae(0x1dd)]=_0x5b767d;const _0x2ecb9f=_0x1336de;_0x3681a5&&_0x23c410[_0x5cb8ae(0x220)](_0x3681a5,'')&&_0x23c410[_0x5cb8ae(0x22c)](_0x479a7e,_0x23c410['BNrGA'])&&(!_0x2ecb9f['logs']&&(_0x2ecb9f[_0x5cb8ae(0x263)]=[]),_0x3681a5[_0x5cb8ae(0x289)]('\x0a')[_0x5cb8ae(0x1c1)](_0x2bad4d=>{const _0x7bfa9d=_0x5cb8ae;_0x2bad4d&&_0x23c410[_0x7bfa9d(0x18a)](validateFilePath,_0x2bad4d)&&_0x2ecb9f[_0x7bfa9d(0x263)]['push']({'kind':_0x23c410[_0x7bfa9d(0x268)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x6feb20[_0x7bfa9d(0x1a1)],'file_name':path['basename'](_0x2bad4d),'file_size':fs[_0x7bfa9d(0x1f9)](_0x2bad4d)[_0x7bfa9d(0x187)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x5cb8ae(0x21e)](_0x2ecb9f);}[a45_0x33d90c(0x229)](_0x455767){const _0x296c39=a45_0x33d90c,_0x1d69c9={};_0x1d69c9['uyHXj']=function(_0x5b2e93,_0x4747fd){return _0x5b2e93===_0x4747fd;},_0x1d69c9['CIxOJ']=function(_0x1b5bcf,_0x8a3ac5){return _0x1b5bcf>_0x8a3ac5;},_0x1d69c9[_0x296c39(0x1e7)]=function(_0x4c9741,_0x35b63c){return _0x4c9741+_0x35b63c;},_0x1d69c9['QagMW']=function(_0x1633fa,_0x2530c1){return _0x1633fa+_0x2530c1;},_0x1d69c9[_0x296c39(0x269)]=function(_0xf8c4b3,_0x1d59c6){return _0xf8c4b3>_0x1d59c6;},_0x1d69c9[_0x296c39(0x194)]=function(_0x211cbc,_0x598445){return _0x211cbc+_0x598445;};const _0x342ad0=_0x1d69c9,_0x5c719b=_0x455767[_0x296c39(0x1bd)]()[_0x296c39(0x1bb)](_0x5e9bf3=>{const _0x30dd72=_0x296c39;if(_0x455767[_0x30dd72(0x18b)]&&_0x342ad0[_0x30dd72(0x215)](_0x5e9bf3,_0x455767['parent'][_0x30dd72(0x28d)])&&_0x455767[_0x30dd72(0x18b)][_0x30dd72(0x1cb)]&&_0x342ad0[_0x30dd72(0x27d)](_0x455767[_0x30dd72(0x18b)][_0x30dd72(0x1cb)][_0x30dd72(0x238)],0x0))return _0x342ad0[_0x30dd72(0x1e7)](_0x342ad0[_0x30dd72(0x202)](_0x5e9bf3,'\x20'),_0x455767[_0x30dd72(0x18b)][_0x30dd72(0x1cb)]['join']('\x20'));if(_0x342ad0[_0x30dd72(0x215)](_0x5e9bf3,_0x455767[_0x30dd72(0x28d)])&&_0x455767[_0x30dd72(0x1cb)]&&_0x342ad0['MfJGT'](_0x455767['_tags'][_0x30dd72(0x238)],0x0))return _0x342ad0[_0x30dd72(0x202)](_0x342ad0[_0x30dd72(0x194)](_0x5e9bf3,'\x20'),_0x455767[_0x30dd72(0x1cb)][_0x30dd72(0x28b)]('\x20'));return _0x5e9bf3;})[_0x296c39(0x28b)]('\x20');return _0x5c719b;}static async[a45_0x33d90c(0x227)](_0x407a1a,_0x2f2aed){const _0x25992a=a45_0x33d90c,_0x49c6ba={'dTMFO':function(_0x423231,_0x3744ec){return _0x423231(_0x3744ec);},'wFUGD':_0x25992a(0x1d5)},_0x17515e={'uuid':TestDetails['getTestUUID'](_0x407a1a),'integrations':_0x2f2aed},_0x7670c4={};_0x7670c4[_0x25992a(0x1cf)]=null,_0x49c6ba[_0x25992a(0x1dc)](debug,_0x25992a(0x260)+_0x407a1a+',\x20'+util[_0x25992a(0x1f2)](_0x2f2aed,_0x7670c4));const _0x179d85={};_0x179d85[_0x25992a(0x27b)]=_0x49c6ba[_0x25992a(0x1a3)],_0x179d85[_0x25992a(0x1dd)]=_0x17515e,await SessionHandler[_0x25992a(0x21e)](_0x179d85);}async['configureGit'](){const _0x1e2bb5=a45_0x33d90c,_0x2aa893={'qcoxT':function(_0x42057a){return _0x42057a();}};if(this[_0x1e2bb5(0x265)])return;const _0x2b7b90=await _0x2aa893[_0x1e2bb5(0x1c6)](getGitMetaData);_0x2b7b90&&(this[_0x1e2bb5(0x1e1)]=_0x2b7b90[_0x1e2bb5(0x183)]),this[_0x1e2bb5(0x265)]=!![];}[a45_0x33d90c(0x286)](_0x3998d5){const _0x34ef2e=a45_0x33d90c,_0x20c483={};_0x20c483[_0x34ef2e(0x216)]=function(_0x5ce31d,_0x39eead){return _0x5ce31d!==_0x39eead;};const _0x53cccf=_0x20c483,_0x13e3b5=[];if(_0x3998d5&&_0x3998d5[_0x34ef2e(0x18b)]){let _0xa80008=_0x3998d5[_0x34ef2e(0x18b)];while(_0xa80008&&_0x53cccf[_0x34ef2e(0x216)](_0xa80008[_0x34ef2e(0x28d)],'')){_0x13e3b5[_0x34ef2e(0x198)](_0xa80008[_0x34ef2e(0x28d)]),_0xa80008=_0xa80008[_0x34ef2e(0x18b)];}}return _0x13e3b5[_0x34ef2e(0x1a0)]()[_0x34ef2e(0x1ca)](0x0,0x2),_0x13e3b5;}['needToReportStep'](_0x389335){const _0x395d8f=a45_0x33d90c,_0x535a3c={};_0x535a3c[_0x395d8f(0x223)]=function(_0x49b9ce,_0x956515){return _0x49b9ce!==_0x956515;},_0x535a3c['DdKJT']=_0x395d8f(0x226),_0x535a3c[_0x395d8f(0x23e)]=function(_0x1b8f06,_0x32094b){return _0x1b8f06===_0x32094b;},_0x535a3c['NmFwc']=_0x395d8f(0x1a2),_0x535a3c['NlBBe']='beforeAll\x20hook',_0x535a3c['asUKu']='afterAll\x20hook',_0x535a3c['bPxmk']=_0x395d8f(0x25c);const _0x92f3d3=_0x535a3c;if(_0x92f3d3[_0x395d8f(0x223)](_0x389335[_0x395d8f(0x1f6)],_0x92f3d3[_0x395d8f(0x275)]))return![];if(_0x92f3d3[_0x395d8f(0x23e)]([_0x92f3d3[_0x395d8f(0x1c5)],_0x92f3d3[_0x395d8f(0x24a)],_0x92f3d3[_0x395d8f(0x1b9)],_0x92f3d3[_0x395d8f(0x25f)]][_0x395d8f(0x26b)](_0x389335[_0x395d8f(0x28d)]),-0x1))return![];return!![];}['getStepIdentifier'](_0x1cc558,_0x10cfa2){const _0x36c810=a45_0x33d90c,_0xd41c82={'PyQUm':function(_0x535e46,_0x37b94c){return _0x535e46(_0x37b94c);}},_0x2a8010=_0x10cfa2[_0x36c810(0x205)];if(_0x2a8010)return _0x2a8010;return _0x10cfa2['title']+'\x20for\x20'+_0xd41c82[_0x36c810(0x288)](getTestIdentifier,_0x1cc558);}['setStepIdentifier'](_0x3b8c05,_0x362a10){const _0x1168dc=a45_0x33d90c,_0x1db854={'aArxs':function(_0x4364a6,_0xf0fc49){return _0x4364a6(_0xf0fc49);},'fMEZQ':function(_0x1c28ee){return _0x1c28ee();}};let _0x2e1738=_0x362a10[_0x1168dc(0x28d)]+'\x20for\x20'+_0x1db854[_0x1168dc(0x24f)](getTestIdentifier,_0x3b8c05);return this['_tests'][_0x2e1738]&&(_0x2e1738=_0x2e1738+_0x1168dc(0x24c)+_0x1db854[_0x1168dc(0x20e)](uuidv4)),_0x362a10[_0x1168dc(0x205)]=_0x2e1738,_0x2e1738;}[a45_0x33d90c(0x1c2)]=_0x1bfbdb=>{const _0x497449=a45_0x33d90c,_0x295afc={};_0x295afc[_0x497449(0x25e)]=_0x497449(0x1a2),_0x295afc['ZWguj']='BEFORE_EACH',_0x295afc[_0x497449(0x22a)]=_0x497449(0x23c),_0x295afc[_0x497449(0x186)]=_0x497449(0x195),_0x295afc[_0x497449(0x1fb)]='afterEach\x20hook',_0x295afc[_0x497449(0x1de)]=_0x497449(0x188),_0x295afc[_0x497449(0x277)]='afterAll\x20hook',_0x295afc[_0x497449(0x20f)]=_0x497449(0x1ce),_0x295afc['lTSRv']=_0x497449(0x22d);const _0x4aa819=_0x295afc;if(_0x1bfbdb['startsWith'](_0x4aa819[_0x497449(0x25e)]))return _0x4aa819[_0x497449(0x199)];else{if(_0x1bfbdb[_0x497449(0x280)](_0x4aa819[_0x497449(0x22a)]))return _0x4aa819['lbOOG'];else{if(_0x1bfbdb[_0x497449(0x280)](_0x4aa819[_0x497449(0x1fb)]))return _0x4aa819[_0x497449(0x1de)];else{if(_0x1bfbdb['startsWith'](_0x4aa819[_0x497449(0x277)]))return _0x4aa819['NFiBQ'];}}}return _0x4aa819['lTSRv'];};[a45_0x33d90c(0x25b)]=_0x2e3b33=>{const _0x178bd0=a45_0x33d90c,_0x296917={};_0x296917[_0x178bd0(0x284)]=function(_0x3e3b27,_0x54efbd){return _0x3e3b27===_0x54efbd;},_0x296917[_0x178bd0(0x182)]=_0x178bd0(0x21c);const _0x2d1419=_0x296917;let _0x52b2a3=_0x2e3b33['parent'];return _0x2d1419[_0x178bd0(0x284)](typeof _0x2e3b33[_0x178bd0(0x18b)],_0x2d1419[_0x178bd0(0x182)])&&(_0x52b2a3=_0x52b2a3[_0x178bd0(0x28d)]),_0x52b2a3+'\x20-\x20'+_0x2e3b33[_0x178bd0(0x28d)];};['printsToStdio'](){return![];}}function a45_0x3c82(_0x839ab9,_0x1d01f4){const _0x2c201e=a45_0x2c20();return a45_0x3c82=function(_0x3c82df,_0x2ce8bd){_0x3c82df=_0x3c82df-0x182;let _0x2c6db5=_0x2c201e[_0x3c82df];return _0x2c6db5;},a45_0x3c82(_0x839ab9,_0x1d01f4);}module[a45_0x33d90c(0x20b)]=o11yClassErrorHandler(MyReporter,[a45_0x33d90c(0x1d4),a45_0x33d90c(0x192),'onTestBegin','onTestEnd',a45_0x33d90c(0x230),'onStepEnd',a45_0x33d90c(0x227)],a45_0x33d90c(0x21f));
|
|
1
|
+
const a45_0x5b18f4=a45_0x18ee;function a45_0x50b0(){const _0x3110fc=['ZnTVV','28yKOcfN','onTestEnd','eyafg','CHohD','LjDwK','retry_of','SdVkY','POST','steps','JHGEf','2FjJVWE','stack','failure_type','XjUxu','EhPym','_bs_hookIdentifier','YkpLm','HhJWP','location','retry','OBdLm','YAbhf','status','MSNrz','Sending\x20session\x20details\x20for\x20','timedOut','onBegin','_gitConfigured','depth','duration','Test\x20Started\x20with\x20unique\x20id\x20','test_run_uuid','TMUoD','sendTestRunEvent','teNsw','UYYqC','JKdcG','.browserstack','hook','13457670ETXeTr','Error\x20in\x20sending\x20trace\x20zip:\x20%s','Playwright','kLOLy','BEFORE_EACH','../../../helpers/test-observability/sessionHandler','join','exports','BROWSERSTACK_TEST_RUN_ID','unknown','PLAYWRIGHT','expanded','failure','test','151923PxKRfD','lLHOV','26859789fuKZak','expectedStatus','../../v2/browserstackCLI','jPdqL','BROWSERSTACK_LOG_LEVEL','statSync','GsbGE','wRKqs','PRE','getCustomRerunParam','utf8','startsWith','getTime','jbJlU','YRKfU','GxnSv','MUPke','AFTER_ALL','object','\x20for\x20','indexOf','Expected\x20to\x20fail,\x20but\x20passed.','nnSyP','OkWZJ','jiTpz','sendHookRunEvent','path','ToOOP','Error\x20in\x20calculating\x20performance:\x20','pJlCA','EijhK','setStepIdentifier','uuid','endSession','Before\x20Hooks','format','onEnd','onTestBegin','TestRunFinished','gFXnW','OWFgB','PXdWJ','CBTSessionCreated','backtrace','getTestFramework','cTdKS','../../../helpers/test-observability/constants','START_TIME','root','After\x20Hooks','logs','opafn','FmVoG','_gitConfigPath','file','setup','.txt','result','../../../../src/bin/utils/constants','startTime','ZwCTL','\x20is\x20triggered','shutdown','skipped','finishedAt','Jjzfq','PzNmB','JNxjd','YLCIx','eRsLJ','reportLogs','nCZlP','luqMz','needToReportStep','../../../helpers/performance/performance-tester','TEST','failure_reason','message','cwd','vZnOO','../../../helpers/testhub/utils','_tags','HookRunFinished','BROWSERSTACK_O11Y_PERF_MEASUREMENT','xBdWi','getHookType','1230760nVSneX','UmqNa','getStepsAndLogs','aIaMe','size','pJeJr','passed','5745180WsjUBk','length','_testHooksMap','qTLef','getTestUUID','pIbpf','AFTER_EACH','getInstance','../../v2/state/testFrameworkState','mtime','options','104860kwuHmU','vkFrL','uploadEventData','MVEiw','CoUMb','HookRunStarted','env','afterAll\x20hook','./pwUtils','reverse','./test-details','\x20at\x20','sjaZu','xHCum','split','FMiDw','cNcDV','pteQT','EnNqJ','TestRunStarted','HgPqI','foSHq','ASRYo','DWgnZ','getScope','mzmmq','iusCa','dTfcr','ToBLC','Trace\x20file\x20found\x20for\x20test:\x20','gGONJ','Hook\x20Started\x20with\x20unique\x20id\x20','QnIvc','title','YjXjw','nmUmX','isjLr','IzgxH','qRTym','rqRcJ','pending','test_run','wrWTc','performance-report-reporter.json','step','sendSessionDetails','map','HXjQj','isRunning','rqGeT','lPVvh','rbHBX','uuOez','Nulnp','CuCng','OVpfN','iCCyS','util','iFTZO','UjyfE','toISOString','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','afterEach\x20hook','relative','homedir','../../v2/TestInfo','startedAt','56UgNsAw','failed','beforeAll\x20hook','6jSVNzX','Prwmo','\x20-\x20','toString','_trackedEvents','meta','qAihw','XzobQ','addTestUIDAndReportLog','error','errors','base64','ctxsI','Eegpy','configureGit','trackEvent','JPEXz','parent','wIilx','_tests','TEST_ATTACHMENT','titlePath','4318857BTqxFS','err','vQLCL','getStepIdentifier','Test\x20Finished\x20with\x20unique\x20id\x20','splice','cTZmG','logLevel','aPKSm','AGpqd','ngtxd','javascript','onStepBegin','../../v2/state/hookState','wDgDu','../../../helpers/test-observability/utils','existsSync','onStepEnd','pJAxK','../../../helpers/helper','attachments','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','push','XmdLO','category','trace_','readFileSync','5|3|7|2|4|6|0|1'];a45_0x50b0=function(){return _0x3110fc;};return a45_0x50b0();}(function(_0x4c6752,_0x23b27a){const _0x48a163=a45_0x18ee,_0x470e6b=_0x4c6752();while(!![]){try{const _0x3fed64=parseInt(_0x48a163(0xe6))/0x1*(-parseInt(_0x48a163(0x169))/0x2)+parseInt(_0x48a163(0x111))/0x3*(-parseInt(_0x48a163(0xdc))/0x4)+-parseInt(_0x48a163(0x170))/0x5*(parseInt(_0x48a163(0xa9))/0x6)+parseInt(_0x48a163(0x17b))/0x7*(parseInt(_0x48a163(0xa6))/0x8)+-parseInt(_0x48a163(0xbf))/0x9+parseInt(_0x48a163(0x103))/0xa+parseInt(_0x48a163(0x113))/0xb;if(_0x3fed64===_0x23b27a)break;else _0x470e6b['push'](_0x470e6b['shift']());}catch(_0x4e416c){_0x470e6b['push'](_0x470e6b['shift']());}}}(a45_0x50b0,0xa597e));function a45_0x18ee(_0x108e35,_0x5edee3){const _0x50b050=a45_0x50b0();return a45_0x18ee=function(_0x18ee45,_0x1453f1){_0x18ee45=_0x18ee45-0x87;let _0x23ddc0=_0x50b050[_0x18ee45];return _0x23ddc0;},a45_0x18ee(_0x108e35,_0x5edee3);}const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a45_0x5b18f4(0x183)),{v4:uuidv4}=require(a45_0x5b18f4(0x133)),path=require(a45_0x5b18f4(0x12d)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a45_0x5b18f4(0xce)),{getGitMetaData,setLogLevel}=require(a45_0x5b18f4(0xd2)),TestDetails=require(a45_0x5b18f4(0x185)),fs=require('fs'),util=require(a45_0x5b18f4(0x9c)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require(a45_0x5b18f4(0x15d)),{FRAMEWORKS}=require(a45_0x5b18f4(0x141)),SessionHandler=require(a45_0x5b18f4(0x108)),{appendTesthubParams}=require(a45_0x5b18f4(0x163)),helper=require(a45_0x5b18f4(0xd2)),BrowserstackCLI=require(a45_0x5b18f4(0x115)),TestFrameworkState=require(a45_0x5b18f4(0x178)),HookState=require(a45_0x5b18f4(0xcc)),TestInfo=require(a45_0x5b18f4(0xa4)),{PLAYWRIGHT_TRACE_LOGS}=require(a45_0x5b18f4(0x14d));class MyReporter{constructor(_0x1512d8){const _0x497cce=a45_0x5b18f4,_0x310f4e={'cNcDV':_0x497cce(0xda),'mzmmq':_0x497cce(0x8e),'nmUmX':function(_0x1fab95,_0x3cb4d9,_0x4023fd,_0x3a2568){return _0x1fab95(_0x3cb4d9,_0x4023fd,_0x3a2568);}},_0x29fb8f=_0x310f4e[_0x497cce(0x18b)]['split']('|');let _0x1b4289=0x0;while(!![]){switch(_0x29fb8f[_0x1b4289++]){case'0':this[_0x497cce(0x148)]=null;continue;case'1':this[_0x497cce(0xad)]=[];continue;case'2':this['_testHooksMap']={};continue;case'3':process[_0x497cce(0x181)][_0x497cce(0x166)]&&(PerformanceTester['startMonitoring'](_0x310f4e[_0x497cce(0x194)]),process[_0x497cce(0x181)][_0x497cce(0x142)]=new Date()[_0x497cce(0x9f)]());continue;case'4':this[_0x497cce(0x17a)]=_0x1512d8;continue;case'5':const _0x5abcaa={};_0x5abcaa[_0x497cce(0xc6)]=process[_0x497cce(0x181)][_0x497cce(0x117)],_0x310f4e[_0x497cce(0x19e)](setLogLevel,_0x5abcaa,new Map(),new Map());continue;case'6':this['_gitConfigured']=![];continue;case'7':this[_0x497cce(0xbc)]={};continue;}break;}}async[a45_0x5b18f4(0xf6)](){const _0x3702f2=a45_0x5b18f4,_0xb5a7d7={};_0xb5a7d7[_0x3702f2(0x18a)]=_0x3702f2(0x105);const _0x1f1f50=_0xb5a7d7;TestDetails[_0x3702f2(0x14a)](),await this[_0x3702f2(0xb7)](),TestInfo['setup'](_0x1f1f50[_0x3702f2(0x18a)]);if(BrowserstackCLI[_0x3702f2(0x177)]()[_0x3702f2(0x93)]()){await BrowserstackCLI[_0x3702f2(0x177)]()[_0x3702f2(0x13f)]()[_0x3702f2(0xb8)](TestFrameworkState['INIT_TEST'],HookState['PRE'],{});return;}}async[a45_0x5b18f4(0x138)](_0x2a06c3,_0x4c40f4){const _0x45814d=a45_0x5b18f4,_0x3b397e={'wIilx':function(_0x1d9f83,_0x715d84){return _0x1d9f83(_0x715d84);},'JHGEf':function(_0xd339d5,_0x274d0b,_0x3da39f){return _0xd339d5(_0x274d0b,_0x3da39f);},'sjaZu':_0x45814d(0x18e)};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x1dbaa1={};_0x1dbaa1[_0x45814d(0x110)]=_0x2a06c3,_0x1dbaa1['result']=_0x4c40f4,await BrowserstackCLI['getInstance']()[_0x45814d(0x13f)]()['trackEvent'](TestFrameworkState[_0x45814d(0x15e)],HookState['PRE'],_0x1dbaa1);return;}const _0x49e3a7=_0x3b397e[_0x45814d(0xbb)](getTestIdentifier,_0x2a06c3),_0x188e58=TestDetails[_0x45814d(0x174)](_0x3b397e[_0x45814d(0xe5)](getTestRunIdentifier,_0x2a06c3,_0x4c40f4[_0x45814d(0xef)]));process[_0x45814d(0x181)][_0x45814d(0x10b)]=_0x188e58;const _0x58ef1e={};_0x58ef1e[_0x45814d(0x133)]=_0x188e58,_0x58ef1e[_0x45814d(0xa5)]=_0x4c40f4[_0x45814d(0x14e)],this[_0x45814d(0xbc)][_0x49e3a7]=_0x58ef1e,_0x3b397e[_0x45814d(0xbb)](trace,_0x45814d(0xfa)+_0x49e3a7),await this[_0x45814d(0xfd)](_0x2a06c3,_0x3b397e[_0x45814d(0x187)],_0x4c40f4);}async[a45_0x5b18f4(0xcb)](_0x300918,_0x1a2c2f,_0x128447){const _0x4c292f=a45_0x5b18f4,_0x1123bb={'GxnSv':function(_0x1b91f2,_0x27b914,_0x360ae6){return _0x1b91f2(_0x27b914,_0x360ae6);},'YxMNg':function(_0x4060d4,_0xb65e6b){return _0x4060d4(_0xb65e6b);},'qRTym':_0x4c292f(0x180)};if(!this[_0x4c292f(0x15c)](_0x128447,_0x300918))return;if(BrowserstackCLI[_0x4c292f(0x177)]()[_0x4c292f(0x93)]()){const _0x68a8ca=this[_0x4c292f(0x168)](_0x128447[_0x4c292f(0x19c)]),_0x536c3d=TestFrameworkState[_0x68a8ca],_0xe1972e={};_0xe1972e['test']=_0x300918,_0xe1972e[_0x4c292f(0x14c)]=_0x1a2c2f,_0xe1972e[_0x4c292f(0x8f)]=_0x128447,await BrowserstackCLI[_0x4c292f(0x177)]()[_0x4c292f(0x13f)]()[_0x4c292f(0xb8)](_0x536c3d,HookState[_0x4c292f(0x11b)],_0xe1972e);return;}const _0x2a4363=this['setStepIdentifier'](_0x300918,_0x128447);this[_0x4c292f(0xbc)][_0x2a4363]={'uuid':TestDetails['getTestUUID'](_0x2a4363),'startedAt':_0x128447[_0x4c292f(0x14e)][_0x4c292f(0x9f)]()};const _0x3e05f8=_0x1123bb[_0x4c292f(0x122)](getTestRunIdentifier,_0x300918,_0x1a2c2f[_0x4c292f(0xef)]);!this[_0x4c292f(0x172)][_0x3e05f8]&&(this[_0x4c292f(0x172)][_0x3e05f8]=[]),this['_testHooksMap'][_0x3e05f8]['push'](this[_0x4c292f(0xbc)][_0x2a4363][_0x4c292f(0x133)]),_0x1123bb['YxMNg'](trace,_0x4c292f(0x19a)+_0x2a4363+'\x20is\x20triggered\x20for\x20test\x20'+_0x3e05f8),await this['sendHookRunEvent'](_0x300918,_0x128447,_0x1123bb[_0x4c292f(0x89)],_0x1a2c2f);}async[a45_0x5b18f4(0xd0)](_0x434173,_0x1bb70f,_0x2f250b){const _0x2f7fb0=a45_0x5b18f4,_0x8db3fa={'uuOez':function(_0x4392c0,_0x4d3e80){return _0x4392c0+_0x4d3e80;},'teNsw':function(_0x9bcf08,_0xd1438a){return _0x9bcf08(_0xd1438a);},'CoUMb':_0x2f7fb0(0x165)};if(!this[_0x2f7fb0(0x15c)](_0x2f250b,_0x434173))return;if(BrowserstackCLI[_0x2f7fb0(0x177)]()[_0x2f7fb0(0x93)]()){const _0x36f616=this['getHookType'](_0x2f250b[_0x2f7fb0(0x19c)]),_0x23912f=TestFrameworkState[_0x36f616],_0x3467c7={};_0x3467c7[_0x2f7fb0(0x110)]=_0x434173,_0x3467c7[_0x2f7fb0(0x14c)]=_0x1bb70f,_0x3467c7[_0x2f7fb0(0x8f)]=_0x2f250b,await BrowserstackCLI['getInstance']()[_0x2f7fb0(0x13f)]()[_0x2f7fb0(0xb8)](_0x23912f,HookState[_0x2f7fb0(0xe3)],_0x3467c7);return;}const _0x57c54c=this[_0x2f7fb0(0xc2)](_0x434173,_0x2f250b);this[_0x2f7fb0(0xbc)][_0x57c54c]={...this[_0x2f7fb0(0xbc)][_0x57c54c]||{},'finishedAt':new Date(_0x8db3fa[_0x2f7fb0(0x97)](_0x2f250b['startTime'][_0x2f7fb0(0x11f)](),_0x2f250b[_0x2f7fb0(0xf9)]))},_0x8db3fa[_0x2f7fb0(0xfe)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x57c54c+_0x2f7fb0(0x150)),await this[_0x2f7fb0(0x12c)](_0x434173,_0x2f250b,_0x8db3fa[_0x2f7fb0(0x17f)],_0x1bb70f);}async[a45_0x5b18f4(0xdd)](_0x412191,_0x5a605a){const _0xaf0cf6=a45_0x5b18f4,_0x28b826={'cTZmG':function(_0x1dce00,_0x1fad6c){return _0x1dce00===_0x1fad6c;},'EnNqJ':'screenshot','CuCng':'TEST_SCREENSHOT','Prwmo':_0xaf0cf6(0xb4),'PXdWJ':function(_0x391a4f,_0x5000cd){return _0x391a4f(_0x5000cd);},'pIbpf':function(_0x2648a5,_0x297031,_0x293ce6){return _0x2648a5(_0x297031,_0x293ce6);},'JKdcG':_0xaf0cf6(0x139),'nnSyP':function(_0x479e5d,_0x1773d9){return _0x479e5d(_0x1773d9);},'hXeHO':_0xaf0cf6(0xd4),'YLCIx':function(_0x4210bd,_0x1ff18f){return _0x4210bd(_0x1ff18f);},'pJeJr':_0xaf0cf6(0x104),'ToBLC':function(_0x21872d,_0x59863a){return _0x21872d>_0x59863a;}};if(BrowserstackCLI['getInstance']()[_0xaf0cf6(0x93)]()){const _0x414761={};_0x414761[_0xaf0cf6(0x110)]=_0x412191,_0x414761[_0xaf0cf6(0x14c)]=_0x5a605a,this['_trackedEvents'][_0xaf0cf6(0xd5)](BrowserstackCLI['getInstance']()[_0xaf0cf6(0x13f)]()[_0xaf0cf6(0xb8)](TestFrameworkState['TEST'],HookState['POST'],_0x414761));return;}const _0x500288=_0x28b826[_0xaf0cf6(0x13c)](getTestIdentifier,_0x412191),_0x213dc3=TestDetails[_0xaf0cf6(0x174)](_0x28b826[_0xaf0cf6(0x175)](getTestRunIdentifier,_0x412191,_0x5a605a['retry']));this['_tests'][_0x500288]={...this[_0xaf0cf6(0xbc)][_0x500288]||{},'finishedAt':new Date()['toISOString']()},_0x28b826['PXdWJ'](debug,_0xaf0cf6(0xc3)+_0x500288);try{await this[_0xaf0cf6(0xfd)](_0x412191,_0x28b826[_0xaf0cf6(0x100)],_0x5a605a);}catch(_0x37a3a8){_0x28b826['nnSyP'](debug,util['format'](_0x28b826['hXeHO'],_0x37a3a8['toString']()));}try{_0x28b826[_0xaf0cf6(0x129)](debug,_0xaf0cf6(0xa0)+_0x213dc3),await _0x28b826[_0xaf0cf6(0x175)](sendTraceZip,_0x5a605a,_0x213dc3);}catch(_0x4daa4c){_0x28b826[_0xaf0cf6(0x157)](debug,util[_0xaf0cf6(0x136)](_0x28b826[_0xaf0cf6(0x16e)],_0x4daa4c['toString']()));}const _0x128708=[];_0x5a605a['attachments']&&_0x5a605a[_0xaf0cf6(0xd3)]['map'](_0x5ef84a=>{const _0xcb2944=_0xaf0cf6;if(_0x28b826[_0xcb2944(0xc5)](_0x5ef84a['name'],_0x28b826[_0xcb2944(0x18d)])){if(!_0x5ef84a[_0xcb2944(0x12d)]||!fs[_0xcb2944(0xcf)](_0x5ef84a['path']))return;_0x128708[_0xcb2944(0xd5)]({'test_run_uuid':_0x213dc3,'timestamp':fs[_0xcb2944(0x118)](_0x5ef84a[_0xcb2944(0x12d)])[_0xcb2944(0x179)],'kind':_0x28b826[_0xcb2944(0x99)],'message':fs[_0xcb2944(0xd9)](_0x5ef84a[_0xcb2944(0x12d)],{'encoding':_0x28b826[_0xcb2944(0xaa)]})});}}),_0x28b826[_0xaf0cf6(0x197)](_0x128708['length'],0x0)&&await MyReporter['reportLogs'](_0x128708);}async[a45_0x5b18f4(0x134)](){const _0x8798fd=a45_0x5b18f4;await RequestQueueHandler[_0x8798fd(0x177)]()[_0x8798fd(0x151)]();}async[a45_0x5b18f4(0x137)](_0x21f036){const _0x52dca6=a45_0x5b18f4,_0x1b4277={'iCCyS':function(_0x3d2ea8){return _0x3d2ea8();},'OVpfN':function(_0x3a7269,_0x2de0ab){return _0x3a7269(_0x2de0ab);}};await Promise['all'](this[_0x52dca6(0xad)]),await this[_0x52dca6(0x134)]();try{process[_0x52dca6(0x181)][_0x52dca6(0x166)]&&await _0x1b4277[_0x52dca6(0x9b)](calculatePerformance);}catch(_0x2ce190){_0x1b4277[_0x52dca6(0x9a)](debug,_0x52dca6(0x12f)+_0x2ce190[_0x52dca6(0xac)]());}}static async[a45_0x5b18f4(0xb1)](_0xbc43ab,_0x578c52){const _0x15e38a=a45_0x5b18f4;_0x578c52[_0x15e38a(0xfb)]=TestDetails[_0x15e38a(0x174)](_0xbc43ab),await this[_0x15e38a(0x159)]([_0x578c52]);}static async['reportLogs'](_0x356e33){const _0x24b8b7=a45_0x5b18f4,_0x527d5a={};_0x527d5a['ZnTVV']='LogCreated';const _0x32547f=_0x527d5a;if(BrowserstackCLI[_0x24b8b7(0x177)]()['isRunning']())return;const _0x4de86b={};_0x4de86b['event_type']=_0x32547f[_0x24b8b7(0xdb)],_0x4de86b[_0x24b8b7(0x145)]=_0x356e33,await SessionHandler[_0x24b8b7(0x17d)](_0x4de86b);}async[a45_0x5b18f4(0x12c)](_0xedb763,_0x13c83b,_0x52ddd0,_0x4b52d7){const _0x15a91c=a45_0x5b18f4,_0x2ccb7a={'jbJlU':_0x15a91c(0x102),'OWFgB':_0x15a91c(0xca),'ctxsI':'pending','dTfcr':function(_0x3506f0,_0x1f9faf){return _0x3506f0>=_0x1f9faf;},'DWgnZ':function(_0x35472a,_0x51e17c){return _0x35472a===_0x51e17c;},'rVbtc':_0x15a91c(0x165),'luqMz':function(_0x3ada30,_0x4a333a){return _0x3ada30>_0x4a333a;},'AGpqd':_0x15a91c(0xa7),'EijhK':function(_0x476ab0,_0x2ba232){return _0x476ab0(_0x2ba232);},'opafn':function(_0x25075b,_0x213b01,_0x532720){return _0x25075b(_0x213b01,_0x532720);},'kLOLy':_0x15a91c(0xc0),'iusCa':function(_0x5f22ee,_0x17a369){return _0x5f22ee===_0x17a369;},'rqGeT':_0x15a91c(0x16f)},_0x179393=this[_0x15a91c(0xc2)](_0xedb763,_0x13c83b),_0x55366c=this[_0x15a91c(0xbc)][_0x179393],_0x325ed0={'uuid':_0x55366c[_0x15a91c(0x133)],'type':_0x2ccb7a[_0x15a91c(0x120)],'hook_type':this[_0x15a91c(0x168)](_0x13c83b[_0x15a91c(0x19c)]),'name':_0x13c83b[_0x15a91c(0x19c)],'scope':this[_0x15a91c(0x193)](_0x13c83b),'scopes':this['getHierarchy'](_0xedb763),'body':{'lang':_0x2ccb7a[_0x15a91c(0x13b)],'code':null},'identifier':_0x179393,'file_name':path[_0x15a91c(0xa2)](process[_0x15a91c(0x161)](),_0xedb763[_0x15a91c(0xee)][_0x15a91c(0x149)]),'location':path[_0x15a91c(0xa2)](process['cwd'](),_0xedb763[_0x15a91c(0xee)]['file']),'result':_0x2ccb7a[_0x15a91c(0xb5)],'duration_in_ms':_0x2ccb7a[_0x15a91c(0x196)](_0x13c83b[_0x15a91c(0xf9)],0x0)?_0x13c83b[_0x15a91c(0xf9)]:undefined,'vc_filepath':this[_0x15a91c(0x148)]&&_0xedb763[_0x15a91c(0xee)]['file']?path['relative'](this['_gitConfigPath'],_0xedb763[_0x15a91c(0xee)][_0x15a91c(0x149)]):undefined,'started_at':_0x55366c['startedAt'],'finished_at':_0x55366c[_0x15a91c(0x153)],'framework':FRAMEWORKS[_0x15a91c(0x10d)]};if(_0x2ccb7a[_0x15a91c(0x192)](_0x52ddd0,_0x2ccb7a['rVbtc'])){const {steps:_0x5827a3,logs:_0x2dacb9}=this[_0x15a91c(0x16b)](_0x13c83b[_0x15a91c(0xe4)],_0x55366c[_0x15a91c(0x133)],_0x2ccb7a['jbJlU']);_0x2dacb9&&_0x2ccb7a[_0x15a91c(0x15b)](_0x2dacb9['length'],0x0)&&await MyReporter[_0x15a91c(0x159)](_0x2dacb9);const _0x597f85={};_0x597f85[_0x15a91c(0xe4)]=_0x5827a3,_0x325ed0[_0x15a91c(0xae)]=_0x597f85;if(_0x13c83b[_0x15a91c(0xb2)]){_0x325ed0[_0x15a91c(0x14c)]=_0x2ccb7a[_0x15a91c(0xc8)],_0x325ed0[_0x15a91c(0x15f)]=_0x2ccb7a[_0x15a91c(0x131)](removeAnsiColors,_0x13c83b[_0x15a91c(0xb2)][_0x15a91c(0x160)]),_0x325ed0[_0x15a91c(0xe8)]=_0x2ccb7a[_0x15a91c(0x131)](getFailureType,_0x13c83b[_0x15a91c(0xb2)][_0x15a91c(0x160)]);const _0x423196=_0x2ccb7a[_0x15a91c(0x146)](failureData,_0x13c83b['error'],_0x2ccb7a[_0x15a91c(0x106)]);if(_0x423196&&_0x2ccb7a[_0x15a91c(0x195)](_0x423196['length'],0x0)){const _0x445e88={};_0x445e88['backtrace']=[_0x325ed0[_0x15a91c(0x15f)]],_0x445e88[_0x15a91c(0x10e)]=[],_0x423196['push'](_0x445e88);}_0x325ed0['failure']=_0x423196;}else _0x325ed0[_0x15a91c(0x14c)]=_0x2ccb7a[_0x15a91c(0x94)];}const _0x2b4911={};_0x2b4911['event_type']=_0x52ddd0,_0x2b4911['hook_run']=_0x325ed0;const _0x4e3f16=_0x2b4911;await SessionHandler[_0x15a91c(0x17d)](_0x4e3f16);}[a45_0x5b18f4(0x16b)](_0x26be08,_0x191e39,_0x54c905){const _0xfafe5c=a45_0x5b18f4,_0x4c555a={'SdVkY':function(_0xce86d0,_0x5a8faa){return _0xce86d0===_0x5a8faa;},'YjXjw':_0xfafe5c(0x102),'pJAxK':_0xfafe5c(0x144),'HXjQj':function(_0x574167,_0x571087){return _0x574167===_0x571087;},'SwQSR':_0xfafe5c(0x135),'nCZlP':_0xfafe5c(0x110),'xBdWi':_0xfafe5c(0xfb),'Nulnp':'hook_run_uuid','JNxjd':'TEST_STEP','ZksPi':_0xfafe5c(0xa7),'FmVoG':'passed','aPKSm':function(_0xd40d3e,_0x2e0d9e){return _0xd40d3e(_0x2e0d9e);},'pJlCA':function(_0x459a92,_0x35ad23){return _0x459a92(_0x35ad23);},'rqRcJ':function(_0xa1db9c){return _0xa1db9c();},'qXXhp':function(_0x591bb2,_0x1ff1fe){return _0x591bb2(_0x1ff1fe);},'MVEiw':function(_0x3f6287,_0x5331d3,_0x28fe1a){return _0x3f6287(_0x5331d3,_0x28fe1a);},'XjUxu':function(_0x4d22c8,_0x1eec51,_0x8c3bbf){return _0x4d22c8(_0x1eec51,_0x8c3bbf);}},_0xc94d30=[],_0x3b5ce7=[],_0x2cde11=_0x26be08['filter'](_0x4f64c2=>{const _0xd6ba6=_0xfafe5c;if(_0x4c555a['SdVkY'](_0x4f64c2[_0xd6ba6(0xd7)],_0x4c555a[_0xd6ba6(0x19d)])&&(_0x4c555a[_0xd6ba6(0xe2)](_0x4f64c2['title'],_0x4c555a[_0xd6ba6(0xd1)])||_0x4c555a[_0xd6ba6(0x92)](_0x4f64c2[_0xd6ba6(0x19c)],_0x4c555a['SwQSR'])))return![];return!![];}),_0x1ef8a3=(_0x1b3f6e,_0x3ca09b=![])=>{const _0x439c43=_0xfafe5c;if(_0x4c555a[_0x439c43(0x92)](_0x1b3f6e[_0x439c43(0xe4)][_0x439c43(0x171)],0x0)){const _0x4869c7=_0x4c555a[_0x439c43(0x92)](_0x54c905,_0x4c555a[_0x439c43(0x15a)])?_0x4c555a[_0x439c43(0x167)]:_0x4c555a[_0x439c43(0x98)];_0x3b5ce7[_0x439c43(0xd5)]({'kind':_0x4c555a[_0x439c43(0x156)],[_0x4869c7]:_0x191e39,'message':_0x1b3f6e['title'],'timestamp':_0x1b3f6e[_0x439c43(0x14e)]['toISOString'](),'level':_0x1b3f6e['error']?_0x4c555a['ZksPi']:_0x4c555a[_0x439c43(0x147)],'duration':_0x1b3f6e[_0x439c43(0xf9)],'failure':_0x1b3f6e[_0x439c43(0xb2)]&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)]&&_0x4c555a[_0x439c43(0xc7)](removeAnsiColors,_0x1b3f6e['error'][_0x439c43(0x160)]),'failure_type':_0x4c555a[_0x439c43(0x130)](getFailureType,_0x1b3f6e[_0x439c43(0xb2)]&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)])});}else{!_0x3ca09b&&_0xc94d30[_0x439c43(0xd5)]({'id':_0x4c555a[_0x439c43(0x8a)](uuidv4),'text':_0x1b3f6e[_0x439c43(0x19c)],'keyword':undefined,'started_at':_0x1b3f6e['startTime'][_0x439c43(0x9f)](),'duration':_0x1b3f6e[_0x439c43(0xf9)],'result':_0x1b3f6e[_0x439c43(0xb2)]?_0x4c555a['ZksPi']:_0x4c555a[_0x439c43(0x147)],'failure':_0x1b3f6e['error']&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)]&&_0x4c555a['qXXhp'](removeAnsiColors,_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)]),'failure_type':_0x4c555a['pJlCA'](getFailureType,_0x1b3f6e[_0x439c43(0xb2)]&&_0x1b3f6e[_0x439c43(0xb2)][_0x439c43(0x160)])});for(const _0x10a31d of _0x1b3f6e[_0x439c43(0xe4)]){_0x4c555a[_0x439c43(0x17e)](_0x1ef8a3,_0x10a31d,!![]);}}};for(const _0x24b5e2 of _0x2cde11){_0x4c555a[_0xfafe5c(0xe9)](_0x1ef8a3,_0x24b5e2,![]);}const _0x2c0423={};return _0x2c0423[_0xfafe5c(0xe4)]=_0xc94d30,_0x2c0423[_0xfafe5c(0x145)]=_0x3b5ce7,_0x2c0423;}async['sendTestRunEvent'](_0x4a818e,_0x7c09,_0x264198){const _0x485a27=a45_0x5b18f4,_0x417789={'wDgDu':function(_0x5e05ca,_0x2fb75c){return _0x5e05ca(_0x2fb75c);},'YRKfU':_0x485a27(0xbd),'pteQT':_0x485a27(0x110),'bOVas':_0x485a27(0xca),'RiBuS':_0x485a27(0x8b),'foSHq':function(_0x22d8d2,_0x1e13a0){return _0x22d8d2(_0x1e13a0);},'HgPqI':function(_0x1928a5,_0x22c4fc,_0x25b696,_0x5f07d4,_0x53117f){return _0x1928a5(_0x22c4fc,_0x25b696,_0x5f07d4,_0x53117f);},'HhJWP':function(_0x118bae,_0x22c7d5){return _0x118bae>_0x22c7d5;},'eyafg':function(_0x1bcd59,_0x502176,_0x35d25e){return _0x1bcd59(_0x502176,_0x35d25e);},'TMUoD':function(_0x8b93c7,_0x35ab33){return _0x8b93c7-_0x35ab33;},'YAbhf':function(_0x21e41e,_0x4f5e84){return _0x21e41e===_0x4f5e84;},'JPEXz':_0x485a27(0x139),'ASRYo':function(_0x28229f,_0x368652){return _0x28229f===_0x368652;},'cTdKS':function(_0x5531da,_0x3aa572){return _0x5531da===_0x3aa572;},'UjyfE':_0x485a27(0x152),'gGONJ':_0x485a27(0x16f),'Eegpy':function(_0xb0dd11,_0x15b7a5){return _0xb0dd11===_0x15b7a5;},'YkpLm':_0x485a27(0xa7),'qTLef':_0x485a27(0xf5),'lPVvh':function(_0x3ebf0d,_0x5d165b){return _0x3ebf0d===_0x5d165b;},'UmqNa':function(_0x1e42fd,_0x1542a7){return _0x1e42fd===_0x1542a7;},'rbHBX':_0x485a27(0x128),'qAihw':function(_0x19e0c0,_0x2a0ae0){return _0x19e0c0(_0x2a0ae0);},'IzgxH':_0x485a27(0x12d),'mpLOD':function(_0x1af0e3,_0x339373){return _0x1af0e3(_0x339373);},'MUPke':function(_0x3f4297,_0x2b9b8d){return _0x3f4297(_0x2b9b8d);},'jPdqL':_0x485a27(0x101),'wrWTc':_0x485a27(0x11d),'QnIvc':function(_0x85feaf,_0x299316){return _0x85feaf(_0x299316);},'xHCum':function(_0x23d8e,_0x27a6f3){return _0x23d8e!==_0x27a6f3;}},_0x1e38cd=_0x417789['wDgDu'](getTestIdentifier,_0x4a818e),_0x472383=this[_0x485a27(0x193)](_0x4a818e),_0xa52236=this[_0x485a27(0xbc)][_0x1e38cd],_0x41a59b=path[_0x485a27(0xa2)](process[_0x485a27(0x161)](),_0x4a818e[_0x485a27(0xee)]['file']);await this[_0x485a27(0xb7)]();const _0x7005b1={'uuid':_0xa52236[_0x485a27(0x133)],'type':_0x417789[_0x485a27(0x18c)],'name':_0x4a818e[_0x485a27(0x19c)],'body':{'lang':_0x417789['bOVas'],'code':_0x4a818e['fn'][_0x485a27(0xac)]()},'scope':_0x472383,'scopes':this['getHierarchy'](_0x4a818e),'identifier':_0x1e38cd,'file_name':_0x41a59b,'location':_0x41a59b,'result':_0x417789['RiBuS'],'duration_in_ms':_0x264198&&_0x264198['duration']?_0x264198[_0x485a27(0xf9)]:null,'vc_filepath':this[_0x485a27(0x148)]&&_0x4a818e['location']['file']?path[_0x485a27(0xa2)](this[_0x485a27(0x148)],_0x4a818e[_0x485a27(0xee)][_0x485a27(0x149)]):undefined,'started_at':_0xa52236[_0x485a27(0xa5)],'finished_at':_0xa52236[_0x485a27(0x153)],'framework':FRAMEWORKS[_0x485a27(0x10d)],'customRerunParam':{'rerun_name':this[_0x485a27(0x11c)](_0x4a818e)},'tags':_0x417789[_0x485a27(0x190)](getTestTags,_0x4a818e)};_0x417789[_0x485a27(0x18f)](appendTesthubParams,_0x7005b1,_0x7c09,_0x4a818e,FRAMEWORKS[_0x485a27(0x10d)]);_0x264198&&_0x417789[_0x485a27(0xed)](_0x264198[_0x485a27(0xef)],0x0)&&(_0x7005b1[_0x485a27(0xe1)]=TestDetails[_0x485a27(0x174)](_0x417789[_0x485a27(0xde)](getTestRunIdentifier,_0x4a818e,_0x417789[_0x485a27(0xfc)](_0x264198['retry'],0x1))));if(_0x417789[_0x485a27(0xf1)](_0x7c09,_0x417789[_0x485a27(0xb9)])){_0x7005b1[_0x485a27(0x14c)]=_0x264198[_0x485a27(0xf2)];if(_0x417789[_0x485a27(0x191)](_0x264198[_0x485a27(0xf2)],_0x4a818e['expectedStatus']))_0x7005b1[_0x485a27(0x14c)]=_0x417789[_0x485a27(0x140)](_0x264198['status'],_0x417789['UjyfE'])?_0x417789[_0x485a27(0x9e)]:_0x417789[_0x485a27(0x199)];else{(_0x417789[_0x485a27(0xb6)](_0x7005b1[_0x485a27(0x14c)],_0x417789[_0x485a27(0x199)])||_0x417789[_0x485a27(0xb6)](_0x7005b1['result'],_0x417789[_0x485a27(0xec)])||_0x417789['ASRYo'](_0x7005b1[_0x485a27(0x14c)],_0x417789[_0x485a27(0x173)]))&&(_0x7005b1[_0x485a27(0x14c)]=_0x417789[_0x485a27(0xec)]);if(_0x417789[_0x485a27(0x95)](_0x264198[_0x485a27(0xf2)],_0x417789[_0x485a27(0x199)])&&_0x417789[_0x485a27(0x16a)](_0x4a818e[_0x485a27(0x114)],_0x417789[_0x485a27(0xec)])){const _0x568b36={};_0x568b36[_0x485a27(0x160)]=_0x417789[_0x485a27(0x96)],_0x568b36[_0x485a27(0xe7)]=_0x417789['rbHBX'],_0x264198[_0x485a27(0xb2)]=_0x568b36,_0x264198[_0x485a27(0xb3)]=[_0x264198[_0x485a27(0xb2)]];}}const _0x14d073=_0x417789[_0x485a27(0xde)](getTestRunIdentifier,_0x4a818e,_0x264198[_0x485a27(0xef)]);_0x7005b1['hooks']=this[_0x485a27(0x172)][_0x14d073];const {steps:_0x2e7622,logs:_0x4dd16d}=this[_0x485a27(0x16b)](_0x264198[_0x485a27(0xe4)],_0xa52236['uuid'],_0x417789[_0x485a27(0x18c)]);await MyReporter[_0x485a27(0x159)](_0x4dd16d);const _0x2b7f9f={};_0x2b7f9f[_0x485a27(0xe4)]=_0x2e7622,_0x7005b1[_0x485a27(0xae)]=_0x2b7f9f;if(_0x264198[_0x485a27(0xb2)]){_0x7005b1['failure_reason']=_0x417789[_0x485a27(0xaf)](removeAnsiColors,_0x264198[_0x485a27(0xb2)]['message']),_0x7005b1['failure_type']=_0x417789[_0x485a27(0xaf)](getFailureType,_0x264198['error'][_0x485a27(0x160)]);const _0x4b5a30={};_0x4b5a30['test_run_uuid']=_0xa52236[_0x485a27(0x133)];const {failureData:_0x30b48c,logs:_0x14334b}=_0x417789[_0x485a27(0xde)](getFailureData,_0x264198[_0x485a27(0xb3)],_0x4b5a30);if(_0x30b48c&&_0x417789[_0x485a27(0xf1)](_0x30b48c[_0x485a27(0x171)],0x0)){const _0x167185={};_0x167185[_0x485a27(0x13e)]=[_0x7005b1[_0x485a27(0x15f)]],_0x167185[_0x485a27(0x10e)]=[],_0x30b48c[_0x485a27(0xd5)](_0x167185);}_0x7005b1[_0x485a27(0x10f)]=_0x30b48c,_0x14334b&&_0x417789[_0x485a27(0xed)](_0x14334b[_0x485a27(0x171)],0x0)&&await MyReporter['reportLogs'](_0x14334b);}}let _0x2d0540=_0x417789[_0x485a27(0xde)](findNestedKey,_0x264198,_0x417789[_0x485a27(0x88)]);if(_0x2d0540&&_0x417789['mpLOD'](validateFilePath,_0x2d0540))_0x417789[_0x485a27(0x123)](debug,_0x485a27(0x198)+_0xa52236[_0x485a27(0x133)]+_0x485a27(0x186)+_0x2d0540);else{const _0x24975c=path[_0x485a27(0x109)](helper[_0x485a27(0xa3)](),_0x417789[_0x485a27(0x116)]);!fs['existsSync'](_0x24975c)&&fs['mkdirSync'](_0x24975c),fs[_0x485a27(0xcf)](path['join'](_0x24975c,_0x485a27(0xd8)+_0xa52236[_0x485a27(0x133)]+_0x485a27(0x14b)))&&(_0x2d0540=fs[_0x485a27(0xd9)](path[_0x485a27(0x109)](_0x24975c,'trace_'+_0xa52236['uuid']+_0x485a27(0x14b)),_0x417789[_0x485a27(0x8d)]),_0x417789[_0x485a27(0x19b)](debug,_0x485a27(0x198)+_0xa52236[_0x485a27(0x133)]+_0x485a27(0x186)+_0x2d0540));}const _0x358c0e={};_0x358c0e['event_type']=_0x7c09,_0x358c0e[_0x485a27(0x8c)]=_0x7005b1;const _0x1c677c=_0x358c0e;_0x2d0540&&_0x417789[_0x485a27(0x188)](_0x2d0540,'')&&_0x417789[_0x485a27(0xf1)](_0x7c09,_0x417789[_0x485a27(0xb9)])&&(!_0x1c677c['logs']&&(_0x1c677c['logs']=[]),_0x2d0540[_0x485a27(0x189)]('\x0a')['forEach'](_0x22be95=>{const _0x2fee39=_0x485a27;_0x22be95&&_0x417789[_0x2fee39(0xcd)](validateFilePath,_0x22be95)&&_0x1c677c[_0x2fee39(0x145)][_0x2fee39(0xd5)]({'kind':_0x417789[_0x2fee39(0x121)],'timestamp':new Date()[_0x2fee39(0x9f)](),'test_run_uuid':_0xa52236[_0x2fee39(0x133)],'file_name':path['basename'](_0x22be95),'file_size':fs['statSync'](_0x22be95)[_0x2fee39(0x16d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x485a27(0x17d)](_0x1c677c);}[a45_0x5b18f4(0x11c)](_0x3fd8a0){const _0x2ae58d=a45_0x5b18f4,_0x35fb5a={};_0x35fb5a['PzNmB']=function(_0x9b6bb9,_0x4c41ce){return _0x9b6bb9===_0x4c41ce;},_0x35fb5a['eRsLJ']=function(_0x676223,_0x277862){return _0x676223>_0x277862;},_0x35fb5a[_0x2ae58d(0xdf)]=function(_0x57a52a,_0xe6583d){return _0x57a52a+_0xe6583d;};const _0x9ac24d=_0x35fb5a,_0x21acf3=_0x3fd8a0[_0x2ae58d(0xbe)]()[_0x2ae58d(0x91)](_0x1731ba=>{const _0x25ff45=_0x2ae58d;if(_0x3fd8a0['parent']&&_0x9ac24d[_0x25ff45(0x155)](_0x1731ba,_0x3fd8a0[_0x25ff45(0xba)][_0x25ff45(0x19c)])&&_0x3fd8a0['parent'][_0x25ff45(0x164)]&&_0x9ac24d[_0x25ff45(0x158)](_0x3fd8a0[_0x25ff45(0xba)][_0x25ff45(0x164)][_0x25ff45(0x171)],0x0))return _0x9ac24d[_0x25ff45(0xdf)](_0x9ac24d[_0x25ff45(0xdf)](_0x1731ba,'\x20'),_0x3fd8a0[_0x25ff45(0xba)][_0x25ff45(0x164)]['join']('\x20'));if(_0x9ac24d['PzNmB'](_0x1731ba,_0x3fd8a0['title'])&&_0x3fd8a0[_0x25ff45(0x164)]&&_0x9ac24d[_0x25ff45(0x158)](_0x3fd8a0['_tags'][_0x25ff45(0x171)],0x0))return _0x9ac24d[_0x25ff45(0xdf)](_0x9ac24d['CHohD'](_0x1731ba,'\x20'),_0x3fd8a0[_0x25ff45(0x164)]['join']('\x20'));return _0x1731ba;})[_0x2ae58d(0x109)]('\x20');return _0x21acf3;}static async['sendSessionDetails'](_0x491dac,_0x20c974){const _0x4271b9=a45_0x5b18f4,_0x730216={'RZsGZ':function(_0x45f872,_0x5d7064){return _0x45f872(_0x5d7064);},'lLHOV':_0x4271b9(0x13d)},_0x547f24={'uuid':TestDetails[_0x4271b9(0x174)](_0x491dac),'integrations':_0x20c974},_0x2de7db={};_0x2de7db[_0x4271b9(0xf8)]=null,_0x730216['RZsGZ'](debug,_0x4271b9(0xf4)+_0x491dac+',\x20'+util['inspect'](_0x20c974,_0x2de7db));const _0x1866f6={};_0x1866f6['event_type']=_0x730216[_0x4271b9(0x112)],_0x1866f6['test_run']=_0x547f24,await SessionHandler[_0x4271b9(0x17d)](_0x1866f6);}async['configureGit'](){const _0x26dcfb=a45_0x5b18f4,_0x22e35b={'vkFrL':function(_0x31e370){return _0x31e370();}};if(this[_0x26dcfb(0xf7)])return;const _0x404ee1=await _0x22e35b[_0x26dcfb(0x17c)](getGitMetaData);_0x404ee1&&(this['_gitConfigPath']=_0x404ee1[_0x26dcfb(0x143)]),this[_0x26dcfb(0xf7)]=!![];}['getHierarchy'](_0x4c1f3b){const _0x39dc51=a45_0x5b18f4,_0x19e80f={};_0x19e80f[_0x39dc51(0x12b)]=function(_0x49cf56,_0x8a14a7){return _0x49cf56!==_0x8a14a7;};const _0xf5deac=_0x19e80f,_0x16ad03=[];if(_0x4c1f3b&&_0x4c1f3b['parent']){let _0x56bde2=_0x4c1f3b[_0x39dc51(0xba)];while(_0x56bde2&&_0xf5deac[_0x39dc51(0x12b)](_0x56bde2[_0x39dc51(0x19c)],'')){_0x16ad03['push'](_0x56bde2[_0x39dc51(0x19c)]),_0x56bde2=_0x56bde2[_0x39dc51(0xba)];}}return _0x16ad03[_0x39dc51(0x184)]()[_0x39dc51(0xc4)](0x0,0x2),_0x16ad03;}[a45_0x5b18f4(0x15c)](_0x3b3145){const _0x26078b=a45_0x5b18f4,_0x2791dd={};_0x2791dd[_0x26078b(0x87)]=function(_0x11d4d0,_0x1da187){return _0x11d4d0!==_0x1da187;},_0x2791dd[_0x26078b(0x14f)]=_0x26078b(0x102),_0x2791dd[_0x26078b(0x12a)]=function(_0x331858,_0x71fb29){return _0x331858===_0x71fb29;},_0x2791dd[_0x26078b(0x12e)]='beforeEach\x20hook',_0x2791dd[_0x26078b(0xe0)]=_0x26078b(0xa8),_0x2791dd[_0x26078b(0x119)]=_0x26078b(0x182),_0x2791dd[_0x26078b(0xd6)]=_0x26078b(0xa1);const _0x18b506=_0x2791dd;if(_0x18b506[_0x26078b(0x87)](_0x3b3145[_0x26078b(0xd7)],_0x18b506[_0x26078b(0x14f)]))return![];if(_0x18b506['OkWZJ']([_0x18b506['ToOOP'],_0x18b506[_0x26078b(0xe0)],_0x18b506[_0x26078b(0x119)],_0x18b506['XmdLO']][_0x26078b(0x127)](_0x3b3145[_0x26078b(0x19c)]),-0x1))return![];return!![];}[a45_0x5b18f4(0xc2)](_0x2b368f,_0x3a37b9){const _0x292f34=a45_0x5b18f4,_0x231b10={'Jjzfq':function(_0x182d2f,_0x872c4){return _0x182d2f(_0x872c4);}},_0x457116=_0x3a37b9[_0x292f34(0xeb)];if(_0x457116)return _0x457116;return _0x3a37b9[_0x292f34(0x19c)]+'\x20for\x20'+_0x231b10[_0x292f34(0x154)](getTestIdentifier,_0x2b368f);}[a45_0x5b18f4(0x132)](_0x45a9f2,_0x46f31c){const _0x7b0edc=a45_0x5b18f4,_0x20c4b7={'gFXnW':function(_0x429864,_0x215eb7){return _0x429864(_0x215eb7);},'vZnOO':function(_0xe677ad){return _0xe677ad();}};let _0x3ca7f8=_0x46f31c[_0x7b0edc(0x19c)]+_0x7b0edc(0x126)+_0x20c4b7[_0x7b0edc(0x13a)](getTestIdentifier,_0x45a9f2);return this[_0x7b0edc(0xbc)][_0x3ca7f8]&&(_0x3ca7f8=_0x3ca7f8+_0x7b0edc(0xab)+_0x20c4b7[_0x7b0edc(0x162)](uuidv4)),_0x46f31c[_0x7b0edc(0xeb)]=_0x3ca7f8,_0x3ca7f8;}[a45_0x5b18f4(0x168)]=_0x143b44=>{const _0x4a2f35=a45_0x5b18f4,_0x3449d3={};_0x3449d3[_0x4a2f35(0xf3)]='beforeEach\x20hook',_0x3449d3[_0x4a2f35(0x9d)]=_0x4a2f35(0x107),_0x3449d3[_0x4a2f35(0xc9)]='beforeAll\x20hook',_0x3449d3[_0x4a2f35(0xf0)]='BEFORE_ALL',_0x3449d3[_0x4a2f35(0x11a)]=_0x4a2f35(0xa1),_0x3449d3[_0x4a2f35(0xc1)]=_0x4a2f35(0x176),_0x3449d3[_0x4a2f35(0xff)]=_0x4a2f35(0x182),_0x3449d3[_0x4a2f35(0x16c)]=_0x4a2f35(0x124),_0x3449d3['oqBwG']=_0x4a2f35(0x10c);const _0x1cdbb2=_0x3449d3;if(_0x143b44[_0x4a2f35(0x11e)](_0x1cdbb2[_0x4a2f35(0xf3)]))return _0x1cdbb2[_0x4a2f35(0x9d)];else{if(_0x143b44[_0x4a2f35(0x11e)](_0x1cdbb2[_0x4a2f35(0xc9)]))return _0x1cdbb2['OBdLm'];else{if(_0x143b44['startsWith'](_0x1cdbb2['wRKqs']))return _0x1cdbb2[_0x4a2f35(0xc1)];else{if(_0x143b44[_0x4a2f35(0x11e)](_0x1cdbb2['UYYqC']))return _0x1cdbb2[_0x4a2f35(0x16c)];}}}return _0x1cdbb2['oqBwG'];};[a45_0x5b18f4(0x193)]=_0x264e39=>{const _0x4e95e8=a45_0x5b18f4,_0x306669={};_0x306669['XzobQ']=function(_0x19961d,_0x4609c8){return _0x19961d===_0x4609c8;},_0x306669['EhPym']=_0x4e95e8(0x125);const _0x189411=_0x306669;let _0x49b0cc=_0x264e39['parent'];return _0x189411[_0x4e95e8(0xb0)](typeof _0x264e39[_0x4e95e8(0xba)],_0x189411[_0x4e95e8(0xea)])&&(_0x49b0cc=_0x49b0cc[_0x4e95e8(0x19c)]),_0x49b0cc+_0x4e95e8(0xab)+_0x264e39['title'];};['printsToStdio'](){return![];}}module[a45_0x5b18f4(0x10a)]=o11yClassErrorHandler(MyReporter,[a45_0x5b18f4(0xf6),a45_0x5b18f4(0x134),a45_0x5b18f4(0x138),a45_0x5b18f4(0xdd),'onStepBegin','onStepEnd',a45_0x5b18f4(0x90)],'MyReporter');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46_0x7371e0=a46_0x2741;(function(_0x3cb795,_0x119e11){const _0x45a694=a46_0x2741,_0x3fb785=_0x3cb795();while(!![]){try{const _0x246c64=parseInt(_0x45a694(0x128))/0x1+-parseInt(_0x45a694(0x107))/0x2*(-parseInt(_0x45a694(0x125))/0x3)+parseInt(_0x45a694(0xe7))/0x4+-parseInt(_0x45a694(0x10c))/0x5*(-parseInt(_0x45a694(0xf5))/0x6)+-parseInt(_0x45a694(0xf1))/0x7*(-parseInt(_0x45a694(0xec))/0x8)+parseInt(_0x45a694(0x123))/0x9+-parseInt(_0x45a694(0x108))/0xa;if(_0x246c64===_0x119e11)break;else _0x3fb785['push'](_0x3fb785['shift']());}catch(_0x189ff7){_0x3fb785['push'](_0x3fb785['shift']());}}}(a46_0x1b5b,0x845a6));const fs=require('fs'),path=require(a46_0x7371e0(0x116)),{v4:uuidv4}=require(a46_0x7371e0(0x124)),{TEMP_STORE_DIR_NAME}=require(a46_0x7371e0(0x12d)),{nestedKeyValue}=require(a46_0x7371e0(0x10d)),logger=require(a46_0x7371e0(0x127))[a46_0x7371e0(0xde)],{getLogDir}=require(a46_0x7371e0(0x127)),util=require(a46_0x7371e0(0xe2)),helper=require(a46_0x7371e0(0x10d));class TestDetails{static [a46_0x7371e0(0xfb)]={};static[a46_0x7371e0(0x126)](){const _0x21a465=a46_0x7371e0;this['shutdown']();const _0x21dfdc={};_0x21dfdc['recursive']=!![],fs['mkdirSync'](this[_0x21a465(0x10f)](),_0x21dfdc);const _0xb09edc={};_0xb09edc[_0x21a465(0xe9)]=!![],fs[_0x21a465(0xf4)](this[_0x21a465(0xed)](),_0xb09edc);}static['getStoreDirName'](){const _0xf9fec7=a46_0x7371e0,_0x9c98cf={};_0x9c98cf['VDZre']=function(_0x16c35b,_0x328b3e){return _0x16c35b+_0x328b3e;};const _0x52ebc6=_0x9c98cf;return _0x52ebc6[_0xf9fec7(0x106)](_0x52ebc6[_0xf9fec7(0x106)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0xf9fec7(0x113)]);}static[a46_0x7371e0(0x130)](){const _0x219c37=a46_0x7371e0,_0x4509c6={};_0x4509c6['yRvxE']=function(_0x33a73e,_0x50c0b4){return _0x33a73e+_0x50c0b4;},_0x4509c6[_0x219c37(0x114)]=_0x219c37(0x119);const _0xa21724=_0x4509c6;return path[_0x219c37(0xfe)](_0xa21724['yRvxE'](_0xa21724[_0x219c37(0xdf)](TEMP_STORE_DIR_NAME,'-'),process[_0x219c37(0xdc)][_0x219c37(0x113)]||_0xa21724[_0x219c37(0x114)]));}static[a46_0x7371e0(0xed)](){const _0x235a6f=a46_0x7371e0,_0x4cc820={};_0x4cc820['FMqVt']='traceZipPaths';const _0x168e7a=_0x4cc820;return path['join'](this[_0x235a6f(0x130)](),_0x168e7a['FMqVt']);}static[a46_0x7371e0(0x10f)](){return TestDetails['getStoreDirName']();}static[a46_0x7371e0(0xe8)](_0x1816b6){const _0x5122fd=a46_0x7371e0,_0x402eff={};_0x402eff[_0x5122fd(0x11c)]=function(_0x21cda0,_0x4f66bc){return _0x21cda0+_0x4f66bc;},_0x402eff['JUoRH']=_0x5122fd(0xee);const _0x8b8a9f=_0x402eff;return path[_0x5122fd(0xfe)](this['getDirPath'](),_0x8b8a9f['sVcqE'](_0x1816b6,_0x8b8a9f[_0x5122fd(0xe0)]));}static['getTestRunIdFromTestInfo'](_0x5013a7){const _0x393cf0=a46_0x7371e0,_0x956489={};_0x956489['cBTeb']=function(_0x36feab,_0x3497bc){return _0x36feab+_0x3497bc;},_0x956489[_0x393cf0(0xfd)]=function(_0x350c1d,_0x4016b1){return _0x350c1d+_0x4016b1;};const _0x481b1f=_0x956489;return _0x481b1f[_0x393cf0(0x100)](_0x481b1f['cBTeb'](_0x481b1f[_0x393cf0(0x100)](_0x481b1f[_0x393cf0(0xfd)](this[_0x393cf0(0x102)](_0x5013a7),'-'),this['getTestIdFromTestInfo'](_0x5013a7)),'-'),_0x5013a7['retry']);}static[a46_0x7371e0(0x102)](_0x2bd3c7){const _0x32af0b=a46_0x7371e0,_0x4768b0={'mzSGo':function(_0x46f2a8,_0x2da943,_0x5c4211){return _0x46f2a8(_0x2da943,_0x5c4211);},'jSFpv':'_test','BtKbR':_0x32af0b(0x11b),'Hgmgl':function(_0x5d9f6e,_0x3c8582,_0x450b64){return _0x5d9f6e(_0x3c8582,_0x450b64);},'IjrmU':_0x32af0b(0x115),'lDVMd':_0x32af0b(0x103)};return _0x4768b0[_0x32af0b(0x132)](nestedKeyValue,_0x2bd3c7,[_0x4768b0[_0x32af0b(0x12e)],_0x4768b0[_0x32af0b(0xfa)]])||_0x4768b0[_0x32af0b(0xfc)](nestedKeyValue,_0x2bd3c7,[_0x4768b0['IjrmU'],_0x4768b0[_0x32af0b(0xf2)]]);}static[a46_0x7371e0(0xf9)](_0x37ec9e){const _0x270bf8=a46_0x7371e0,_0x2a5a87={'czTYj':function(_0x1b26bf,_0x45fdf2,_0x6b6c6d){return _0x1b26bf(_0x45fdf2,_0x6b6c6d);},'csfHP':'_test'};return _0x2a5a87['czTYj'](nestedKeyValue,_0x37ec9e,[_0x2a5a87[_0x270bf8(0xef)],'id'])||_0x37ec9e['testId'];}static['getTestUUID'](_0x3e8562){const _0x22688e=a46_0x7371e0,_0x2d0b3={'fFUfh':function(_0x216f63,_0xdbbff0){return _0x216f63===_0xdbbff0;},'gCaKM':_0x22688e(0x12a),'iPVYp':function(_0x886714){return _0x886714();}};if(this[_0x22688e(0xfb)][_0x3e8562]&&_0x2d0b3['fFUfh'](typeof this[_0x22688e(0xfb)][_0x3e8562][_0x22688e(0x124)],_0x2d0b3[_0x22688e(0x12c)]))return this[_0x22688e(0xfb)][_0x3e8562][_0x22688e(0x124)];const _0x569758=this[_0x22688e(0xe8)](_0x3e8562);if(_0x569758&&fs['existsSync'](_0x569758)){const _0x503ab9=JSON[_0x22688e(0x12f)](fs['readFileSync'](_0x569758)[_0x22688e(0xf0)]());return this[_0x22688e(0xfb)][_0x3e8562]=_0x503ab9,this[_0x22688e(0xfb)][_0x3e8562][_0x22688e(0x124)];}return this[_0x22688e(0xfb)][_0x3e8562]={'uuid':_0x2d0b3['iPVYp'](uuidv4)},fs['writeFileSync'](_0x569758,JSON['stringify'](this[_0x22688e(0xfb)][_0x3e8562])),this[_0x22688e(0xfb)][_0x3e8562][_0x22688e(0x124)];}static[a46_0x7371e0(0x11a)](_0x51e7a3){const _0x242cd2=a46_0x7371e0,_0x5cdd2a=path[_0x242cd2(0xfe)](this['getDirPath'](),_0x51e7a3+'_platformDetails.json');if(_0x5cdd2a&&fs[_0x242cd2(0xff)](_0x5cdd2a))return fs[_0x242cd2(0xe6)](_0x5cdd2a)[_0x242cd2(0xf0)]();}static[a46_0x7371e0(0xe4)](_0xbe9b2,_0x45d0f2){const _0xd2c1d3=a46_0x7371e0,_0x4ddf46=path[_0xd2c1d3(0xfe)](this[_0xd2c1d3(0x10f)](),_0x45d0f2+_0xd2c1d3(0x121));fs[_0xd2c1d3(0x10e)](_0x4ddf46,_0xbe9b2[_0xd2c1d3(0xf0)]());}static[a46_0x7371e0(0x118)](){const _0x436a89=a46_0x7371e0,_0x2195e0={};_0x2195e0[_0x436a89(0xe9)]=!![],_0x2195e0['force']=!![],fs[_0x436a89(0x111)](this[_0x436a89(0x10f)](),_0x2195e0);}static[a46_0x7371e0(0x10b)](_0x1c404c){const _0x17eaab=a46_0x7371e0;if(this[_0x17eaab(0xfb)][_0x1c404c])return this[_0x17eaab(0xfb)][_0x1c404c];const _0x196f92=this['getFilePath'](_0x1c404c);if(_0x196f92&&fs[_0x17eaab(0xff)](_0x196f92)){const _0x391a71=JSON[_0x17eaab(0x12f)](fs['readFileSync'](_0x196f92)[_0x17eaab(0xf0)]());return this['tests'][_0x1c404c]=_0x391a71,_0x391a71;}return{};}static['setTestDetails'](_0x416b61,_0x26b8a2){const _0x3136d8=a46_0x7371e0,_0x1ee4ed=this[_0x3136d8(0xe8)](_0x416b61);if(_0x1ee4ed&&fs[_0x3136d8(0xff)](_0x1ee4ed)){const _0x4e2309=JSON['parse'](fs[_0x3136d8(0xe6)](_0x1ee4ed)[_0x3136d8(0xf0)]()),_0x127599={..._0x4e2309,..._0x26b8a2};this[_0x3136d8(0xfb)][_0x416b61]=_0x127599;}else this[_0x3136d8(0xfb)][_0x416b61]=_0x26b8a2;fs[_0x3136d8(0x10e)](_0x1ee4ed,this[_0x3136d8(0xfb)][_0x416b61]);}static[a46_0x7371e0(0x109)](_0x2a6259){const _0x43c043=a46_0x7371e0,_0x1baad8={};_0x1baad8[_0x43c043(0x11d)]=_0x43c043(0xdd);const _0x4bc5f6=_0x1baad8;try{const _0x372166=process[_0x43c043(0x104)],_0x233f55=path[_0x43c043(0xfe)](TestDetails[_0x43c043(0xed)](),_0x372166+_0x43c043(0xe3));let _0x314a4c=[];_0x233f55&&fs[_0x43c043(0xff)](_0x233f55)&&(_0x314a4c=JSON[_0x43c043(0x12f)](fs[_0x43c043(0xe6)](_0x233f55)[_0x43c043(0xf0)]())),!_0x314a4c[_0x43c043(0xf7)](_0x13d7fd=>_0x13d7fd[_0x43c043(0x10a)]===_0x2a6259[_0x43c043(0x10a)])&&(_0x314a4c['push'](_0x2a6259),fs[_0x43c043(0x10e)](_0x233f55,JSON[_0x43c043(0x117)](_0x314a4c)));}catch(_0x62aad2){logger[_0x43c043(0x112)](_0x4bc5f6[_0x43c043(0x11d)],_0x62aad2);}}static[a46_0x7371e0(0x105)](){const _0x9d9d74=a46_0x7371e0,_0x6d5e0f={};_0x6d5e0f['cOuBm']=_0x9d9d74(0xe3),_0x6d5e0f[_0x9d9d74(0x120)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x1f8b71=_0x6d5e0f,_0x198616=[];try{const _0x1814a6=TestDetails[_0x9d9d74(0xed)]();if(_0x1814a6&&!fs[_0x9d9d74(0xff)](_0x1814a6))return _0x198616;const _0x139c38=fs[_0x9d9d74(0xf8)](_0x1814a6);_0x139c38[_0x9d9d74(0xf3)](_0x64df94=>{const _0x19abcd=_0x9d9d74;if(_0x64df94&&_0x64df94[_0x19abcd(0x12b)](_0x1f8b71[_0x19abcd(0xe5)])){const _0x1dd769=JSON[_0x19abcd(0x12f)](fs[_0x19abcd(0xe6)](path[_0x19abcd(0xfe)](_0x1814a6,_0x64df94))[_0x19abcd(0xf0)]());_0x198616['push'](..._0x1dd769);}});}catch(_0x360380){logger[_0x9d9d74(0x112)](util[_0x9d9d74(0x11f)](_0x1f8b71[_0x9d9d74(0x120)],_0x360380));}const _0x55bd7e={};return _0x198616[_0x9d9d74(0xf3)](_0xc22532=>{const _0x108d2a=_0x9d9d74;_0x55bd7e[_0xc22532[_0x108d2a(0x10a)]]=_0xc22532;}),Object['values'](_0x55bd7e);}static[a46_0x7371e0(0x101)](_0x15f599,_0xdda322){const _0x2b8caf=a46_0x7371e0,_0x1c03a1={};_0x1c03a1['hkBlk']=_0x2b8caf(0x129),_0x1c03a1[_0x2b8caf(0xea)]=_0x2b8caf(0xeb);const _0x270a48=_0x1c03a1;try{const _0x1aa646=path['join'](helper[_0x2b8caf(0x11e)](),_0x270a48['hkBlk']);if(!fs[_0x2b8caf(0xff)](_0x1aa646)){const _0x553bd1={};_0x553bd1[_0x2b8caf(0xe9)]=!![],fs['mkdirSync'](_0x1aa646,_0x553bd1);}fs['appendFileSync'](path[_0x2b8caf(0xfe)](_0x1aa646,_0x2b8caf(0x131)+_0xdda322+_0x2b8caf(0xf6)),_0x15f599+'\x0a',_0x270a48[_0x2b8caf(0xea)]);}catch(_0x4b9493){console[_0x2b8caf(0x112)](_0x2b8caf(0x122)+_0x4b9493[_0x2b8caf(0xe1)]);}}}function a46_0x2741(_0x1a7a9b,_0x5599f3){const _0x1b5beb=a46_0x1b5b();return a46_0x2741=function(_0x2741e9,_0x31f921){_0x2741e9=_0x2741e9-0xdc;let _0x2c44ce=_0x1b5beb[_0x2741e9];return _0x2c44ce;},a46_0x2741(_0x1a7a9b,_0x5599f3);}function a46_0x1b5b(){const _0x18dacc=['../../../helpers/test-observability/constants','jSFpv','parse','getStoreDirPath','trace_','mzSGo','env','Error\x20handling\x20trace\x20file\x20paths:\x20','winstonLogger','yRvxE','JUoRH','message','util','_traceZipPaths.json','setAccessibilityPlatformValidation','cOuBm','readFileSync','3815444ZmHVSl','getFilePath','recursive','JOUmd','utf8','8043864WOwApY','getTraceZipDir','.json','csfHP','toString','7VYyHai','lDVMd','forEach','mkdirSync','258HzIAYY','.txt','some','readdirSync','getTestIdFromTestInfo','BtKbR','tests','Hgmgl','rGCeR','join','existsSync','cBTeb','appendToTracePaths','getProjectIdFromTestInfo','__projectId','pid','getTraceFilePaths','VDZre','3222yBVolK','46629830gvMOPn','addTraceFilePath','filePath','getTestDetails','109535GrsrHN','../../../helpers/helper','writeFileSync','getDirPath','exports','rmSync','error','BS_TESTOPS_BUILD_HASHED_ID','xvgdF','project','path','stringify','shutdown','default','getAccessibilityPlatformValidation','_projectId','sVcqE','bnECk','homedir','format','MBaVI','_platformDetails.json','Error\x20writing\x20trace\x20file:\x20','8775846SKbPKV','uuid','570wLbexR','setup','../../../helpers/logger','1022572khTYre','.browserstack','string','endsWith','gCaKM'];a46_0x1b5b=function(){return _0x18dacc;};return a46_0x1b5b();}module[a46_0x7371e0(0x110)]=TestDetails;
|
|
1
|
+
const a46_0x523b80=a46_0x16da;(function(_0x5f2360,_0x4f3a82){const _0x4f26b9=a46_0x16da,_0x92e758=_0x5f2360();while(!![]){try{const _0x290d66=parseInt(_0x4f26b9(0x1b7))/0x1+parseInt(_0x4f26b9(0x1c5))/0x2+parseInt(_0x4f26b9(0x1ee))/0x3*(parseInt(_0x4f26b9(0x1ca))/0x4)+-parseInt(_0x4f26b9(0x1df))/0x5+parseInt(_0x4f26b9(0x1cb))/0x6*(parseInt(_0x4f26b9(0x1a3))/0x7)+-parseInt(_0x4f26b9(0x1c0))/0x8*(parseInt(_0x4f26b9(0x1aa))/0x9)+parseInt(_0x4f26b9(0x1f1))/0xa*(parseInt(_0x4f26b9(0x1da))/0xb);if(_0x290d66===_0x4f3a82)break;else _0x92e758['push'](_0x92e758['shift']());}catch(_0x33506b){_0x92e758['push'](_0x92e758['shift']());}}}(a46_0xf02c,0x768ed));const fs=require('fs'),path=require(a46_0x523b80(0x1af)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a46_0x523b80(0x1bf)),logger=require('../../../helpers/logger')['winstonLogger'],{getLogDir}=require(a46_0x523b80(0x1e7)),util=require(a46_0x523b80(0x1a0)),helper=require(a46_0x523b80(0x1bf));class TestDetails{static [a46_0x523b80(0x1b8)]={};static[a46_0x523b80(0x1f2)](){const _0x273e78=a46_0x523b80;this['shutdown']();const _0x35bd9f={};_0x35bd9f['recursive']=!![],fs[_0x273e78(0x1e1)](this[_0x273e78(0x1d3)](),_0x35bd9f);const _0x35907d={};_0x35907d['recursive']=!![],fs[_0x273e78(0x1e1)](this[_0x273e78(0x1cc)](),_0x35907d);}static[a46_0x523b80(0x1b5)](){const _0x304cd1=a46_0x523b80,_0x5aa4ac={};_0x5aa4ac[_0x304cd1(0x1e6)]=function(_0x9adc3d,_0x113684){return _0x9adc3d+_0x113684;},_0x5aa4ac['HbNFV']=function(_0x1a98d3,_0x579f25){return _0x1a98d3+_0x579f25;};const _0x389f54=_0x5aa4ac;return _0x389f54['rcZTJ'](_0x389f54[_0x304cd1(0x1d5)](TEMP_STORE_DIR_NAME,'-'),process[_0x304cd1(0x1ae)][_0x304cd1(0x198)]);}static[a46_0x523b80(0x1eb)](){const _0x403dbc=a46_0x523b80,_0x1f2715={};_0x1f2715['EHrQy']=function(_0x164571,_0x36b1e0){return _0x164571+_0x36b1e0;},_0x1f2715['dZLms']=function(_0x3c4e6e,_0x1e9d9d){return _0x3c4e6e+_0x1e9d9d;},_0x1f2715['JMZkF']=_0x403dbc(0x1bb);const _0xf4b788=_0x1f2715;return path[_0x403dbc(0x1c9)](_0xf4b788[_0x403dbc(0x1f3)](_0xf4b788[_0x403dbc(0x197)](TEMP_STORE_DIR_NAME,'-'),process[_0x403dbc(0x1ae)]['BS_TESTOPS_BUILD_HASHED_ID']||_0xf4b788[_0x403dbc(0x1ed)]));}static['getTraceZipDir'](){const _0x1d423b=a46_0x523b80,_0x4e1eb4={};_0x4e1eb4[_0x1d423b(0x1ea)]=_0x1d423b(0x1bc);const _0x541444=_0x4e1eb4;return path[_0x1d423b(0x1c9)](this[_0x1d423b(0x1eb)](),_0x541444[_0x1d423b(0x1ea)]);}static[a46_0x523b80(0x1d3)](){return TestDetails['getStoreDirName']();}static[a46_0x523b80(0x1d0)](_0x2ac8de){const _0x4ec2f1=a46_0x523b80,_0x197b81={};_0x197b81['ZDgrL']=function(_0x17cb10,_0x32ae2d){return _0x17cb10+_0x32ae2d;},_0x197b81['kYuHM']=_0x4ec2f1(0x1a5);const _0xc80a88=_0x197b81;return path[_0x4ec2f1(0x1c9)](this[_0x4ec2f1(0x1d3)](),_0xc80a88[_0x4ec2f1(0x194)](_0x2ac8de,_0xc80a88['kYuHM']));}static[a46_0x523b80(0x1e9)](_0x3d0c92){const _0x2ee463=a46_0x523b80,_0x2849c9={};_0x2849c9[_0x2ee463(0x19f)]=function(_0x17a757,_0x394392){return _0x17a757+_0x394392;},_0x2849c9[_0x2ee463(0x1ce)]=function(_0x2792bc,_0x27bc7a){return _0x2792bc+_0x27bc7a;},_0x2849c9[_0x2ee463(0x1a1)]=function(_0x3678bd,_0x3fae35){return _0x3678bd+_0x3fae35;};const _0x175554=_0x2849c9;return _0x175554['mLJCS'](_0x175554[_0x2ee463(0x1ce)](_0x175554[_0x2ee463(0x1ce)](_0x175554[_0x2ee463(0x1a1)](this['getProjectIdFromTestInfo'](_0x3d0c92),'-'),this['getTestIdFromTestInfo'](_0x3d0c92)),'-'),_0x3d0c92[_0x2ee463(0x193)]);}static['getProjectIdFromTestInfo'](_0x584959){const _0x252fcb=a46_0x523b80,_0x37dc1e={'Bgznr':function(_0x4ab89f,_0x2e25a2,_0x3e695d){return _0x4ab89f(_0x2e25a2,_0x3e695d);},'mgeHT':'_test','RhHEJ':_0x252fcb(0x1a9),'boPNo':_0x252fcb(0x1c8),'ioVnH':_0x252fcb(0x1ac)};return _0x37dc1e[_0x252fcb(0x1de)](nestedKeyValue,_0x584959,[_0x37dc1e[_0x252fcb(0x1e0)],_0x37dc1e[_0x252fcb(0x1b9)]])||_0x37dc1e[_0x252fcb(0x1de)](nestedKeyValue,_0x584959,[_0x37dc1e[_0x252fcb(0x1dc)],_0x37dc1e[_0x252fcb(0x19b)]]);}static['getTestIdFromTestInfo'](_0x5671d0){const _0x59c7d6=a46_0x523b80,_0x658814={'GzIDa':function(_0x308efc,_0x563ced,_0x584911){return _0x308efc(_0x563ced,_0x584911);},'TTume':_0x59c7d6(0x1be)};return _0x658814[_0x59c7d6(0x1a7)](nestedKeyValue,_0x5671d0,[_0x658814[_0x59c7d6(0x1d4)],'id'])||_0x5671d0[_0x59c7d6(0x1c4)];}static[a46_0x523b80(0x1c7)](_0x48191a){const _0x114cdc=a46_0x523b80,_0x5e4600={'LdaXp':function(_0x4370bd,_0x3b5e20){return _0x4370bd===_0x3b5e20;},'rtoTb':'string','dOsnV':function(_0xa7b8c1){return _0xa7b8c1();}};if(this[_0x114cdc(0x1b8)][_0x48191a]&&_0x5e4600[_0x114cdc(0x1b0)](typeof this[_0x114cdc(0x1b8)][_0x48191a]['uuid'],_0x5e4600[_0x114cdc(0x1a6)]))return this[_0x114cdc(0x1b8)][_0x48191a][_0x114cdc(0x1ec)];const _0x9810cd=this[_0x114cdc(0x1d0)](_0x48191a);if(_0x9810cd&&fs[_0x114cdc(0x1b1)](_0x9810cd)){const _0x1629b3=JSON[_0x114cdc(0x19a)](fs['readFileSync'](_0x9810cd)[_0x114cdc(0x1e3)]());return this[_0x114cdc(0x1b8)][_0x48191a]=_0x1629b3,this['tests'][_0x48191a][_0x114cdc(0x1ec)];}return this[_0x114cdc(0x1b8)][_0x48191a]={'uuid':_0x5e4600[_0x114cdc(0x1e8)](uuidv4)},fs['writeFileSync'](_0x9810cd,JSON['stringify'](this['tests'][_0x48191a])),this[_0x114cdc(0x1b8)][_0x48191a][_0x114cdc(0x1ec)];}static[a46_0x523b80(0x1e5)](_0x4a3db8){const _0xd23f80=a46_0x523b80,_0x37816a=path['join'](this[_0xd23f80(0x1d3)](),_0x4a3db8+_0xd23f80(0x1f0));if(_0x37816a&&fs[_0xd23f80(0x1b1)](_0x37816a))return fs[_0xd23f80(0x1d7)](_0x37816a)[_0xd23f80(0x1e3)]();}static[a46_0x523b80(0x1d9)](_0x237251,_0x26a898){const _0x3bf092=a46_0x523b80,_0x21bc4b=path[_0x3bf092(0x1c9)](this[_0x3bf092(0x1d3)](),_0x26a898+_0x3bf092(0x1f0));fs[_0x3bf092(0x19c)](_0x21bc4b,_0x237251[_0x3bf092(0x1e3)]());}static[a46_0x523b80(0x1dd)](){const _0x59b633=a46_0x523b80,_0x27ca65={};_0x27ca65[_0x59b633(0x1a2)]=!![],_0x27ca65[_0x59b633(0x196)]=!![],fs[_0x59b633(0x1ab)](this[_0x59b633(0x1d3)](),_0x27ca65);}static[a46_0x523b80(0x1cf)](_0xc351b6){const _0x2d5a90=a46_0x523b80;if(this['tests'][_0xc351b6])return this[_0x2d5a90(0x1b8)][_0xc351b6];const _0x594c71=this[_0x2d5a90(0x1d0)](_0xc351b6);if(_0x594c71&&fs[_0x2d5a90(0x1b1)](_0x594c71)){const _0x4bb2ad=JSON['parse'](fs[_0x2d5a90(0x1d7)](_0x594c71)[_0x2d5a90(0x1e3)]());return this['tests'][_0xc351b6]=_0x4bb2ad,_0x4bb2ad;}return{};}static[a46_0x523b80(0x1b2)](_0x150d26,_0x1e6420){const _0xafb3bd=a46_0x523b80,_0x154370=this[_0xafb3bd(0x1d0)](_0x150d26);if(_0x154370&&fs[_0xafb3bd(0x1b1)](_0x154370)){const _0x91b5da=JSON[_0xafb3bd(0x19a)](fs[_0xafb3bd(0x1d7)](_0x154370)[_0xafb3bd(0x1e3)]()),_0x3c96da={..._0x91b5da,..._0x1e6420};this[_0xafb3bd(0x1b8)][_0x150d26]=_0x3c96da;}else this[_0xafb3bd(0x1b8)][_0x150d26]=_0x1e6420;fs[_0xafb3bd(0x19c)](_0x154370,this[_0xafb3bd(0x1b8)][_0x150d26]);}static[a46_0x523b80(0x1b4)](_0x9f1bb5){const _0x3b93cc=a46_0x523b80,_0x3d5674={};_0x3d5674[_0x3b93cc(0x1d2)]=_0x3b93cc(0x19e);const _0x581a8e=_0x3d5674;try{const _0x19783f=process[_0x3b93cc(0x1c6)],_0x49ab82=path[_0x3b93cc(0x1c9)](TestDetails['getTraceZipDir'](),_0x19783f+'_traceZipPaths.json');let _0x4ef746=[];_0x49ab82&&fs[_0x3b93cc(0x1b1)](_0x49ab82)&&(_0x4ef746=JSON[_0x3b93cc(0x19a)](fs[_0x3b93cc(0x1d7)](_0x49ab82)[_0x3b93cc(0x1e3)]())),!_0x4ef746['some'](_0x3631ad=>_0x3631ad[_0x3b93cc(0x1d6)]===_0x9f1bb5[_0x3b93cc(0x1d6)])&&(_0x4ef746[_0x3b93cc(0x1e2)](_0x9f1bb5),fs['writeFileSync'](_0x49ab82,JSON['stringify'](_0x4ef746)));}catch(_0x573143){logger[_0x3b93cc(0x1c1)](_0x581a8e[_0x3b93cc(0x1d2)],_0x573143);}}static[a46_0x523b80(0x1c3)](){const _0x1dde9f=a46_0x523b80,_0x38f831={};_0x38f831[_0x1dde9f(0x1d8)]='_traceZipPaths.json',_0x38f831[_0x1dde9f(0x1e4)]=_0x1dde9f(0x1db);const _0x1c51b3=_0x38f831,_0x5bb5cf=[];try{const _0x1da47e=TestDetails[_0x1dde9f(0x1cc)]();if(_0x1da47e&&!fs[_0x1dde9f(0x1b1)](_0x1da47e))return _0x5bb5cf;const _0x15c8f1=fs[_0x1dde9f(0x1c2)](_0x1da47e);_0x15c8f1[_0x1dde9f(0x1b6)](_0x2f215d=>{const _0x5705fb=_0x1dde9f;if(_0x2f215d&&_0x2f215d[_0x5705fb(0x1b3)](_0x1c51b3[_0x5705fb(0x1d8)])){const _0x325921=JSON['parse'](fs['readFileSync'](path[_0x5705fb(0x1c9)](_0x1da47e,_0x2f215d))[_0x5705fb(0x1e3)]());_0x5bb5cf['push'](..._0x325921);}});}catch(_0x2717e1){logger[_0x1dde9f(0x1c1)](util['format'](_0x1c51b3[_0x1dde9f(0x1e4)],_0x2717e1));}const _0x522c0b={};return _0x5bb5cf['forEach'](_0x57ecc8=>{const _0x5cab5b=_0x1dde9f;_0x522c0b[_0x57ecc8[_0x5cab5b(0x1d6)]]=_0x57ecc8;}),Object['values'](_0x522c0b);}static[a46_0x523b80(0x19d)](_0x24c6f6,_0x53905a){const _0x39c218=a46_0x523b80,_0x5ed54f={};_0x5ed54f[_0x39c218(0x1a8)]=_0x39c218(0x1ba),_0x5ed54f[_0x39c218(0x195)]=_0x39c218(0x1ef);const _0xafd15f=_0x5ed54f;try{const _0x53545b=path[_0x39c218(0x1c9)](helper[_0x39c218(0x1a4)](),_0xafd15f[_0x39c218(0x1a8)]);if(!fs[_0x39c218(0x1b1)](_0x53545b)){const _0x478119={};_0x478119['recursive']=!![],fs['mkdirSync'](_0x53545b,_0x478119);}fs[_0x39c218(0x1ad)](path['join'](_0x53545b,'trace_'+_0x53905a+_0x39c218(0x1d1)),_0x24c6f6+'\x0a',_0xafd15f[_0x39c218(0x195)]);}catch(_0x3b708e){console[_0x39c218(0x1c1)](_0x39c218(0x199)+_0x3b708e[_0x39c218(0x1cd)]);}}}function a46_0x16da(_0x2affd4,_0x14f3b6){const _0xf02c98=a46_0xf02c();return a46_0x16da=function(_0x16da3b,_0x27f63e){_0x16da3b=_0x16da3b-0x193;let _0x1c2b86=_0xf02c98[_0x16da3b];return _0x1c2b86;},a46_0x16da(_0x2affd4,_0x14f3b6);}module[a46_0x523b80(0x1bd)]=TestDetails;function a46_0xf02c(){const _0x2e6190=['4508VSqMJk','homedir','.json','rtoTb','GzIDa','grUyr','_projectId','4946778HsgtFR','rmSync','__projectId','appendFileSync','env','path','LdaXp','existsSync','setTestDetails','endsWith','addTraceFilePath','getStoreDirName','forEach','258203WoSkUy','tests','RhHEJ','.browserstack','default','traceZipPaths','exports','_test','../../../helpers/helper','8lBmvsZ','error','readdirSync','getTraceFilePaths','testId','1591030tfurzQ','pid','getTestUUID','project','join','2016eUGWoc','1242pubAFB','getTraceZipDir','message','feMyF','getTestDetails','getFilePath','.txt','kYZYg','getDirPath','TTume','HbNFV','filePath','readFileSync','ZvCLF','setAccessibilityPlatformValidation','25861JoTOef','Error\x20reading\x20trace\x20file\x20paths:\x20%s','boPNo','shutdown','Bgznr','3213580gOvCAF','mgeHT','mkdirSync','push','toString','DUhCk','getAccessibilityPlatformValidation','rcZTJ','../../../helpers/logger','dOsnV','getTestRunIdFromTestInfo','tIsUU','getStoreDirPath','uuid','JMZkF','1257eBJArV','utf8','_platformDetails.json','1190bdvRWp','setup','EHrQy','retry','ZDgrL','rsvMK','force','dZLms','BS_TESTOPS_BUILD_HASHED_ID','Error\x20writing\x20trace\x20file:\x20','parse','ioVnH','writeFileSync','appendToTracePaths','Error\x20handling\x20trace\x20file\x20paths:\x20','mLJCS','util','TCxwe','recursive'];a46_0xf02c=function(){return _0x2e6190;};return a46_0xf02c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a47_0x1bb5(_0x36e653,_0x431229){const _0x52211d=a47_0x5221();return a47_0x1bb5=function(_0x1bb53e,_0x5ac7a8){_0x1bb53e=_0x1bb53e-0x17a;let _0x158cd5=_0x52211d[_0x1bb53e];return _0x158cd5;},a47_0x1bb5(_0x36e653,_0x431229);}const a47_0x26a190=a47_0x1bb5;function a47_0x5221(){const _0x42a0a6=['Error\x20in\x20finding\x20platform\x20details\x20','vsDix','Device\x20Model\x20is\x20not\x20available','ATS_WSS_URL_REGEX','../../helpers/accessibility-automation/accessibilityRetryHelper.js','getInstance','xiBjG','entries','function','axDQP','HOmEK','gCWbd','bQfpY','TtgKY','channel','oXeNw','info','message','model','Failed\x20to\x20perform\x20scan\x20','prototype','firefox','HJcWN','yBZkz','qCFeO','Error\x20in\x20importing\x20connection\x20','pwPage','patchConnection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','project','hUalE','platformName','lHolY','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','../utils/clientTroubleshootingService.js','turboscale','78239Wocvda','fiEUv','KXVVa','lAzVw','version','platform_version','../v2/state/hookState.js','dispatch','AYnrM','winstonLogger','../../helpers/accessibility-automation/helper','server','DOhKR','patchCRConnection','Page\x20Scan\x20result=','KmPoj','connectOptions','ZOCjH','VMidj','ckiWN','CRConnection','18FcwjOd','toLowerCase','testInfo','HXizW','../../helpers/helper','Setting\x20session\x20id\x20received\x20from\x20BS\x20','MqEBC','bStackParams','Not\x20able\x20to\x20import\x20Connection','BxShX','hxJbu','Hlzwb','../../helpers/test-observability/utils','Performing\x20scan\x20for\x20','platform','shouldWrapCommand','patch','xIsHP','crConnection.js','JCZFi','fSMjs','Connection','lHwvi','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','_name','path','BROWSERSTACK_TEST_OBSERVABILITY','530332SDGQOf','suXtY','8374600AJNOQf','xDFdF','DuKUh','vPzjc','sCeQu','url','browser_version','cloudProvider','_onMessage','1053265tGDrMS','parse','AmCMk','_defaultConnectOptions','Lsvlb','reportSessionLinkingIssue','browserstack','../../helpers/logger','mJaey','caps','bstackPerformA11yScan','_browserType','../../bin/playwright/accessibility-helper','capabilities','isRunning','BSTACK_ATS_URL','wsEndpoint','xuDOw','local_grid','Not\x20able\x20to\x20import\x20crConnection','lib','SMCpH','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','qHESP','unknown_grid','apply','DFNsx','VDTtl','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','format','fromEntries','../v2/browserstackCLI','NTkGz','cfFSS','sjGfI','trackEvent','ThXox','dPTAk','kNYtZ','deviceModel','platformDetails','GYZrc','FgYjm','ikIPG','ZhTez','KRpRL','hVJzh','UVlHt','../v2/state/automationFrameworkState.js','../../helpers/accessibility-automation/scripts','PKEeo','product','currentTest','params','_type','165197MGBCIt','NutmP','brswz','../utils/constants','client','sessionError','edge','ltkvg','currentSessionDetails','debug','performScan','1874403vKSbiS','includes','sessionId','__workerDetails','Ebbjv','hmRKh','browser','isRemote','bsParams','join','defineProperty','__driver','assign','./accessibility-helper','setupBrowserDetails','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','2334528tJJCix','Tdwkp','test','chrome','POST','browserName','BSTACK_URL','HuIqT','ZfZLt','../../helpers/test-observability/error-handler','playwright-','toString','bsSessionId','KicNO','DOxgE','use','exports'];a47_0x5221=function(){return _0x42a0a6;};return a47_0x5221();}(function(_0x57fde5,_0xc3c6bc){const _0x323da8=a47_0x1bb5,_0x45a1a5=_0x57fde5();while(!![]){try{const _0x1f1430=-parseInt(_0x323da8(0x225))/0x1+-parseInt(_0x323da8(0x1e3))/0x2+-parseInt(_0x323da8(0x230))/0x3+parseInt(_0x323da8(0x17e))/0x4+-parseInt(_0x323da8(0x1ee))/0x5+parseInt(_0x323da8(0x1c8))/0x6*(parseInt(_0x323da8(0x1b3))/0x7)+parseInt(_0x323da8(0x1e5))/0x8;if(_0x1f1430===_0xc3c6bc)break;else _0x45a1a5['push'](_0x45a1a5['shift']());}catch(_0x2bdedd){_0x45a1a5['push'](_0x45a1a5['shift']());}}}(a47_0x5221,0x6135b));const path=require(a47_0x26a190(0x1e1)),url=require(a47_0x26a190(0x1ea)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x26a190(0x1cc)),{o11yErrorHandler}=require(a47_0x26a190(0x187)),{debug,getPlatformDetails}=require(a47_0x26a190(0x1d4)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x26a190(0x1bd)),logger=require(a47_0x26a190(0x1f5))[a47_0x26a190(0x1bc)],scripts=require(a47_0x26a190(0x21f)),{browserStackExecuteDriver}=require(a47_0x26a190(0x1fa)),AccessibilityHelper=require(a47_0x26a190(0x17b)),constants=require(a47_0x26a190(0x228)),BrowserstackCLI=require(a47_0x26a190(0x20d)),AutomationFrameworkState=require(a47_0x26a190(0x21e)),HookState=require(a47_0x26a190(0x1b9)),{performScanWithRetry}=require(a47_0x26a190(0x193)),ClientTroubleShootingService=require(a47_0x26a190(0x1b1)),getBrowserNameFromChannel=_0x4c34df=>{const _0x13617d=a47_0x26a190,_0x4aad0c={};_0x4aad0c[_0x13617d(0x20e)]='chrome',_0x4aad0c[_0x13617d(0x19c)]=_0x13617d(0x22b),_0x4aad0c[_0x13617d(0x1de)]=_0x13617d(0x1a4),_0x4aad0c[_0x13617d(0x1e7)]='safari';const _0x16327f=_0x4aad0c;if(_0x4c34df[_0x13617d(0x231)](_0x16327f[_0x13617d(0x20e)]))return _0x16327f[_0x13617d(0x20e)];if(_0x4c34df['includes'](_0x16327f[_0x13617d(0x19c)]))return _0x16327f['TtgKY'];if(_0x4c34df[_0x13617d(0x231)](_0x16327f['lHwvi']))return _0x16327f[_0x13617d(0x1de)];if(_0x4c34df[_0x13617d(0x231)](_0x16327f[_0x13617d(0x1e7)]))return _0x16327f[_0x13617d(0x1e7)];},getBrowserFromWSEndpoint=_0x59e912=>{const _0x59bc2f=a47_0x26a190,_0x5603c6={'UmrAA':_0x59bc2f(0x181),'VDTtl':function(_0x59af58,_0x2d87f7){return _0x59af58(_0x2d87f7);}};try{const _0x35f403=url[_0x59bc2f(0x1ef)](_0x59e912),_0x2468c4=new URLSearchParams(_0x35f403['query']),_0x171d76=Object[_0x59bc2f(0x20c)](_0x2468c4[_0x59bc2f(0x196)]()),_0x1b66d8=JSON['parse'](_0x171d76[_0x59bc2f(0x1f7)]);if(_0x1b66d8&&(_0x1b66d8['browser']||_0x1b66d8[_0x59bc2f(0x183)]))return _0x1b66d8[_0x59bc2f(0x236)]||_0x1b66d8[_0x59bc2f(0x183)];return _0x5603c6['UmrAA'];}catch(_0x4503b6){_0x5603c6[_0x59bc2f(0x209)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x4503b6[_0x59bc2f(0x189)]());}},getCloudProviderFromWsEndpoint=_0x101e4f=>{const _0x168e38=a47_0x26a190,_0x4f8ba3={};_0x4f8ba3[_0x168e38(0x1d2)]=_0x168e38(0x1f4),_0x4f8ba3[_0x168e38(0x1c2)]=_0x168e38(0x206);const _0x2e59b1=_0x4f8ba3;if(_0x101e4f[_0x168e38(0x231)](constants[_0x168e38(0x184)])||_0x101e4f['includes'](constants[_0x168e38(0x1fd)]))return _0x2e59b1[_0x168e38(0x1d2)];return _0x2e59b1[_0x168e38(0x1c2)];},a47_0x2604ff={};a47_0x2604ff[a47_0x26a190(0x1ec)]=undefined,a47_0x2604ff[a47_0x26a190(0x18a)]=undefined,a47_0x2604ff['browser']=undefined,a47_0x2604ff['browser_version']=undefined,a47_0x2604ff['platform']=undefined,a47_0x2604ff['platform_version']=undefined,a47_0x2604ff[a47_0x26a190(0x221)]=undefined,a47_0x2604ff[a47_0x26a190(0x1fb)]={};class PlaywrightSessionDetails{static [a47_0x26a190(0x22d)]=a47_0x2604ff;constructor(){const _0x3e8e84=a47_0x26a190,_0x5b6c2b={};_0x5b6c2b[_0x3e8e84(0x1a6)]=_0x3e8e84(0x1ab);const _0x94b685=_0x5b6c2b;throw new Error(_0x94b685[_0x3e8e84(0x1a6)]);}static [a47_0x26a190(0x22a)]=null;static[a47_0x26a190(0x17c)](_0x102972,_0x1c9d24,_0x3121be=null){const _0x393846=a47_0x26a190,_0x15f8d4={'Hlzwb':function(_0x269f93,_0x154557){return _0x269f93===_0x154557;},'hVJzh':_0x393846(0x197),'AYnrM':_0x393846(0x20a),'HXizW':function(_0x36964a,_0x245417){return _0x36964a===_0x245417;},'HuIqT':_0x393846(0x191),'NutmP':_0x393846(0x200),'xDFdF':function(_0x371bb9,_0x5b6f41,_0x5b8f78){return _0x371bb9(_0x5b6f41,_0x5b8f78);},'wXYbD':_0x393846(0x1f9),'DFNsx':_0x393846(0x1f1),'kNYtZ':_0x393846(0x1ac),'ckiWN':'use','lsrnx':_0x393846(0x1c3),'SMCpH':function(_0x19093e,_0x49a8cc){return _0x19093e(_0x49a8cc);},'KlHoV':'browserstack','mJaey':_0x393846(0x1b2),'bQfpY':'automate','oXeNw':function(_0x48bba8,_0x733e57){return _0x48bba8(_0x733e57);},'qHESP':function(_0x10c767,_0x25aa37){return _0x10c767+_0x25aa37;},'Tdwkp':_0x393846(0x188),'ZOCjH':function(_0x128749){return _0x128749();},'FgYjm':function(_0x21f39c,_0x178407,_0x4a9dfd){return _0x21f39c(_0x178407,_0x4a9dfd);},'TLYLN':_0x393846(0x17c)},_0x415c71=this;return _0x15f8d4[_0x393846(0x218)](o11yErrorHandler,async function _0x23f690(_0x17876c,_0x8c5678,_0x35a065=null){const _0x510ec9=_0x393846;let _0x51e451=_0x17876c[_0x510ec9(0x1e0)],_0x1e7f4f=null;_0x17876c&&_0x15f8d4[_0x510ec9(0x1d3)](typeof _0x17876c[_0x510ec9(0x1b7)],_0x15f8d4['hVJzh'])?_0x1e7f4f=_0x17876c[_0x510ec9(0x1b7)]():logger[_0x510ec9(0x22e)](_0x15f8d4[_0x510ec9(0x1bb)]);let _0x5486f3=null;_0x17876c&&_0x15f8d4[_0x510ec9(0x1cb)](typeof _0x17876c[_0x510ec9(0x1a1)],_0x15f8d4[_0x510ec9(0x21c)])?_0x5486f3=_0x17876c['model']():logger[_0x510ec9(0x22e)](_0x15f8d4[_0x510ec9(0x185)]);let _0x484d72=null,_0x292505=null,_0x2573df=null,_0x597641=_0x15f8d4[_0x510ec9(0x226)];if(_0x17876c['_connection'][_0x510ec9(0x237)]()||global['accessibilityPlatform']){let _0x3f3b55=null;_0x15f8d4['xDFdF'](nestedKeyValue,_0x17876c,[_0x15f8d4['wXYbD'],_0x15f8d4[_0x510ec9(0x208)]])?_0x3f3b55=_0x17876c[_0x510ec9(0x1f9)][_0x510ec9(0x1f1)]:_0x3f3b55=_0x15f8d4[_0x510ec9(0x1e6)](nestedKeyValue,_0x8c5678,[_0x15f8d4[_0x510ec9(0x214)],_0x15f8d4[_0x510ec9(0x1c6)],_0x15f8d4['lsrnx']]);const _0x411140=_0x35a065||_0x3f3b55&&_0x3f3b55[_0x510ec9(0x1fe)];_0x411140&&(_0x597641=_0x15f8d4['SMCpH'](getCloudProviderFromWsEndpoint,_0x411140),_0x15f8d4[_0x510ec9(0x1cb)](_0x597641,_0x15f8d4['KlHoV'])&&(_0x2573df=constants[_0x510ec9(0x192)][_0x510ec9(0x180)](_0x411140)?_0x15f8d4[_0x510ec9(0x1f6)]:_0x15f8d4[_0x510ec9(0x19b)],_0x51e451=_0x15f8d4[_0x510ec9(0x19e)](getBrowserFromWSEndpoint,_0x411140)||_0x51e451,_0x484d72=_0x415c71['currentSessionDetails'][_0x510ec9(0x1d6)],_0x292505=_0x415c71[_0x510ec9(0x22d)]['platform_version']));}else{_0x8c5678&&_0x8c5678[_0x510ec9(0x1ac)][_0x510ec9(0x18d)][_0x510ec9(0x19d)]?_0x51e451=_0x15f8d4[_0x510ec9(0x203)](getBrowserNameFromChannel,_0x8c5678[_0x510ec9(0x1ac)][_0x510ec9(0x18d)]['channel']):_0x51e451=_0x15f8d4[_0x510ec9(0x205)](_0x15f8d4[_0x510ec9(0x17f)],_0x51e451[_0x510ec9(0x1c9)]());const _0x579190=await _0x15f8d4[_0x510ec9(0x1c4)](getPlatformDetails);_0x484d72=_0x579190[_0x510ec9(0x1ae)],_0x292505=_0x579190['platformVersion'];}const _0x43ee11={};_0x43ee11[_0x510ec9(0x236)]=_0x51e451,_0x43ee11[_0x510ec9(0x1eb)]=_0x1e7f4f,_0x43ee11[_0x510ec9(0x1fb)]={},_0x43ee11[_0x510ec9(0x1d6)]=_0x484d72,_0x43ee11[_0x510ec9(0x1b8)]=_0x292505,_0x43ee11[_0x510ec9(0x221)]=_0x2573df;const _0x3bfd15=_0x43ee11;_0x5486f3&&(_0x3bfd15[_0x510ec9(0x1fb)][_0x510ec9(0x215)]=_0x5486f3);const _0x364f9f={};_0x364f9f[_0x510ec9(0x1ec)]=_0x597641,_0x415c71[_0x510ec9(0x22d)]=Object[_0x510ec9(0x17a)]({},_0x415c71[_0x510ec9(0x22d)],_0x364f9f,_0x3bfd15);},_0x15f8d4['TLYLN'])(_0x102972,_0x1c9d24,_0x3121be);}static[a47_0x26a190(0x1d8)](){const _0x3c189a=a47_0x26a190;this[_0x3c189a(0x1aa)](),this[_0x3c189a(0x1c0)]();}static['patchConnection'](){const _0x74a742=a47_0x26a190,_0x5a31d2={'DOhKR':function(_0x548033,_0x599c17,_0x3b9c55){return _0x548033(_0x599c17,_0x3b9c55);},'UwONb':'currentTest','suXtY':'testInfo','KRpRL':'titlePath','brswz':_0x74a742(0x233),'BxShX':_0x74a742(0x1a9),'JCZFi':function(_0x248aa2,_0x34441e){return _0x248aa2===_0x34441e;},'lHolY':'Page','HJcWN':function(_0x2b026a,_0x4ac0ec,_0xb0556e,_0x14d2de){return _0x2b026a(_0x4ac0ec,_0xb0556e,_0x14d2de);},'KXVVa':function(_0x5d9122,_0x93e98d){return _0x5d9122||_0x93e98d;},'ZfZLt':function(_0x39c6be,_0x2d3980){return _0x39c6be(_0x2d3980);},'fSMjs':function(_0x3ad0b7,_0x2ff56b){return _0x3ad0b7(_0x2ff56b);},'hmRKh':_0x74a742(0x202),'sjGfI':_0x74a742(0x229),'XJBXW':'connection.js','Lsvlb':function(_0x4341dd,_0x310214){return _0x4341dd(_0x310214);},'vPzjc':function(_0x5eaa72,_0x70c9c0){return _0x5eaa72(_0x70c9c0);},'AmCMk':_0x74a742(0x1d0),'fiEUv':function(_0x10e8a1,_0x3cfe9a){return _0x10e8a1(_0x3cfe9a);},'WxHwf':function(_0x5be5d8,_0x5eba0e){return _0x5be5d8!=_0x5eba0e;},'dPTAk':function(_0x27cfd2){return _0x27cfd2();},'PKEeo':'sendMessageToServer','WEinY':_0x74a742(0x1ba)},_0x14d44a=this;if(!this['Connection'])try{const _0x29e3c2=path[_0x74a742(0x239)](_0x5a31d2[_0x74a742(0x235)],_0x5a31d2[_0x74a742(0x210)],_0x5a31d2['XJBXW']),_0x5a0d01=_0x5a31d2[_0x74a742(0x1f2)](importFileFromPWCore,_0x29e3c2);!_0x5a0d01?_0x5a31d2[_0x74a742(0x1e8)](debug,_0x5a31d2[_0x74a742(0x1f0)]):this[_0x74a742(0x1dd)]=_0x5a0d01[_0x74a742(0x1dd)];}catch(_0x1c4950){_0x5a31d2['fiEUv'](debug,_0x74a742(0x1a8)+_0x1c4950[_0x74a742(0x189)]());}const _0x516ee9=this[_0x74a742(0x1dd)];try{if(_0x5a31d2['WxHwf'](_0x516ee9,null)){const _0x415409=_0x516ee9[_0x74a742(0x1a3)][_0x74a742(0x1ba)],_0x374446=_0x516ee9[_0x74a742(0x1a3)]['sendMessageToServer'];_0x5a31d2[_0x74a742(0x213)](isAccessibilityAutomationSession)&&Object[_0x74a742(0x23a)](_0x516ee9['prototype'],_0x5a31d2[_0x74a742(0x220)],{'get':function(){const _0x32d174=_0x74a742,_0x2a5de1={'vsDix':function(_0x567a8f,_0x1d446a,_0x29a2fb){const _0x47bb26=a47_0x1bb5;return _0x5a31d2[_0x47bb26(0x1bf)](_0x567a8f,_0x1d446a,_0x29a2fb);},'cfFSS':_0x5a31d2['UwONb'],'gCWbd':_0x5a31d2[_0x32d174(0x1e4)],'UVlHt':_0x5a31d2[_0x32d174(0x21b)],'axDQP':_0x5a31d2[_0x32d174(0x227)],'dkgQj':_0x5a31d2[_0x32d174(0x1d1)],'GYZrc':function(_0x1037b1,_0x4a8684){const _0x1a36e0=_0x32d174;return _0x5a31d2[_0x1a36e0(0x1db)](_0x1037b1,_0x4a8684);},'VMidj':_0x5a31d2[_0x32d174(0x1af)],'hUalE':function(_0x49d76d,_0x45309b,_0x358580,_0x4d4a76){const _0x2c7a03=_0x32d174;return _0x5a31d2[_0x2c7a03(0x1a5)](_0x49d76d,_0x45309b,_0x358580,_0x4d4a76);}};return async function(){const _0x26b397=_0x32d174;try{if(!global[_0x26b397(0x1f8)]&&global['accessibilityPlatform']&&_0x2a5de1[_0x26b397(0x190)](nestedKeyValue,global[_0x26b397(0x233)],[_0x2a5de1[_0x26b397(0x20f)],_0x2a5de1[_0x26b397(0x19a)],_0x2a5de1[_0x26b397(0x21d)]])&&_0x2a5de1['vsDix'](shouldScanTestForAccessibility,global['__workerDetails'][_0x26b397(0x222)][_0x26b397(0x1ca)]['titlePath'],!![])&&scripts[_0x26b397(0x1d7)](arguments[0x1])){logger['debug'](_0x26b397(0x1d5)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x49bca2=_0x2a5de1[_0x26b397(0x190)](nestedKeyValue,global,[_0x2a5de1[_0x26b397(0x198)],_0x2a5de1['dkgQj']]);_0x49bca2&&logger['info'](_0x26b397(0x1c1)+util[_0x26b397(0x20b)](await _0x2a5de1['vsDix'](performScanWithRetry,_0x49bca2,arguments[0x1]))),_0x2a5de1[_0x26b397(0x217)](arguments[0x0][_0x26b397(0x224)],_0x2a5de1[_0x26b397(0x1c5)])&&global[_0x26b397(0x23b)]&&logger[_0x26b397(0x19f)]('Driver\x20Scan\x20result='+util['format'](await _0x2a5de1[_0x26b397(0x1ad)](performScanWithRetry,global[_0x26b397(0x23b)],arguments[0x1],scripts[_0x26b397(0x22f)])));}}catch(_0x37548e){logger['debug'](_0x26b397(0x1a2)+util[_0x26b397(0x20b)](_0x37548e));}return global[_0x26b397(0x1f8)]=![],_0x374446[_0x26b397(0x207)](this,arguments);};}}),!_0x5a31d2[_0x74a742(0x1dc)](isFalse,process['env'][_0x74a742(0x1e2)])&&Object[_0x74a742(0x23a)](_0x516ee9[_0x74a742(0x1a3)],_0x5a31d2['WEinY'],{'get':function(){const _0x5343ed={'HOmEK':function(_0x305f99,_0x19011e){const _0x11af16=a47_0x1bb5;return _0x5a31d2[_0x11af16(0x1b5)](_0x305f99,_0x19011e);},'qCFeO':function(_0x840d07,_0x1e0ad4){const _0x461aa3=a47_0x1bb5;return _0x5a31d2[_0x461aa3(0x186)](_0x840d07,_0x1e0ad4);},'xuDOw':function(_0x31b295,_0x49ed11){const _0xe78b1f=a47_0x1bb5;return _0x5a31d2[_0xe78b1f(0x1dc)](_0x31b295,_0x49ed11);}};return async function _0x5dea0d(_0x2dd4e5){const _0x47c5b4=a47_0x1bb5;if(BrowserstackCLI['getInstance']()[_0x47c5b4(0x1fc)]()){const _0x2d30cb={};_0x2d30cb['message']=_0x2dd4e5,await BrowserstackCLI[_0x47c5b4(0x194)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x47c5b4(0x182)],_0x2d30cb);}else{const _0xd1f23=_0x2dd4e5&&_0x2dd4e5[_0x47c5b4(0x223)]&&_0x2dd4e5[_0x47c5b4(0x223)][_0x47c5b4(0x238)];if(_0xd1f23){const _0x32bae0=_0xd1f23[_0x47c5b4(0x232)],_0x18d593=_0xd1f23[_0x47c5b4(0x216)];_0x5343ed[_0x47c5b4(0x199)](!_0x32bae0,!_0x18d593)&&await ClientTroubleShootingService[_0x47c5b4(0x1f3)](),_0x18d593&&(_0x5343ed[_0x47c5b4(0x1a7)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x18d593[_0x47c5b4(0x189)]()),_0x14d44a[_0x47c5b4(0x22d)][_0x47c5b4(0x1d6)]=_0x18d593[_0x47c5b4(0x1ae)],_0x14d44a[_0x47c5b4(0x22d)][_0x47c5b4(0x1b8)]=_0x18d593['platformVersion']),_0x32bae0&&(_0x5343ed[_0x47c5b4(0x1ff)](debug,_0x47c5b4(0x1cd)+_0x32bae0),_0x14d44a[_0x47c5b4(0x22d)]['bsSessionId']=_0x32bae0);}}return _0x415409[_0x47c5b4(0x207)](this,arguments);};}});}}catch(_0x5d5299){_0x5a31d2[_0x74a742(0x1b4)](debug,_0x74a742(0x1df)+_0x5d5299),_0x14d44a[_0x74a742(0x22a)]=_0x5d5299[_0x74a742(0x189)]();}}static[a47_0x26a190(0x1c0)](){const _0x384b37=a47_0x26a190,_0x1777d6={'rdWpZ':function(_0x4ffc0b,_0x14fa07){return _0x4ffc0b(_0x14fa07);},'xIsHP':function(_0x5d5e57,_0x35bad9){return _0x5d5e57(_0x35bad9);},'jGWwX':function(_0x5aaa8c){return _0x5aaa8c();},'ThXox':'lib','fcedc':_0x384b37(0x1be),'DOxgE':'chromium','Ebbjv':_0x384b37(0x1da),'ikIPG':function(_0x38324e,_0x22f161){return _0x38324e(_0x22f161);},'KicNO':function(_0x262317,_0x56e50f){return _0x262317(_0x56e50f);},'lAzVw':_0x384b37(0x201),'MqEBC':'Error\x20in\x20importing\x20crConnection','ZhTez':function(_0x168a81,_0x2ab4ec){return _0x168a81!=_0x2ab4ec;},'xiBjG':_0x384b37(0x1ed)},_0x1f6bf0=this;if(_0x1777d6['jGWwX'](isAccessibilityAutomationSession)){let _0xa7b29=null;try{const _0x204a89=path[_0x384b37(0x239)](_0x1777d6[_0x384b37(0x212)],_0x1777d6['fcedc'],_0x1777d6[_0x384b37(0x18c)],_0x1777d6[_0x384b37(0x234)]),_0x1f1d8d=_0x1777d6['ikIPG'](importFileFromPWCore,_0x204a89);!_0x1f1d8d?_0x1777d6[_0x384b37(0x18b)](debug,_0x1777d6[_0x384b37(0x1b6)]):_0xa7b29=_0x1f1d8d[_0x384b37(0x1c7)];}catch(_0x1660f0){_0x1777d6['rdWpZ'](debug,_0x1777d6[_0x384b37(0x1ce)]);}try{if(_0x1777d6[_0x384b37(0x21a)](_0xa7b29,null)){const _0x30d758=_0xa7b29[_0x384b37(0x1a3)][_0x384b37(0x1ed)];Object['defineProperty'](_0xa7b29[_0x384b37(0x1a3)],_0x1777d6[_0x384b37(0x195)],{'get':function(){const _0x35bda0={'sCeQu':function(_0x424377,_0x2e6707){return _0x1777d6['rdWpZ'](_0x424377,_0x2e6707);},'ltkvg':function(_0x1b159c,_0x4002ea){const _0x4fc9fb=a47_0x1bb5;return _0x1777d6[_0x4fc9fb(0x1d9)](_0x1b159c,_0x4002ea);}};return async function _0x408d06(_0x4c98bb){const _0x4fdbe5=a47_0x1bb5;try{if(BrowserstackCLI[_0x4fdbe5(0x194)]()[_0x4fdbe5(0x1fc)]()){const _0x21419d={};_0x21419d[_0x4fdbe5(0x1a0)]=_0x4c98bb,await BrowserstackCLI[_0x4fdbe5(0x194)]()['getAutomationFramework']()[_0x4fdbe5(0x211)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x4fdbe5(0x182)],_0x21419d),delete _0x4c98bb[_0x4fdbe5(0x1cf)];}else{const _0x16ef59=_0x4c98bb[_0x4fdbe5(0x1cf)];if(_0x16ef59){delete _0x4c98bb['bStackParams'];const _0x2dfc08=_0x16ef59['sessionId'],_0x159f0e=_0x16ef59[_0x4fdbe5(0x216)];_0x159f0e&&(_0x35bda0[_0x4fdbe5(0x1e9)](debug,_0x4fdbe5(0x17d)+_0x159f0e['toString']()),_0x1f6bf0[_0x4fdbe5(0x22d)][_0x4fdbe5(0x1d6)]=_0x159f0e[_0x4fdbe5(0x1ae)],_0x1f6bf0[_0x4fdbe5(0x22d)][_0x4fdbe5(0x1b8)]=_0x159f0e['platformVersion']),_0x2dfc08&&(_0x35bda0[_0x4fdbe5(0x22c)](debug,_0x4fdbe5(0x204)+_0x2dfc08),_0x1f6bf0[_0x4fdbe5(0x22d)]['bsSessionId']=_0x2dfc08);}}}catch(_0x38c654){_0x35bda0[_0x4fdbe5(0x1e9)](debug,_0x4fdbe5(0x18f)+_0x38c654[_0x4fdbe5(0x189)]());}return _0x30d758[_0x4fdbe5(0x207)](this,arguments);};}});}}catch(_0x2a3bed){_0x1777d6[_0x384b37(0x219)](debug,_0x384b37(0x1b0)+_0x2a3bed),_0x1f6bf0[_0x384b37(0x22a)]=_0x2a3bed[_0x384b37(0x189)]();}}}static['getDetails'](){const _0x2e7158=a47_0x26a190;return this[_0x2e7158(0x22d)];}}module[a47_0x26a190(0x18e)]=PlaywrightSessionDetails;
|
|
1
|
+
const a47_0x4afe7f=a47_0x52b2;(function(_0x23c146,_0x4aa584){const _0x1d8aaa=a47_0x52b2,_0x513b78=_0x23c146();while(!![]){try{const _0x1273ed=parseInt(_0x1d8aaa(0xfa))/0x1*(parseInt(_0x1d8aaa(0x11e))/0x2)+-parseInt(_0x1d8aaa(0xd8))/0x3*(parseInt(_0x1d8aaa(0xf2))/0x4)+parseInt(_0x1d8aaa(0xcc))/0x5*(parseInt(_0x1d8aaa(0xc9))/0x6)+parseInt(_0x1d8aaa(0xf5))/0x7*(-parseInt(_0x1d8aaa(0x11f))/0x8)+-parseInt(_0x1d8aaa(0x154))/0x9*(parseInt(_0x1d8aaa(0xc5))/0xa)+parseInt(_0x1d8aaa(0x141))/0xb*(-parseInt(_0x1d8aaa(0xf8))/0xc)+parseInt(_0x1d8aaa(0xce))/0xd;if(_0x1273ed===_0x4aa584)break;else _0x513b78['push'](_0x513b78['shift']());}catch(_0x5c72ff){_0x513b78['push'](_0x513b78['shift']());}}}(a47_0x1f3e,0x73540));const path=require(a47_0x4afe7f(0x15c)),url=require('url'),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x4afe7f(0x116)),{o11yErrorHandler}=require(a47_0x4afe7f(0xb6)),{debug,getPlatformDetails}=require(a47_0x4afe7f(0x161)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x4afe7f(0xd2)),logger=require(a47_0x4afe7f(0xd6))[a47_0x4afe7f(0x125)],scripts=require(a47_0x4afe7f(0x16c)),{browserStackExecuteDriver}=require(a47_0x4afe7f(0x13c)),AccessibilityHelper=require(a47_0x4afe7f(0xdd)),constants=require(a47_0x4afe7f(0x111)),BrowserstackCLI=require(a47_0x4afe7f(0x150)),AutomationFrameworkState=require(a47_0x4afe7f(0x106)),HookState=require(a47_0x4afe7f(0x110)),{performScanWithRetry}=require(a47_0x4afe7f(0x14b)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x32b5a3=>{const _0x34e511=a47_0x4afe7f,_0x5366eb={};_0x5366eb['PDkkO']='chrome',_0x5366eb[_0x34e511(0xd4)]=_0x34e511(0xfd),_0x5366eb[_0x34e511(0x159)]=_0x34e511(0x11d),_0x5366eb[_0x34e511(0x12e)]='safari';const _0x4f93be=_0x5366eb;if(_0x32b5a3['includes'](_0x4f93be['PDkkO']))return _0x4f93be[_0x34e511(0xf0)];if(_0x32b5a3[_0x34e511(0xe2)](_0x4f93be['mWjDO']))return _0x4f93be[_0x34e511(0xd4)];if(_0x32b5a3['includes'](_0x4f93be['tAbLJ']))return _0x4f93be[_0x34e511(0x159)];if(_0x32b5a3[_0x34e511(0xe2)](_0x4f93be[_0x34e511(0x12e)]))return _0x4f93be[_0x34e511(0x12e)];},getBrowserFromWSEndpoint=_0x56e1aa=>{const _0x891097=a47_0x4afe7f,_0x44cb1c={'SlbDZ':_0x891097(0xcd),'mYEhW':function(_0x230939,_0x531b5c){return _0x230939(_0x531b5c);}};try{const _0x155d5f=url[_0x891097(0x14e)](_0x56e1aa),_0xf812ac=new URLSearchParams(_0x155d5f[_0x891097(0x123)]),_0x32dd8a=Object[_0x891097(0x105)](_0xf812ac[_0x891097(0x112)]()),_0x171484=JSON[_0x891097(0x14e)](_0x32dd8a[_0x891097(0x148)]);if(_0x171484&&(_0x171484[_0x891097(0xc2)]||_0x171484[_0x891097(0xd3)]))return _0x171484[_0x891097(0xc2)]||_0x171484['browserName'];return _0x44cb1c['SlbDZ'];}catch(_0x3b519e){_0x44cb1c[_0x891097(0xaf)](debug,_0x891097(0x169)+_0x3b519e[_0x891097(0xd1)]());}},getCloudProviderFromWsEndpoint=_0x7841d1=>{const _0x10b483=a47_0x4afe7f,_0x593808={};_0x593808[_0x10b483(0x127)]=_0x10b483(0x152),_0x593808[_0x10b483(0x15a)]=_0x10b483(0x12d);const _0x31fd8d=_0x593808;if(_0x7841d1[_0x10b483(0xe2)](constants['BSTACK_URL'])||_0x7841d1[_0x10b483(0xe2)](constants[_0x10b483(0x10b)]))return _0x31fd8d[_0x10b483(0x127)];return _0x31fd8d[_0x10b483(0x15a)];},a47_0x49bcd0={};a47_0x49bcd0[a47_0x4afe7f(0x12b)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x128)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0xc2)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x15d)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x13d)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x102)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0x134)]=undefined,a47_0x49bcd0[a47_0x4afe7f(0xb8)]={};class PlaywrightSessionDetails{static [a47_0x4afe7f(0x165)]=a47_0x49bcd0;constructor(){const _0xc3d28e=a47_0x4afe7f,_0x1a415c={};_0x1a415c[_0xc3d28e(0xe4)]=_0xc3d28e(0x160);const _0x562208=_0x1a415c;throw new Error(_0x562208[_0xc3d28e(0xe4)]);}static [a47_0x4afe7f(0xcf)]=null;static[a47_0x4afe7f(0xdc)](_0x2e80cb,_0x3613ec,_0x4bdeff=null){const _0x6fc679=a47_0x4afe7f,_0x16b189={'LNtsn':function(_0x562404,_0x30ea83){return _0x562404===_0x30ea83;},'YFRpF':_0x6fc679(0x13a),'vqciE':_0x6fc679(0xdb),'NTBxe':_0x6fc679(0x118),'CBJAj':_0x6fc679(0xcb),'SUrfo':function(_0x226bd4,_0x286a1c,_0x19fa00){return _0x226bd4(_0x286a1c,_0x19fa00);},'smxHd':_0x6fc679(0xed),'TEksN':_0x6fc679(0xad),'dOhWL':function(_0x32d76e,_0x18496b,_0x28e9c){return _0x32d76e(_0x18496b,_0x28e9c);},'CDCMx':_0x6fc679(0x145),'WCLmg':_0x6fc679(0x135),'ZLSKA':_0x6fc679(0x138),'RiBZa':function(_0x17d829,_0x48a7a1){return _0x17d829(_0x48a7a1);},'AHHSv':function(_0x1ce15d,_0x35bb83){return _0x1ce15d===_0x35bb83;},'ynwmJ':_0x6fc679(0x152),'VZFuX':_0x6fc679(0xba),'eMliK':'automate','SZQpU':function(_0x275d0c,_0x2eaa91){return _0x275d0c+_0x2eaa91;},'QfZKv':_0x6fc679(0xec),'JVpzH':function(_0x4da514){return _0x4da514();},'Wnofs':_0x6fc679(0xdc)},_0x590de8=this;return _0x16b189[_0x6fc679(0xe5)](o11yErrorHandler,async function _0x10acb7(_0x3fb27b,_0x3ca64a,_0x878a54=null){const _0x437d81=_0x6fc679;let _0x3f80c1=_0x3fb27b['_name'],_0x53cfbb=null;_0x3fb27b&&_0x16b189[_0x437d81(0xb7)](typeof _0x3fb27b[_0x437d81(0x162)],_0x16b189['YFRpF'])?_0x53cfbb=_0x3fb27b['version']():logger['debug'](_0x16b189[_0x437d81(0xd9)]);let _0x4a1dcf=null;_0x3fb27b&&_0x16b189['LNtsn'](typeof _0x3fb27b[_0x437d81(0xb9)],_0x16b189['YFRpF'])?_0x4a1dcf=_0x3fb27b[_0x437d81(0xb9)]():logger[_0x437d81(0x10d)](_0x16b189[_0x437d81(0x10f)]);let _0x198552=null,_0xae070b=null,_0x351a98=null,_0x2a61cd=_0x16b189[_0x437d81(0xe6)];if(_0x3fb27b[_0x437d81(0x15f)]['isRemote']()||global[_0x437d81(0xeb)]){let _0x1ff706=null;_0x16b189['SUrfo'](nestedKeyValue,_0x3fb27b,[_0x16b189[_0x437d81(0x158)],_0x16b189[_0x437d81(0x101)]])?_0x1ff706=_0x3fb27b[_0x437d81(0xed)][_0x437d81(0xad)]:_0x1ff706=_0x16b189[_0x437d81(0xe5)](nestedKeyValue,_0x3ca64a,[_0x16b189['CDCMx'],_0x16b189[_0x437d81(0xb0)],_0x16b189[_0x437d81(0xda)]]);const _0x3206f7=_0x878a54||_0x1ff706&&_0x1ff706[_0x437d81(0xf9)];_0x3206f7&&(_0x2a61cd=_0x16b189[_0x437d81(0xd7)](getCloudProviderFromWsEndpoint,_0x3206f7),_0x16b189['AHHSv'](_0x2a61cd,_0x16b189[_0x437d81(0x16d)])&&(_0x351a98=constants[_0x437d81(0xc6)][_0x437d81(0xf4)](_0x3206f7)?_0x16b189[_0x437d81(0x12a)]:_0x16b189[_0x437d81(0x10e)],_0x3f80c1=_0x16b189[_0x437d81(0xd7)](getBrowserFromWSEndpoint,_0x3206f7)||_0x3f80c1,_0x198552=_0x590de8[_0x437d81(0x165)][_0x437d81(0x13d)],_0xae070b=_0x590de8['currentSessionDetails'][_0x437d81(0x102)]));}else{_0x3ca64a&&_0x3ca64a[_0x437d81(0x145)][_0x437d81(0x135)][_0x437d81(0x122)]?_0x3f80c1=_0x16b189[_0x437d81(0xd7)](getBrowserNameFromChannel,_0x3ca64a[_0x437d81(0x145)][_0x437d81(0x135)]['channel']):_0x3f80c1=_0x16b189[_0x437d81(0xc8)](_0x16b189['QfZKv'],_0x3f80c1[_0x437d81(0xf6)]());const _0x2100b1=await _0x16b189[_0x437d81(0x114)](getPlatformDetails);_0x198552=_0x2100b1[_0x437d81(0x121)],_0xae070b=_0x2100b1['platformVersion'];}const _0x40fe5b={};_0x40fe5b[_0x437d81(0xc2)]=_0x3f80c1,_0x40fe5b[_0x437d81(0x15d)]=_0x53cfbb,_0x40fe5b['capabilities']={},_0x40fe5b[_0x437d81(0x13d)]=_0x198552,_0x40fe5b[_0x437d81(0x102)]=_0xae070b,_0x40fe5b[_0x437d81(0x134)]=_0x351a98;const _0x127aa2=_0x40fe5b;_0x4a1dcf&&(_0x127aa2[_0x437d81(0xb8)][_0x437d81(0x11c)]=_0x4a1dcf);const _0x3a8ad2={};_0x3a8ad2[_0x437d81(0x12b)]=_0x2a61cd,_0x590de8[_0x437d81(0x165)]=Object['assign']({},_0x590de8[_0x437d81(0x165)],_0x3a8ad2,_0x127aa2);},_0x16b189[_0x6fc679(0x137)])(_0x2e80cb,_0x3613ec,_0x4bdeff);}static[a47_0x4afe7f(0x109)](){const _0x566cb9=a47_0x4afe7f;this[_0x566cb9(0xb4)](),this['patchCRConnection']();}static[a47_0x4afe7f(0xb4)](){const _0x125f62=a47_0x4afe7f,_0x2cd641={'DXfFo':function(_0x2aa5b8,_0x5f1e4f,_0x22dbbb){return _0x2aa5b8(_0x5f1e4f,_0x22dbbb);},'LNjCG':_0x125f62(0xc7),'lKklq':_0x125f62(0x13b),'DSfBc':_0x125f62(0xf3),'OwKOH':function(_0x3540b2,_0x207aa7,_0x4332a4){return _0x3540b2(_0x207aa7,_0x4332a4);},'YkZpV':_0x125f62(0x100),'sFJDY':'pwPage','xoqvb':function(_0x336e5f,_0x416488){return _0x336e5f===_0x416488;},'kWDyB':_0x125f62(0x115),'zgNxG':function(_0x4c752d,_0xa1ed4e,_0x4ff765,_0x29b7f5){return _0x4c752d(_0xa1ed4e,_0x4ff765,_0x29b7f5);},'hmmVs':function(_0x5391ac,_0x502f02){return _0x5391ac||_0x502f02;},'tkcmu':function(_0xfb75cf,_0xcd6686){return _0xfb75cf(_0xcd6686);},'KDveC':function(_0x39d732,_0x115551){return _0x39d732(_0x115551);},'LfCSi':_0x125f62(0x10c),'VQIQh':'client','AvhrE':'connection.js','xqFWs':function(_0x8ee886,_0x3e3c13){return _0x8ee886(_0x3e3c13);},'RCHdn':'Not\x20able\x20to\x20import\x20Connection','tdkIJ':function(_0x1ee25d,_0x482663){return _0x1ee25d(_0x482663);},'mfqgg':function(_0x45cc74,_0x1dc04b){return _0x45cc74!=_0x1dc04b;},'UtURJ':function(_0x4155d6){return _0x4155d6();},'zXPnk':_0x125f62(0x144),'iGGjY':function(_0x4971b2,_0x1befcd){return _0x4971b2(_0x1befcd);},'DukDF':_0x125f62(0xb1),'otuqd':function(_0x4116de,_0x567dc0){return _0x4116de(_0x567dc0);}},_0x3add22=this;if(!this[_0x125f62(0xf7)])try{const _0x50aec5=path[_0x125f62(0xea)](_0x2cd641['LfCSi'],_0x2cd641['VQIQh'],_0x2cd641[_0x125f62(0xbf)]),_0x1afd3a=_0x2cd641['KDveC'](importFileFromPWCore,_0x50aec5);!_0x1afd3a?_0x2cd641[_0x125f62(0xb3)](debug,_0x2cd641['RCHdn']):this[_0x125f62(0xf7)]=_0x1afd3a[_0x125f62(0xf7)];}catch(_0x58fae9){_0x2cd641[_0x125f62(0xc0)](debug,_0x125f62(0xe1)+_0x58fae9[_0x125f62(0xd1)]());}const _0x14d775=this['Connection'];try{if(_0x2cd641[_0x125f62(0x163)](_0x14d775,null)){const _0x5c977d=_0x14d775['prototype'][_0x125f62(0xb1)],_0x3f8434=_0x14d775['prototype']['sendMessageToServer'];_0x2cd641['UtURJ'](isAccessibilityAutomationSession)&&Object[_0x125f62(0x156)](_0x14d775['prototype'],_0x2cd641[_0x125f62(0x107)],{'get':function(){const _0x39d778=_0x125f62,_0x599577={'QBiIG':function(_0x3e6410,_0x1258ec,_0x5200c4){const _0xb3c261=a47_0x52b2;return _0x2cd641[_0xb3c261(0x132)](_0x3e6410,_0x1258ec,_0x5200c4);},'IIvuO':_0x2cd641['LNjCG'],'pWCRQ':_0x2cd641[_0x39d778(0x126)],'UgdNw':_0x2cd641['DSfBc'],'lhUaK':function(_0x42eaff,_0x107da6,_0x448924){return _0x2cd641['OwKOH'](_0x42eaff,_0x107da6,_0x448924);},'MhRsb':_0x2cd641[_0x39d778(0xe7)],'TmhGp':_0x2cd641[_0x39d778(0xde)],'UzFLt':function(_0x4435d0,_0x458f1b,_0x4784aa){const _0x50e635=_0x39d778;return _0x2cd641[_0x50e635(0xe0)](_0x4435d0,_0x458f1b,_0x4784aa);},'yXSzA':function(_0x546955,_0x4a5cbd){return _0x2cd641['xoqvb'](_0x546955,_0x4a5cbd);},'pOOmX':_0x2cd641[_0x39d778(0xef)],'SMysw':function(_0x311466,_0x17ea1b,_0x1decde,_0x3b7889){return _0x2cd641['zgNxG'](_0x311466,_0x17ea1b,_0x1decde,_0x3b7889);}};return async function(){const _0x541cce=_0x39d778;try{if(!global[_0x541cce(0xca)]&&global[_0x541cce(0xeb)]&&_0x599577[_0x541cce(0x12f)](nestedKeyValue,global[_0x541cce(0x100)],[_0x599577[_0x541cce(0x124)],_0x599577[_0x541cce(0x13e)],_0x599577[_0x541cce(0xdf)]])&&_0x599577[_0x541cce(0xfc)](shouldScanTestForAccessibility,global[_0x541cce(0x100)][_0x541cce(0xc7)]['testInfo']['titlePath'],!![])&&scripts[_0x541cce(0x10a)](arguments[0x1])){logger[_0x541cce(0x10d)](_0x541cce(0x14a)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0xb71f7b=_0x599577[_0x541cce(0xfc)](nestedKeyValue,global,[_0x599577['MhRsb'],_0x599577[_0x541cce(0xd0)]]);_0xb71f7b&&logger[_0x541cce(0x142)](_0x541cce(0xbd)+util[_0x541cce(0x14d)](await _0x599577[_0x541cce(0x129)](performScanWithRetry,_0xb71f7b,arguments[0x1]))),_0x599577[_0x541cce(0xc4)](arguments[0x0][_0x541cce(0x139)],_0x599577[_0x541cce(0x14c)])&&global[_0x541cce(0x153)]&&logger[_0x541cce(0x142)](_0x541cce(0x15e)+util[_0x541cce(0x14d)](await _0x599577[_0x541cce(0x168)](performScanWithRetry,global[_0x541cce(0x153)],arguments[0x1],scripts[_0x541cce(0xc1)])));}}catch(_0x3104d8){logger[_0x541cce(0x10d)](_0x541cce(0x120)+util[_0x541cce(0x14d)](_0x3104d8));}return global[_0x541cce(0xca)]=![],_0x3f8434[_0x541cce(0xd5)](this,arguments);};}}),!_0x2cd641[_0x125f62(0x117)](isFalse,process[_0x125f62(0xbb)][_0x125f62(0xee)])&&Object[_0x125f62(0x156)](_0x14d775[_0x125f62(0x133)],_0x2cd641[_0x125f62(0xb2)],{'get':function(){return async function _0x3f8cab(_0x21bc19){const _0x4b07d1=a47_0x52b2;if(BrowserstackCLI[_0x4b07d1(0x16e)]()[_0x4b07d1(0x16b)]()){const _0x58fd34={};_0x58fd34[_0x4b07d1(0x11b)]=_0x21bc19,await BrowserstackCLI[_0x4b07d1(0x16e)]()['getAutomationFramework']()[_0x4b07d1(0x16f)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x4b07d1(0xb5)],_0x58fd34);}else{const _0x24e6b0=_0x21bc19&&_0x21bc19[_0x4b07d1(0x140)]&&_0x21bc19[_0x4b07d1(0x140)]['bsParams'];if(_0x24e6b0){const _0x572587=_0x24e6b0[_0x4b07d1(0xfe)],_0xfcd8d4=_0x24e6b0['platformDetails'];_0x2cd641['hmmVs'](!_0x572587,!_0xfcd8d4)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0xfcd8d4&&(_0x2cd641['tkcmu'](debug,_0x4b07d1(0x151)+_0xfcd8d4['toString']()),_0x3add22['currentSessionDetails']['platform']=_0xfcd8d4['platformName'],_0x3add22[_0x4b07d1(0x165)][_0x4b07d1(0x102)]=_0xfcd8d4['platformVersion']),_0x572587&&(_0x2cd641[_0x4b07d1(0x104)](debug,_0x4b07d1(0x13f)+_0x572587),_0x3add22[_0x4b07d1(0x165)][_0x4b07d1(0x128)]=_0x572587);}}return _0x5c977d[_0x4b07d1(0xd5)](this,arguments);};}});}}catch(_0xf46c5f){_0x2cd641[_0x125f62(0x167)](debug,_0x125f62(0x164)+_0xf46c5f),_0x3add22[_0x125f62(0xcf)]=_0xf46c5f[_0x125f62(0xd1)]();}}static[a47_0x4afe7f(0xf1)](){const _0x189e06=a47_0x4afe7f,_0x21f4ca={'phHgn':function(_0x8bacce,_0x58de2a){return _0x8bacce(_0x58de2a);},'WEbXn':function(_0x554740,_0x5287bc){return _0x554740(_0x5287bc);},'rYGmU':function(_0x47f675,_0x134cda){return _0x47f675(_0x134cda);},'TQnKP':function(_0x3be820){return _0x3be820();},'Oqfow':_0x189e06(0x10c),'tGMIM':_0x189e06(0xc3),'ieCBU':'chromium','qyGcT':_0x189e06(0x11a),'vkCLK':function(_0x387791,_0x5cf2cb){return _0x387791(_0x5cf2cb);},'OWdao':_0x189e06(0x155),'XFxnK':function(_0xb2f2bf,_0x1621a1){return _0xb2f2bf(_0x1621a1);},'qcCCe':_0x189e06(0x15b),'RdNkX':function(_0xbf9537,_0xd9ca3c){return _0xbf9537!=_0xd9ca3c;},'hayMj':_0x189e06(0x16a),'SKqlS':function(_0x3b9fd8,_0x19245b){return _0x3b9fd8(_0x19245b);}},_0x2e11a3=this;if(_0x21f4ca['TQnKP'](isAccessibilityAutomationSession)){let _0x31d394=null;try{const _0x51253a=path[_0x189e06(0xea)](_0x21f4ca['Oqfow'],_0x21f4ca[_0x189e06(0xe8)],_0x21f4ca[_0x189e06(0xff)],_0x21f4ca['qyGcT']),_0x25589d=_0x21f4ca[_0x189e06(0xbc)](importFileFromPWCore,_0x51253a);!_0x25589d?_0x21f4ca[_0x189e06(0x147)](debug,_0x21f4ca[_0x189e06(0x113)]):_0x31d394=_0x25589d[_0x189e06(0x131)];}catch(_0x151218){_0x21f4ca['XFxnK'](debug,_0x21f4ca[_0x189e06(0xe9)]);}try{if(_0x21f4ca[_0x189e06(0x143)](_0x31d394,null)){const _0x3132df=_0x31d394[_0x189e06(0x133)][_0x189e06(0x16a)];Object[_0x189e06(0x156)](_0x31d394[_0x189e06(0x133)],_0x21f4ca['hayMj'],{'get':function(){const _0x4f26bf={'UyEgQ':function(_0x44b257,_0x2b0a33){const _0x53d69c=a47_0x52b2;return _0x21f4ca[_0x53d69c(0xe3)](_0x44b257,_0x2b0a33);},'efHpz':function(_0xa3cdc7,_0x20f2de){const _0x22b238=a47_0x52b2;return _0x21f4ca[_0x22b238(0xbc)](_0xa3cdc7,_0x20f2de);},'lVryA':function(_0xf9e243,_0x1e5611){const _0x26776e=a47_0x52b2;return _0x21f4ca[_0x26776e(0xbe)](_0xf9e243,_0x1e5611);}};return async function _0x1a8617(_0x3177ed){const _0x2dbb5c=a47_0x52b2;try{if(BrowserstackCLI[_0x2dbb5c(0x16e)]()[_0x2dbb5c(0x16b)]()){const _0x21efb9={};_0x21efb9['message']=_0x3177ed,await BrowserstackCLI[_0x2dbb5c(0x16e)]()[_0x2dbb5c(0x103)]()[_0x2dbb5c(0x16f)](AutomationFrameworkState[_0x2dbb5c(0xae)],HookState[_0x2dbb5c(0xb5)],_0x21efb9),delete _0x3177ed[_0x2dbb5c(0x12c)];}else{const _0x18e4a5=_0x3177ed[_0x2dbb5c(0x12c)];if(_0x18e4a5){delete _0x3177ed[_0x2dbb5c(0x12c)];const _0x4f2910=_0x18e4a5[_0x2dbb5c(0xfe)],_0x1750ac=_0x18e4a5['platformDetails'];_0x1750ac&&(_0x4f26bf[_0x2dbb5c(0x136)](debug,_0x2dbb5c(0x108)+_0x1750ac[_0x2dbb5c(0xd1)]()),_0x2e11a3[_0x2dbb5c(0x165)][_0x2dbb5c(0x13d)]=_0x1750ac['platformName'],_0x2e11a3['currentSessionDetails'][_0x2dbb5c(0x102)]=_0x1750ac[_0x2dbb5c(0x130)]),_0x4f2910&&(_0x4f26bf[_0x2dbb5c(0xfb)](debug,_0x2dbb5c(0x166)+_0x4f2910),_0x2e11a3[_0x2dbb5c(0x165)]['bsSessionId']=_0x4f2910);}}}catch(_0x495ba4){_0x4f26bf[_0x2dbb5c(0x119)](debug,_0x2dbb5c(0x157)+_0x495ba4['toString']());}return _0x3132df['apply'](this,arguments);};}});}}catch(_0x415329){_0x21f4ca[_0x189e06(0x149)](debug,_0x189e06(0x146)+_0x415329),_0x2e11a3[_0x189e06(0xcf)]=_0x415329[_0x189e06(0xd1)]();}}}static['getDetails'](){const _0x1057c0=a47_0x4afe7f;return this[_0x1057c0(0x165)];}}function a47_0x52b2(_0x3dc51,_0xa1ee63){const _0x1f3e5f=a47_0x1f3e();return a47_0x52b2=function(_0x52b232,_0x689c75){_0x52b232=_0x52b232-0xad;let _0x495939=_0x1f3e5f[_0x52b232];return _0x495939;},a47_0x52b2(_0x3dc51,_0xa1ee63);}module[a47_0x4afe7f(0x14f)]=PlaywrightSessionDetails;function a47_0x1f3e(){const _0x1e4798=['WCLmg','dispatch','DukDF','xqFWs','patchConnection','POST','../../helpers/test-observability/error-handler','LNtsn','capabilities','model','turboscale','env','WEbXn','Page\x20Scan\x20result=','rYGmU','AvhrE','tdkIJ','performScan','browser','server','yXSzA','50TUPYqm','ATS_WSS_URL_REGEX','currentTest','SZQpU','32622ZoxowU','bstackPerformA11yScan','local_grid','185fIFvSQ','chrome','29775486LCEwnE','sessionError','TmhGp','toString','../../helpers/accessibility-automation/helper','browserName','mWjDO','apply','../../helpers/logger','RiBZa','326598JXQmJq','vqciE','ZLSKA','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','setupBrowserDetails','./accessibility-helper','sFJDY','UgdNw','OwKOH','Error\x20in\x20importing\x20connection\x20','includes','phHgn','jebRJ','dOhWL','CBJAj','YkZpV','tGMIM','qcCCe','join','accessibilityPlatform','playwright-','_browserType','BROWSERSTACK_TEST_OBSERVABILITY','kWDyB','PDkkO','patchCRConnection','32lqoHtP','titlePath','test','8057SLSfmQ','toLowerCase','Connection','24gIvVGj','wsEndpoint','983nhJjKJ','efHpz','lhUaK','edge','sessionId','ieCBU','__workerDetails','TEksN','platform_version','getAutomationFramework','KDveC','fromEntries','../v2/state/automationFrameworkState.js','zXPnk','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','patch','shouldWrapCommand','BSTACK_ATS_URL','lib','debug','eMliK','NTBxe','../v2/state/hookState.js','../utils/constants','entries','OWdao','JVpzH','Page','../../helpers/helper','iGGjY','Device\x20Model\x20is\x20not\x20available','lVryA','crConnection.js','message','deviceModel','firefox','1230mjVzKD','4088ZIcfaO','Failed\x20to\x20perform\x20scan\x20','platformName','channel','query','IIvuO','winstonLogger','lKklq','lLxxX','bsSessionId','UzFLt','VZFuX','cloudProvider','bStackParams','unknown_grid','QqbMZ','QBiIG','platformVersion','CRConnection','DXfFo','prototype','product','use','UyEgQ','Wnofs','connectOptions','_type','function','testInfo','../../bin/playwright/accessibility-helper','platform','pWCRQ','Setting\x20session\x20id\x20received\x20from\x20BS\x20','params','3650559YJfWtH','info','RdNkX','sendMessageToServer','project','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','vkCLK','caps','SKqlS','Performing\x20scan\x20for\x20','../../helpers/accessibility-automation/accessibilityRetryHelper.js','pOOmX','format','parse','exports','../v2/browserstackCLI','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','browserstack','__driver','901665dKTPZE','Not\x20able\x20to\x20import\x20crConnection','defineProperty','Error\x20in\x20finding\x20platform\x20details\x20','smxHd','tAbLJ','aTTbn','Error\x20in\x20importing\x20crConnection','path','browser_version','Driver\x20Scan\x20result=','_connection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','../../helpers/test-observability/utils','version','mfqgg','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','currentSessionDetails','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','otuqd','SMysw','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','_onMessage','isRunning','../../helpers/accessibility-automation/scripts','ynwmJ','getInstance','trackEvent','_defaultConnectOptions','PLAYWRIGHT_DISPATCH','mYEhW'];a47_0x1f3e=function(){return _0x1e4798;};return a47_0x1f3e();}
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a48_0x3eb8(_0x1979e0,_0x2d6c57){const _0x2ebab1=a48_0x2eba();return a48_0x3eb8=function(_0x3eb8a3,_0x4a65e7){_0x3eb8a3=_0x3eb8a3-0x9e;let _0x38d78b=_0x2ebab1[_0x3eb8a3];return _0x38d78b;},a48_0x3eb8(_0x1979e0,_0x2d6c57);}const a48_0x36295e=a48_0x3eb8;(function(_0x19bbbc,_0x3551ce){const _0xbcdcb2=a48_0x3eb8,_0xc6423=_0x19bbbc();while(!![]){try{const _0x134856=parseInt(_0xbcdcb2(0xb0))/0x1*(parseInt(_0xbcdcb2(0xb9))/0x2)+-parseInt(_0xbcdcb2(0xab))/0x3*(parseInt(_0xbcdcb2(0x115))/0x4)+-parseInt(_0xbcdcb2(0xb2))/0x5*(-parseInt(_0xbcdcb2(0x114))/0x6)+parseInt(_0xbcdcb2(0x102))/0x7*(parseInt(_0xbcdcb2(0xe3))/0x8)+-parseInt(_0xbcdcb2(0xe9))/0x9*(parseInt(_0xbcdcb2(0xea))/0xa)+-parseInt(_0xbcdcb2(0xd1))/0xb+-parseInt(_0xbcdcb2(0xed))/0xc*(-parseInt(_0xbcdcb2(0xc3))/0xd);if(_0x134856===_0x3551ce)break;else _0xc6423['push'](_0xc6423['shift']());}catch(_0x592337){_0xc6423['push'](_0xc6423['shift']());}}}(a48_0x2eba,0x7e63e));const fs=require('fs'),path=require('path'),util=require(a48_0x36295e(0xdc)),spawn=require(a48_0x36295e(0xf3))[a48_0x36295e(0xbf)],{requireModule}=require(a48_0x36295e(0x128)),PerformanceTester=require(a48_0x36295e(0x104)),PerformanceEvents=require('../helpers/performance/constants')['EVENTS'],helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require(a48_0x36295e(0x108)),runIntegrations=require(a48_0x36295e(0xae)),yargs=require(a48_0x36295e(0xee)),Constants=require('./utils/constants'),BrowserstackCLI=require(a48_0x36295e(0x116)),logger=require(a48_0x36295e(0xa8))[a48_0x36295e(0x10a)],origArgs=Object[a48_0x36295e(0xda)]([],process['argv']),captureError=async(_0x4298b7,_0x5ccd06,_0x4cf71f,_0x215225=null)=>{const _0x558c6e=a48_0x36295e,_0x18299f={'IprxJ':function(_0x7011ee,_0x309670,_0x2832db,_0x247e0a){return _0x7011ee(_0x309670,_0x2832db,_0x247e0a);},'kQaaQ':'SDKTestSuccessful'};try{logger[_0x558c6e(0x124)](_0x558c6e(0x106)+origArgs['join']('\x20')),await _0x18299f[_0x558c6e(0xf9)](_0x4298b7,_0x5ccd06,_0x215225,_0x4cf71f);}catch(_0x5f0f36){process[_0x558c6e(0xa5)]=0x1,logger['error'](util[_0x558c6e(0x107)](_0x5f0f36));const _0xe4e35a={'globalException':util[_0x558c6e(0x107)]('%j',_0x5f0f36)};PerformanceTester[_0x558c6e(0x126)](PerformanceEvents[_0x558c6e(0xb5)],![],util[_0x558c6e(0x107)](_0x5f0f36));if(helper[_0x558c6e(0xaf)](global['config'])&&helper['isUndefined'](global[_0x558c6e(0x129)]))return;try{utilities[_0x558c6e(0xeb)](_0x18299f[_0x558c6e(0xba)],_0xe4e35a,global[_0x558c6e(0xfc)],global[_0x558c6e(0x129)]);}catch(_0x52879e){logger['debug'](_0x558c6e(0x11f)+_0x52879e['stack']);}try{await helper[_0x558c6e(0xb1)](global[_0x558c6e(0xfc)]);}catch(_0x11226b){logger[_0x558c6e(0xc6)](_0x558c6e(0xcd)+_0x11226b['stack']);}await BrowserstackCLI[_0x558c6e(0xd4)]()[_0x558c6e(0xdf)](),PerformanceTester[_0x558c6e(0x126)](PerformanceEvents['SDK_SETUP'],![],util[_0x558c6e(0x107)](_0x5f0f36));}finally{PerformanceTester[_0x558c6e(0xf8)](PerformanceEvents[_0x558c6e(0xcc)]);}};try{const browserstackFolderPath=path['join'](helper['homedir'](),a48_0x36295e(0xf7));if(fs[a48_0x36295e(0xe5)](browserstackFolderPath)){const filePath=path[a48_0x36295e(0xd7)](browserstackFolderPath,'.local-not-set.json');fs[a48_0x36295e(0xe5)](filePath)&&fs[a48_0x36295e(0xc1)](filePath);}}catch(a48_0x3231ed){logger['debug'](a48_0x36295e(0x10c)+a48_0x3231ed[a48_0x36295e(0xa1)]);}process[a48_0x36295e(0xd9)][a48_0x36295e(0xa0)](a48_0x36295e(0x112))&&(!process[a48_0x36295e(0xd9)]['includes']('--opts')&&process[a48_0x36295e(0xd9)][a48_0x36295e(0x9e)](a48_0x36295e(0x119)),!process[a48_0x36295e(0xd9)][a48_0x36295e(0xb7)](_0x4a0c3d=>_0x4a0c3d['includes']('--config'))&&process[a48_0x36295e(0xd9)]['push'](a48_0x36295e(0x121)),!process[a48_0x36295e(0xd9)][a48_0x36295e(0xa0)](a48_0x36295e(0x111))&&process[a48_0x36295e(0xd9)]['push'](a48_0x36295e(0xbe)),helper[a48_0x36295e(0xb4)](process[a48_0x36295e(0xd9)],a48_0x36295e(0xd0),'--mochaRequire'));PerformanceTester[a48_0x36295e(0xf8)](PerformanceEvents[a48_0x36295e(0xb5)]);const a48_0x45eee0={};function a48_0x2eba(){const _0x22bf4d=['SUqXy','findAndReplace','SDK_SETUP','Runs\x20the\x20binary\x20with\x20load\x20command','find','CUCUMBER','147332jxSadQ','kQaaQ','rbXYA','setBrowserStackAutomationDisable','gIVlF','--no-package','spawn','option','unlinkSync','mocha/lib/cli/commands.js','2242786IJvxST','zbbre','parserConfiguration','debug','help','vBmoL','ats','mocha/lib/cli/run.js','usage','SDK_CLEANUP','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','showHelpOnFail','VANILLA','--require','7418235CTOheg','JEST','AYnrl','getInstance','AKXKb','CaZao','join','ZNfXL','argv','assign','INFO','util','CODECEPTJS','run','stop','ipXpd','dLoDM','node','323704fWvnDE','PQAOv','existsSync','nightwatch','CfErV','NIGHTWATCH','3729438ursnFo','20sfRUAX','fireFunnelTestEvent','HST','108MuAETa','yargs','jest','fSxUq','./cucumber-js/command','xuoSa','child_process','handler','uIZRr','IxNFc','.browserstack','start','IprxJ','HELP','BROWSERSTACK_CONFIG_FILE_PATH','config','wrap','load\x20[subcommand]','./jest/command','INTEGRATIONS','./playwright/command','7FbpJcb','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','../helpers/performance/performance-tester','./load/index','Running\x20SDK\x20with\x20args\x20','format','../helpers/test-observability/constants','aZjhr','winstonLogger','oCCXo','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','playwright','BqfbL','RYLac','Parsing\x20command\x20line\x20arguments','--package','mocha','integrations','2523786mBETux','12700wwjOrh','./v2/browserstackCLI','./codeceptjs/command','command','--no-opts','wyUDN','EDpsU','alias','usage:\x20$0\x20<command>\x20[args]','demandCommand','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','anMAo','--no-config','getConfigPath','eFYgh','info','PLAYWRIGHT','end','cucumber-js','../helpers/helper','framework','dKzrE','push','boolean','includes','message','slice','UfjhX','env','exitCode','BByvi','codeceptjs','../helpers/logger','aZaXL','dot-notation','759xggiDd','setTestObservabilityDisable','VERSION','./integrations/command','isUndefined','11SFWOVC','sendLogs','5jZgYbk'];a48_0x2eba=function(){return _0x22bf4d;};return a48_0x2eba();}a48_0x45eee0[a48_0x36295e(0xaa)]=![];const argv=yargs[a48_0x36295e(0xc5)](a48_0x45eee0)[a48_0x36295e(0xcb)](a48_0x36295e(0x11d))[a48_0x36295e(0x11c)]('v','version')['describe']('v')[a48_0x36295e(0x11c)]('h',a48_0x36295e(0xc7))['help'](a48_0x36295e(0xc7))[a48_0x36295e(0xce)](!![],Constants[a48_0x36295e(0xad)][a48_0x36295e(0xfa)])['command'](a48_0x36295e(0xef),Constants[a48_0x36295e(0xd2)][a48_0x36295e(0xdb)],function(_0x331a9b){const _0x473006=a48_0x36295e,_0x367912={'cBTOI':'jest','RYLac':function(_0x11cc68,_0x30f831,_0x52ba91,_0x3f6214,_0x5d5004){return _0x11cc68(_0x30f831,_0x52ba91,_0x3f6214,_0x5d5004);},'PQAOv':function(_0x1c1f15,_0x272a82){return _0x1c1f15(_0x272a82);},'Ecqkm':_0x473006(0xff)},_0x5a497a=process[_0x473006(0xd9)][_0x473006(0xa2)](0x2);helper[_0x473006(0xac)](),helper[_0x473006(0xbc)]();const _0x495ff8=new BrowserStackSetup(_0x331a9b[_0x473006(0xd9)],_0x367912['cBTOI']);return _0x367912[_0x473006(0x10f)](captureError,_0x367912[_0x473006(0xe4)](require,_0x367912['Ecqkm']),_0x331a9b['argv'],_0x495ff8,_0x5a497a);})['command']('mocha',Constants['MOCHA'][a48_0x36295e(0xdb)],_0x1b2b07=>{const _0x337097=a48_0x36295e,_0x5f59d3={'eFYgh':function(_0x377922,_0x1e0ad2,_0x259c8e,_0x24ca71){return _0x377922(_0x1e0ad2,_0x259c8e,_0x24ca71);},'fSxUq':function(_0x33abf9,_0x35e6f0){return _0x33abf9(_0x35e6f0);},'ZNfXL':'./mocha/command','dLoDM':'mocha','ipXpd':_0x337097(0x110),'UfjhX':function(_0x16384c,_0x122087,_0x3dd6b4){return _0x16384c(_0x122087,_0x3dd6b4);},'YdwKp':_0x337097(0xca),'xuoSa':function(_0x18d71f,_0x124093,_0x25e915){return _0x18d71f(_0x124093,_0x25e915);},'wyUDN':_0x337097(0xc2),'ROjAV':'mocha/lib/cli/cli.js','uIZRr':function(_0x25953f){return _0x25953f();}};process[_0x337097(0xd9)]=process[_0x337097(0xd9)]['slice'](0x1),helper['setTestObservabilityDisable'](),helper[_0x337097(0xbc)]();const _0x423f7f=new BrowserStackSetup(_0x1b2b07['argv'],_0x5f59d3[_0x337097(0xe1)]);logger[_0x337097(0xc6)](_0x5f59d3[_0x337097(0xe0)]);const _0x17a5d3=_0x5f59d3[_0x337097(0xa3)](requireModule,_0x5f59d3['YdwKp'],_0x5f59d3[_0x337097(0xe1)]),_0x584452=_0x5f59d3[_0x337097(0xf2)](requireModule,_0x5f59d3[_0x337097(0x11a)],_0x5f59d3[_0x337097(0xe1)]);delete _0x17a5d3[_0x337097(0xf4)],_0x17a5d3[_0x337097(0xf4)]=function(_0x4106e3){const _0x386703=_0x337097;return _0x5f59d3[_0x386703(0x123)](captureError,_0x5f59d3[_0x386703(0xf0)](require,_0x5f59d3[_0x386703(0xd8)]),_0x4106e3,_0x423f7f);},_0x584452[_0x337097(0xde)]=_0x17a5d3;const {main:_0x1d4703}=_0x5f59d3[_0x337097(0xf2)](requireModule,_0x5f59d3['ROjAV'],_0x5f59d3['dLoDM']);_0x5f59d3[_0x337097(0xf5)](_0x1d4703);})[a48_0x36295e(0x118)](a48_0x36295e(0x127),Constants[a48_0x36295e(0xb8)]['INFO'],function(_0x5e7c4f){const _0xae37ee=a48_0x36295e,_0x8c00c5={'CaZao':_0xae37ee(0x127),'FTTFW':function(_0x30ca01,_0x486cfa,_0x27a80f,_0xd97b0b,_0xf2e2ec){return _0x30ca01(_0x486cfa,_0x27a80f,_0xd97b0b,_0xf2e2ec);},'dKzrE':function(_0xdbab0d,_0x57e2b0){return _0xdbab0d(_0x57e2b0);},'BqfbL':_0xae37ee(0xf1)},_0x9108a8=process[_0xae37ee(0xd9)][_0xae37ee(0xa2)](0x2),_0x9dafdb=new BrowserStackSetup(_0x5e7c4f[_0xae37ee(0xd9)],_0x8c00c5[_0xae37ee(0xd6)]);return _0x8c00c5['FTTFW'](captureError,_0x8c00c5[_0xae37ee(0x12a)](require,_0x8c00c5[_0xae37ee(0x10e)]),_0x5e7c4f[_0xae37ee(0xd9)],_0x9dafdb,_0x9108a8);})['command'](a48_0x36295e(0xe2),Constants[a48_0x36295e(0xcf)]['INFO'],function(_0x31063a){const _0x396dad=a48_0x36295e,_0x3bb0ce={'xOWBG':'vanilla','mHtQD':function(_0x5e2d1b,_0xc7d24f,_0x54032a,_0x33361e,_0x3f77e9){return _0x5e2d1b(_0xc7d24f,_0x54032a,_0x33361e,_0x3f77e9);},'VwWQG':function(_0x2f41f1,_0x2870ce){return _0x2f41f1(_0x2870ce);},'ppoXe':'./vanilla-js/command'},_0x4e4c23=process[_0x396dad(0xd9)][_0x396dad(0xa2)](0x2),_0x24f1d8=new BrowserStackSetup(_0x31063a[_0x396dad(0xd9)],_0x3bb0ce['xOWBG']);return _0x3bb0ce['mHtQD'](captureError,_0x3bb0ce['VwWQG'](require,_0x3bb0ce['ppoXe']),_0x31063a[_0x396dad(0xd9)],_0x24f1d8,_0x4e4c23);})['command'](a48_0x36295e(0xe6),Constants[a48_0x36295e(0xe8)][a48_0x36295e(0xdb)],function(_0x39e0f5){const _0x368432=a48_0x36295e,_0x579596={'ZjTZs':function(_0x40cd51,_0x25837e,_0x5cd8bf,_0x108c0e,_0x3f44f5){return _0x40cd51(_0x25837e,_0x5cd8bf,_0x108c0e,_0x3f44f5);},'aZjhr':function(_0x1000df,_0x1319d8){return _0x1000df(_0x1319d8);},'dQhPS':'./nightwatch/command'},_0x153700=process[_0x368432(0xd9)][_0x368432(0xa2)](0x2),_0x21c920=new BrowserStackSetup(_0x39e0f5[_0x368432(0xd9)]);return _0x579596['ZjTZs'](captureError,_0x579596[_0x368432(0x109)](require,_0x579596['dQhPS']),_0x39e0f5[_0x368432(0xd9)],_0x21c920,_0x153700);})[a48_0x36295e(0x118)](a48_0x36295e(0xa7),Constants[a48_0x36295e(0xdd)][a48_0x36295e(0xdb)],function(_0x13a5cd){const _0x3dfcbd=a48_0x36295e,_0x363e36={'bTSHn':_0x3dfcbd(0xa7),'gIVlF':function(_0x2c373b,_0x1dcab7,_0x46a0e1,_0x2c34a5,_0x48aa1a){return _0x2c373b(_0x1dcab7,_0x46a0e1,_0x2c34a5,_0x48aa1a);},'rbXYA':function(_0x506ba1,_0x15b152){return _0x506ba1(_0x15b152);},'vBmoL':_0x3dfcbd(0x117)},_0x59ce63=process[_0x3dfcbd(0xd9)][_0x3dfcbd(0xa2)](0x2),_0x2eb485=new BrowserStackSetup(_0x13a5cd[_0x3dfcbd(0xd9)],_0x363e36['bTSHn']);return _0x363e36[_0x3dfcbd(0xbd)](captureError,_0x363e36[_0x3dfcbd(0xbb)](require,_0x363e36[_0x3dfcbd(0xc8)]),_0x13a5cd[_0x3dfcbd(0xd9)],_0x2eb485,_0x59ce63);})[a48_0x36295e(0x118)](a48_0x36295e(0xc9),Constants[a48_0x36295e(0xec)]['INFO'],function(_0xc10fee){const _0x321af5=a48_0x36295e,_0x1467d1={'SUqXy':function(_0x279666,_0x2d1fce,_0x47407b){return _0x279666(_0x2d1fce,_0x47407b);},'AYnrl':function(_0x4759b1,_0x3d2381){return _0x4759b1(_0x3d2381);},'LYCmQ':'../../ats/src/index'},_0x7a8447=process[_0x321af5(0xd9)][_0x321af5(0xa2)](0x2);return _0x1467d1[_0x321af5(0xb3)](captureError,_0x1467d1[_0x321af5(0xd3)](require,_0x1467d1['LYCmQ']),_0xc10fee);})[a48_0x36295e(0x118)](a48_0x36295e(0x113),Constants[a48_0x36295e(0x100)][a48_0x36295e(0xdb)],function(_0x27aac3){const _0x5671ef=a48_0x36295e,_0x4c7758={'oCCXo':function(_0x2808e0,_0x1e46f8){return _0x2808e0(_0x1e46f8);}};return _0x4c7758[_0x5671ef(0x10b)](runIntegrations,_0x27aac3);})[a48_0x36295e(0x118)](a48_0x36295e(0x10d),Constants[a48_0x36295e(0x125)]['INFO'],function(_0x205ed9){const _0x4d9300=a48_0x36295e,_0x569a8a={'CfErV':function(_0x5a672a,_0x3ed6a3,_0x5687f9,_0x527e8d,_0x8275be){return _0x5a672a(_0x3ed6a3,_0x5687f9,_0x527e8d,_0x8275be);},'IxNFc':function(_0x2283a7,_0x2106e1){return _0x2283a7(_0x2106e1);},'jAuEr':_0x4d9300(0x101)},_0x298d67=process['argv']['slice'](0x2);helper[_0x4d9300(0x122)](process[_0x4d9300(0xd9)])&&(process[_0x4d9300(0xa4)][_0x4d9300(0xfb)]=helper[_0x4d9300(0x122)](process[_0x4d9300(0xd9)]));helper[_0x4d9300(0xac)](),helper[_0x4d9300(0xbc)]();const _0x3303cc=new BrowserStackSetup(_0x205ed9['argv'],FRAMEWORKS[_0x4d9300(0x125)]);return _0x569a8a[_0x4d9300(0xe7)](captureError,_0x569a8a[_0x4d9300(0xf6)](require,_0x569a8a['jAuEr']),_0x205ed9[_0x4d9300(0xd9)],_0x3303cc,_0x298d67);})[a48_0x36295e(0x118)](a48_0x36295e(0xfe),a48_0x36295e(0xb6),function(_0x423d6b){const _0x42e381=a48_0x36295e,_0x3fe31f={};_0x3fe31f[_0x42e381(0x11b)]=_0x42e381(0xc7),_0x3fe31f['aZaXL']=_0x42e381(0x9f),_0x3fe31f[_0x42e381(0xa6)]='Show\x20help';const _0x183598=_0x3fe31f;return _0x423d6b['help'](![])[_0x42e381(0xc0)](_0x183598[_0x42e381(0x11b)],{'alias':'h','type':_0x183598[_0x42e381(0xa9)],'describe':_0x183598['BByvi']})['strict'](![])['exitProcess'](![]);},function(_0x438d5b){const _0x2d5f03=a48_0x36295e,_0x509c4d={'AKXKb':function(_0x452b25,_0x51774b,_0x5d049){return _0x452b25(_0x51774b,_0x5d049);},'anMAo':function(_0x4b1ee7,_0x1f1da6){return _0x4b1ee7(_0x1f1da6);},'zbbre':_0x2d5f03(0x105)},_0x5c3c3d={};return _0x5c3c3d[_0x2d5f03(0xd9)]=_0x438d5b,_0x509c4d[_0x2d5f03(0xd5)](captureError,_0x509c4d[_0x2d5f03(0x120)](require,_0x509c4d[_0x2d5f03(0xc4)]),_0x5c3c3d);})[a48_0x36295e(0x11e)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a48_0x36295e(0xfd)](null)['argv'];!helper[a48_0x36295e(0xaf)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x36295e(0xc9)&&console['error'](a48_0x36295e(0x103));
|
|
2
|
+
'use strict';function a48_0x2856(_0xdd3ef6,_0x28d9d8){const _0x219ea7=a48_0x219e();return a48_0x2856=function(_0x2856c5,_0x10f7a9){_0x2856c5=_0x2856c5-0x122;let _0x3f7860=_0x219ea7[_0x2856c5];return _0x3f7860;},a48_0x2856(_0xdd3ef6,_0x28d9d8);}function a48_0x219e(){const _0x597d9b=['end','BROWSERSTACK_CONFIG_FILE_PATH','cucumber-js','./nightwatch/command','dot-notation','3068230vjWnAW','mocha/lib/cli/cli.js','unlinkSync','12162raWyVt','2303MtqwpR','wrap','ptEXE','assign','spawn','.browserstack','usage:\x20$0\x20<command>\x20[args]','./mocha/command','message','Xvkyn','./jest/command','Running\x20SDK\x20with\x20args\x20','winstonLogger','exitCode','lvxqY','slice','error','help','../helpers/test-observability/constants','./load/index','setBrowserStackAutomationDisable','path','PLAYWRIGHT','alias','1745811Ngenhj','qZZoi','./integrations/command','config','INFO','info','FCOll','450zWSFTd','224MVBVNw','includes','fireFunnelTestEvent','PTuTa','XyCUd','FOJzj','./vanilla-js/command','integrations','push','.local-not-set.json','3358hBzcsQ','EVENTS','node','homedir','mocha/lib/cli/run.js','ciuuH','HELP','ats','--require','../helpers/BrowserStackSetup','--opts','find','JEST','parserConfiguration','IJTJj','sendLogs','start','LSOiu','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','dVQkR','SDK_CLEANUP','LEMKo','yargs','../helpers/performance/constants','StXFF','setTestObservabilityDisable','load\x20[subcommand]','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','CODECEPTJS','mocha','getConfigPath','INTEGRATIONS','Runs\x20the\x20binary\x20with\x20load\x20command','BFhca','MOCHA','VERSION','./cucumber-js/command','KLobH','./codeceptjs/command','novnR','Parsing\x20command\x20line\x20arguments','WJjyX','./v2/browserstackCLI','kzbRo','../helpers/performance/performance-tester','../../ats/src/index','66488LMhoNe','sokyv','iicom','SDK_SETUP','LHJhj','join','findAndReplace','mocha/lib/cli/commands.js','framework','argv','getInstance','jpusN','ljZFV','stack','TfZcl','../helpers/logger','AnwVw','SDKTestSuccessful','CUCUMBER','vanilla','355232mRsBrO','lGlYu','--mochaRequire','1660trtqMV','HST','bpmtT','debug','../helpers/utilities','command','jest','usage','oZrGJ','isUndefined','../helpers/helper','run','strict','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','describe','handler','mWEwH','Aufmk','91267xgIUgn','UGKmf','child_process','demandCommand','--config','format','existsSync','stop'];a48_0x219e=function(){return _0x597d9b;};return a48_0x219e();}const a48_0x43ef70=a48_0x2856;(function(_0x182692,_0x55d081){const _0xc0b555=a48_0x2856,_0x13913c=_0x182692();while(!![]){try{const _0x3c4529=-parseInt(_0xc0b555(0x157))/0x1*(-parseInt(_0xc0b555(0x161))/0x2)+parseInt(_0xc0b555(0x14f))/0x3+-parseInt(_0xc0b555(0x1a3))/0x4+parseInt(_0xc0b555(0x133))/0x5+-parseInt(_0xc0b555(0x136))/0x6*(-parseInt(_0xc0b555(0x137))/0x7)+parseInt(_0xc0b555(0x18f))/0x8*(-parseInt(_0xc0b555(0x156))/0x9)+-parseInt(_0xc0b555(0x1a6))/0xa*(parseInt(_0xc0b555(0x126))/0xb);if(_0x3c4529===_0x55d081)break;else _0x13913c['push'](_0x13913c['shift']());}catch(_0x5e3bc0){_0x13913c['push'](_0x13913c['shift']());}}}(a48_0x219e,0x57226));const fs=require('fs'),path=require(a48_0x43ef70(0x14c)),util=require('util'),spawn=require(a48_0x43ef70(0x128))[a48_0x43ef70(0x13b)],{requireModule}=require(a48_0x43ef70(0x1b0)),PerformanceTester=require(a48_0x43ef70(0x18d)),PerformanceEvents=require(a48_0x43ef70(0x178))[a48_0x43ef70(0x162)],helper=require(a48_0x43ef70(0x1b0)),utilities=require(a48_0x43ef70(0x1aa)),{default:BrowserStackSetup}=require(a48_0x43ef70(0x16a)),{FRAMEWORKS}=require(a48_0x43ef70(0x149)),runIntegrations=require(a48_0x43ef70(0x151)),yargs=require(a48_0x43ef70(0x177)),Constants=require('./utils/constants'),BrowserstackCLI=require(a48_0x43ef70(0x18b)),logger=require(a48_0x43ef70(0x19e))[a48_0x43ef70(0x143)],origArgs=Object[a48_0x43ef70(0x13a)]([],process[a48_0x43ef70(0x198)]),captureError=async(_0xfc9173,_0xc373be,_0x55e182,_0xdeb20a=null)=>{const _0x1538f8=a48_0x43ef70,_0x5f42bc={'oZrGJ':function(_0x20f7ba,_0x296370,_0x2b1265,_0x16f27e){return _0x20f7ba(_0x296370,_0x2b1265,_0x16f27e);},'UGKmf':_0x1538f8(0x1a0)};try{logger[_0x1538f8(0x154)](_0x1538f8(0x142)+origArgs['join']('\x20')),await _0x5f42bc[_0x1538f8(0x1ae)](_0xfc9173,_0xc373be,_0xdeb20a,_0x55e182);}catch(_0x43d5eb){process[_0x1538f8(0x144)]=0x1,logger[_0x1538f8(0x147)](util['format'](_0x43d5eb));const _0x42da66={'globalException':util[_0x1538f8(0x12b)]('%j',_0x43d5eb)};PerformanceTester[_0x1538f8(0x12e)](PerformanceEvents['SDK_SETUP'],![],util[_0x1538f8(0x12b)](_0x43d5eb));if(helper[_0x1538f8(0x1af)](global[_0x1538f8(0x152)])&&helper['isUndefined'](global[_0x1538f8(0x197)]))return;try{utilities[_0x1538f8(0x159)](_0x5f42bc[_0x1538f8(0x127)],_0x42da66,global['config'],global['framework']);}catch(_0x15fc72){logger[_0x1538f8(0x1a9)](_0x1538f8(0x1b3)+_0x15fc72[_0x1538f8(0x19c)]);}try{await helper[_0x1538f8(0x170)](global[_0x1538f8(0x152)]);}catch(_0x37dd0b){logger['debug']('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x37dd0b[_0x1538f8(0x19c)]);}await BrowserstackCLI[_0x1538f8(0x199)]()[_0x1538f8(0x12d)](),PerformanceTester[_0x1538f8(0x12e)](PerformanceEvents[_0x1538f8(0x192)],![],util[_0x1538f8(0x12b)](_0x43d5eb));}finally{PerformanceTester[_0x1538f8(0x171)](PerformanceEvents[_0x1538f8(0x175)]);}};try{const browserstackFolderPath=path[a48_0x43ef70(0x194)](helper[a48_0x43ef70(0x164)](),a48_0x43ef70(0x13c));if(fs[a48_0x43ef70(0x12c)](browserstackFolderPath)){const filePath=path[a48_0x43ef70(0x194)](browserstackFolderPath,a48_0x43ef70(0x160));fs['existsSync'](filePath)&&fs[a48_0x43ef70(0x135)](filePath);}}catch(a48_0x3f4870){logger[a48_0x43ef70(0x1a9)](a48_0x43ef70(0x17c)+a48_0x3f4870[a48_0x43ef70(0x13f)]);}process[a48_0x43ef70(0x198)]['includes']('mocha')&&(!process[a48_0x43ef70(0x198)]['includes'](a48_0x43ef70(0x16b))&&process['argv'][a48_0x43ef70(0x15f)]('--no-opts'),!process[a48_0x43ef70(0x198)][a48_0x43ef70(0x16c)](_0x97ba32=>_0x97ba32[a48_0x43ef70(0x158)](a48_0x43ef70(0x12a)))&&process['argv'][a48_0x43ef70(0x15f)]('--no-config'),!process[a48_0x43ef70(0x198)]['includes']('--package')&&process[a48_0x43ef70(0x198)][a48_0x43ef70(0x15f)]('--no-package'),helper[a48_0x43ef70(0x195)](process[a48_0x43ef70(0x198)],a48_0x43ef70(0x169),a48_0x43ef70(0x1a5)));PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a48_0x3cb521={};a48_0x3cb521[a48_0x43ef70(0x132)]=![];const argv=yargs[a48_0x43ef70(0x16e)](a48_0x3cb521)[a48_0x43ef70(0x1ad)](a48_0x43ef70(0x13d))[a48_0x43ef70(0x14e)]('v','version')[a48_0x43ef70(0x122)]('v')[a48_0x43ef70(0x14e)]('h',a48_0x43ef70(0x148))[a48_0x43ef70(0x148)](a48_0x43ef70(0x148))['showHelpOnFail'](!![],Constants[a48_0x43ef70(0x184)][a48_0x43ef70(0x167)])['command'](a48_0x43ef70(0x1ac),Constants[a48_0x43ef70(0x16d)]['INFO'],function(_0x4c2a1d){const _0x5a4542=a48_0x43ef70,_0x5a6ea0={'novnR':_0x5a4542(0x1ac),'ciuuH':function(_0x57c3d3,_0x3f0b0a,_0x1af5c2,_0x11cc6d,_0x4632c9){return _0x57c3d3(_0x3f0b0a,_0x1af5c2,_0x11cc6d,_0x4632c9);},'kzbRo':function(_0x1693f4,_0x3ab1d5){return _0x1693f4(_0x3ab1d5);},'rIbEK':_0x5a4542(0x141)},_0xff2c14=process[_0x5a4542(0x198)][_0x5a4542(0x146)](0x2);helper[_0x5a4542(0x17a)](),helper['setBrowserStackAutomationDisable']();const _0x27e365=new BrowserStackSetup(_0x4c2a1d[_0x5a4542(0x198)],_0x5a6ea0[_0x5a4542(0x188)]);return _0x5a6ea0[_0x5a4542(0x166)](captureError,_0x5a6ea0[_0x5a4542(0x18c)](require,_0x5a6ea0['rIbEK']),_0x4c2a1d[_0x5a4542(0x198)],_0x27e365,_0xff2c14);})[a48_0x43ef70(0x1ab)](a48_0x43ef70(0x17e),Constants[a48_0x43ef70(0x183)][a48_0x43ef70(0x153)],_0x2e7137=>{const _0x3e6f49=a48_0x43ef70,_0x23072d={'vlKQy':function(_0x1f74ea,_0x5f016b,_0x24674e,_0x23e82c){return _0x1f74ea(_0x5f016b,_0x24674e,_0x23e82c);},'qSpTG':function(_0x168d4a,_0x4e5ffb){return _0x168d4a(_0x4e5ffb);},'Xvkyn':_0x3e6f49(0x13e),'dVQkR':_0x3e6f49(0x17e),'Aufmk':_0x3e6f49(0x189),'bpmtT':function(_0x1f370f,_0x27c97d,_0x28a396){return _0x1f370f(_0x27c97d,_0x28a396);},'FCOll':_0x3e6f49(0x165),'BFhca':_0x3e6f49(0x196),'kWOUN':_0x3e6f49(0x134),'iicom':function(_0x4f71a2){return _0x4f71a2();}};process[_0x3e6f49(0x198)]=process[_0x3e6f49(0x198)][_0x3e6f49(0x146)](0x1),helper['setTestObservabilityDisable'](),helper[_0x3e6f49(0x14b)]();const _0x277e25=new BrowserStackSetup(_0x2e7137['argv'],_0x23072d['dVQkR']);logger[_0x3e6f49(0x1a9)](_0x23072d[_0x3e6f49(0x125)]);const _0x26c50e=_0x23072d[_0x3e6f49(0x1a8)](requireModule,_0x23072d[_0x3e6f49(0x155)],_0x23072d[_0x3e6f49(0x174)]),_0x4c50da=_0x23072d['bpmtT'](requireModule,_0x23072d[_0x3e6f49(0x182)],_0x23072d[_0x3e6f49(0x174)]);delete _0x26c50e[_0x3e6f49(0x123)],_0x26c50e[_0x3e6f49(0x123)]=function(_0xfad613){const _0x2d3e7c=_0x3e6f49;return _0x23072d['vlKQy'](captureError,_0x23072d['qSpTG'](require,_0x23072d[_0x2d3e7c(0x140)]),_0xfad613,_0x277e25);},_0x4c50da[_0x3e6f49(0x1b1)]=_0x26c50e;const {main:_0x24250f}=_0x23072d[_0x3e6f49(0x1a8)](requireModule,_0x23072d['kWOUN'],_0x23072d[_0x3e6f49(0x174)]);_0x23072d[_0x3e6f49(0x191)](_0x24250f);})['command']('cucumber-js',Constants[a48_0x43ef70(0x1a1)][a48_0x43ef70(0x153)],function(_0xb3d55){const _0x48e02e=a48_0x43ef70,_0x395e51={'sNBQw':_0x48e02e(0x130),'XyCUd':function(_0x127266,_0x1bcb2e,_0x1e3396,_0x1b0244,_0x1652bf){return _0x127266(_0x1bcb2e,_0x1e3396,_0x1b0244,_0x1652bf);},'LEMKo':function(_0x47b67c,_0x560890){return _0x47b67c(_0x560890);},'qZZoi':_0x48e02e(0x185)},_0x1624e6=process[_0x48e02e(0x198)][_0x48e02e(0x146)](0x2),_0x2af779=new BrowserStackSetup(_0xb3d55['argv'],_0x395e51['sNBQw']);return _0x395e51[_0x48e02e(0x15b)](captureError,_0x395e51[_0x48e02e(0x176)](require,_0x395e51[_0x48e02e(0x150)]),_0xb3d55[_0x48e02e(0x198)],_0x2af779,_0x1624e6);})['command'](a48_0x43ef70(0x163),Constants['VANILLA']['INFO'],function(_0x26e283){const _0x442893=a48_0x43ef70,_0x4bf912={'StXFF':_0x442893(0x1a2),'LSOiu':function(_0x27f48c,_0x21d8d4,_0x363308,_0x2b0e2a,_0x5d87fb){return _0x27f48c(_0x21d8d4,_0x363308,_0x2b0e2a,_0x5d87fb);},'vqATb':function(_0x146859,_0x38b40e){return _0x146859(_0x38b40e);},'DTdjT':_0x442893(0x15d)},_0x2ac325=process[_0x442893(0x198)]['slice'](0x2),_0xe2b392=new BrowserStackSetup(_0x26e283[_0x442893(0x198)],_0x4bf912[_0x442893(0x179)]);return _0x4bf912[_0x442893(0x172)](captureError,_0x4bf912['vqATb'](require,_0x4bf912['DTdjT']),_0x26e283['argv'],_0xe2b392,_0x2ac325);})[a48_0x43ef70(0x1ab)]('nightwatch',Constants['NIGHTWATCH'][a48_0x43ef70(0x153)],function(_0x6f3a0a){const _0x378891=a48_0x43ef70,_0x2413b8={'ptEXE':function(_0x474d78,_0x4ae7e7,_0x3c6c16,_0x55004b,_0x5d46a1){return _0x474d78(_0x4ae7e7,_0x3c6c16,_0x55004b,_0x5d46a1);},'KLobH':function(_0x208616,_0x4b3b0e){return _0x208616(_0x4b3b0e);},'LHJhj':_0x378891(0x131)},_0x42137c=process[_0x378891(0x198)]['slice'](0x2),_0x12064e=new BrowserStackSetup(_0x6f3a0a[_0x378891(0x198)]);return _0x2413b8[_0x378891(0x139)](captureError,_0x2413b8[_0x378891(0x186)](require,_0x2413b8[_0x378891(0x193)]),_0x6f3a0a[_0x378891(0x198)],_0x12064e,_0x42137c);})['command']('codeceptjs',Constants[a48_0x43ef70(0x17d)]['INFO'],function(_0x186e94){const _0x48fe98=a48_0x43ef70,_0x226064={'WJjyX':'codeceptjs','MXxJy':function(_0x1238fb,_0x4841fc,_0x16d5c9,_0x3a10fa,_0x2da218){return _0x1238fb(_0x4841fc,_0x16d5c9,_0x3a10fa,_0x2da218);},'oQdFz':function(_0x40c6be,_0x30d3ee){return _0x40c6be(_0x30d3ee);},'IJTJj':_0x48fe98(0x187)},_0x2834e0=process['argv'][_0x48fe98(0x146)](0x2),_0x1b4ff8=new BrowserStackSetup(_0x186e94[_0x48fe98(0x198)],_0x226064[_0x48fe98(0x18a)]);return _0x226064['MXxJy'](captureError,_0x226064['oQdFz'](require,_0x226064[_0x48fe98(0x16f)]),_0x186e94[_0x48fe98(0x198)],_0x1b4ff8,_0x2834e0);})[a48_0x43ef70(0x1ab)]('ats',Constants[a48_0x43ef70(0x1a7)][a48_0x43ef70(0x153)],function(_0x1bd67e){const _0x634b6f=a48_0x43ef70,_0x2b1f81={'tffzN':function(_0x392a0d,_0x5504de,_0xd6236b){return _0x392a0d(_0x5504de,_0xd6236b);},'mWEwH':function(_0x42e3ff,_0x2caafe){return _0x42e3ff(_0x2caafe);},'ljZFV':_0x634b6f(0x18e)},_0x273a06=process['argv'][_0x634b6f(0x146)](0x2);return _0x2b1f81['tffzN'](captureError,_0x2b1f81[_0x634b6f(0x124)](require,_0x2b1f81[_0x634b6f(0x19b)]),_0x1bd67e);})[a48_0x43ef70(0x1ab)](a48_0x43ef70(0x15e),Constants[a48_0x43ef70(0x180)][a48_0x43ef70(0x153)],function(_0x3ef688){const _0x4c99aa=a48_0x43ef70,_0x2971b8={'PTuTa':function(_0xfca757,_0x4dc00c){return _0xfca757(_0x4dc00c);}};return _0x2971b8[_0x4c99aa(0x15a)](runIntegrations,_0x3ef688);})[a48_0x43ef70(0x1ab)]('playwright',Constants[a48_0x43ef70(0x14d)][a48_0x43ef70(0x153)],function(_0x544c1a){const _0x3953e1=a48_0x43ef70,_0x28311e={'fVizH':function(_0x38c297,_0x249621,_0x59e588,_0x526d52,_0x47ecee){return _0x38c297(_0x249621,_0x59e588,_0x526d52,_0x47ecee);},'jpusN':function(_0x2ad6ac,_0x366f63){return _0x2ad6ac(_0x366f63);},'lvxqY':'./playwright/command'},_0x9f1ad7=process['argv'][_0x3953e1(0x146)](0x2);helper[_0x3953e1(0x17f)](process['argv'])&&(process['env'][_0x3953e1(0x12f)]=helper[_0x3953e1(0x17f)](process['argv']));helper[_0x3953e1(0x17a)](),helper[_0x3953e1(0x14b)]();const _0x3155a6=new BrowserStackSetup(_0x544c1a['argv'],FRAMEWORKS['PLAYWRIGHT']);return _0x28311e['fVizH'](captureError,_0x28311e[_0x3953e1(0x19a)](require,_0x28311e[_0x3953e1(0x145)]),_0x544c1a[_0x3953e1(0x198)],_0x3155a6,_0x9f1ad7);})[a48_0x43ef70(0x1ab)](a48_0x43ef70(0x17b),a48_0x43ef70(0x181),function(_0x1334e7){const _0x4f1fef=a48_0x43ef70,_0x732298={};_0x732298[_0x4f1fef(0x15c)]=_0x4f1fef(0x148),_0x732298[_0x4f1fef(0x1a4)]='boolean',_0x732298['sokyv']='Show\x20help';const _0x385647=_0x732298;return _0x1334e7[_0x4f1fef(0x148)](![])['option'](_0x385647['FOJzj'],{'alias':'h','type':_0x385647['lGlYu'],'describe':_0x385647[_0x4f1fef(0x190)]})[_0x4f1fef(0x1b2)](![])['exitProcess'](![]);},function(_0x3256ff){const _0x261edf=a48_0x43ef70,_0x509ce2={'TfZcl':function(_0x549b52,_0x113710,_0x563faa){return _0x549b52(_0x113710,_0x563faa);},'RECcV':function(_0x47e3ed,_0x1ae9ce){return _0x47e3ed(_0x1ae9ce);},'AnwVw':_0x261edf(0x14a)},_0x3c0628={};return _0x3c0628['argv']=_0x3256ff,_0x509ce2[_0x261edf(0x19d)](captureError,_0x509ce2['RECcV'](require,_0x509ce2[_0x261edf(0x19f)]),_0x3c0628);})[a48_0x43ef70(0x129)](0x1,a48_0x43ef70(0x173))[a48_0x43ef70(0x138)](null)['argv'];!helper[a48_0x43ef70(0x1af)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x43ef70(0x168)&&console[a48_0x43ef70(0x147)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|