browserstack-node-sdk 1.42.8 → 1.43.0
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/cucumber-sessionDetails.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/playwright-patcher.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_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/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/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/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/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 -0
- 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 a45_0x33ca(){const _0x57b35d=['@playwright/test/lib/transform/transform.js','htPtR','rZTbr','compareVersions','fhlwz','prototype','Arguments','START_TIME','../../../helpers/test-observability/constants','playwright/lib/common/configLoader.js','isRunning','util','WiTDc','xzRGV','Error\x20in\x20sending\x20trace\x20file:\x20%s','getTransformPath','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','24QVMzpu','naSQl','RcFRA','Trace\x20enabled','Percentage\x20of\x20increased\x20time\x20is\x20','../../../helpers/performance/performance-tester','EgLtm','toLowerCase','basename','4392VwJbKZ','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','wohCu','getProjectUtilsPath','error','message','validateFilePath','198058jRHZBo','join','calculatePerformance','substr','CpGqr','lBlCu','28746dzVLsX','tynmm','1.35.0','requestSpyCallback','lwQrj','hQkJz','afterWorkerHook','afterTestHook','../../../helpers/test-observability/sessionHandler','1.38.0','VuAHr','readdirSync','bALpg','calculateTimesFromMultipleFiles','@playwright/test','onStepEnd','22800459Mairct','runner/projectUtils.js','runner/loadUtils.js','RHWUG','title','name','TEST_LOG','../../v2/browserstackCLI','Searching\x20for\x20key:\x20','beforeWorkerHook','juaCy','map','4010250XPFiCr','aTOzm','AaPnn','EpgFB','filter','UrdOT','aRsSD','tjSZd','env','onTestEnd','startsWith','slice','findNestedKey','anVxz','KHaLn','XkriD','sendTestLog','FtVhW','HUxsn','toISOString','TEST_ATTACHMENT','UpEqo','Test\x20timeout\x20of','edTlG','AnRIJ','12VaHvcM','_projectId','testUId','878366ZpSenS','ERROR','tags','DYzca','performance-report-worker-','KebRx','qTfdF','stack','PXlAx','getConfigLoaderPath','awvFQ','createReadStream','wJiGz','length','QWRHU','Found\x20key:\x20','\x20in\x20attachments','4783310teCJda','test','getTestTags','call','debug','.zip','MsiLH','XtzSL','playwright/lib/transform/transform.js','kfuzr','path','format','sendSessionDetails','iFkza','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','onTestBegin','sendEventData','ieFQl','match','SBExF','onBegin','existsSync','setupBrowserDetails','LogCreated','VjyLj','size','AUJIP','getTime','6dTRcfl','axNpD','IXHXg','ncBXe','getPlaywrightLibPath','PLAYWRIGHT','yVWnz','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','zSeEA','statSync','GYoKb','srfyO','./test-details','onStepBegin','beforeTestHook','\x20in\x20arguments','.json','lib','addTraceFilePath','endSession','filePath','playwright','performance-reporter.html','lbHti','getTestRunIdentifier','../../../helpers/logger','igOjY','jPOpr','ffjQU','getFailureData','poGZa','jfEUe','1reRjub','attachments','doo11ySync','1.42.0','common','252892LfHPPe','getLoadUtilsPath','ByvMn','../../../helpers/helper','@playwright/test/lib/common/configLoader.js','getTestIdentifier','KEpbH'];a45_0x33ca=function(){return _0x57b35d;};return a45_0x33ca();}const a45_0x58aa4b=a45_0x1038;function a45_0x1038(_0x54a2ce,_0x138f97){const _0x33cab4=a45_0x33ca();return a45_0x1038=function(_0x10383c,_0x3077e1){_0x10383c=_0x10383c-0x1c5;let _0x3c975d=_0x33cab4[_0x10383c];return _0x3c975d;},a45_0x1038(_0x54a2ce,_0x138f97);}(function(_0x4ff413,_0x19ec37){const _0x23c890=a45_0x1038,_0x2ea322=_0x4ff413();while(!![]){try{const _0x4fae29=-parseInt(_0x23c890(0x272))/0x1*(parseInt(_0x23c890(0x225))/0x2)+parseInt(_0x23c890(0x1d7))/0x3*(parseInt(_0x23c890(0x277))/0x4)+parseInt(_0x23c890(0x236))/0x5+-parseInt(_0x23c890(0x252))/0x6*(parseInt(_0x23c890(0x1e7))/0x7)+parseInt(_0x23c890(0x1e0))/0x8*(-parseInt(_0x23c890(0x1ed))/0x9)+-parseInt(_0x23c890(0x209))/0xa+-parseInt(_0x23c890(0x1fd))/0xb*(-parseInt(_0x23c890(0x222))/0xc);if(_0x4fae29===_0x19ec37)break;else _0x2ea322['push'](_0x2ea322['shift']());}catch(_0x2f670f){_0x2ea322['push'](_0x2ea322['shift']());}}}(a45_0x33ca,0xdef37));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a45_0x58aa4b(0x1dc)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a45_0x58aa4b(0x1ce)),helper=require(a45_0x58aa4b(0x27a)),path=require(a45_0x58aa4b(0x240)),logger=require(a45_0x58aa4b(0x26b))['winstonLogger'],SessionHandler=require(a45_0x58aa4b(0x1f5)),TestDetails=require(a45_0x58aa4b(0x25e)),util=require(a45_0x58aa4b(0x1d1)),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0xeca631=a45_0x58aa4b,_0x2d49ec={'HUxsn':function(_0x22ed39,_0x458020){return _0x22ed39(_0x458020);},'emkEB':_0xeca631(0x204)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x2d49ec[_0xeca631(0x21b)](require,_0x2d49ec['emkEB'])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x4c3dae=>{const _0x5c6246=a45_0x58aa4b;return _0x4c3dae[_0x5c6246(0x248)](/@(\w+)/g)?.['map'](_0x277403=>_0x277403[_0x5c6246(0x214)](0x1))||[];};exports[a45_0x58aa4b(0x238)]=_0x47f5cc=>{const _0x30e35f=a45_0x58aa4b,_0x15e352={'lbHti':function(_0x5f3a41,_0x31a371){return _0x5f3a41(_0x31a371);}};if(_0x47f5cc['tags'])return _0x47f5cc[_0x30e35f(0x227)]['map'](_0x59e12a=>_0x59e12a[_0x30e35f(0x213)]('@')?_0x59e12a[_0x30e35f(0x1ea)](0x1):_0x59e12a);return _0x15e352[_0x30e35f(0x269)](getTagsFromTitle,_0x47f5cc[_0x30e35f(0x201)]);},exports[a45_0x58aa4b(0x1e9)]=async()=>{const _0x21007d=a45_0x58aa4b,_0x256d74={'zKHGR':function(_0x33f473,_0x31901e){return _0x33f473-_0x31901e;},'yVWnz':_0x21007d(0x268),'naSQl':_0x21007d(0x24a),'lOclq':_0x21007d(0x265),'IXHXg':_0x21007d(0x245),'RcFRA':_0x21007d(0x212),'bALpg':_0x21007d(0x25f),'ffjQU':_0x21007d(0x1fc),'KebRx':_0x21007d(0x206),'hQkJz':_0x21007d(0x1f3),'VjyLj':_0x21007d(0x260),'QWRHU':_0x21007d(0x1f4),'poGZa':_0x21007d(0x274),'GYoKb':'processPageScreenshot','rZTbr':_0x21007d(0x242),'DYzca':_0x21007d(0x24c),'jBvBf':_0x21007d(0x1f0),'KqKgH':_0x21007d(0x219),'KHaLn':function(_0xbe0e6d,_0x27042e){return _0xbe0e6d(_0x27042e);},'anVxz':function(_0xcedcdc,_0x599b70){return _0xcedcdc/_0x599b70;},'CpGqr':function(_0x100f82,_0x24e29a){return _0x100f82+_0x24e29a;},'GadGA':function(_0xd82755,_0x558c09){return _0xd82755(_0x558c09);},'EpgFB':function(_0x21cd23,_0x29d240){return _0x21cd23*_0x29d240;},'ByvMn':function(_0x782acf,_0x1ec2ec){return _0x782acf/_0x1ec2ec;}};if(!process[_0x21007d(0x211)][_0x21007d(0x1cd)])return;const _0x254c4b=_0x256d74['zKHGR'](new Date()[_0x21007d(0x251)](),new Date(process[_0x21007d(0x211)][_0x21007d(0x1cd)])[_0x21007d(0x251)]()),_0x3941c6=await PerformanceTester['stopAndGenerate'](_0x256d74[_0x21007d(0x258)],[_0x256d74[_0x21007d(0x1d8)],_0x256d74['lOclq'],_0x256d74[_0x21007d(0x254)],_0x256d74[_0x21007d(0x1d9)],_0x256d74[_0x21007d(0x1f9)],_0x256d74[_0x21007d(0x26e)]]),_0x4d1fb9=fs[_0x21007d(0x1f8)]('.'),_0x349e9c=_0x4d1fb9[_0x21007d(0x20d)](_0x2ec964=>_0x2ec964[_0x21007d(0x213)](_0x21007d(0x229))&&_0x2ec964['endsWith'](_0x21007d(0x262))),_0x1b36d9=await PerformanceTester[_0x21007d(0x1fa)](_0x349e9c,[_0x256d74[_0x21007d(0x22a)],_0x256d74[_0x21007d(0x1f2)],_0x256d74[_0x21007d(0x24e)],_0x256d74[_0x21007d(0x233)],_0x256d74[_0x21007d(0x270)],_0x256d74[_0x21007d(0x25c)],_0x256d74[_0x21007d(0x1c8)],_0x256d74[_0x21007d(0x228)],_0x256d74['jBvBf'],_0x256d74['KqKgH']]);_0x256d74[_0x21007d(0x217)](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x256d74[_0x21007d(0x216)](_0x254c4b,0x3e8)+'\x20s'),_0x256d74[_0x21007d(0x217)](debug,_0x21007d(0x1d6)+_0x256d74['CpGqr'](_0x1b36d9,_0x3941c6)),_0x256d74['GadGA'](debug,_0x21007d(0x1db)+_0x256d74[_0x21007d(0x20c)](_0x256d74[_0x21007d(0x279)](_0x256d74[_0x21007d(0x1eb)](_0x1b36d9,_0x3941c6),_0x254c4b),0x64));},exports[a45_0x58aa4b(0x1d5)]=()=>{const _0xe76b92=a45_0x58aa4b,_0x422af6={'iFkza':function(_0x549c11,_0x4fb16d){return _0x549c11(_0x4fb16d);},'kfuzr':function(_0x19f8b1,_0x573bcc){return _0x19f8b1>=_0x573bcc;},'XkriD':_0xe76b92(0x1f6),'jfEUe':_0xe76b92(0x23e),'AUJIP':_0xe76b92(0x267),'RHWUG':_0xe76b92(0x1ef),'axNpD':_0xe76b92(0x1c6),'UpEqo':_0xe76b92(0x1fb),'SBExF':'@playwright/test/lib/common/transform.js'},_0x5786ce=_0x422af6[_0xe76b92(0x243)](getFrameworkVersion,FRAMEWORKS[_0xe76b92(0x257)]);if(_0x422af6[_0xe76b92(0x23f)](helper['compareVersions'](_0x5786ce,_0x422af6[_0xe76b92(0x218)]),0x0))return[_0x422af6[_0xe76b92(0x271)],_0x422af6[_0xe76b92(0x250)]];if(_0x422af6[_0xe76b92(0x23f)](helper[_0xe76b92(0x1c9)](_0x5786ce,_0x422af6[_0xe76b92(0x200)]),0x0))return[_0x422af6[_0xe76b92(0x253)],_0x422af6[_0xe76b92(0x21e)]];return[_0x422af6[_0xe76b92(0x249)],_0x422af6['UpEqo']];},exports[a45_0x58aa4b(0x22e)]=()=>{const _0x4a5c14=a45_0x58aa4b,_0x24e2aa={'fukMj':function(_0x402309,_0x59c210){return _0x402309(_0x59c210);},'KEpbH':function(_0x16b3f1,_0x4b7e3f){return _0x16b3f1>=_0x4b7e3f;},'VuAHr':_0x4a5c14(0x1f6),'jPOpr':_0x4a5c14(0x1cf),'AaPnn':'playwright','ieFQl':_0x4a5c14(0x27b),'awvFQ':'@playwright/test'},_0x2b701b=_0x24e2aa['fukMj'](getFrameworkVersion,FRAMEWORKS[_0x4a5c14(0x257)]);if(_0x24e2aa[_0x4a5c14(0x1c5)](helper[_0x4a5c14(0x1c9)](_0x2b701b,_0x24e2aa[_0x4a5c14(0x1f7)]),0x0))return[_0x24e2aa[_0x4a5c14(0x26d)],_0x24e2aa[_0x4a5c14(0x20b)]];return[_0x24e2aa[_0x4a5c14(0x247)],_0x24e2aa[_0x4a5c14(0x22f)]];},exports[a45_0x58aa4b(0x278)]=()=>{const _0x649b3=a45_0x58aa4b,_0x2f58b6={};_0x2f58b6['lwQrj']=_0x649b3(0x1ff);const _0x27f794=_0x2f58b6;return helper[_0x649b3(0x256)](_0x27f794[_0x649b3(0x1f1)]);},exports[a45_0x58aa4b(0x1e3)]=()=>{const _0x3205e0=a45_0x58aa4b,_0x354ade={};_0x354ade[_0x3205e0(0x1ca)]=_0x3205e0(0x1fe);const _0x3b38ef=_0x354ade;return helper[_0x3205e0(0x256)](_0x3b38ef['fhlwz']);},exports['getForkProcessPath']=()=>{const _0x21996c=a45_0x58aa4b,_0x36b167={'LYUli':function(_0x2dd90c,_0x3d51ad){return _0x2dd90c(_0x3d51ad);},'egZFW':function(_0x39801a,_0x2559ac){return _0x39801a>=_0x2559ac;},'EgLtm':_0x21996c(0x1f6),'FtVhW':_0x21996c(0x263),'wohCu':_0x21996c(0x276),'lBlCu':'process.js','ZtaHK':_0x21996c(0x237)},_0x361404=_0x36b167['LYUli'](getFrameworkVersion,FRAMEWORKS[_0x21996c(0x257)]);if(_0x36b167['egZFW'](helper['compareVersions'](_0x361404,_0x36b167[_0x21996c(0x1dd)]),0x0))return path['join'](_0x36b167[_0x21996c(0x21a)],_0x36b167[_0x21996c(0x1e2)],_0x36b167[_0x21996c(0x1ec)]);return path[_0x21996c(0x1e8)](_0x36b167['ZtaHK'],_0x36b167[_0x21996c(0x21a)],_0x36b167[_0x21996c(0x1e2)],_0x36b167['lBlCu']);},exports[a45_0x58aa4b(0x26f)]=(_0x205909,{test_run_uuid:_0x340436})=>{const _0x24e1c5=a45_0x58aa4b,_0x5729c6={'zSeEA':_0x24e1c5(0x226),'WiTDc':_0x24e1c5(0x203),'igOjY':function(_0x4c9364,_0x263e98){return _0x4c9364<=_0x263e98;},'tynmm':function(_0x5a65cb,_0x2ea836){return _0x5a65cb(_0x2ea836);},'OdIRt':_0x24e1c5(0x21f),'ncBXe':function(_0x5f0254,_0x488b38){return _0x5f0254(_0x488b38);},'wrvTG':function(_0x23dc2c,_0x5ef452){return _0x23dc2c>=_0x5ef452;},'PXlAx':_0x24e1c5(0x275),'axUHd':function(_0x4780c7,_0x47c8b8){return _0x4780c7>_0x47c8b8;},'tjSZd':function(_0x35f005,_0x3e14ff,_0x4784f7){return _0x35f005(_0x3e14ff,_0x4784f7);},'XtzSL':'test'};if(!_0x205909||_0x5729c6[_0x24e1c5(0x26c)](_0x205909[_0x24e1c5(0x232)],0x0))return[];const _0xe99373=_0x5729c6['tynmm'](removeAnsiColors,_0x205909[0x0][_0x24e1c5(0x1e5)]);if(_0xe99373['startsWith'](_0x5729c6['OdIRt'])){const _0xf04892=_0x205909[0x0],_0xfdd7c1=_0x5729c6[_0x24e1c5(0x255)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0xf04892['stack']||_0x5729c6['wrvTG'](_0xfdd7c1,_0x5729c6[_0x24e1c5(0x22d)]))&&_0x5729c6['axUHd'](_0x205909[_0x24e1c5(0x232)],0x1))return{'failureData':[{'backtrace':[_0xe99373,_0x5729c6[_0x24e1c5(0x1ee)](removeAnsiColors,_0x205909[0x1][_0x24e1c5(0x22c)])]}],'logs':_0x205909[_0x24e1c5(0x214)](0x2)[_0x24e1c5(0x208)](_0x3c8124=>{const _0x2c59c9=_0x24e1c5;return{'timestamp':new Date()[_0x2c59c9(0x21c)](),'level':_0x5729c6[_0x2c59c9(0x25a)],'message':''+_0x3c8124[_0x2c59c9(0x1e5)],'kind':_0x5729c6[_0x2c59c9(0x1d2)],'http_response':{},'test_run_uuid':_0x340436};})};}return{'failureData':_0x5729c6[_0x24e1c5(0x210)](failureData,_0x205909,_0x5729c6[_0x24e1c5(0x23d)]),'logs':[]};},exports[a45_0x58aa4b(0x1e6)]=_0x5be544=>{const _0x4d9ec8=a45_0x58aa4b,_0x2e4c3c={};_0x2e4c3c[_0x4d9ec8(0x207)]=function(_0x4576d6,_0x4454b1){return _0x4576d6!==_0x4454b1;},_0x2e4c3c[_0x4d9ec8(0x220)]=_0x4d9ec8(0x23b),_0x2e4c3c[_0x4d9ec8(0x23c)]=function(_0x40832e,_0x259e3e){return _0x40832e>_0x259e3e;};const _0x457f9a=_0x2e4c3c;if(_0x5be544&&fs[_0x4d9ec8(0x24b)](_0x5be544)){if(_0x457f9a['juaCy'](path['extname'](_0x5be544)[_0x4d9ec8(0x1de)](),_0x457f9a['edTlG']))return logger[_0x4d9ec8(0x1e4)](_0x4d9ec8(0x259)+_0x5be544),![];const _0x156a63=fs[_0x4d9ec8(0x25b)](_0x5be544)[_0x4d9ec8(0x24f)];if(_0x457f9a[_0x4d9ec8(0x23c)](_0x156a63,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x4d9ec8(0x1e4)](_0x4d9ec8(0x244)+_0x156a63+'\x20bytes'),![];return!![];}return![];},exports[a45_0x58aa4b(0x215)]=(_0x57bbab,_0x392bfc)=>{const _0x5bcc5c=a45_0x58aa4b,_0x532886={};_0x532886[_0x5bcc5c(0x1d3)]=_0x5bcc5c(0x1cc);const _0x4697c6=_0x532886;logger[_0x5bcc5c(0x23a)](_0x5bcc5c(0x205)+_0x392bfc);if(_0x57bbab&&_0x57bbab[_0x5bcc5c(0x273)]){const _0x4d6633=_0x57bbab[_0x5bcc5c(0x273)]['find'](_0x5c9215=>_0x5c9215[_0x5bcc5c(0x202)]==='trace');if(_0x4d6633)return logger[_0x5bcc5c(0x23a)](_0x5bcc5c(0x234)+_0x392bfc+_0x5bcc5c(0x235)),_0x4d6633[_0x392bfc];}else{if(_0x57bbab&&Object[_0x5bcc5c(0x1cb)]['toString'][_0x5bcc5c(0x239)](_0x57bbab)['includes'](_0x4697c6[_0x5bcc5c(0x1d3)]))for(const _0x5544a1 of _0x57bbab){if(_0x5544a1[_0x392bfc])return logger[_0x5bcc5c(0x23a)]('Found\x20key:\x20'+_0x392bfc+_0x5bcc5c(0x261)),_0x5544a1[_0x392bfc];}};return'';},exports['uploadTraceZip']=async(_0x154b8c,_0x2fe46a)=>{const _0x25ef9e=a45_0x58aa4b,_0x413846={};_0x413846['fVinZ']=_0x25ef9e(0x24d),_0x413846['AnRIJ']=_0x25ef9e(0x21d),_0x413846[_0x25ef9e(0x20f)]='sendTraceZip',_0x413846['BxuCx']=_0x25ef9e(0x1d4);const _0xa8df1d=_0x413846;try{const _0x32a261={'event_type':_0xa8df1d['fVinZ'],'logs':[{'data':_0x154b8c?fs[_0x25ef9e(0x230)](_0x154b8c):'','test_run_uuid':_0x2fe46a,'kind':_0xa8df1d[_0x25ef9e(0x221)],'fileName':_0x154b8c?path[_0x25ef9e(0x1df)](_0x154b8c):''}]};return await SessionHandler[_0x25ef9e(0x246)](_0x32a261,0x0,_0xa8df1d[_0x25ef9e(0x20f)]);}catch(_0x5c871e){logger[_0x25ef9e(0x1e4)](util[_0x25ef9e(0x241)](_0xa8df1d['BxuCx'],_0x5c871e));}},exports['sendTraceZip']=async(_0x2283ae,_0x515f3d)=>{const _0x2c6309=a45_0x58aa4b,_0x6622c7={'UrdOT':_0x2c6309(0x240),'aTOzm':_0x2c6309(0x1da),'srfyO':function(_0xfc7cf8){return _0xfc7cf8();},'xvoFW':_0x2c6309(0x1d4)};try{logger[_0x2c6309(0x23a)](_0x2c6309(0x1e1)+_0x515f3d);let _0xda9cf6=await exports[_0x2c6309(0x215)](_0x2283ae,_0x6622c7[_0x2c6309(0x20e)]);if(exports['validateFilePath'](_0xda9cf6)){logger['debug'](_0x6622c7[_0x2c6309(0x20a)]),_0xda9cf6=path['resolve'](_0xda9cf6);const _0x1a9995={};_0x1a9995[_0x2c6309(0x224)]=_0x515f3d,_0x1a9995[_0x2c6309(0x266)]=_0xda9cf6;const _0x3180e2=_0x1a9995;_0x6622c7[_0x2c6309(0x25d)](getBrowserstackCLI)['getInstance']()[_0x2c6309(0x1d0)]()?TestInfo[_0x2c6309(0x264)](_0x3180e2):TestDetails[_0x2c6309(0x264)](_0x3180e2);};}catch(_0x4ffa37){logger[_0x2c6309(0x1e4)](util[_0x2c6309(0x241)](_0x6622c7['xvoFW'],_0x4ffa37));}},exports[a45_0x58aa4b(0x27c)]=_0x477bd3=>{const _0x2a2b94=a45_0x58aa4b,_0x44cfcf={};_0x44cfcf[_0x2a2b94(0x22b)]=function(_0x5c6ab0,_0x550f21){return _0x5c6ab0+_0x550f21;},_0x44cfcf[_0x2a2b94(0x231)]=function(_0x41dfc0,_0x2288b2){return _0x41dfc0+_0x2288b2;};const _0x32d52f=_0x44cfcf;return _0x32d52f[_0x2a2b94(0x22b)](_0x32d52f['wJiGz'](_0x477bd3[_0x2a2b94(0x223)],'-'),_0x477bd3['id']);},exports[a45_0x58aa4b(0x26a)]=(_0x4b32bf,_0x4a8c11)=>{const _0x2059a2=a45_0x58aa4b,_0x4c12e6={};_0x4c12e6[_0x2059a2(0x1c7)]=function(_0x462ae8,_0x52a373){return _0x462ae8+_0x52a373;};const _0x565fbb=_0x4c12e6;return _0x565fbb[_0x2059a2(0x1c7)](_0x565fbb[_0x2059a2(0x1c7)](exports[_0x2059a2(0x27c)](_0x4b32bf),'-'),_0x4a8c11);};
|
|
1
|
+
const a45_0x13c2ea=a45_0x3c55;function a45_0x3c55(_0x56d140,_0x4eedf2){const _0x769bc7=a45_0x769b();return a45_0x3c55=function(_0x3c554e,_0x33933e){_0x3c554e=_0x3c554e-0x94;let _0x513c73=_0x769bc7[_0x3c554e];return _0x513c73;},a45_0x3c55(_0x56d140,_0x4eedf2);}(function(_0x117aa0,_0x1a4b09){const _0x37d227=a45_0x3c55,_0x974bd=_0x117aa0();while(!![]){try{const _0x3c464e=parseInt(_0x37d227(0xe5))/0x1+-parseInt(_0x37d227(0xa9))/0x2+parseInt(_0x37d227(0x136))/0x3*(-parseInt(_0x37d227(0xa4))/0x4)+-parseInt(_0x37d227(0x115))/0x5*(-parseInt(_0x37d227(0xfb))/0x6)+parseInt(_0x37d227(0xcd))/0x7+-parseInt(_0x37d227(0x132))/0x8+parseInt(_0x37d227(0x101))/0x9;if(_0x3c464e===_0x1a4b09)break;else _0x974bd['push'](_0x974bd['shift']());}catch(_0x527b02){_0x974bd['push'](_0x974bd['shift']());}}}(a45_0x769b,0x1b912));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a45_0x13c2ea(0x12e)),helper=require(a45_0x13c2ea(0x125)),path=require(a45_0x13c2ea(0xee)),logger=require(a45_0x13c2ea(0xf5))[a45_0x13c2ea(0xe9)],SessionHandler=require(a45_0x13c2ea(0x10e)),TestDetails=require(a45_0x13c2ea(0xfc)),util=require(a45_0x13c2ea(0xae)),TestInfo=require(a45_0x13c2ea(0xf4));let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x1661df=a45_0x13c2ea,_0x1fa889={'wIIJt':function(_0x5f3706,_0x56bc22){return _0x5f3706(_0x56bc22);},'UkNAi':_0x1661df(0x104)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x1fa889[_0x1661df(0xce)](require,_0x1fa889['UkNAi'])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x1363ab=>{const _0x201696=a45_0x13c2ea;return _0x1363ab['match'](/@(\w+)/g)?.[_0x201696(0xf7)](_0x5e879e=>_0x5e879e[_0x201696(0xbe)](0x1))||[];};function a45_0x769b(){const _0x4efe78=['common','onBegin','hRSln','ltqQG','sendSessionDetails','sRVyB','substr','Arguments','title','jkltI','22564peJFNz','eVQAu','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','filePath','winstonLogger','name','getPlaywrightLibPath','doNsE','@playwright/test/lib/common/configLoader.js','path','LYjhY','length','toLowerCase','size','hrjVS','../../v2/TestInfo','../../../helpers/logger','\x20bytes','map','evewp','compareVersions','.zip','42wDaRlT','./test-details','crVBT','xSrPT','startsWith','bwZsu','3304449SyOoRe','yBqFd','test','../../v2/browserstackCLI','giblq','playwright','WAhDs','findNestedKey','xHQIW','zLEEa','RiSuu','uczYc','HTWOa','../../../helpers/test-observability/sessionHandler','extname','htZRO','message','PLAYWRIGHT','Found\x20key:\x20','MPsfl','54850kDVpJz','lmZAT','sendTraceZip','validateFilePath','mxZlM','TEST_ATTACHMENT','calculateTimesFromMultipleFiles','1.38.0','existsSync','xjmmp','endsWith','playwright/lib/common/configLoader.js','onStepBegin','getInstance','dPSLA','cYYkw','../../../helpers/helper','INKDZ','processPageScreenshot','nsmQf','PgnJg','ERROR','getTransformPath','@playwright/test/lib/common/transform.js','_projectId','../../../helpers/test-observability/constants','1.42.0','MTpVA','TEST_LOG','1586552rgwCYt','attachments','jvETF','johIy','101358pcXTcb','mqbIh','BCdQU','Test\x20timeout\x20of','UgmKF','debug','createReadStream','filter','FNcLn','Searching\x20for\x20key:\x20','toISOString','getTestTags','Mrwzf','isRunning','\x20in\x20attachments','env','nlPZl','eiGcI','.json','XHiXD','vJLVK','bixpA','afterWorkerHook','resolve','stack','WdGsr','tjObc','24cYgnrB','KFLhs','runner/projectUtils.js','mcsvc','join','193128TuhNij','\x20in\x20arguments','bBOwh','aSDix','PSlsn','util','basename','getTime','prototype','beforeTestHook','beforeWorkerHook','@playwright/test/lib/transform/transform.js','toString','performance-reporter.html','performance-report-worker-','statSync','MGouW','doo11ySync','includes','getTestRunIdentifier','NsKGT','slice','OKaYL','mJRaD','START_TIME','PBxhN','call','lib','getTestIdentifier','opsqE','VXxTJ','setupBrowserDetails','PKMhz','1.35.0','jEkHq','tags','1007986hnbgor','wIIJt','RFBac','error','addTraceFilePath','afterTestHook','find','Percentage\x20of\x20increased\x20time\x20is\x20','Trace\x20enabled','onrHD','rAPAA','getFailureData','LogCreated','@playwright/test'];a45_0x769b=function(){return _0x4efe78;};return a45_0x769b();}exports[a45_0x13c2ea(0x94)]=_0x2cd23a=>{const _0x4931a9=a45_0x13c2ea,_0x403dbf={'nlPZl':function(_0x52707f,_0x48a03a){return _0x52707f(_0x48a03a);}};if(_0x2cd23a[_0x4931a9(0xcc)])return _0x2cd23a['tags'][_0x4931a9(0xf7)](_0x31c717=>_0x31c717[_0x4931a9(0xff)]('@')?_0x31c717[_0x4931a9(0xe1)](0x1):_0x31c717);return _0x403dbf[_0x4931a9(0x99)](getTagsFromTitle,_0x2cd23a[_0x4931a9(0xe3)]);},exports['calculatePerformance']=async()=>{const _0x545c20=a45_0x13c2ea,_0x1f0b97={'MIZQF':function(_0x2bac72,_0x1163f7){return _0x2bac72-_0x1163f7;},'mDgGf':_0x545c20(0xb6),'PKMhz':_0x545c20(0xdc),'onrHD':'endSession','mqbIh':'onTestBegin','jYkON':'onTestEnd','MPsfl':_0x545c20(0x121),'UgmKF':'onStepEnd','cYYkw':_0x545c20(0xb3),'wuqyL':_0x545c20(0x9f),'rAPAA':_0x545c20(0xb2),'mxZlM':_0x545c20(0xd2),'xjmmp':_0x545c20(0xba),'jvETF':_0x545c20(0x127),'xSrPT':_0x545c20(0xdf),'WAhDs':_0x545c20(0xc8),'mJRaD':'requestSpyCallback','vJLVK':'sendTestLog','bogqF':function(_0x5c689e,_0x3c294c){return _0x5c689e(_0x3c294c);},'olTty':function(_0x355bbd,_0x24f249){return _0x355bbd/_0x24f249;},'VXxTJ':function(_0x1ceadc,_0x54076c){return _0x1ceadc(_0x54076c);},'crVBT':function(_0x1bc3e5,_0x34ce2e){return _0x1bc3e5+_0x34ce2e;},'LYjhY':function(_0x1d0874,_0xb0c542){return _0x1d0874(_0xb0c542);},'ungCY':function(_0x4c7c44,_0x23da47){return _0x4c7c44*_0x23da47;},'PBxhN':function(_0x7b7ec4,_0x2368d2){return _0x7b7ec4/_0x2368d2;},'RiSuu':function(_0x5f2ee3,_0x38f493){return _0x5f2ee3+_0x38f493;}};if(!process[_0x545c20(0x98)][_0x545c20(0xc1)])return;const _0x5c975c=_0x1f0b97['MIZQF'](new Date()[_0x545c20(0xb0)](),new Date(process[_0x545c20(0x98)]['START_TIME'])[_0x545c20(0xb0)]()),_0x5e317a=await PerformanceTester['stopAndGenerate'](_0x1f0b97['mDgGf'],[_0x1f0b97[_0x545c20(0xc9)],_0x1f0b97[_0x545c20(0xd6)],_0x1f0b97[_0x545c20(0x137)],_0x1f0b97['jYkON'],_0x1f0b97[_0x545c20(0x114)],_0x1f0b97[_0x545c20(0x13a)]]),_0x5da796=fs['readdirSync']('.'),_0x291b92=_0x5da796[_0x545c20(0x13d)](_0x4c561e=>_0x4c561e[_0x545c20(0xff)](_0x545c20(0xb7))&&_0x4c561e[_0x545c20(0x11f)](_0x545c20(0x9b))),_0x40e8e7=await PerformanceTester[_0x545c20(0x11b)](_0x291b92,[_0x1f0b97[_0x545c20(0x124)],_0x1f0b97['wuqyL'],_0x1f0b97[_0x545c20(0xd7)],_0x1f0b97[_0x545c20(0x119)],_0x1f0b97[_0x545c20(0x11e)],_0x1f0b97[_0x545c20(0x134)],_0x1f0b97[_0x545c20(0xfe)],_0x1f0b97[_0x545c20(0x107)],_0x1f0b97[_0x545c20(0xc0)],_0x1f0b97[_0x545c20(0x9d)]]);_0x1f0b97['bogqF'](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x1f0b97['olTty'](_0x5c975c,0x3e8)+'\x20s'),_0x1f0b97[_0x545c20(0xc7)](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x1f0b97[_0x545c20(0xfd)](_0x40e8e7,_0x5e317a)),_0x1f0b97[_0x545c20(0xef)](debug,_0x545c20(0xd4)+_0x1f0b97['ungCY'](_0x1f0b97[_0x545c20(0xc2)](_0x1f0b97[_0x545c20(0x10b)](_0x40e8e7,_0x5e317a),_0x5c975c),0x64));},exports[a45_0x13c2ea(0x12b)]=()=>{const _0x2207e8=a45_0x13c2ea,_0x54d676={'uczYc':function(_0x373573,_0x1bbd5c){return _0x373573(_0x1bbd5c);},'INKDZ':function(_0x2ee3ff,_0x238f39){return _0x2ee3ff>=_0x238f39;},'fOxmT':'1.38.0','BCdQU':'playwright/lib/transform/transform.js','mcsvc':'playwright','RFBac':function(_0x2ebacc,_0x54b57d){return _0x2ebacc>=_0x54b57d;},'BvOWv':_0x2207e8(0xca),'bKdJW':_0x2207e8(0xb4),'MTpVA':_0x2207e8(0xda),'NsKGT':_0x2207e8(0x12c)},_0x14af0a=_0x54d676[_0x2207e8(0x10c)](getFrameworkVersion,FRAMEWORKS[_0x2207e8(0x112)]);if(_0x54d676[_0x2207e8(0x126)](helper['compareVersions'](_0x14af0a,_0x54d676['fOxmT']),0x0))return[_0x54d676[_0x2207e8(0x138)],_0x54d676[_0x2207e8(0xa7)]];if(_0x54d676[_0x2207e8(0xcf)](helper[_0x2207e8(0xf9)](_0x14af0a,_0x54d676['BvOWv']),0x0))return[_0x54d676['bKdJW'],_0x54d676[_0x2207e8(0x130)]];return[_0x54d676[_0x2207e8(0xbd)],_0x54d676[_0x2207e8(0x130)]];},exports['getConfigLoaderPath']=()=>{const _0x5d975b=a45_0x13c2ea,_0x11fd6d={'qzWsO':function(_0x1ea734,_0x5e3f63){return _0x1ea734(_0x5e3f63);},'htZRO':function(_0x5000af,_0x3de2e8){return _0x5000af>=_0x3de2e8;},'KFLhs':_0x5d975b(0x11c),'eiGcI':_0x5d975b(0x120),'hrjVS':_0x5d975b(0x106),'jEkHq':_0x5d975b(0xed),'xHQIW':_0x5d975b(0xda)},_0xcd91d0=_0x11fd6d['qzWsO'](getFrameworkVersion,FRAMEWORKS[_0x5d975b(0x112)]);if(_0x11fd6d[_0x5d975b(0x110)](helper['compareVersions'](_0xcd91d0,_0x11fd6d[_0x5d975b(0xa5)]),0x0))return[_0x11fd6d[_0x5d975b(0x9a)],_0x11fd6d[_0x5d975b(0xf3)]];return[_0x11fd6d[_0x5d975b(0xcb)],_0x11fd6d[_0x5d975b(0x109)]];},exports['getLoadUtilsPath']=()=>{const _0x1102eb=a45_0x13c2ea,_0x4d847f={};_0x4d847f['PgnJg']='runner/loadUtils.js';const _0x379bca=_0x4d847f;return helper[_0x1102eb(0xeb)](_0x379bca[_0x1102eb(0x129)]);},exports['getProjectUtilsPath']=()=>{const _0x4cbafc=a45_0x13c2ea,_0xd38e2f={};_0xd38e2f[_0x4cbafc(0xde)]=_0x4cbafc(0xa6);const _0xc70129=_0xd38e2f;return helper[_0x4cbafc(0xeb)](_0xc70129[_0x4cbafc(0xde)]);},exports['getForkProcessPath']=()=>{const _0x571bcf=a45_0x13c2ea,_0x2cc59b={'WORud':function(_0x349eeb,_0x1a0fd1){return _0x349eeb(_0x1a0fd1);},'eVQAu':function(_0x5a062,_0x251435){return _0x5a062>=_0x251435;},'MGouW':_0x571bcf(0x11c),'bBOwh':_0x571bcf(0xc4),'XHiXD':_0x571bcf(0xdb),'qkXGW':'process.js','FNcLn':_0x571bcf(0x103)},_0x20b99b=_0x2cc59b['WORud'](getFrameworkVersion,FRAMEWORKS[_0x571bcf(0x112)]);if(_0x2cc59b[_0x571bcf(0xe6)](helper['compareVersions'](_0x20b99b,_0x2cc59b[_0x571bcf(0xb9)]),0x0))return path[_0x571bcf(0xa8)](_0x2cc59b[_0x571bcf(0xab)],_0x2cc59b[_0x571bcf(0x9c)],_0x2cc59b['qkXGW']);return path[_0x571bcf(0xa8)](_0x2cc59b[_0x571bcf(0x13e)],_0x2cc59b[_0x571bcf(0xab)],_0x2cc59b[_0x571bcf(0x9c)],_0x2cc59b['qkXGW']);},exports[a45_0x13c2ea(0xd8)]=(_0x627b9c,{test_run_uuid:_0x30422c})=>{const _0x473ea2=a45_0x13c2ea,_0x43787f={'tjObc':_0x473ea2(0x12a),'nsmQf':_0x473ea2(0x131),'Mrwzf':function(_0x4f7e6f,_0x371b08){return _0x4f7e6f<=_0x371b08;},'dPSLA':function(_0x52e8cf,_0x53ef80){return _0x52e8cf(_0x53ef80);},'johIy':_0x473ea2(0x139),'hRSln':function(_0x1977d7,_0x5393aa){return _0x1977d7(_0x5393aa);},'giblq':function(_0xaa3003,_0x53d667){return _0xaa3003>=_0x53d667;},'bQNDc':_0x473ea2(0x12f),'HTWOa':function(_0x44010c,_0x47ae97){return _0x44010c>_0x47ae97;},'evewp':function(_0x4cc931,_0x35139b,_0x28b5c5){return _0x4cc931(_0x35139b,_0x28b5c5);},'EtJyD':_0x473ea2(0x103)};if(!_0x627b9c||_0x43787f[_0x473ea2(0x95)](_0x627b9c[_0x473ea2(0xf0)],0x0))return[];const _0x5590f9=_0x43787f[_0x473ea2(0x123)](removeAnsiColors,_0x627b9c[0x0][_0x473ea2(0x111)]);if(_0x5590f9[_0x473ea2(0xff)](_0x43787f[_0x473ea2(0x135)])){const _0x666762=_0x627b9c[0x0],_0x473dd8=_0x43787f[_0x473ea2(0xdd)](getFrameworkVersion,FRAMEWORKS[_0x473ea2(0x112)]);if((!_0x666762['stack']||_0x43787f[_0x473ea2(0x105)](_0x473dd8,_0x43787f['bQNDc']))&&_0x43787f[_0x473ea2(0x10d)](_0x627b9c['length'],0x1))return{'failureData':[{'backtrace':[_0x5590f9,_0x43787f[_0x473ea2(0x123)](removeAnsiColors,_0x627b9c[0x1][_0x473ea2(0xa1)])]}],'logs':_0x627b9c[_0x473ea2(0xbe)](0x2)['map'](_0x4fa761=>{const _0x3665f8=_0x473ea2;return{'timestamp':new Date()[_0x3665f8(0x140)](),'level':_0x43787f[_0x3665f8(0xa3)],'message':''+_0x4fa761['message'],'kind':_0x43787f[_0x3665f8(0x128)],'http_response':{},'test_run_uuid':_0x30422c};})};}return{'failureData':_0x43787f[_0x473ea2(0xf8)](failureData,_0x627b9c,_0x43787f['EtJyD']),'logs':[]};},exports[a45_0x13c2ea(0x118)]=_0x9045c2=>{const _0x246e3f=a45_0x13c2ea,_0x1060de={};_0x1060de[_0x246e3f(0x102)]=function(_0x5ae8d7,_0x483818){return _0x5ae8d7!==_0x483818;},_0x1060de[_0x246e3f(0xbf)]=_0x246e3f(0xfa),_0x1060de[_0x246e3f(0xac)]=function(_0x3aa505,_0x2e98c3){return _0x3aa505>_0x2e98c3;};const _0x17fffd=_0x1060de;if(_0x9045c2&&fs[_0x246e3f(0x11d)](_0x9045c2)){if(_0x17fffd[_0x246e3f(0x102)](path[_0x246e3f(0x10f)](_0x9045c2)[_0x246e3f(0xf1)](),_0x17fffd[_0x246e3f(0xbf)]))return logger[_0x246e3f(0xd0)](_0x246e3f(0xe7)+_0x9045c2),![];const _0x2c82d2=fs[_0x246e3f(0xb8)](_0x9045c2)[_0x246e3f(0xf2)];if(_0x17fffd[_0x246e3f(0xac)](_0x2c82d2,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x246e3f(0xd0)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x2c82d2+_0x246e3f(0xf6)),![];return!![];}return![];},exports[a45_0x13c2ea(0x108)]=(_0x371f07,_0x4f2ef8)=>{const _0x4f2567=a45_0x13c2ea,_0x53f8ca={};_0x53f8ca['UdKBh']=_0x4f2567(0xe2);const _0x2e4a55=_0x53f8ca;logger[_0x4f2567(0x13b)](_0x4f2567(0x13f)+_0x4f2ef8);if(_0x371f07&&_0x371f07[_0x4f2567(0x133)]){const _0x42896b=_0x371f07['attachments'][_0x4f2567(0xd3)](_0xc0d5d5=>_0xc0d5d5[_0x4f2567(0xea)]==='trace');if(_0x42896b)return logger[_0x4f2567(0x13b)](_0x4f2567(0x113)+_0x4f2ef8+_0x4f2567(0x97)),_0x42896b[_0x4f2ef8];}else{if(_0x371f07&&Object[_0x4f2567(0xb1)][_0x4f2567(0xb5)][_0x4f2567(0xc3)](_0x371f07)[_0x4f2567(0xbb)](_0x2e4a55['UdKBh']))for(const _0x33283f of _0x371f07){if(_0x33283f[_0x4f2ef8])return logger[_0x4f2567(0x13b)](_0x4f2567(0x113)+_0x4f2ef8+_0x4f2567(0xaa)),_0x33283f[_0x4f2ef8];}};return'';},exports['uploadTraceZip']=async(_0x29486a,_0xd470db)=>{const _0x31fc2c=a45_0x13c2ea,_0x4de6d2={};_0x4de6d2[_0x31fc2c(0xa2)]=_0x31fc2c(0xd9),_0x4de6d2[_0x31fc2c(0xad)]=_0x31fc2c(0x11a),_0x4de6d2[_0x31fc2c(0xec)]=_0x31fc2c(0x117),_0x4de6d2['jkltI']='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x53d98e=_0x4de6d2;try{const _0x9537f9={'event_type':_0x53d98e[_0x31fc2c(0xa2)],'logs':[{'data':_0x29486a?fs[_0x31fc2c(0x13c)](_0x29486a):'','test_run_uuid':_0xd470db,'kind':_0x53d98e[_0x31fc2c(0xad)],'fileName':_0x29486a?path[_0x31fc2c(0xaf)](_0x29486a):''}]};return await SessionHandler['sendEventData'](_0x9537f9,0x0,_0x53d98e[_0x31fc2c(0xec)]);}catch(_0x12cc48){logger['error'](util['format'](_0x53d98e[_0x31fc2c(0xe4)],_0x12cc48));}},exports[a45_0x13c2ea(0x117)]=async(_0xf8f481,_0x28800c)=>{const _0x4a2f52=a45_0x13c2ea,_0x2cd90e={'pdBwk':_0x4a2f52(0xee),'bixpA':_0x4a2f52(0xd5),'opsqE':function(_0x1b0bd2){return _0x1b0bd2();},'sRVyB':'Error\x20in\x20sending\x20trace\x20file:\x20%s'};try{logger[_0x4a2f52(0x13b)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x28800c);let _0x4b629e=await exports['findNestedKey'](_0xf8f481,_0x2cd90e['pdBwk']);if(exports['validateFilePath'](_0x4b629e)){logger[_0x4a2f52(0x13b)](_0x2cd90e[_0x4a2f52(0x9e)]),_0x4b629e=path[_0x4a2f52(0xa0)](_0x4b629e);const _0x299d4c={};_0x299d4c['testUId']=_0x28800c,_0x299d4c[_0x4a2f52(0xe8)]=_0x4b629e;const _0x1da6d0=_0x299d4c;_0x2cd90e[_0x4a2f52(0xc6)](getBrowserstackCLI)[_0x4a2f52(0x122)]()[_0x4a2f52(0x96)]()?TestInfo[_0x4a2f52(0xd1)](_0x1da6d0):TestDetails[_0x4a2f52(0xd1)](_0x1da6d0);};}catch(_0x11c937){logger[_0x4a2f52(0xd0)](util['format'](_0x2cd90e[_0x4a2f52(0xe0)],_0x11c937));}},exports[a45_0x13c2ea(0xc5)]=_0x3258c4=>{const _0x46f240=a45_0x13c2ea,_0x2a9b35={};_0x2a9b35[_0x46f240(0x100)]=function(_0x516b48,_0xaf49b1){return _0x516b48+_0xaf49b1;},_0x2a9b35[_0x46f240(0x10a)]=function(_0x28fd45,_0x2e306f){return _0x28fd45+_0x2e306f;};const _0x1dfc26=_0x2a9b35;return _0x1dfc26[_0x46f240(0x100)](_0x1dfc26['zLEEa'](_0x3258c4[_0x46f240(0x12d)],'-'),_0x3258c4['id']);},exports[a45_0x13c2ea(0xbc)]=(_0x424a4b,_0x18dc57)=>{const _0x4d8969=a45_0x13c2ea,_0xd4bd37={};_0xd4bd37[_0x4d8969(0x116)]=function(_0x1109fd,_0x473022){return _0x1109fd+_0x473022;};const _0x36eb3d=_0xd4bd37;return _0x36eb3d[_0x4d8969(0x116)](_0x36eb3d[_0x4d8969(0x116)](exports[_0x4d8969(0xc5)](_0x424a4b),'-'),_0x18dc57);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46_0x27fe8f=a46_0x3a7a;(function(_0x4e4b26,_0x1279e5){const _0x4da5b5=a46_0x3a7a,_0x3e0dc7=_0x4e4b26();while(!![]){try{const _0x41a554=parseInt(_0x4da5b5(0x22e))/0x1*(parseInt(_0x4da5b5(0x1bd))/0x2)+parseInt(_0x4da5b5(0x207))/0x3+parseInt(_0x4da5b5(0x1d5))/0x4+-parseInt(_0x4da5b5(0x279))/0x5+-parseInt(_0x4da5b5(0x286))/0x6*(-parseInt(_0x4da5b5(0x1ac))/0x7)+-parseInt(_0x4da5b5(0x1b7))/0x8*(-parseInt(_0x4da5b5(0x25d))/0x9)+-parseInt(_0x4da5b5(0x210))/0xa*(parseInt(_0x4da5b5(0x292))/0xb);if(_0x41a554===_0x1279e5)break;else _0x3e0dc7['push'](_0x3e0dc7['shift']());}catch(_0x418968){_0x3e0dc7['push'](_0x3e0dc7['shift']());}}}(a46_0x28a7,0x6b16c));const RequestQueueHandler=require(a46_0x27fe8f(0x241)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a46_0x27fe8f(0x238)),{v4:uuidv4}=require(a46_0x27fe8f(0x20a)),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a46_0x27fe8f(0x258)),fs=require('fs'),util=require(a46_0x27fe8f(0x1d9)),{o11yClassErrorHandler}=require(a46_0x27fe8f(0x293)),PerformanceTester=require(a46_0x27fe8f(0x266)),{FRAMEWORKS}=require(a46_0x27fe8f(0x1d2)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a46_0x27fe8f(0x269)),helper=require('../../../helpers/helper'),BrowserstackCLI=require(a46_0x27fe8f(0x288)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a46_0x27fe8f(0x263)),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require('../../../../src/bin/utils/constants');class MyReporter{constructor(_0xfe5c4){const _0x488e40=a46_0x27fe8f,_0xd2f3a6={'LnWZh':_0x488e40(0x26d),'WMAwm':_0x488e40(0x26a),'DMIxe':function(_0x4503c3,_0x3f378d,_0x99acd4,_0x2c33e1){return _0x4503c3(_0x3f378d,_0x99acd4,_0x2c33e1);}},_0x5c9cb4=_0xd2f3a6['LnWZh']['split']('|');let _0x421ac2=0x0;while(!![]){switch(_0x5c9cb4[_0x421ac2++]){case'0':this['_gitConfigPath']=null;continue;case'1':this[_0x488e40(0x27f)]=![];continue;case'2':this['options']=_0xfe5c4;continue;case'3':this[_0x488e40(0x21c)]={};continue;case'4':process[_0x488e40(0x248)][_0x488e40(0x1c9)]&&(PerformanceTester[_0x488e40(0x19a)](_0xd2f3a6[_0x488e40(0x25e)]),process[_0x488e40(0x248)][_0x488e40(0x254)]=new Date()[_0x488e40(0x275)]());continue;case'5':const _0x782b79={};_0x782b79['logLevel']=process[_0x488e40(0x248)][_0x488e40(0x212)],_0xd2f3a6['DMIxe'](setLogLevel,_0x782b79,new Map(),new Map());continue;case'6':this['_tests']={};continue;}break;}}async[a46_0x27fe8f(0x273)](){const _0x493a4b=a46_0x27fe8f;TestDetails[_0x493a4b(0x278)](),await this[_0x493a4b(0x253)](),TestInfo['setup']();if(BrowserstackCLI[_0x493a4b(0x287)]()[_0x493a4b(0x29b)]()){await BrowserstackCLI['getInstance']()[_0x493a4b(0x28f)]()[_0x493a4b(0x21f)](TestFrameworkState[_0x493a4b(0x1e3)],HookState[_0x493a4b(0x27b)],{});return;}}async[a46_0x27fe8f(0x25a)](_0x53822f,_0x3f3ccd){const _0x204298=a46_0x27fe8f,_0x33ea22={'gMEgu':function(_0x585cf3,_0x559720){return _0x585cf3(_0x559720);},'XSeyy':function(_0x5d95ba,_0x51b048,_0x1e5f8a){return _0x5d95ba(_0x51b048,_0x1e5f8a);},'lgFyH':_0x204298(0x24c)};if(BrowserstackCLI[_0x204298(0x287)]()[_0x204298(0x29b)]()){const _0x341480={};_0x341480[_0x204298(0x260)]=_0x53822f,_0x341480[_0x204298(0x201)]=_0x3f3ccd,await BrowserstackCLI[_0x204298(0x287)]()[_0x204298(0x28f)]()[_0x204298(0x21f)](TestFrameworkState[_0x204298(0x20d)],HookState['PRE'],_0x341480);return;}const _0x5802ac=_0x33ea22['gMEgu'](getTestIdentifier,_0x53822f),_0x18c0b3=TestDetails[_0x204298(0x27c)](_0x33ea22['XSeyy'](getTestRunIdentifier,_0x53822f,_0x3f3ccd[_0x204298(0x1b2)]));process[_0x204298(0x248)][_0x204298(0x1a0)]=_0x18c0b3;const _0x18c38e={};_0x18c38e[_0x204298(0x20a)]=_0x18c0b3,_0x18c38e[_0x204298(0x209)]=_0x3f3ccd[_0x204298(0x219)],this['_tests'][_0x5802ac]=_0x18c38e,_0x33ea22[_0x204298(0x19d)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x5802ac),await this[_0x204298(0x1f2)](_0x53822f,_0x33ea22[_0x204298(0x264)],_0x3f3ccd);}async['onStepBegin'](_0x4278d2,_0x9fa8ea,_0x535075){const _0x457872=a46_0x27fe8f,_0x11946f={'rnXDE':function(_0x28e9c7,_0x4cd163,_0x3d3f57){return _0x28e9c7(_0x4cd163,_0x3d3f57);},'JjQgW':function(_0x2cd2e5,_0x105553){return _0x2cd2e5(_0x105553);},'QiViL':_0x457872(0x190)};if(!this[_0x457872(0x1ca)](_0x535075,_0x4278d2))return;if(BrowserstackCLI[_0x457872(0x287)]()[_0x457872(0x29b)]()){const _0x3c6e53=this['getHookType'](_0x535075[_0x457872(0x1b9)]),_0x3be2b6=TestFrameworkState[_0x3c6e53],_0x4f6fb6={};_0x4f6fb6['test']=_0x4278d2,_0x4f6fb6[_0x457872(0x201)]=_0x9fa8ea,_0x4f6fb6[_0x457872(0x1b4)]=_0x535075,await BrowserstackCLI[_0x457872(0x287)]()['getTestFramework']()[_0x457872(0x21f)](_0x3be2b6,HookState[_0x457872(0x27b)],_0x4f6fb6);return;}const _0x2aaa33=this[_0x457872(0x1fb)](_0x4278d2,_0x535075);this[_0x457872(0x208)][_0x2aaa33]={'uuid':TestDetails['getTestUUID'](_0x2aaa33),'startedAt':_0x535075[_0x457872(0x219)][_0x457872(0x275)]()};const _0xa11b4e=_0x11946f[_0x457872(0x290)](getTestRunIdentifier,_0x4278d2,_0x9fa8ea[_0x457872(0x1b2)]);!this[_0x457872(0x21c)][_0xa11b4e]&&(this[_0x457872(0x21c)][_0xa11b4e]=[]),this[_0x457872(0x21c)][_0xa11b4e][_0x457872(0x1dd)](this[_0x457872(0x208)][_0x2aaa33][_0x457872(0x20a)]),_0x11946f[_0x457872(0x234)](trace,_0x457872(0x214)+_0x2aaa33+'\x20is\x20triggered\x20for\x20test\x20'+_0xa11b4e),await this[_0x457872(0x284)](_0x4278d2,_0x535075,_0x11946f[_0x457872(0x1aa)],_0x9fa8ea);}async[a46_0x27fe8f(0x1b1)](_0x5d411d,_0x283e4a,_0x36675a){const _0x150256=a46_0x27fe8f,_0x7e3aca={'aRGlq':function(_0x2389a8,_0x4d99e7){return _0x2389a8+_0x4d99e7;},'kgnUs':function(_0x3e672c,_0xab7c68){return _0x3e672c(_0xab7c68);},'EGCKW':_0x150256(0x1a2)};if(!this['needToReportStep'](_0x36675a,_0x5d411d))return;if(BrowserstackCLI[_0x150256(0x287)]()[_0x150256(0x29b)]()){const _0x287a33=this[_0x150256(0x240)](_0x36675a[_0x150256(0x1b9)]),_0x16aae7=TestFrameworkState[_0x287a33],_0x6471f={};_0x6471f[_0x150256(0x260)]=_0x5d411d,_0x6471f[_0x150256(0x201)]=_0x283e4a,_0x6471f[_0x150256(0x1b4)]=_0x36675a,await BrowserstackCLI[_0x150256(0x287)]()['getTestFramework']()[_0x150256(0x21f)](_0x16aae7,HookState[_0x150256(0x1a4)],_0x6471f);return;}const _0x1c62d4=this['getStepIdentifier'](_0x5d411d,_0x36675a);this['_tests'][_0x1c62d4]={...this[_0x150256(0x208)][_0x1c62d4]||{},'finishedAt':new Date(_0x7e3aca[_0x150256(0x200)](_0x36675a[_0x150256(0x219)][_0x150256(0x205)](),_0x36675a[_0x150256(0x251)]))},_0x7e3aca[_0x150256(0x235)](trace,_0x150256(0x221)+_0x1c62d4+_0x150256(0x1ef)),await this[_0x150256(0x284)](_0x5d411d,_0x36675a,_0x7e3aca[_0x150256(0x299)],_0x283e4a);}async['onTestEnd'](_0x457f15,_0x1484e3){const _0x1c4b8c=a46_0x27fe8f,_0x4f0022={'gYAON':function(_0x3ac10e,_0x3ac2b7){return _0x3ac10e===_0x3ac2b7;},'sWdTI':_0x1c4b8c(0x19f),'sdNbq':_0x1c4b8c(0x24b),'QOtck':_0x1c4b8c(0x1f1),'KrHhM':function(_0x3d5fef,_0x5e49ad){return _0x3d5fef(_0x5e49ad);},'KyoBi':function(_0x3ee02a,_0x28fb3c,_0x4b552e){return _0x3ee02a(_0x28fb3c,_0x4b552e);},'oBoAd':function(_0x1d3631,_0x23b84a){return _0x1d3631(_0x23b84a);},'krjOh':_0x1c4b8c(0x27d),'uDzoP':_0x1c4b8c(0x1bf),'PjgVk':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','Jwuzg':function(_0x463edf,_0x488a24){return _0x463edf>_0x488a24;}};if(BrowserstackCLI[_0x1c4b8c(0x287)]()[_0x1c4b8c(0x29b)]()){const _0x5d7396={};_0x5d7396[_0x1c4b8c(0x260)]=_0x457f15,_0x5d7396['result']=_0x1484e3,await BrowserstackCLI[_0x1c4b8c(0x287)]()[_0x1c4b8c(0x28f)]()[_0x1c4b8c(0x21f)](TestFrameworkState[_0x1c4b8c(0x20d)],HookState[_0x1c4b8c(0x1a4)],_0x5d7396);return;}const _0x346c14=_0x4f0022[_0x1c4b8c(0x28c)](getTestIdentifier,_0x457f15),_0x57e8ab=TestDetails['getTestUUID'](_0x4f0022[_0x1c4b8c(0x20e)](getTestRunIdentifier,_0x457f15,_0x1484e3[_0x1c4b8c(0x1b2)]));this[_0x1c4b8c(0x208)][_0x346c14]={...this[_0x1c4b8c(0x208)][_0x346c14]||{},'finishedAt':new Date()['toISOString']()},_0x4f0022[_0x1c4b8c(0x1a8)](debug,_0x1c4b8c(0x1b6)+_0x346c14);try{await this[_0x1c4b8c(0x1f2)](_0x457f15,_0x4f0022[_0x1c4b8c(0x276)],_0x1484e3);}catch(_0x49ba21){_0x4f0022[_0x1c4b8c(0x28c)](debug,util[_0x1c4b8c(0x1a5)](_0x4f0022[_0x1c4b8c(0x1d0)],_0x49ba21[_0x1c4b8c(0x1e6)]()));}try{_0x4f0022[_0x1c4b8c(0x28c)](debug,_0x1c4b8c(0x216)+_0x57e8ab),await _0x4f0022[_0x1c4b8c(0x20e)](sendTraceZip,_0x1484e3,_0x57e8ab);}catch(_0x32e3ba){_0x4f0022[_0x1c4b8c(0x28c)](debug,util[_0x1c4b8c(0x1a5)](_0x4f0022['PjgVk'],_0x32e3ba[_0x1c4b8c(0x1e6)]()));}const _0x286225=[];_0x1484e3['attachments']&&_0x1484e3[_0x1c4b8c(0x1eb)][_0x1c4b8c(0x198)](_0x4aabf8=>{const _0x12ffe2=_0x1c4b8c;if(_0x4f0022[_0x12ffe2(0x203)](_0x4aabf8['name'],_0x4f0022[_0x12ffe2(0x25b)])){if(!_0x4aabf8['path']||!fs[_0x12ffe2(0x1d6)](_0x4aabf8['path']))return;_0x286225['push']({'test_run_uuid':_0x57e8ab,'timestamp':fs['statSync'](_0x4aabf8[_0x12ffe2(0x23f)])[_0x12ffe2(0x236)],'kind':_0x4f0022[_0x12ffe2(0x19c)],'message':fs[_0x12ffe2(0x233)](_0x4aabf8[_0x12ffe2(0x23f)],{'encoding':_0x4f0022[_0x12ffe2(0x257)]})});}}),_0x4f0022[_0x1c4b8c(0x195)](_0x286225['length'],0x0)&&await MyReporter[_0x1c4b8c(0x285)](_0x286225);}async['endSession'](){const _0x300783=a46_0x27fe8f;await RequestQueueHandler[_0x300783(0x287)]()[_0x300783(0x252)]();}async[a46_0x27fe8f(0x1f8)](_0x2f61a2){const _0x3b3046=a46_0x27fe8f,_0x3b378c={'SbOWh':function(_0x28bb6d){return _0x28bb6d();},'IubcM':function(_0x126484,_0x5710c7){return _0x126484(_0x5710c7);}};await this[_0x3b3046(0x230)]();try{process[_0x3b3046(0x248)][_0x3b3046(0x1c9)]&&await _0x3b378c[_0x3b3046(0x1e1)](calculatePerformance);}catch(_0x225ecc){_0x3b378c[_0x3b3046(0x281)](debug,_0x3b3046(0x28d)+_0x225ecc['toString']());}}static async[a46_0x27fe8f(0x274)](_0x2e4c6e,_0x2741b9){const _0x5c2457=a46_0x27fe8f;_0x2741b9['test_run_uuid']=TestDetails[_0x5c2457(0x27c)](_0x2e4c6e),await this['reportLogs']([_0x2741b9]);}static async[a46_0x27fe8f(0x285)](_0x1e75a3){const _0x41635a=a46_0x27fe8f,_0x5c85c7={};_0x5c85c7[_0x41635a(0x1e9)]=_0x41635a(0x1c5);const _0x3c59d8=_0x5c85c7;if(BrowserstackCLI[_0x41635a(0x287)]()[_0x41635a(0x29b)]())return;const _0x3767a7={};_0x3767a7[_0x41635a(0x26b)]=_0x3c59d8[_0x41635a(0x1e9)],_0x3767a7[_0x41635a(0x1bc)]=_0x1e75a3,await SessionHandler[_0x41635a(0x297)](_0x3767a7);}async[a46_0x27fe8f(0x284)](_0x2fc16d,_0x5c3e82,_0x4b6ff0,_0x1dd152){const _0x34fdd8=a46_0x27fe8f,_0x1927e7={'UPVtG':_0x34fdd8(0x1a6),'ahSYc':_0x34fdd8(0x268),'pGCDO':_0x34fdd8(0x243),'hoecX':function(_0x39a29d,_0xe85c2c){return _0x39a29d>=_0xe85c2c;},'xRkIM':function(_0xe5e30,_0x365393){return _0xe5e30===_0x365393;},'BGnwn':_0x34fdd8(0x1a2),'vGFbj':function(_0x2d53ff,_0xcca0d8){return _0x2d53ff>_0xcca0d8;},'JgsEY':_0x34fdd8(0x29a),'rxVjd':function(_0x107374,_0x12c036){return _0x107374(_0x12c036);},'LmPmJ':function(_0x1681ca,_0x1256e4,_0x3b220c){return _0x1681ca(_0x1256e4,_0x3b220c);},'nJaiA':_0x34fdd8(0x1a7),'JywFD':function(_0x153710,_0x378092){return _0x153710===_0x378092;},'iWVsw':_0x34fdd8(0x1d1)},_0x1ad812=this[_0x34fdd8(0x206)](_0x2fc16d,_0x5c3e82),_0x390003=this['_tests'][_0x1ad812],_0xc8deb={'uuid':_0x390003[_0x34fdd8(0x20a)],'type':_0x1927e7[_0x34fdd8(0x1f0)],'hook_type':this[_0x34fdd8(0x240)](_0x5c3e82['title']),'name':_0x5c3e82['title'],'scope':this[_0x34fdd8(0x218)](_0x5c3e82),'scopes':this[_0x34fdd8(0x1c8)](_0x2fc16d),'body':{'lang':_0x1927e7['ahSYc'],'code':null},'identifier':_0x1ad812,'file_name':path[_0x34fdd8(0x26f)](process[_0x34fdd8(0x1bb)](),_0x2fc16d['location'][_0x34fdd8(0x267)]),'location':path[_0x34fdd8(0x26f)](process['cwd'](),_0x2fc16d[_0x34fdd8(0x23d)][_0x34fdd8(0x267)]),'result':_0x1927e7[_0x34fdd8(0x24e)],'duration_in_ms':_0x1927e7[_0x34fdd8(0x1d8)](_0x5c3e82[_0x34fdd8(0x251)],0x0)?_0x5c3e82[_0x34fdd8(0x251)]:undefined,'vc_filepath':this[_0x34fdd8(0x23a)]&&_0x2fc16d[_0x34fdd8(0x23d)][_0x34fdd8(0x267)]?path[_0x34fdd8(0x26f)](this['_gitConfigPath'],_0x2fc16d['location']['file']):undefined,'started_at':_0x390003[_0x34fdd8(0x209)],'finished_at':_0x390003['finishedAt'],'framework':FRAMEWORKS[_0x34fdd8(0x271)]};if(_0x1927e7['xRkIM'](_0x4b6ff0,_0x1927e7[_0x34fdd8(0x283)])){const {steps:_0x1eb66d,logs:_0x1f112a}=this[_0x34fdd8(0x196)](_0x5c3e82['steps'],_0x390003['uuid'],_0x1927e7[_0x34fdd8(0x1f0)]);_0x1f112a&&_0x1927e7[_0x34fdd8(0x21a)](_0x1f112a[_0x34fdd8(0x249)],0x0)&&await MyReporter[_0x34fdd8(0x285)](_0x1f112a);const _0x26c2e7={};_0x26c2e7[_0x34fdd8(0x1e8)]=_0x1eb66d,_0xc8deb[_0x34fdd8(0x19e)]=_0x26c2e7;if(_0x5c3e82[_0x34fdd8(0x255)]){_0xc8deb[_0x34fdd8(0x201)]=_0x1927e7[_0x34fdd8(0x1f4)],_0xc8deb[_0x34fdd8(0x228)]=_0x1927e7[_0x34fdd8(0x21b)](removeAnsiColors,_0x5c3e82['error'][_0x34fdd8(0x272)]),_0xc8deb[_0x34fdd8(0x26e)]=_0x1927e7['rxVjd'](getFailureType,_0x5c3e82[_0x34fdd8(0x255)][_0x34fdd8(0x272)]);const _0x53d47e=_0x1927e7[_0x34fdd8(0x277)](failureData,_0x5c3e82[_0x34fdd8(0x255)],_0x1927e7[_0x34fdd8(0x22b)]);if(_0x53d47e&&_0x1927e7[_0x34fdd8(0x25f)](_0x53d47e[_0x34fdd8(0x249)],0x0)){const _0xf33bf2={};_0xf33bf2[_0x34fdd8(0x1f3)]=[_0xc8deb[_0x34fdd8(0x228)]],_0xf33bf2['expanded']=[],_0x53d47e[_0x34fdd8(0x1dd)](_0xf33bf2);}_0xc8deb[_0x34fdd8(0x1db)]=_0x53d47e;}else _0xc8deb['result']=_0x1927e7['iWVsw'];}const _0x539f9f={};_0x539f9f[_0x34fdd8(0x26b)]=_0x4b6ff0,_0x539f9f[_0x34fdd8(0x191)]=_0xc8deb;const _0x42da60=_0x539f9f;await SessionHandler[_0x34fdd8(0x297)](_0x42da60);}[a46_0x27fe8f(0x196)](_0x4e3dd5,_0x199b69,_0x14a4b5){const _0x27bd9b=a46_0x27fe8f,_0x228822={'aOgES':function(_0x472137,_0x533852){return _0x472137===_0x533852;},'YZUFv':_0x27bd9b(0x1a6),'YtGtu':function(_0x579044,_0x19cce6){return _0x579044===_0x19cce6;},'CoeDT':_0x27bd9b(0x223),'EBXVl':function(_0x2d73df,_0x5c9ca9){return _0x2d73df===_0x5c9ca9;},'dryqj':_0x27bd9b(0x211),'qCgmZ':_0x27bd9b(0x260),'lNhcP':_0x27bd9b(0x22a),'qVxpr':_0x27bd9b(0x1ab),'FtiFy':_0x27bd9b(0x1b0),'tFdWP':_0x27bd9b(0x29a),'iGHDA':_0x27bd9b(0x1d1),'HfvIm':function(_0x198831,_0x398f8c){return _0x198831(_0x398f8c);},'BTOTH':function(_0x296f6b){return _0x296f6b();},'pLKIt':function(_0x30e2a1,_0x15dc96){return _0x30e2a1(_0x15dc96);},'dcUgg':function(_0x93f362,_0x46ef7f){return _0x93f362(_0x46ef7f);},'WmTSu':function(_0x47bc5e,_0x441218,_0x23f295){return _0x47bc5e(_0x441218,_0x23f295);},'jnJis':function(_0xf08944,_0x2d3ab6,_0x5654d5){return _0xf08944(_0x2d3ab6,_0x5654d5);}},_0x4f7fe3=[],_0x5be3db=[],_0xb6b1de=_0x4e3dd5[_0x27bd9b(0x1ad)](_0x261955=>{const _0x27f40e=_0x27bd9b;if(_0x228822[_0x27f40e(0x1da)](_0x261955[_0x27f40e(0x25c)],_0x228822[_0x27f40e(0x21e)])&&(_0x228822[_0x27f40e(0x244)](_0x261955[_0x27f40e(0x1b9)],_0x228822[_0x27f40e(0x1c2)])||_0x228822['EBXVl'](_0x261955[_0x27f40e(0x1b9)],_0x228822[_0x27f40e(0x204)])))return![];return!![];}),_0x38c4ec=(_0x316715,_0x29323b=![])=>{const _0x440056=_0x27bd9b;if(_0x228822[_0x440056(0x1e4)](_0x316715[_0x440056(0x1e8)]['length'],0x0)){const _0xf40f8f=_0x228822[_0x440056(0x244)](_0x14a4b5,_0x228822[_0x440056(0x23e)])?_0x228822[_0x440056(0x1fe)]:_0x228822[_0x440056(0x232)];_0x5be3db[_0x440056(0x1dd)]({'kind':_0x228822[_0x440056(0x1c1)],[_0xf40f8f]:_0x199b69,'message':_0x316715[_0x440056(0x1b9)],'timestamp':_0x316715[_0x440056(0x219)][_0x440056(0x275)](),'level':_0x316715[_0x440056(0x255)]?_0x228822[_0x440056(0x298)]:_0x228822[_0x440056(0x197)],'duration':_0x316715[_0x440056(0x251)],'failure':_0x316715[_0x440056(0x255)]&&_0x316715['error'][_0x440056(0x272)]&&_0x228822[_0x440056(0x224)](removeAnsiColors,_0x316715['error'][_0x440056(0x272)]),'failure_type':_0x228822['HfvIm'](getFailureType,_0x316715['error']&&_0x316715[_0x440056(0x255)][_0x440056(0x272)])});}else{!_0x29323b&&_0x4f7fe3[_0x440056(0x1dd)]({'id':_0x228822['BTOTH'](uuidv4),'text':_0x316715[_0x440056(0x1b9)],'keyword':undefined,'started_at':_0x316715[_0x440056(0x219)][_0x440056(0x275)](),'duration':_0x316715[_0x440056(0x251)],'result':_0x316715['error']?_0x228822[_0x440056(0x298)]:_0x228822[_0x440056(0x197)],'failure':_0x316715['error']&&_0x316715['error'][_0x440056(0x272)]&&_0x228822['pLKIt'](removeAnsiColors,_0x316715['error'][_0x440056(0x272)]),'failure_type':_0x228822['dcUgg'](getFailureType,_0x316715[_0x440056(0x255)]&&_0x316715[_0x440056(0x255)][_0x440056(0x272)])});for(const _0x4a0d8 of _0x316715[_0x440056(0x1e8)]){_0x228822[_0x440056(0x194)](_0x38c4ec,_0x4a0d8,!![]);}}};for(const _0x345074 of _0xb6b1de){_0x228822['jnJis'](_0x38c4ec,_0x345074,![]);}const _0x5777d5={};return _0x5777d5['steps']=_0x4f7fe3,_0x5777d5['logs']=_0x5be3db,_0x5777d5;}async[a46_0x27fe8f(0x1f2)](_0x23acf3,_0x1168a0,_0x5a5b45){const _0x145af0=a46_0x27fe8f,_0x4cccaf={'SeBCx':function(_0x2fb7c3,_0x588ab4){return _0x2fb7c3(_0x588ab4);},'NCLJl':'TEST_ATTACHMENT','xnQie':function(_0x1fbc25,_0x55b1b3){return _0x1fbc25(_0x55b1b3);},'GxpfC':'test','NffbU':'javascript','koLte':_0x145af0(0x243),'jXVjG':function(_0x5dab38,_0x4e3817){return _0x5dab38(_0x4e3817);},'vFMnW':function(_0x4c75d9,_0x4d6307,_0x4fd1b5,_0x4ebef1,_0x397281){return _0x4c75d9(_0x4d6307,_0x4fd1b5,_0x4ebef1,_0x397281);},'AFuXh':function(_0x5ee7c5,_0x4a1165){return _0x5ee7c5>_0x4a1165;},'DNMeF':function(_0x43351a,_0x4536a8,_0x38c2a5){return _0x43351a(_0x4536a8,_0x38c2a5);},'BqLMG':function(_0x559be0,_0x338d86){return _0x559be0-_0x338d86;},'NQOcJ':function(_0x5c6828,_0x1d6341){return _0x5c6828===_0x1d6341;},'zFfmz':'TestRunFinished','uUscy':function(_0x4408fa,_0x1434b1){return _0x4408fa===_0x1434b1;},'HTKvZ':'skipped','CDMvK':_0x145af0(0x1d1),'sQgCR':'failed','ZdqyI':_0x145af0(0x1dc),'sbqiE':_0x145af0(0x215),'PAvzB':function(_0x152ffa,_0x489ec9){return _0x152ffa(_0x489ec9);},'EWfKP':function(_0x296e0d,_0x842baf,_0x3f5b27){return _0x296e0d(_0x842baf,_0x3f5b27);},'ksiTg':function(_0x3c5992,_0xcc14ab){return _0x3c5992>_0xcc14ab;},'DKsjI':function(_0x1a1cf8,_0x2f23be,_0xd3e1){return _0x1a1cf8(_0x2f23be,_0xd3e1);},'KviOW':_0x145af0(0x23f),'QTEKY':function(_0x37f601,_0x34a2f7){return _0x37f601(_0x34a2f7);},'PTKyH':_0x145af0(0x24a),'hrOBb':_0x145af0(0x28b),'NbNdT':function(_0x2982dd,_0x23e0af){return _0x2982dd(_0x23e0af);},'dcDLg':function(_0x1c6250,_0xbc1027){return _0x1c6250!==_0xbc1027;},'wMMJD':function(_0x4d1e96,_0x38273c){return _0x4d1e96===_0x38273c;}},_0x40de71=_0x4cccaf['xnQie'](getTestIdentifier,_0x23acf3),_0x27869b=this[_0x145af0(0x218)](_0x23acf3),_0x49b006=this[_0x145af0(0x208)][_0x40de71],_0x1d2c18=path['relative'](process[_0x145af0(0x1bb)](),_0x23acf3[_0x145af0(0x23d)][_0x145af0(0x267)]);await this['configureGit']();const _0xa12402={'uuid':_0x49b006[_0x145af0(0x20a)],'type':_0x4cccaf[_0x145af0(0x291)],'name':_0x23acf3['title'],'body':{'lang':_0x4cccaf['NffbU'],'code':_0x23acf3['fn'][_0x145af0(0x1e6)]()},'scope':_0x27869b,'scopes':this[_0x145af0(0x1c8)](_0x23acf3),'identifier':_0x40de71,'file_name':_0x1d2c18,'location':_0x1d2c18,'result':_0x4cccaf[_0x145af0(0x262)],'duration_in_ms':_0x5a5b45&&_0x5a5b45['duration']?_0x5a5b45[_0x145af0(0x251)]:null,'vc_filepath':this[_0x145af0(0x23a)]&&_0x23acf3[_0x145af0(0x23d)]['file']?path[_0x145af0(0x26f)](this[_0x145af0(0x23a)],_0x23acf3['location'][_0x145af0(0x267)]):undefined,'started_at':_0x49b006[_0x145af0(0x209)],'finished_at':_0x49b006[_0x145af0(0x22c)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this['getCustomRerunParam'](_0x23acf3)},'tags':_0x4cccaf[_0x145af0(0x295)](getTestTags,_0x23acf3)};_0x4cccaf[_0x145af0(0x1f5)](appendTesthubParams,_0xa12402,_0x1168a0,_0x23acf3,FRAMEWORKS['PLAYWRIGHT']);_0x5a5b45&&_0x4cccaf[_0x145af0(0x280)](_0x5a5b45['retry'],0x0)&&(_0xa12402['retry_of']=TestDetails['getTestUUID'](_0x4cccaf[_0x145af0(0x28e)](getTestRunIdentifier,_0x23acf3,_0x4cccaf[_0x145af0(0x27e)](_0x5a5b45[_0x145af0(0x1b2)],0x1))));if(_0x4cccaf['NQOcJ'](_0x1168a0,_0x4cccaf[_0x145af0(0x20c)])){_0xa12402[_0x145af0(0x201)]=_0x5a5b45[_0x145af0(0x1e0)];if(_0x4cccaf[_0x145af0(0x242)](_0x5a5b45['status'],_0x23acf3[_0x145af0(0x1c6)]))_0xa12402[_0x145af0(0x201)]=_0x4cccaf[_0x145af0(0x1fa)](_0x5a5b45[_0x145af0(0x1e0)],_0x4cccaf[_0x145af0(0x1b5)])?_0x4cccaf['HTKvZ']:_0x4cccaf['CDMvK'];else{(_0x4cccaf[_0x145af0(0x1fa)](_0xa12402[_0x145af0(0x201)],_0x4cccaf[_0x145af0(0x20b)])||_0x4cccaf[_0x145af0(0x1fa)](_0xa12402['result'],_0x4cccaf['sQgCR'])||_0x4cccaf['uUscy'](_0xa12402['result'],_0x4cccaf['ZdqyI']))&&(_0xa12402[_0x145af0(0x201)]=_0x4cccaf['sQgCR']);if(_0x4cccaf['NQOcJ'](_0x5a5b45[_0x145af0(0x1e0)],_0x4cccaf[_0x145af0(0x20b)])&&_0x4cccaf['uUscy'](_0x23acf3[_0x145af0(0x1c6)],_0x4cccaf[_0x145af0(0x1ee)])){const _0x569220={};_0x569220['message']=_0x4cccaf['sbqiE'],_0x569220['stack']=_0x4cccaf[_0x145af0(0x1d4)],_0x5a5b45[_0x145af0(0x255)]=_0x569220,_0x5a5b45[_0x145af0(0x1de)]=[_0x5a5b45[_0x145af0(0x255)]];}}const _0x27764e=_0x4cccaf[_0x145af0(0x28e)](getTestRunIdentifier,_0x23acf3,_0x5a5b45[_0x145af0(0x1b2)]);_0xa12402['hooks']=this[_0x145af0(0x21c)][_0x27764e];const {steps:_0x4013db,logs:_0x588dcf}=this[_0x145af0(0x196)](_0x5a5b45[_0x145af0(0x1e8)],_0x49b006[_0x145af0(0x20a)],_0x4cccaf['GxpfC']);await MyReporter[_0x145af0(0x285)](_0x588dcf);const _0x3bb507={};_0x3bb507['steps']=_0x4013db,_0xa12402[_0x145af0(0x19e)]=_0x3bb507;if(_0x5a5b45[_0x145af0(0x255)]){_0xa12402[_0x145af0(0x228)]=_0x4cccaf[_0x145af0(0x1a1)](removeAnsiColors,_0x5a5b45[_0x145af0(0x255)][_0x145af0(0x272)]),_0xa12402[_0x145af0(0x26e)]=_0x4cccaf['xnQie'](getFailureType,_0x5a5b45[_0x145af0(0x255)][_0x145af0(0x272)]);const _0x14f730={};_0x14f730['test_run_uuid']=_0x49b006['uuid'];const {failureData:_0x269ddf,logs:_0xdcabdf}=_0x4cccaf[_0x145af0(0x270)](getFailureData,_0x5a5b45[_0x145af0(0x1de)],_0x14f730);if(_0x269ddf&&_0x4cccaf['uUscy'](_0x269ddf[_0x145af0(0x249)],0x0)){const _0x1bb072={};_0x1bb072[_0x145af0(0x1f3)]=[_0xa12402[_0x145af0(0x228)]],_0x1bb072[_0x145af0(0x1c0)]=[],_0x269ddf[_0x145af0(0x1dd)](_0x1bb072);}_0xa12402['failure']=_0x269ddf,_0xdcabdf&&_0x4cccaf['ksiTg'](_0xdcabdf[_0x145af0(0x249)],0x0)&&await MyReporter[_0x145af0(0x285)](_0xdcabdf);}}let _0x1fafd2=_0x4cccaf[_0x145af0(0x225)](findNestedKey,_0x5a5b45,_0x4cccaf[_0x145af0(0x217)]);if(_0x1fafd2&&_0x4cccaf['QTEKY'](validateFilePath,_0x1fafd2))_0x4cccaf['jXVjG'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x49b006['uuid']+'\x20at\x20'+_0x1fafd2);else{const _0x3d8e4e=path['join'](helper['homedir'](),_0x4cccaf[_0x145af0(0x1ce)]);!fs[_0x145af0(0x1d6)](_0x3d8e4e)&&fs['mkdirSync'](_0x3d8e4e),fs['existsSync'](path[_0x145af0(0x23c)](_0x3d8e4e,_0x145af0(0x229)+_0x49b006['uuid']+_0x145af0(0x220)))&&(_0x1fafd2=fs[_0x145af0(0x233)](path[_0x145af0(0x23c)](_0x3d8e4e,_0x145af0(0x229)+_0x49b006[_0x145af0(0x20a)]+_0x145af0(0x220)),_0x4cccaf[_0x145af0(0x1ea)]),_0x4cccaf[_0x145af0(0x1b3)](debug,_0x145af0(0x250)+_0x49b006['uuid']+'\x20at\x20'+_0x1fafd2));}const _0x1d4434={};_0x1d4434[_0x145af0(0x26b)]=_0x1168a0,_0x1d4434['test_run']=_0xa12402;const _0x533793=_0x1d4434;_0x1fafd2&&_0x4cccaf[_0x145af0(0x192)](_0x1fafd2,'')&&_0x4cccaf['wMMJD'](_0x1168a0,_0x4cccaf[_0x145af0(0x20c)])&&(!_0x533793[_0x145af0(0x1bc)]&&(_0x533793[_0x145af0(0x1bc)]=[]),_0x1fafd2['split']('\x0a')[_0x145af0(0x1cd)](_0xfb54f1=>{const _0x8db86b=_0x145af0;_0xfb54f1&&_0x4cccaf[_0x8db86b(0x1cb)](validateFilePath,_0xfb54f1)&&_0x533793[_0x8db86b(0x1bc)][_0x8db86b(0x1dd)]({'kind':_0x4cccaf['NCLJl'],'timestamp':new Date()[_0x8db86b(0x275)](),'test_run_uuid':_0x49b006[_0x8db86b(0x20a)],'file_name':path['basename'](_0xfb54f1),'file_size':fs[_0x8db86b(0x1c7)](_0xfb54f1)[_0x8db86b(0x1f9)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler['uploadEventData'](_0x533793);}[a46_0x27fe8f(0x256)](_0x300a8b){const _0x478aa4=a46_0x27fe8f,_0x43037d={};_0x43037d[_0x478aa4(0x1ec)]=function(_0x3f8f2d,_0x301b7c){return _0x3f8f2d===_0x301b7c;},_0x43037d[_0x478aa4(0x202)]=function(_0x1382f5,_0xe1a59b){return _0x1382f5>_0xe1a59b;},_0x43037d[_0x478aa4(0x22d)]=function(_0x6e768e,_0x51ac82){return _0x6e768e+_0x51ac82;},_0x43037d[_0x478aa4(0x1ed)]=function(_0x4f310e,_0x545f3a){return _0x4f310e+_0x545f3a;},_0x43037d[_0x478aa4(0x259)]=function(_0x2b3076,_0x44b22a){return _0x2b3076===_0x44b22a;},_0x43037d['ANMtO']=function(_0x48b16b,_0x457944){return _0x48b16b>_0x457944;};const _0x359303=_0x43037d,_0x4cc734=_0x300a8b[_0x478aa4(0x1d3)]()[_0x478aa4(0x198)](_0x195134=>{const _0x439e3f=_0x478aa4;if(_0x300a8b[_0x439e3f(0x22f)]&&_0x359303[_0x439e3f(0x1ec)](_0x195134,_0x300a8b[_0x439e3f(0x22f)][_0x439e3f(0x1b9)])&&_0x300a8b[_0x439e3f(0x22f)][_0x439e3f(0x1e7)]&&_0x359303['wrVDe'](_0x300a8b[_0x439e3f(0x22f)]['_tags'][_0x439e3f(0x249)],0x0))return _0x359303[_0x439e3f(0x22d)](_0x359303[_0x439e3f(0x1ed)](_0x195134,'\x20'),_0x300a8b[_0x439e3f(0x22f)][_0x439e3f(0x1e7)][_0x439e3f(0x23c)]('\x20'));if(_0x359303[_0x439e3f(0x259)](_0x195134,_0x300a8b[_0x439e3f(0x1b9)])&&_0x300a8b['_tags']&&_0x359303['ANMtO'](_0x300a8b[_0x439e3f(0x1e7)][_0x439e3f(0x249)],0x0))return _0x359303['OLtss'](_0x359303[_0x439e3f(0x1ed)](_0x195134,'\x20'),_0x300a8b[_0x439e3f(0x1e7)][_0x439e3f(0x23c)]('\x20'));return _0x195134;})[_0x478aa4(0x23c)]('\x20');return _0x4cc734;}static async[a46_0x27fe8f(0x1fd)](_0x1fc646,_0x4bd6db){const _0x2741ea=a46_0x27fe8f,_0x29edf4={'GGKAT':function(_0x206082,_0x573a60){return _0x206082(_0x573a60);},'JFoye':_0x2741ea(0x1fc)},_0x3176bc={'uuid':TestDetails[_0x2741ea(0x27c)](_0x1fc646),'integrations':_0x4bd6db},_0x1d6e26={};_0x1d6e26[_0x2741ea(0x1df)]=null,_0x29edf4[_0x2741ea(0x199)](debug,_0x2741ea(0x1ff)+_0x1fc646+',\x20'+util['inspect'](_0x4bd6db,_0x1d6e26));const _0x52e46e={};_0x52e46e['event_type']=_0x29edf4['JFoye'],_0x52e46e[_0x2741ea(0x1f6)]=_0x3176bc,await SessionHandler['uploadEventData'](_0x52e46e);}async['configureGit'](){const _0x509d90=a46_0x27fe8f,_0x52afa3={'TTrPF':function(_0x3d4043){return _0x3d4043();}};if(this[_0x509d90(0x27f)])return;const _0x51f71d=await _0x52afa3[_0x509d90(0x246)](getGitMetaData);_0x51f71d&&(this[_0x509d90(0x23a)]=_0x51f71d[_0x509d90(0x19b)]),this[_0x509d90(0x27f)]=!![];}[a46_0x27fe8f(0x1c8)](_0x40f293){const _0x46b9ca=a46_0x27fe8f,_0x29c8a4={};_0x29c8a4['kyUsB']=function(_0x2332f0,_0x24b88c){return _0x2332f0!==_0x24b88c;};const _0x240b5c=_0x29c8a4,_0x4ac412=[];if(_0x40f293&&_0x40f293[_0x46b9ca(0x22f)]){let _0x5ece11=_0x40f293[_0x46b9ca(0x22f)];while(_0x5ece11&&_0x240b5c['kyUsB'](_0x5ece11[_0x46b9ca(0x1b9)],'')){_0x4ac412[_0x46b9ca(0x1dd)](_0x5ece11[_0x46b9ca(0x1b9)]),_0x5ece11=_0x5ece11[_0x46b9ca(0x22f)];}}return _0x4ac412['reverse']()[_0x46b9ca(0x296)](0x0,0x2),_0x4ac412;}[a46_0x27fe8f(0x1ca)](_0x36dc2c){const _0x440843=a46_0x27fe8f,_0x8c17b2={};_0x8c17b2[_0x440843(0x1cf)]=function(_0x595070,_0x3fddf5){return _0x595070!==_0x3fddf5;},_0x8c17b2[_0x440843(0x1c4)]=_0x440843(0x1a6),_0x8c17b2['dvXkY']=function(_0x31d76b,_0xd4b1e1){return _0x31d76b===_0xd4b1e1;},_0x8c17b2[_0x440843(0x289)]=_0x440843(0x265),_0x8c17b2[_0x440843(0x1c3)]=_0x440843(0x1e2),_0x8c17b2[_0x440843(0x239)]=_0x440843(0x21d),_0x8c17b2[_0x440843(0x1cc)]=_0x440843(0x1af);const _0x210660=_0x8c17b2;if(_0x210660[_0x440843(0x1cf)](_0x36dc2c[_0x440843(0x25c)],_0x210660[_0x440843(0x1c4)]))return![];if(_0x210660[_0x440843(0x231)]([_0x210660[_0x440843(0x289)],_0x210660[_0x440843(0x1c3)],_0x210660[_0x440843(0x239)],_0x210660[_0x440843(0x1cc)]][_0x440843(0x193)](_0x36dc2c['title']),-0x1))return![];return!![];}[a46_0x27fe8f(0x206)](_0x44ab47,_0x76954c){const _0x583fa3=a46_0x27fe8f,_0x2d151d={'bvdIp':function(_0x480dcb,_0x9ad0d3){return _0x480dcb(_0x9ad0d3);}},_0x59cc35=_0x76954c['_bs_hookIdentifier'];if(_0x59cc35)return _0x59cc35;return _0x76954c[_0x583fa3(0x1b9)]+_0x583fa3(0x20f)+_0x2d151d['bvdIp'](getTestIdentifier,_0x44ab47);}[a46_0x27fe8f(0x1fb)](_0x56edc8,_0x130e6a){const _0x109838=a46_0x27fe8f,_0x5ebc37={'Klqyr':function(_0x9a0a1b,_0x4969a2){return _0x9a0a1b(_0x4969a2);},'ewwNj':function(_0x12489b){return _0x12489b();}};let _0x8119a0=_0x130e6a[_0x109838(0x1b9)]+_0x109838(0x20f)+_0x5ebc37[_0x109838(0x26c)](getTestIdentifier,_0x56edc8);return this[_0x109838(0x208)][_0x8119a0]&&(_0x8119a0=_0x8119a0+'\x20-\x20'+_0x5ebc37[_0x109838(0x261)](uuidv4)),_0x130e6a[_0x109838(0x1be)]=_0x8119a0,_0x8119a0;}[a46_0x27fe8f(0x240)]=_0x2b473a=>{const _0x716201=a46_0x27fe8f,_0x19daf5={};_0x19daf5[_0x716201(0x222)]='beforeEach\x20hook',_0x19daf5[_0x716201(0x1b8)]=_0x716201(0x1ae),_0x19daf5['ofCZS']=_0x716201(0x1e2),_0x19daf5[_0x716201(0x1a9)]=_0x716201(0x28a),_0x19daf5[_0x716201(0x1e5)]='afterEach\x20hook',_0x19daf5[_0x716201(0x294)]='AFTER_EACH',_0x19daf5[_0x716201(0x237)]=_0x716201(0x21d),_0x19daf5[_0x716201(0x213)]=_0x716201(0x1d7),_0x19daf5[_0x716201(0x24f)]=_0x716201(0x27a);const _0x3745c7=_0x19daf5;if(_0x2b473a['startsWith'](_0x3745c7[_0x716201(0x222)]))return _0x3745c7['Zwacq'];else{if(_0x2b473a[_0x716201(0x227)](_0x3745c7[_0x716201(0x282)]))return _0x3745c7[_0x716201(0x1a9)];else{if(_0x2b473a['startsWith'](_0x3745c7[_0x716201(0x1e5)]))return _0x3745c7[_0x716201(0x294)];else{if(_0x2b473a[_0x716201(0x227)](_0x3745c7['dPEiL']))return _0x3745c7[_0x716201(0x213)];}}}return _0x3745c7[_0x716201(0x24f)];};[a46_0x27fe8f(0x218)]=_0x54b423=>{const _0x185b3e=a46_0x27fe8f,_0x5e9bd2={};_0x5e9bd2['ebKFy']=function(_0x266607,_0x2d10c9){return _0x266607===_0x2d10c9;},_0x5e9bd2[_0x185b3e(0x1ba)]=_0x185b3e(0x24d);const _0x58a5e2=_0x5e9bd2;let _0x31b957=_0x54b423[_0x185b3e(0x22f)];return _0x58a5e2['ebKFy'](typeof _0x54b423['parent'],_0x58a5e2[_0x185b3e(0x1ba)])&&(_0x31b957=_0x31b957[_0x185b3e(0x1b9)]),_0x31b957+_0x185b3e(0x1f7)+_0x54b423[_0x185b3e(0x1b9)];};[a46_0x27fe8f(0x23b)](){return![];}}function a46_0x3a7a(_0x504ca3,_0x2e57e7){const _0x28a701=a46_0x28a7();return a46_0x3a7a=function(_0x3a7aac,_0x46b8f1){_0x3a7aac=_0x3a7aac-0x190;let _0x189797=_0x28a701[_0x3a7aac];return _0x189797;},a46_0x3a7a(_0x504ca3,_0x2e57e7);}module[a46_0x27fe8f(0x226)]=o11yClassErrorHandler(MyReporter,['onBegin',a46_0x27fe8f(0x230),a46_0x27fe8f(0x25a),a46_0x27fe8f(0x1a3),a46_0x27fe8f(0x245),'onStepEnd',a46_0x27fe8f(0x1fd)],a46_0x27fe8f(0x247));function a46_0x28a7(){const _0x2b28a7=['getCustomRerunParam','QOtck','./test-details','JEOow','onTestBegin','sWdTI','category','250083RzbwWY','WMAwm','JywFD','test','ewwNj','koLte','../../v2/state/hookState','lgFyH','beforeEach\x20hook','../../../helpers/performance/performance-tester','file','javascript','../../../helpers/testhub/utils','performance-report-reporter.json','event_type','Klqyr','5|4|6|3|2|1|0','failure_type','relative','EWfKP','PLAYWRIGHT','message','onBegin','addTestUIDAndReportLog','toISOString','krjOh','LmPmJ','setup','1925095zCpAGi','unknown','PRE','getTestUUID','TestRunFinished','BqLMG','_gitConfigured','AFuXh','IubcM','ofCZS','BGnwn','sendHookRunEvent','reportLogs','6lOFbhh','getInstance','../../v2/browserstackCLI','TxsXz','BEFORE_ALL','utf8','KrHhM','Error\x20in\x20calculating\x20performance:\x20','DNMeF','getTestFramework','rnXDE','GxpfC','11bnnsyQ','../../../helpers/test-observability/error-handler','fAguF','jXVjG','splice','uploadEventData','tFdWP','EGCKW','failed','isRunning','HookRunStarted','hook_run','dcDLg','indexOf','WmTSu','Jwuzg','getStepsAndLogs','iGHDA','map','GGKAT','startMonitoring','root','sdNbq','gMEgu','meta','screenshot','BROWSERSTACK_TEST_RUN_ID','PAvzB','HookRunFinished','onTestEnd','POST','format','hook','err','oBoAd','ChoXL','QiViL','hook_run_uuid','1258229uQdTAs','filter','BEFORE_EACH','afterEach\x20hook','TEST_STEP','onStepEnd','retry','NbNdT','step','HTKvZ','Test\x20Finished\x20with\x20unique\x20id\x20','56cEhAHB','Zwacq','title','YHqJO','cwd','logs','1066610yamraM','_bs_hookIdentifier','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','expanded','FtiFy','CoeDT','brzHN','vVRGK','LogCreated','expectedStatus','statSync','getHierarchy','BROWSERSTACK_O11Y_PERF_MEASUREMENT','needToReportStep','SeBCx','LTSEk','forEach','PTKyH','llBHf','uDzoP','passed','../../../helpers/test-observability/constants','titlePath','sbqiE','1102740usbdhG','existsSync','AFTER_ALL','hoecX','util','aOgES','failure','timedOut','push','errors','depth','status','SbOWh','beforeAll\x20hook','INIT_TEST','EBXVl','LCOmZ','toString','_tags','steps','gWQxy','hrOBb','attachments','uPUqP','OLtss','sQgCR','\x20is\x20triggered','UPVtG','base64','sendTestRunEvent','backtrace','JgsEY','vFMnW','test_run','\x20-\x20','onEnd','size','uUscy','setStepIdentifier','CBTSessionCreated','sendSessionDetails','lNhcP','Sending\x20session\x20details\x20for\x20','aRGlq','result','wrVDe','gYAON','dryqj','getTime','getStepIdentifier','962502mnfsGU','_tests','startedAt','uuid','CDMvK','zFfmz','TEST','KyoBi','\x20for\x20','6804250CWInNK','Before\x20Hooks','BROWSERSTACK_LOG_LEVEL','VzSxS','Hook\x20Started\x20with\x20unique\x20id\x20','Expected\x20to\x20fail,\x20but\x20passed.','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','KviOW','getScope','startTime','vGFbj','rxVjd','_testHooksMap','afterAll\x20hook','YZUFv','trackEvent','.txt','Hook\x20Finished\x20with\x20unique\x20id\x20','GzTcK','After\x20Hooks','HfvIm','DKsjI','exports','startsWith','failure_reason','trace_','test_run_uuid','nJaiA','finishedAt','iXshr','1WqGdHp','parent','endSession','dvXkY','qVxpr','readFileSync','JjQgW','kgnUs','mtime','dPEiL','./pwUtils','PbeMm','_gitConfigPath','printsToStdio','join','location','qCgmZ','path','getHookType','../../../helpers/test-observability/requestQueueHandler','NQOcJ','pending','YtGtu','onStepBegin','TTrPF','MyReporter','env','length','.browserstack','TEST_SCREENSHOT','TestRunStarted','object','pGCDO','otmDi','Trace\x20file\x20found\x20for\x20test:\x20','duration','shutdown','configureGit','START_TIME','error'];a46_0x28a7=function(){return _0x2b28a7;};return a46_0x28a7();}
|
|
1
|
+
const a46_0x548a0e=a46_0xba8e;(function(_0x36917a,_0x481e39){const _0x11e2b5=a46_0xba8e,_0x29ff47=_0x36917a();while(!![]){try{const _0x46cd49=-parseInt(_0x11e2b5(0xd6))/0x1*(-parseInt(_0x11e2b5(0xb4))/0x2)+parseInt(_0x11e2b5(0xf7))/0x3+-parseInt(_0x11e2b5(0x162))/0x4+-parseInt(_0x11e2b5(0x153))/0x5*(-parseInt(_0x11e2b5(0x13e))/0x6)+parseInt(_0x11e2b5(0x187))/0x7+-parseInt(_0x11e2b5(0x128))/0x8*(parseInt(_0x11e2b5(0xed))/0x9)+-parseInt(_0x11e2b5(0xdb))/0xa;if(_0x46cd49===_0x481e39)break;else _0x29ff47['push'](_0x29ff47['shift']());}catch(_0x51e5f0){_0x29ff47['push'](_0x29ff47['shift']());}}}(a46_0x3753,0xa6c49));function a46_0x3753(){const _0x1e701c=['getScope','onTestBegin','11184030cLVusb','expectedStatus','needToReportStep','AHcFJ','PLAYWRIGHT','wXiIZ','getInstance','map','logLevel','PdYuA','xKQYq','test_run','logs','hook','BEFORE_EACH','ZRzxr','ltbQk','retry','45RuBxPN','MPYeh','startTime','MyReporter','KEtvj','\x20is\x20triggered\x20for\x20test\x20','../../../helpers/test-observability/requestQueueHandler','IXBTz','uIOcx','splice','3077562BNzkFo','base64','BEFORE_ALL','Komcs','getCustomRerunParam','test','message','getTime','cytqM','trackEvent','skipped','zlXFS','format','.browserstack','./pwUtils','eRmiq','toString','unknown','cxmhd','expanded','QCTvp','PvoYM','setup','onEnd','../../../helpers/test-observability/utils','performance-report-reporter.json','event_type','failed','ZfPOm','addTestUIDAndReportLog','BxIIL','_tags','NSQbH','POST','../../../helpers/testhub/utils','VgQcF','\x20at\x20','startsWith','sendTestRunEvent','afterEach\x20hook','sgwPB','KRZGE','failure_type','CQCez','failure','FGqAl','meta','HookRunStarted','yGtZQ','762144XZPQmW','vZQYZ','split','OgBwK','vgawr','JpUvK','error','_tests','../../v2/TestInfo','_testHooksMap','options','PYRAI','sYqhj','getHookType','tnxyj','reportLogs','category','mESef','javascript','shutdown','yKWHd','depth','6JuJEeB','bfJlW','qURIZ','dEjBR','yzndj','filter','bZIRs','.txt','xrjqR','size','XcUjD','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','dNetE','TEST','finishedAt','util','Error\x20in\x20sending\x20trace\x20zip:\x20%s','XikFI','../../../helpers/test-observability/error-handler','_gitConfigPath','../../../../src/bin/utils/constants','4823305PmOfgK','titlePath','onStepEnd','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','iljqh','errors','_bs_hookIdentifier','UwYzG','homedir','IjaGq','BROWSERSTACK_O11Y_PERF_MEASUREMENT','beforeEach\x20hook','configureGit','../../v2/browserstackCLI','BROWSERSTACK_LOG_LEVEL','1237736wnHjUJ','huJbd','TestRunFinished','sendHookRunEvent','toISOString','VtAHt','AYezt','EzqQn','sOXZQ','HIvQW','Test\x20Finished\x20with\x20unique\x20id\x20','laWkW','_gitConfigured','cBSQo','../../v2/state/hookState','oLLrb','ZyNKn','passed','cwd','Trace\x20file\x20found\x20for\x20test:\x20','NPevp','onBegin','join','getStepIdentifier','THSBO','parent','bIxtJ','AXYbY','\x20-\x20','onStepBegin','relative','getTestUUID','uuid','length','file','LnfwM','Xeoub','2064160XgAqPD','hook_run_uuid','readFileSync','../../../helpers/test-observability/constants','\x20for\x20','AJNzC','getStepsAndLogs','location','hook_run','result','5|1|0|4|3|6|2','indexOf','sendSessionDetails','trace_','getHierarchy','Hook\x20Started\x20with\x20unique\x20id\x20','backtrace','DVNFP','IXwuh','setStepIdentifier','MgFcL','push','beforeAll\x20hook','fPezw','TEST_STEP','afterAll\x20hook','onTestEnd','DWrLt','object','TEST_ATTACHMENT','pVrRu','./test-details','root','inspect','test_run_uuid','startMonitoring','endSession','env','rSTFr','getTestFramework','attachments','KAXtU','screenshot','mkdirSync','jEhXp','retry_of','LHXQp','Expected\x20to\x20fail,\x20but\x20passed.','pfkpO','EvPWK','vLyqK','pending','vrMVu','TIDXp','status','hERRR','step','Hglsd','IqPCG','2YRhxyI','steps','IiHOH','YoZzq','xQhpC','INIT_TEST','mCqNm','../../../helpers/helper','eviov','bNQno','oLvIN','jPyqa','path','title','acSaW','mtime','uploadEventData','HookRunFinished','isRunning','GHesc','duration','JjzVx','Xygjo','statSync','failure_reason','Test\x20Started\x20with\x20unique\x20id\x20','existsSync','hooks','startedAt','PRE','basename','AUkvy','BQlnM','HskKd','301863ynBolT','name','zIcwF'];a46_0x3753=function(){return _0x1e701c;};return a46_0x3753();}function a46_0xba8e(_0xa5d374,_0xb3c88e){const _0x3753ab=a46_0x3753();return a46_0xba8e=function(_0xba8e93,_0x1d1fb5){_0xba8e93=_0xba8e93-0x81;let _0x1b5803=_0x3753ab[_0xba8e93];return _0x1b5803;},a46_0xba8e(_0xa5d374,_0xb3c88e);}const RequestQueueHandler=require(a46_0x548a0e(0xf3)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a46_0x548a0e(0x105)),{v4:uuidv4}=require(a46_0x548a0e(0x182)),path=require(a46_0x548a0e(0xc0)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a46_0x548a0e(0x10f)),{getGitMetaData,setLogLevel}=require(a46_0x548a0e(0xbb)),TestDetails=require(a46_0x548a0e(0x98)),fs=require('fs'),util=require(a46_0x548a0e(0x14d)),{o11yClassErrorHandler}=require(a46_0x548a0e(0x150)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a46_0x548a0e(0x18a)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a46_0x548a0e(0x119)),helper=require('../../../helpers/helper'),BrowserstackCLI=require(a46_0x548a0e(0x160)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a46_0x548a0e(0x170)),TestInfo=require(a46_0x548a0e(0x130)),{PLAYWRIGHT_TRACE_LOGS}=require(a46_0x548a0e(0x152));class MyReporter{constructor(_0x438691){const _0x259dff=a46_0x548a0e,_0x1ac221={'ZxNoz':_0x259dff(0x83),'MgFcL':_0x259dff(0x110),'IqPCG':function(_0x258559,_0x5b28d4,_0x2a501b,_0x3bfe6c){return _0x258559(_0x5b28d4,_0x2a501b,_0x3bfe6c);}},_0x397846=_0x1ac221['ZxNoz']['split']('|');let _0x56bd86=0x0;while(!![]){switch(_0x397846[_0x56bd86++]){case'0':this['_tests']={};continue;case'1':process[_0x259dff(0x9e)][_0x259dff(0x15d)]&&(PerformanceTester[_0x259dff(0x9c)](_0x1ac221[_0x259dff(0x8d)]),process[_0x259dff(0x9e)]['START_TIME']=new Date()[_0x259dff(0x166)]());continue;case'2':this[_0x259dff(0x151)]=null;continue;case'3':this[_0x259dff(0x132)]=_0x438691;continue;case'4':this[_0x259dff(0x131)]={};continue;case'5':const _0xc748b0={};_0xc748b0[_0x259dff(0xe3)]=process[_0x259dff(0x9e)][_0x259dff(0x161)],_0x1ac221[_0x259dff(0xb3)](setLogLevel,_0xc748b0,new Map(),new Map());continue;case'6':this['_gitConfigured']=![];continue;}break;}}async[a46_0x548a0e(0x177)](){const _0x25120f=a46_0x548a0e;TestDetails[_0x25120f(0x10d)](),await this[_0x25120f(0x15f)](),TestInfo[_0x25120f(0x10d)]();if(BrowserstackCLI[_0x25120f(0xe1)]()[_0x25120f(0xc6)]()){await BrowserstackCLI[_0x25120f(0xe1)]()[_0x25120f(0xa0)]()['trackEvent'](TestFrameworkState[_0x25120f(0xb9)],HookState[_0x25120f(0xd1)],{});return;}}async[a46_0x548a0e(0xda)](_0x3ef37d,_0x212c58){const _0x502872=a46_0x548a0e,_0x2afcb4={'dwhrl':function(_0x284735,_0x343f33){return _0x284735(_0x343f33);},'nPeQU':function(_0x1a41fe,_0x533192,_0x19e2ce){return _0x1a41fe(_0x533192,_0x19e2ce);},'cxmhd':function(_0x3104d1,_0x4a160a){return _0x3104d1(_0x4a160a);},'VpVJM':'TestRunStarted'};if(BrowserstackCLI['getInstance']()[_0x502872(0xc6)]()){const _0x11f756={};_0x11f756[_0x502872(0xfc)]=_0x3ef37d,_0x11f756[_0x502872(0x82)]=_0x212c58,await BrowserstackCLI[_0x502872(0xe1)]()[_0x502872(0xa0)]()['trackEvent'](TestFrameworkState[_0x502872(0x14b)],HookState[_0x502872(0xd1)],_0x11f756);return;}const _0x1f4642=_0x2afcb4['dwhrl'](getTestIdentifier,_0x3ef37d),_0x142b7d=TestDetails[_0x502872(0x181)](_0x2afcb4['nPeQU'](getTestRunIdentifier,_0x3ef37d,_0x212c58[_0x502872(0xec)]));process[_0x502872(0x9e)]['BROWSERSTACK_TEST_RUN_ID']=_0x142b7d;const _0x3d0e4a={};_0x3d0e4a[_0x502872(0x182)]=_0x142b7d,_0x3d0e4a[_0x502872(0xd0)]=_0x212c58[_0x502872(0xef)],this['_tests'][_0x1f4642]=_0x3d0e4a,_0x2afcb4[_0x502872(0x109)](trace,_0x502872(0xcd)+_0x1f4642),await this[_0x502872(0x11d)](_0x3ef37d,_0x2afcb4['VpVJM'],_0x212c58);}async[a46_0x548a0e(0x17f)](_0x41cb1f,_0x1a4ab8,_0x35d518){const _0x394870=a46_0x548a0e,_0x2f9a2e={'EvPWK':function(_0x10be66,_0x20cb24,_0x33c30d){return _0x10be66(_0x20cb24,_0x33c30d);},'KRZGE':function(_0x37fdcf,_0x1a7af8){return _0x37fdcf(_0x1a7af8);},'XcUjD':_0x394870(0x126)};if(!this[_0x394870(0xdd)](_0x35d518,_0x41cb1f))return;if(BrowserstackCLI[_0x394870(0xe1)]()['isRunning']()){const _0x583403=this[_0x394870(0x135)](_0x35d518[_0x394870(0xc1)]),_0x4fc857=TestFrameworkState[_0x583403],_0x1c0524={};_0x1c0524[_0x394870(0xfc)]=_0x41cb1f,_0x1c0524['result']=_0x1a4ab8,_0x1c0524[_0x394870(0xb1)]=_0x35d518,await BrowserstackCLI[_0x394870(0xe1)]()[_0x394870(0xa0)]()[_0x394870(0x100)](_0x4fc857,HookState[_0x394870(0xd1)],_0x1c0524);return;}const _0x29fd12=this[_0x394870(0x8c)](_0x41cb1f,_0x35d518);this[_0x394870(0x12f)][_0x29fd12]={'uuid':TestDetails[_0x394870(0x181)](_0x29fd12),'startedAt':_0x35d518['startTime'][_0x394870(0x166)]()};const _0xcbc3c0=_0x2f9a2e[_0x394870(0xaa)](getTestRunIdentifier,_0x41cb1f,_0x1a4ab8[_0x394870(0xec)]);!this[_0x394870(0x131)][_0xcbc3c0]&&(this[_0x394870(0x131)][_0xcbc3c0]=[]),this[_0x394870(0x131)][_0xcbc3c0][_0x394870(0x8e)](this[_0x394870(0x12f)][_0x29fd12]['uuid']),_0x2f9a2e[_0x394870(0x120)](trace,_0x394870(0x88)+_0x29fd12+_0x394870(0xf2)+_0xcbc3c0),await this[_0x394870(0x165)](_0x41cb1f,_0x35d518,_0x2f9a2e[_0x394870(0x148)],_0x1a4ab8);}async['onStepEnd'](_0xe9ba13,_0x4eec24,_0x502e6c){const _0x1f6ebc=a46_0x548a0e,_0x3ca689={'TIDXp':function(_0x309d8d,_0x5ab04d){return _0x309d8d+_0x5ab04d;},'BxIIL':function(_0x453cee,_0x276159){return _0x453cee(_0x276159);},'pVrRu':_0x1f6ebc(0xc5)};if(!this[_0x1f6ebc(0xdd)](_0x502e6c,_0xe9ba13))return;if(BrowserstackCLI[_0x1f6ebc(0xe1)]()['isRunning']()){const _0xaeb9d5=this[_0x1f6ebc(0x135)](_0x502e6c['title']),_0x5d2aca=TestFrameworkState[_0xaeb9d5],_0x568d74={};_0x568d74[_0x1f6ebc(0xfc)]=_0xe9ba13,_0x568d74[_0x1f6ebc(0x82)]=_0x4eec24,_0x568d74[_0x1f6ebc(0xb1)]=_0x502e6c,await BrowserstackCLI[_0x1f6ebc(0xe1)]()['getTestFramework']()[_0x1f6ebc(0x100)](_0x5d2aca,HookState[_0x1f6ebc(0x118)],_0x568d74);return;}const _0x4bece5=this[_0x1f6ebc(0x179)](_0xe9ba13,_0x502e6c);this[_0x1f6ebc(0x12f)][_0x4bece5]={...this[_0x1f6ebc(0x12f)][_0x4bece5]||{},'finishedAt':new Date(_0x3ca689[_0x1f6ebc(0xae)](_0x502e6c[_0x1f6ebc(0xef)][_0x1f6ebc(0xfe)](),_0x502e6c[_0x1f6ebc(0xc8)]))},_0x3ca689[_0x1f6ebc(0x115)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x4bece5+'\x20is\x20triggered'),await this['sendHookRunEvent'](_0xe9ba13,_0x502e6c,_0x3ca689[_0x1f6ebc(0x97)],_0x4eec24);}async[a46_0x548a0e(0x93)](_0x5236e8,_0x2d089a){const _0x588590=a46_0x548a0e,_0x298324={'AYafW':function(_0x1a9849,_0x394949){return _0x1a9849===_0x394949;},'UmwJV':_0x588590(0xa3),'QFGas':'TEST_SCREENSHOT','xKQYq':_0x588590(0xf8),'MPYeh':function(_0x8a85b3,_0x30e209){return _0x8a85b3(_0x30e209);},'DVNFP':function(_0x2c4c9a,_0x23a64f,_0x530952){return _0x2c4c9a(_0x23a64f,_0x530952);},'ZfPOm':_0x588590(0x164),'Hglsd':_0x588590(0x156),'KAXtU':function(_0xb40a72,_0x415926){return _0xb40a72(_0x415926);},'CQCez':function(_0x1e4aa9,_0xde2f3f){return _0x1e4aa9(_0xde2f3f);},'sYqhj':_0x588590(0x14e),'ZyNKn':function(_0x52d039,_0x351d3e){return _0x52d039>_0x351d3e;}};if(BrowserstackCLI[_0x588590(0xe1)]()[_0x588590(0xc6)]()){const _0x59024b={};_0x59024b[_0x588590(0xfc)]=_0x5236e8,_0x59024b[_0x588590(0x82)]=_0x2d089a,await BrowserstackCLI[_0x588590(0xe1)]()['getTestFramework']()[_0x588590(0x100)](TestFrameworkState[_0x588590(0x14b)],HookState[_0x588590(0x118)],_0x59024b);return;}const _0x497776=_0x298324[_0x588590(0xee)](getTestIdentifier,_0x5236e8),_0xbd0f50=TestDetails[_0x588590(0x181)](_0x298324[_0x588590(0x8a)](getTestRunIdentifier,_0x5236e8,_0x2d089a[_0x588590(0xec)]));this[_0x588590(0x12f)][_0x497776]={...this[_0x588590(0x12f)][_0x497776]||{},'finishedAt':new Date()['toISOString']()},_0x298324[_0x588590(0xee)](debug,_0x588590(0x16c)+_0x497776);try{await this['sendTestRunEvent'](_0x5236e8,_0x298324[_0x588590(0x113)],_0x2d089a);}catch(_0x23e0b5){_0x298324[_0x588590(0xee)](debug,util[_0x588590(0x103)](_0x298324[_0x588590(0xb2)],_0x23e0b5[_0x588590(0x107)]()));}try{_0x298324[_0x588590(0xa2)](debug,_0x588590(0x149)+_0xbd0f50),await _0x298324[_0x588590(0x8a)](sendTraceZip,_0x2d089a,_0xbd0f50);}catch(_0x38938a){_0x298324[_0x588590(0x122)](debug,util[_0x588590(0x103)](_0x298324[_0x588590(0x134)],_0x38938a['toString']()));}const _0x1fbfd4=[];_0x2d089a['attachments']&&_0x2d089a[_0x588590(0xa1)]['map'](_0x372292=>{const _0x228a82=_0x588590;if(_0x298324['AYafW'](_0x372292[_0x228a82(0xd7)],_0x298324['UmwJV'])){if(!_0x372292[_0x228a82(0xc0)]||!fs[_0x228a82(0xce)](_0x372292[_0x228a82(0xc0)]))return;_0x1fbfd4[_0x228a82(0x8e)]({'test_run_uuid':_0xbd0f50,'timestamp':fs[_0x228a82(0xcb)](_0x372292[_0x228a82(0xc0)])[_0x228a82(0xc3)],'kind':_0x298324['QFGas'],'message':fs[_0x228a82(0x189)](_0x372292[_0x228a82(0xc0)],{'encoding':_0x298324[_0x228a82(0xe5)]})});}}),_0x298324[_0x588590(0x172)](_0x1fbfd4['length'],0x0)&&await MyReporter[_0x588590(0x137)](_0x1fbfd4);}async[a46_0x548a0e(0x9d)](){const _0x2ce684=a46_0x548a0e;await RequestQueueHandler[_0x2ce684(0xe1)]()[_0x2ce684(0x13b)]();}async[a46_0x548a0e(0x10e)](_0xb0f27b){const _0xc4a4b1=a46_0x548a0e,_0x4c641a={'QCTvp':function(_0x41554e){return _0x41554e();},'JpUvK':function(_0x5385fd,_0x44c8b4){return _0x5385fd(_0x44c8b4);}};await this[_0xc4a4b1(0x9d)]();try{process[_0xc4a4b1(0x9e)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x4c641a[_0xc4a4b1(0x10b)](calculatePerformance);}catch(_0x55aad9){_0x4c641a[_0xc4a4b1(0x12d)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x55aad9['toString']());}}static async[a46_0x548a0e(0x114)](_0x4c2c5e,_0x29ab09){const _0x33363a=a46_0x548a0e;_0x29ab09['test_run_uuid']=TestDetails['getTestUUID'](_0x4c2c5e),await this[_0x33363a(0x137)]([_0x29ab09]);}static async[a46_0x548a0e(0x137)](_0x348cb){const _0x8a5b9b=a46_0x548a0e,_0x4de6da={};_0x4de6da[_0x8a5b9b(0x12c)]='LogCreated';const _0x2a112e=_0x4de6da;if(BrowserstackCLI['getInstance']()[_0x8a5b9b(0xc6)]())return;const _0x220cae={};_0x220cae[_0x8a5b9b(0x111)]=_0x2a112e[_0x8a5b9b(0x12c)],_0x220cae[_0x8a5b9b(0xe7)]=_0x348cb,await SessionHandler[_0x8a5b9b(0xc4)](_0x220cae);}async['sendHookRunEvent'](_0x110a7f,_0x576bf1,_0x452a7d,_0x116d02){const _0x362f12=a46_0x548a0e,_0x27f3f9={'KhPey':_0x362f12(0xe8),'XikFI':'javascript','xQhpC':'pending','AYezt':function(_0x42eb61,_0x47aeb4){return _0x42eb61>=_0x47aeb4;},'dEjBR':function(_0x60de4,_0x5acf4b){return _0x60de4===_0x5acf4b;},'LnfwM':_0x362f12(0xc5),'hADcC':function(_0x1bf550,_0x20cb86){return _0x1bf550>_0x20cb86;},'ignTt':_0x362f12(0x112),'oLvIN':function(_0x2d571b,_0x218ce9){return _0x2d571b(_0x218ce9);},'YoZzq':function(_0x3ec6f5,_0x237216){return _0x3ec6f5(_0x237216);},'AHcFJ':function(_0x1b890c,_0x2ff91,_0x68fbce){return _0x1b890c(_0x2ff91,_0x68fbce);},'jEhXp':'err','PvoYM':'passed'},_0x566e79=this[_0x362f12(0x179)](_0x110a7f,_0x576bf1),_0x4566a1=this[_0x362f12(0x12f)][_0x566e79],_0x23ddae={'uuid':_0x4566a1[_0x362f12(0x182)],'type':_0x27f3f9['KhPey'],'hook_type':this[_0x362f12(0x135)](_0x576bf1['title']),'name':_0x576bf1[_0x362f12(0xc1)],'scope':this[_0x362f12(0xd9)](_0x576bf1),'scopes':this[_0x362f12(0x87)](_0x110a7f),'body':{'lang':_0x27f3f9[_0x362f12(0x14f)],'code':null},'identifier':_0x566e79,'file_name':path['relative'](process[_0x362f12(0x174)](),_0x110a7f[_0x362f12(0x18e)][_0x362f12(0x184)]),'location':path[_0x362f12(0x180)](process[_0x362f12(0x174)](),_0x110a7f['location']['file']),'result':_0x27f3f9[_0x362f12(0xb8)],'duration_in_ms':_0x27f3f9[_0x362f12(0x168)](_0x576bf1[_0x362f12(0xc8)],0x0)?_0x576bf1['duration']:undefined,'vc_filepath':this[_0x362f12(0x151)]&&_0x110a7f[_0x362f12(0x18e)][_0x362f12(0x184)]?path['relative'](this['_gitConfigPath'],_0x110a7f[_0x362f12(0x18e)][_0x362f12(0x184)]):undefined,'started_at':_0x4566a1[_0x362f12(0xd0)],'finished_at':_0x4566a1['finishedAt'],'framework':FRAMEWORKS[_0x362f12(0xdf)]};if(_0x27f3f9[_0x362f12(0x141)](_0x452a7d,_0x27f3f9[_0x362f12(0x185)])){const {steps:_0x5e8628,logs:_0xef0946}=this[_0x362f12(0x18d)](_0x576bf1[_0x362f12(0xb5)],_0x4566a1[_0x362f12(0x182)],_0x27f3f9['KhPey']);_0xef0946&&_0x27f3f9['hADcC'](_0xef0946[_0x362f12(0x183)],0x0)&&await MyReporter['reportLogs'](_0xef0946);const _0x1419be={};_0x1419be[_0x362f12(0xb5)]=_0x5e8628,_0x23ddae[_0x362f12(0x125)]=_0x1419be;if(_0x576bf1[_0x362f12(0x12e)]){_0x23ddae[_0x362f12(0x82)]=_0x27f3f9['ignTt'],_0x23ddae[_0x362f12(0xcc)]=_0x27f3f9[_0x362f12(0xbe)](removeAnsiColors,_0x576bf1[_0x362f12(0x12e)]['message']),_0x23ddae[_0x362f12(0x121)]=_0x27f3f9[_0x362f12(0xb7)](getFailureType,_0x576bf1[_0x362f12(0x12e)][_0x362f12(0xfd)]);const _0x3dd526=_0x27f3f9[_0x362f12(0xde)](failureData,_0x576bf1[_0x362f12(0x12e)],_0x27f3f9[_0x362f12(0xa5)]);if(_0x3dd526&&_0x27f3f9['dEjBR'](_0x3dd526[_0x362f12(0x183)],0x0)){const _0x46b7db={};_0x46b7db[_0x362f12(0x89)]=[_0x23ddae[_0x362f12(0xcc)]],_0x46b7db[_0x362f12(0x10a)]=[],_0x3dd526[_0x362f12(0x8e)](_0x46b7db);}_0x23ddae['failure']=_0x3dd526;}else _0x23ddae['result']=_0x27f3f9[_0x362f12(0x10c)];}const _0x223752={};_0x223752[_0x362f12(0x111)]=_0x452a7d,_0x223752[_0x362f12(0x81)]=_0x23ddae;const _0x8312d9=_0x223752;await SessionHandler['uploadEventData'](_0x8312d9);}[a46_0x548a0e(0x18d)](_0x42d4d3,_0x565aae,_0x2ff694){const _0x1e21b5=a46_0x548a0e,_0x33154a={'DWrLt':function(_0x3ea8e,_0x18ffbd){return _0x3ea8e===_0x18ffbd;},'hERRR':_0x1e21b5(0xe8),'AXYbY':function(_0x44f3e5,_0x4d29a1){return _0x44f3e5===_0x4d29a1;},'ZRzxr':'After\x20Hooks','laWkW':function(_0x3dfee2,_0x2538c5){return _0x3dfee2===_0x2538c5;},'BQlnM':'Before\x20Hooks','yzndj':_0x1e21b5(0xfc),'eRmiq':_0x1e21b5(0x9b),'ltbQk':_0x1e21b5(0x188),'bIxtJ':_0x1e21b5(0x91),'vZQYZ':_0x1e21b5(0x112),'bNQno':_0x1e21b5(0x173),'THSBO':function(_0x42cf95,_0x35998a){return _0x42cf95(_0x35998a);},'eviov':function(_0x1981f9){return _0x1981f9();},'FGqAl':function(_0x1345e9,_0x190ea7){return _0x1345e9(_0x190ea7);},'fPezw':function(_0x44ab6b,_0x23b335,_0x16a10d){return _0x44ab6b(_0x23b335,_0x16a10d);}},_0xd5a894=[],_0x46a0a1=[],_0x320983=_0x42d4d3[_0x1e21b5(0x143)](_0x3ed8e0=>{const _0x2f49d2=_0x1e21b5;if(_0x33154a[_0x2f49d2(0x94)](_0x3ed8e0[_0x2f49d2(0x138)],_0x33154a[_0x2f49d2(0xb0)])&&(_0x33154a[_0x2f49d2(0x17d)](_0x3ed8e0['title'],_0x33154a[_0x2f49d2(0xea)])||_0x33154a[_0x2f49d2(0x16d)](_0x3ed8e0[_0x2f49d2(0xc1)],_0x33154a[_0x2f49d2(0xd4)])))return![];return!![];}),_0x382c0f=(_0x56a019,_0x43093f=![])=>{const _0x2ae29d=_0x1e21b5;if(_0x33154a[_0x2ae29d(0x94)](_0x56a019[_0x2ae29d(0xb5)][_0x2ae29d(0x183)],0x0)){const _0x4f7b2e=_0x33154a[_0x2ae29d(0x17d)](_0x2ff694,_0x33154a[_0x2ae29d(0x142)])?_0x33154a[_0x2ae29d(0x106)]:_0x33154a[_0x2ae29d(0xeb)];_0x46a0a1[_0x2ae29d(0x8e)]({'kind':_0x33154a[_0x2ae29d(0x17c)],[_0x4f7b2e]:_0x565aae,'message':_0x56a019[_0x2ae29d(0xc1)],'timestamp':_0x56a019['startTime'][_0x2ae29d(0x166)](),'level':_0x56a019[_0x2ae29d(0x12e)]?_0x33154a[_0x2ae29d(0x129)]:_0x33154a[_0x2ae29d(0xbd)],'duration':_0x56a019[_0x2ae29d(0xc8)],'failure':_0x56a019[_0x2ae29d(0x12e)]&&_0x56a019[_0x2ae29d(0x12e)][_0x2ae29d(0xfd)]&&_0x33154a['THSBO'](removeAnsiColors,_0x56a019[_0x2ae29d(0x12e)][_0x2ae29d(0xfd)]),'failure_type':_0x33154a['THSBO'](getFailureType,_0x56a019['error']&&_0x56a019[_0x2ae29d(0x12e)][_0x2ae29d(0xfd)])});}else{!_0x43093f&&_0xd5a894['push']({'id':_0x33154a[_0x2ae29d(0xbc)](uuidv4),'text':_0x56a019['title'],'keyword':undefined,'started_at':_0x56a019[_0x2ae29d(0xef)][_0x2ae29d(0x166)](),'duration':_0x56a019[_0x2ae29d(0xc8)],'result':_0x56a019['error']?_0x33154a['vZQYZ']:_0x33154a['bNQno'],'failure':_0x56a019[_0x2ae29d(0x12e)]&&_0x56a019[_0x2ae29d(0x12e)][_0x2ae29d(0xfd)]&&_0x33154a[_0x2ae29d(0x17a)](removeAnsiColors,_0x56a019[_0x2ae29d(0x12e)][_0x2ae29d(0xfd)]),'failure_type':_0x33154a[_0x2ae29d(0x124)](getFailureType,_0x56a019[_0x2ae29d(0x12e)]&&_0x56a019[_0x2ae29d(0x12e)]['message'])});for(const _0x11513b of _0x56a019['steps']){_0x33154a[_0x2ae29d(0x90)](_0x382c0f,_0x11513b,!![]);}}};for(const _0x38095b of _0x320983){_0x33154a[_0x1e21b5(0x90)](_0x382c0f,_0x38095b,![]);}const _0x3fdb77={};return _0x3fdb77[_0x1e21b5(0xb5)]=_0xd5a894,_0x3fdb77[_0x1e21b5(0xe7)]=_0x46a0a1,_0x3fdb77;}async['sendTestRunEvent'](_0x2d6c75,_0x3e34b3,_0x25c33c){const _0x39fe85=a46_0x548a0e,_0x4af530={'vLyqK':function(_0x2c0b53,_0x160e06){return _0x2c0b53(_0x160e06);},'cBSQo':_0x39fe85(0x96),'tnxyj':function(_0x3c8fbe,_0x3b7784){return _0x3c8fbe(_0x3b7784);},'Komcs':_0x39fe85(0xfc),'gsKTC':_0x39fe85(0x13a),'NSQbH':_0x39fe85(0xac),'HskKd':function(_0x265d38,_0x11570f,_0x42a24e,_0x247259,_0x61f8ec){return _0x265d38(_0x11570f,_0x42a24e,_0x247259,_0x61f8ec);},'nEbne':function(_0x2acfd0,_0x9be064){return _0x2acfd0>_0x9be064;},'KEtvj':function(_0x285136,_0xafea76,_0x5dbab9){return _0x285136(_0xafea76,_0x5dbab9);},'UFjqu':function(_0x2df95b,_0x32def8){return _0x2df95b-_0x32def8;},'mESef':function(_0x1e1e02,_0x3a2c06){return _0x1e1e02===_0x3a2c06;},'zIcwF':_0x39fe85(0x164),'DZHAS':function(_0x2e3cd7,_0x3afd37){return _0x2e3cd7===_0x3afd37;},'sgwPB':_0x39fe85(0x101),'Xeoub':_0x39fe85(0x173),'iljqh':function(_0x5cea25,_0xb9c8d6){return _0x5cea25===_0xb9c8d6;},'pfkpO':function(_0x45180d,_0x526137){return _0x45180d===_0x526137;},'yGtZQ':_0x39fe85(0x112),'LHXQp':'timedOut','vNdvX':_0x39fe85(0xa8),'dNLDx':function(_0x4f43f9,_0xc597d8){return _0x4f43f9(_0xc597d8);},'rGAgA':function(_0x17ca8d,_0x39003e){return _0x17ca8d===_0x39003e;},'huJbd':function(_0x3d119c,_0x46c879){return _0x3d119c>_0x46c879;},'uIOcx':'path','oLLrb':function(_0xbb479f,_0x4043c6){return _0xbb479f(_0x4043c6);},'PYRAI':function(_0x4599a9,_0x26ea38){return _0x4599a9(_0x26ea38);},'AJNzC':_0x39fe85(0x104),'VtAHt':'utf8','EzqQn':function(_0x56fbd6,_0x2c8650){return _0x56fbd6(_0x2c8650);},'yKWHd':function(_0x260155,_0x30cc1a){return _0x260155!==_0x30cc1a;}},_0x10f459=_0x4af530[_0x39fe85(0x136)](getTestIdentifier,_0x2d6c75),_0x5ba349=this[_0x39fe85(0xd9)](_0x2d6c75),_0x337fcb=this['_tests'][_0x10f459],_0x177d1c=path['relative'](process[_0x39fe85(0x174)](),_0x2d6c75[_0x39fe85(0x18e)][_0x39fe85(0x184)]);await this[_0x39fe85(0x15f)]();const _0xa10c93={'uuid':_0x337fcb[_0x39fe85(0x182)],'type':_0x4af530['Komcs'],'name':_0x2d6c75[_0x39fe85(0xc1)],'body':{'lang':_0x4af530['gsKTC'],'code':_0x2d6c75['fn'][_0x39fe85(0x107)]()},'scope':_0x5ba349,'scopes':this[_0x39fe85(0x87)](_0x2d6c75),'identifier':_0x10f459,'file_name':_0x177d1c,'location':_0x177d1c,'result':_0x4af530[_0x39fe85(0x117)],'duration_in_ms':_0x25c33c&&_0x25c33c[_0x39fe85(0xc8)]?_0x25c33c[_0x39fe85(0xc8)]:null,'vc_filepath':this[_0x39fe85(0x151)]&&_0x2d6c75[_0x39fe85(0x18e)][_0x39fe85(0x184)]?path[_0x39fe85(0x180)](this['_gitConfigPath'],_0x2d6c75[_0x39fe85(0x18e)]['file']):undefined,'started_at':_0x337fcb[_0x39fe85(0xd0)],'finished_at':_0x337fcb[_0x39fe85(0x14c)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':this[_0x39fe85(0xfb)](_0x2d6c75)},'tags':_0x4af530['tnxyj'](getTestTags,_0x2d6c75)};_0x4af530[_0x39fe85(0xd5)](appendTesthubParams,_0xa10c93,_0x3e34b3,_0x2d6c75,FRAMEWORKS[_0x39fe85(0xdf)]);_0x25c33c&&_0x4af530['nEbne'](_0x25c33c[_0x39fe85(0xec)],0x0)&&(_0xa10c93[_0x39fe85(0xa6)]=TestDetails[_0x39fe85(0x181)](_0x4af530[_0x39fe85(0xf1)](getTestRunIdentifier,_0x2d6c75,_0x4af530['UFjqu'](_0x25c33c[_0x39fe85(0xec)],0x1))));if(_0x4af530['mESef'](_0x3e34b3,_0x4af530[_0x39fe85(0xd8)])){_0xa10c93[_0x39fe85(0x82)]=_0x25c33c[_0x39fe85(0xaf)];if(_0x4af530['mESef'](_0x25c33c[_0x39fe85(0xaf)],_0x2d6c75[_0x39fe85(0xdc)]))_0xa10c93[_0x39fe85(0x82)]=_0x4af530['DZHAS'](_0x25c33c['status'],_0x4af530[_0x39fe85(0x11f)])?_0x4af530['sgwPB']:_0x4af530[_0x39fe85(0x186)];else{(_0x4af530[_0x39fe85(0x157)](_0xa10c93['result'],_0x4af530[_0x39fe85(0x186)])||_0x4af530[_0x39fe85(0xa9)](_0xa10c93[_0x39fe85(0x82)],_0x4af530[_0x39fe85(0x127)])||_0x4af530[_0x39fe85(0x157)](_0xa10c93[_0x39fe85(0x82)],_0x4af530[_0x39fe85(0xa7)]))&&(_0xa10c93['result']=_0x4af530[_0x39fe85(0x127)]);if(_0x4af530[_0x39fe85(0xa9)](_0x25c33c[_0x39fe85(0xaf)],_0x4af530['Xeoub'])&&_0x4af530[_0x39fe85(0xa9)](_0x2d6c75[_0x39fe85(0xdc)],_0x4af530[_0x39fe85(0x127)])){const _0x1c73fc={};_0x1c73fc[_0x39fe85(0xfd)]=_0x4af530['vNdvX'],_0x1c73fc['stack']=_0x4af530['vNdvX'],_0x25c33c[_0x39fe85(0x12e)]=_0x1c73fc,_0x25c33c[_0x39fe85(0x158)]=[_0x25c33c[_0x39fe85(0x12e)]];}}const _0x30fb6b=_0x4af530[_0x39fe85(0xf1)](getTestRunIdentifier,_0x2d6c75,_0x25c33c[_0x39fe85(0xec)]);_0xa10c93[_0x39fe85(0xcf)]=this[_0x39fe85(0x131)][_0x30fb6b];const {steps:_0x49e9ee,logs:_0x4dea43}=this[_0x39fe85(0x18d)](_0x25c33c[_0x39fe85(0xb5)],_0x337fcb['uuid'],_0x4af530[_0x39fe85(0xfa)]);await MyReporter[_0x39fe85(0x137)](_0x4dea43);const _0xd1bc7a={};_0xd1bc7a[_0x39fe85(0xb5)]=_0x49e9ee,_0xa10c93[_0x39fe85(0x125)]=_0xd1bc7a;if(_0x25c33c[_0x39fe85(0x12e)]){_0xa10c93[_0x39fe85(0xcc)]=_0x4af530['dNLDx'](removeAnsiColors,_0x25c33c['error']['message']),_0xa10c93['failure_type']=_0x4af530['vLyqK'](getFailureType,_0x25c33c[_0x39fe85(0x12e)][_0x39fe85(0xfd)]);const _0x1eb0c2={};_0x1eb0c2[_0x39fe85(0x9b)]=_0x337fcb[_0x39fe85(0x182)];const {failureData:_0x219358,logs:_0x1f29ad}=_0x4af530[_0x39fe85(0xf1)](getFailureData,_0x25c33c['errors'],_0x1eb0c2);if(_0x219358&&_0x4af530['rGAgA'](_0x219358['length'],0x0)){const _0x35b2cc={};_0x35b2cc[_0x39fe85(0x89)]=[_0xa10c93[_0x39fe85(0xcc)]],_0x35b2cc[_0x39fe85(0x10a)]=[],_0x219358[_0x39fe85(0x8e)](_0x35b2cc);}_0xa10c93[_0x39fe85(0x123)]=_0x219358,_0x1f29ad&&_0x4af530[_0x39fe85(0x163)](_0x1f29ad[_0x39fe85(0x183)],0x0)&&await MyReporter[_0x39fe85(0x137)](_0x1f29ad);}}let _0x5e9c3b=_0x4af530[_0x39fe85(0xf1)](findNestedKey,_0x25c33c,_0x4af530[_0x39fe85(0xf5)]);if(_0x5e9c3b&&_0x4af530[_0x39fe85(0x171)](validateFilePath,_0x5e9c3b))_0x4af530[_0x39fe85(0x133)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x337fcb[_0x39fe85(0x182)]+_0x39fe85(0x11b)+_0x5e9c3b);else{const _0x2857b2=path[_0x39fe85(0x178)](helper[_0x39fe85(0x15b)](),_0x4af530[_0x39fe85(0x18c)]);!fs[_0x39fe85(0xce)](_0x2857b2)&&fs[_0x39fe85(0xa4)](_0x2857b2),fs[_0x39fe85(0xce)](path[_0x39fe85(0x178)](_0x2857b2,_0x39fe85(0x86)+_0x337fcb[_0x39fe85(0x182)]+_0x39fe85(0x145)))&&(_0x5e9c3b=fs[_0x39fe85(0x189)](path['join'](_0x2857b2,_0x39fe85(0x86)+_0x337fcb[_0x39fe85(0x182)]+_0x39fe85(0x145)),_0x4af530[_0x39fe85(0x167)]),_0x4af530[_0x39fe85(0x169)](debug,_0x39fe85(0x175)+_0x337fcb[_0x39fe85(0x182)]+'\x20at\x20'+_0x5e9c3b));}const _0x2b80b7={};_0x2b80b7['event_type']=_0x3e34b3,_0x2b80b7[_0x39fe85(0xe6)]=_0xa10c93;const _0x5a0d95=_0x2b80b7;_0x5e9c3b&&_0x4af530[_0x39fe85(0x13c)](_0x5e9c3b,'')&&_0x4af530[_0x39fe85(0x139)](_0x3e34b3,_0x4af530[_0x39fe85(0xd8)])&&(!_0x5a0d95[_0x39fe85(0xe7)]&&(_0x5a0d95[_0x39fe85(0xe7)]=[]),_0x5e9c3b[_0x39fe85(0x12a)]('\x0a')['forEach'](_0x15e09a=>{const _0x2e0067=_0x39fe85;_0x15e09a&&_0x4af530[_0x2e0067(0xab)](validateFilePath,_0x15e09a)&&_0x5a0d95[_0x2e0067(0xe7)][_0x2e0067(0x8e)]({'kind':_0x4af530[_0x2e0067(0x16f)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x337fcb[_0x2e0067(0x182)],'file_name':path[_0x2e0067(0xd2)](_0x15e09a),'file_size':fs['statSync'](_0x15e09a)[_0x2e0067(0x147)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x39fe85(0xc4)](_0x5a0d95);}[a46_0x548a0e(0xfb)](_0x3a689b){const _0x4acf9b=a46_0x548a0e,_0x30d72d={};_0x30d72d[_0x4acf9b(0xf4)]=function(_0x4a867e,_0x520437){return _0x4a867e===_0x520437;},_0x30d72d[_0x4acf9b(0xe4)]=function(_0x4cd28d,_0x5bb074){return _0x4cd28d>_0x5bb074;},_0x30d72d[_0x4acf9b(0x8b)]=function(_0x1ee198,_0x271a52){return _0x1ee198+_0x271a52;},_0x30d72d[_0x4acf9b(0xb6)]=function(_0x301e68,_0x510e1d){return _0x301e68===_0x510e1d;};const _0x4e1413=_0x30d72d,_0x250a2b=_0x3a689b[_0x4acf9b(0x154)]()[_0x4acf9b(0xe2)](_0x13f56d=>{const _0x4daa53=_0x4acf9b;if(_0x3a689b[_0x4daa53(0x17b)]&&_0x4e1413[_0x4daa53(0xf4)](_0x13f56d,_0x3a689b[_0x4daa53(0x17b)]['title'])&&_0x3a689b['parent'][_0x4daa53(0x116)]&&_0x4e1413[_0x4daa53(0xe4)](_0x3a689b['parent'][_0x4daa53(0x116)][_0x4daa53(0x183)],0x0))return _0x4e1413[_0x4daa53(0x8b)](_0x4e1413['IXwuh'](_0x13f56d,'\x20'),_0x3a689b[_0x4daa53(0x17b)][_0x4daa53(0x116)][_0x4daa53(0x178)]('\x20'));if(_0x4e1413[_0x4daa53(0xb6)](_0x13f56d,_0x3a689b[_0x4daa53(0xc1)])&&_0x3a689b[_0x4daa53(0x116)]&&_0x4e1413['PdYuA'](_0x3a689b[_0x4daa53(0x116)][_0x4daa53(0x183)],0x0))return _0x4e1413[_0x4daa53(0x8b)](_0x4e1413['IXwuh'](_0x13f56d,'\x20'),_0x3a689b[_0x4daa53(0x116)][_0x4daa53(0x178)]('\x20'));return _0x13f56d;})[_0x4acf9b(0x178)]('\x20');return _0x250a2b;}static async[a46_0x548a0e(0x85)](_0x1f5e44,_0x31cdc4){const _0x4e519e=a46_0x548a0e,_0x3d4ad4={'GHesc':function(_0x33efd5,_0x51fd0d){return _0x33efd5(_0x51fd0d);},'Xygjo':'CBTSessionCreated'},_0x14cf60={'uuid':TestDetails[_0x4e519e(0x181)](_0x1f5e44),'integrations':_0x31cdc4},_0x1847dc={};_0x1847dc[_0x4e519e(0x13d)]=null,_0x3d4ad4[_0x4e519e(0xc7)](debug,'Sending\x20session\x20details\x20for\x20'+_0x1f5e44+',\x20'+util[_0x4e519e(0x9a)](_0x31cdc4,_0x1847dc));const _0x52d84e={};_0x52d84e[_0x4e519e(0x111)]=_0x3d4ad4[_0x4e519e(0xca)],_0x52d84e[_0x4e519e(0xe6)]=_0x14cf60,await SessionHandler[_0x4e519e(0xc4)](_0x52d84e);}async[a46_0x548a0e(0x15f)](){const _0x59a365=a46_0x548a0e,_0x45cef4={'jPyqa':function(_0x533c04){return _0x533c04();}};if(this['_gitConfigured'])return;const _0x3411c9=await _0x45cef4[_0x59a365(0xbf)](getGitMetaData);_0x3411c9&&(this[_0x59a365(0x151)]=_0x3411c9[_0x59a365(0x99)]),this[_0x59a365(0x16e)]=!![];}[a46_0x548a0e(0x87)](_0x473e61){const _0x3774ee=a46_0x548a0e,_0x193951={};_0x193951[_0x3774ee(0x16b)]=function(_0x2b84bd,_0x1e56c2){return _0x2b84bd!==_0x1e56c2;};const _0x1bdbeb=_0x193951,_0x55a6dc=[];if(_0x473e61&&_0x473e61['parent']){let _0x184097=_0x473e61[_0x3774ee(0x17b)];while(_0x184097&&_0x1bdbeb[_0x3774ee(0x16b)](_0x184097['title'],'')){_0x55a6dc[_0x3774ee(0x8e)](_0x184097[_0x3774ee(0xc1)]),_0x184097=_0x184097[_0x3774ee(0x17b)];}}return _0x55a6dc['reverse']()[_0x3774ee(0xf6)](0x0,0x2),_0x55a6dc;}[a46_0x548a0e(0xdd)](_0x29b08c){const _0x37c68e=a46_0x548a0e,_0x5e342b={};_0x5e342b[_0x37c68e(0x144)]=function(_0x4c23b6,_0x1d6f17){return _0x4c23b6!==_0x1d6f17;},_0x5e342b[_0x37c68e(0xff)]=_0x37c68e(0xe8),_0x5e342b['fMszs']=function(_0x1471d5,_0x2ac754){return _0x1471d5===_0x2ac754;},_0x5e342b[_0x37c68e(0x146)]='beforeEach\x20hook',_0x5e342b['VgQcF']=_0x37c68e(0x8f),_0x5e342b[_0x37c68e(0x9f)]=_0x37c68e(0x92),_0x5e342b[_0x37c68e(0x12b)]=_0x37c68e(0x11e);const _0x31de9d=_0x5e342b;if(_0x31de9d[_0x37c68e(0x144)](_0x29b08c['category'],_0x31de9d[_0x37c68e(0xff)]))return![];if(_0x31de9d['fMszs']([_0x31de9d[_0x37c68e(0x146)],_0x31de9d[_0x37c68e(0x11a)],_0x31de9d['rSTFr'],_0x31de9d[_0x37c68e(0x12b)]][_0x37c68e(0x84)](_0x29b08c['title']),-0x1))return![];return!![];}['getStepIdentifier'](_0xadfdea,_0x4a3755){const _0x52a29d=a46_0x548a0e,_0x13adef={'mCqNm':function(_0x51efe9,_0x429f2c){return _0x51efe9(_0x429f2c);}},_0x401173=_0x4a3755[_0x52a29d(0x159)];if(_0x401173)return _0x401173;return _0x4a3755[_0x52a29d(0xc1)]+_0x52a29d(0x18b)+_0x13adef[_0x52a29d(0xba)](getTestIdentifier,_0xadfdea);}[a46_0x548a0e(0x8c)](_0x520c11,_0x42371c){const _0x364164=a46_0x548a0e,_0x428bb2={'vrMVu':function(_0x2eb6e7,_0x58243e){return _0x2eb6e7(_0x58243e);},'wXiIZ':function(_0x3d95d7){return _0x3d95d7();}};let _0x2bcd26=_0x42371c[_0x364164(0xc1)]+_0x364164(0x18b)+_0x428bb2[_0x364164(0xad)](getTestIdentifier,_0x520c11);return this[_0x364164(0x12f)][_0x2bcd26]&&(_0x2bcd26=_0x2bcd26+_0x364164(0x17e)+_0x428bb2[_0x364164(0xe0)](uuidv4)),_0x42371c[_0x364164(0x159)]=_0x2bcd26,_0x2bcd26;}[a46_0x548a0e(0x135)]=_0x371a1f=>{const _0xebb76e=a46_0x548a0e,_0xba46c0={};_0xba46c0[_0xebb76e(0x14a)]=_0xebb76e(0x15e),_0xba46c0[_0xebb76e(0x16a)]=_0xebb76e(0xe9),_0xba46c0[_0xebb76e(0x13f)]='beforeAll\x20hook',_0xba46c0['qURIZ']=_0xebb76e(0xf9),_0xba46c0[_0xebb76e(0x15c)]='afterEach\x20hook',_0xba46c0[_0xebb76e(0x102)]='AFTER_EACH',_0xba46c0['acSaW']=_0xebb76e(0x92),_0xba46c0[_0xebb76e(0xd3)]='AFTER_ALL',_0xba46c0[_0xebb76e(0x176)]=_0xebb76e(0x108);const _0x488884=_0xba46c0;if(_0x371a1f[_0xebb76e(0x11c)](_0x488884[_0xebb76e(0x14a)]))return _0x488884[_0xebb76e(0x16a)];else{if(_0x371a1f[_0xebb76e(0x11c)](_0x488884[_0xebb76e(0x13f)]))return _0x488884[_0xebb76e(0x140)];else{if(_0x371a1f[_0xebb76e(0x11c)](_0x488884['IjaGq']))return _0x488884[_0xebb76e(0x102)];else{if(_0x371a1f[_0xebb76e(0x11c)](_0x488884[_0xebb76e(0xc2)]))return _0x488884[_0xebb76e(0xd3)];}}}return _0x488884[_0xebb76e(0x176)];};[a46_0x548a0e(0xd9)]=_0x5a4d83=>{const _0x1d5768=a46_0x548a0e,_0x480575={};_0x480575[_0x1d5768(0x15a)]=function(_0x4bd5f4,_0x180103){return _0x4bd5f4===_0x180103;},_0x480575[_0x1d5768(0xc9)]=_0x1d5768(0x95);const _0x3c70bb=_0x480575;let _0x10f10a=_0x5a4d83[_0x1d5768(0x17b)];return _0x3c70bb[_0x1d5768(0x15a)](typeof _0x5a4d83[_0x1d5768(0x17b)],_0x3c70bb['JjzVx'])&&(_0x10f10a=_0x10f10a[_0x1d5768(0xc1)]),_0x10f10a+_0x1d5768(0x17e)+_0x5a4d83[_0x1d5768(0xc1)];};['printsToStdio'](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,[a46_0x548a0e(0x177),a46_0x548a0e(0x9d),a46_0x548a0e(0xda),a46_0x548a0e(0x93),'onStepBegin',a46_0x548a0e(0x155),'sendSessionDetails'],a46_0x548a0e(0xf0));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a47_0x3b8da7=a47_0x19cc;(function(_0x2d2d9e,_0x4dd603){const _0x410adf=a47_0x19cc,_0xce4ea3=_0x2d2d9e();while(!![]){try{const _0x2db0df=-parseInt(_0x410adf(0x106))/0x1+parseInt(_0x410adf(0x12d))/0x2+parseInt(_0x410adf(0x131))/0x3+parseInt(_0x410adf(0x112))/0x4+parseInt(_0x410adf(0x10b))/0x5+-parseInt(_0x410adf(0xf5))/0x6*(-parseInt(_0x410adf(0x114))/0x7)+-parseInt(_0x410adf(0xf9))/0x8*(parseInt(_0x410adf(0xff))/0x9);if(_0x2db0df===_0x4dd603)break;else _0xce4ea3['push'](_0xce4ea3['shift']());}catch(_0x4a38ce){_0xce4ea3['push'](_0xce4ea3['shift']());}}}(a47_0x4532,0xecaeb));const fs=require('fs'),path=require(a47_0x3b8da7(0x12a)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a47_0x3b8da7(0x11b)),logger=require('../../../helpers/logger')[a47_0x3b8da7(0x115)],{getLogDir}=require(a47_0x3b8da7(0xf7)),util=require('util'),helper=require(a47_0x3b8da7(0x11b));class TestDetails{static [a47_0x3b8da7(0x130)]={};static['setup'](){const _0x5590d2=a47_0x3b8da7;this[_0x5590d2(0xec)]();const _0x6ba2c0={};_0x6ba2c0[_0x5590d2(0x126)]=!![],fs[_0x5590d2(0x119)](this[_0x5590d2(0xfe)](),_0x6ba2c0);const _0x275343={};_0x275343[_0x5590d2(0x126)]=!![],fs[_0x5590d2(0x119)](this[_0x5590d2(0x120)](),_0x275343);}static[a47_0x3b8da7(0x121)](){const _0x59de1e=a47_0x3b8da7,_0x4c788c={};_0x4c788c['Ssayw']=function(_0x111f02,_0x5e43ee){return _0x111f02+_0x5e43ee;};const _0xfcc2cb=_0x4c788c;return _0xfcc2cb[_0x59de1e(0xeb)](_0xfcc2cb['Ssayw'](TEMP_STORE_DIR_NAME,'-'),process[_0x59de1e(0xf3)][_0x59de1e(0x104)]);}static['getStoreDirPath'](){const _0x5168bb=a47_0x3b8da7,_0xf6330d={};_0xf6330d[_0x5168bb(0xed)]=function(_0x3938b7,_0x322e6e){return _0x3938b7+_0x322e6e;},_0xf6330d['ITNdd']=function(_0x1659dc,_0x271304){return _0x1659dc+_0x271304;},_0xf6330d['LZRAj']=_0x5168bb(0xea);const _0x33a331=_0xf6330d;return path[_0x5168bb(0xf8)](_0x33a331['gCOsL'](_0x33a331[_0x5168bb(0x12b)](TEMP_STORE_DIR_NAME,'-'),process[_0x5168bb(0xf3)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x33a331['LZRAj']));}static[a47_0x3b8da7(0x120)](){const _0x37f1a3=a47_0x3b8da7,_0x1c3898={};_0x1c3898[_0x37f1a3(0x129)]=_0x37f1a3(0x10a);const _0x1825ed=_0x1c3898;return path['join'](this[_0x37f1a3(0x11f)](),_0x1825ed[_0x37f1a3(0x129)]);}static[a47_0x3b8da7(0xfe)](){const _0xb612a0=a47_0x3b8da7;return TestDetails[_0xb612a0(0x121)]();}static[a47_0x3b8da7(0xe2)](_0x5a6cf4){const _0x5d6537=a47_0x3b8da7,_0x43d9d0={};_0x43d9d0[_0x5d6537(0xdf)]=function(_0x1bc49e,_0x3eb72a){return _0x1bc49e+_0x3eb72a;},_0x43d9d0['opaub']='.json';const _0x300b06=_0x43d9d0;return path[_0x5d6537(0xf8)](this['getDirPath'](),_0x300b06[_0x5d6537(0xdf)](_0x5a6cf4,_0x300b06[_0x5d6537(0x12f)]));}static[a47_0x3b8da7(0x110)](_0xaa81aa){const _0x1a65d2=a47_0x3b8da7,_0x934513={};_0x934513[_0x1a65d2(0x105)]=function(_0x5c498f,_0x5da3ce){return _0x5c498f+_0x5da3ce;},_0x934513[_0x1a65d2(0xfd)]=function(_0x4bb48d,_0x30935c){return _0x4bb48d+_0x30935c;};const _0x2cb10c=_0x934513;return _0x2cb10c[_0x1a65d2(0x105)](_0x2cb10c[_0x1a65d2(0x105)](_0x2cb10c[_0x1a65d2(0xfd)](_0x2cb10c[_0x1a65d2(0xfd)](this[_0x1a65d2(0x101)](_0xaa81aa),'-'),this[_0x1a65d2(0x125)](_0xaa81aa)),'-'),_0xaa81aa[_0x1a65d2(0xef)]);}static[a47_0x3b8da7(0x101)](_0x46ddf3){const _0x10cbd0=a47_0x3b8da7,_0x4efd84={'HPmSB':function(_0x295489,_0x30021f,_0x17df4c){return _0x295489(_0x30021f,_0x17df4c);},'vuJyg':_0x10cbd0(0x107),'lrhdY':_0x10cbd0(0xe4),'YIJvO':'project','iSFLs':_0x10cbd0(0x12c)};return _0x4efd84['HPmSB'](nestedKeyValue,_0x46ddf3,[_0x4efd84[_0x10cbd0(0x128)],_0x4efd84[_0x10cbd0(0xe5)]])||_0x4efd84[_0x10cbd0(0xfc)](nestedKeyValue,_0x46ddf3,[_0x4efd84[_0x10cbd0(0x10f)],_0x4efd84[_0x10cbd0(0x113)]]);}static[a47_0x3b8da7(0x125)](_0x5d504f){const _0x4fb98e=a47_0x3b8da7,_0x3d81c7={'kelnK':function(_0xfd5e4e,_0x76769a,_0x48c1af){return _0xfd5e4e(_0x76769a,_0x48c1af);},'HrBoc':_0x4fb98e(0x107)};return _0x3d81c7[_0x4fb98e(0xe9)](nestedKeyValue,_0x5d504f,[_0x3d81c7[_0x4fb98e(0x118)],'id'])||_0x5d504f['testId'];}static[a47_0x3b8da7(0x111)](_0x18bd5e){const _0x4263a7=a47_0x3b8da7,_0x17ed56={'wtdyX':function(_0x40a869,_0x4da52e){return _0x40a869===_0x4da52e;},'dgnbL':_0x4263a7(0xe6),'YlhiJ':function(_0xa55eab){return _0xa55eab();}};if(this[_0x4263a7(0x130)][_0x18bd5e]&&_0x17ed56['wtdyX'](typeof this[_0x4263a7(0x130)][_0x18bd5e][_0x4263a7(0x116)],_0x17ed56['dgnbL']))return this[_0x4263a7(0x130)][_0x18bd5e][_0x4263a7(0x116)];const _0x136779=this['getFilePath'](_0x18bd5e);if(_0x136779&&fs[_0x4263a7(0x11e)](_0x136779)){const _0x3089ea=JSON[_0x4263a7(0xf2)](fs[_0x4263a7(0x11a)](_0x136779)['toString']());return this[_0x4263a7(0x130)][_0x18bd5e]=_0x3089ea,this[_0x4263a7(0x130)][_0x18bd5e][_0x4263a7(0x116)];}return this[_0x4263a7(0x130)][_0x18bd5e]={'uuid':_0x17ed56[_0x4263a7(0xe8)](uuidv4)},fs[_0x4263a7(0x103)](_0x136779,JSON['stringify'](this['tests'][_0x18bd5e])),this[_0x4263a7(0x130)][_0x18bd5e][_0x4263a7(0x116)];}static[a47_0x3b8da7(0x122)](_0x2090d1){const _0x2b67d3=a47_0x3b8da7,_0x4068aa=path[_0x2b67d3(0xf8)](this['getDirPath'](),_0x2090d1+_0x2b67d3(0x10d));if(_0x4068aa&&fs[_0x2b67d3(0x11e)](_0x4068aa))return fs['readFileSync'](_0x4068aa)[_0x2b67d3(0x127)]();}static[a47_0x3b8da7(0xf1)](_0x1c6cb2,_0x547429){const _0x5e9680=a47_0x3b8da7,_0xfd9ba7=path[_0x5e9680(0xf8)](this[_0x5e9680(0xfe)](),_0x547429+_0x5e9680(0x10d));fs[_0x5e9680(0x103)](_0xfd9ba7,_0x1c6cb2[_0x5e9680(0x127)]());}static[a47_0x3b8da7(0xec)](){const _0x13d1f7=a47_0x3b8da7,_0x4ac18e={};_0x4ac18e['recursive']=!![],_0x4ac18e[_0x13d1f7(0xfb)]=!![],fs['rmSync'](this[_0x13d1f7(0xfe)](),_0x4ac18e);}static['getTestDetails'](_0x552d76){const _0x46ff45=a47_0x3b8da7;if(this['tests'][_0x552d76])return this[_0x46ff45(0x130)][_0x552d76];const _0x4032f2=this[_0x46ff45(0xe2)](_0x552d76);if(_0x4032f2&&fs[_0x46ff45(0x11e)](_0x4032f2)){const _0x420fb3=JSON[_0x46ff45(0xf2)](fs[_0x46ff45(0x11a)](_0x4032f2)['toString']());return this[_0x46ff45(0x130)][_0x552d76]=_0x420fb3,_0x420fb3;}return{};}static[a47_0x3b8da7(0xf4)](_0x1922e2,_0x1d42e8){const _0x22c66f=a47_0x3b8da7,_0x572e41=this[_0x22c66f(0xe2)](_0x1922e2);if(_0x572e41&&fs[_0x22c66f(0x11e)](_0x572e41)){const _0x534909=JSON[_0x22c66f(0xf2)](fs[_0x22c66f(0x11a)](_0x572e41)[_0x22c66f(0x127)]()),_0x431666={..._0x534909,..._0x1d42e8};this['tests'][_0x1922e2]=_0x431666;}else this[_0x22c66f(0x130)][_0x1922e2]=_0x1d42e8;fs[_0x22c66f(0x103)](_0x572e41,this[_0x22c66f(0x130)][_0x1922e2]);}static[a47_0x3b8da7(0xe0)](_0x5e3c1b){const _0xbffa65=a47_0x3b8da7,_0x5aa37c={};_0x5aa37c[_0xbffa65(0xe7)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x33d962=_0x5aa37c;try{const _0x415947=process[_0xbffa65(0x10e)],_0x5c8e30=path[_0xbffa65(0xf8)](TestDetails['getTraceZipDir'](),_0x415947+_0xbffa65(0x11d));let _0xa91f0e=[];_0x5c8e30&&fs['existsSync'](_0x5c8e30)&&(_0xa91f0e=JSON[_0xbffa65(0xf2)](fs['readFileSync'](_0x5c8e30)[_0xbffa65(0x127)]())),!_0xa91f0e['some'](_0x556f9c=>_0x556f9c[_0xbffa65(0xf6)]===_0x5e3c1b['filePath'])&&(_0xa91f0e[_0xbffa65(0xe3)](_0x5e3c1b),fs[_0xbffa65(0x103)](_0x5c8e30,JSON['stringify'](_0xa91f0e)));}catch(_0x5ae508){logger[_0xbffa65(0x10c)](_0x33d962[_0xbffa65(0xe7)],_0x5ae508);}}static[a47_0x3b8da7(0x117)](){const _0x33e3d9=a47_0x3b8da7,_0x54f23b={};_0x54f23b['dtgvL']=_0x33e3d9(0x11d),_0x54f23b['oUbct']=_0x33e3d9(0x100);const _0x257ab8=_0x54f23b,_0x2287fa=[];try{const _0x5252b2=TestDetails['getTraceZipDir']();if(_0x5252b2&&!fs[_0x33e3d9(0x11e)](_0x5252b2))return _0x2287fa;const _0x273e13=fs[_0x33e3d9(0x123)](_0x5252b2);_0x273e13[_0x33e3d9(0xf0)](_0x487624=>{const _0x1cbaa9=_0x33e3d9;if(_0x487624&&_0x487624[_0x1cbaa9(0xee)](_0x257ab8[_0x1cbaa9(0x124)])){const _0x321d1f=JSON[_0x1cbaa9(0xf2)](fs[_0x1cbaa9(0x11a)](path['join'](_0x5252b2,_0x487624))[_0x1cbaa9(0x127)]());_0x2287fa[_0x1cbaa9(0xe3)](..._0x321d1f);}});}catch(_0xb3bace){logger[_0x33e3d9(0x10c)](util[_0x33e3d9(0x12e)](_0x257ab8[_0x33e3d9(0xfa)],_0xb3bace));}const _0x1ba4e6={};return _0x2287fa[_0x33e3d9(0xf0)](_0x3d433b=>{_0x1ba4e6[_0x3d433b['filePath']]=_0x3d433b;}),Object['values'](_0x1ba4e6);}static['appendToTracePaths'](_0x1f9185,_0x210ca3){const _0x475f0b=a47_0x3b8da7,_0x391b06={};_0x391b06[_0x475f0b(0x102)]='.browserstack',_0x391b06[_0x475f0b(0x109)]='utf8';const _0x4060ce=_0x391b06;try{const _0x56b39f=path['join'](helper['homedir'](),_0x4060ce[_0x475f0b(0x102)]);if(!fs[_0x475f0b(0x11e)](_0x56b39f)){const _0x5f0784={};_0x5f0784[_0x475f0b(0x126)]=!![],fs['mkdirSync'](_0x56b39f,_0x5f0784);}fs['appendFileSync'](path[_0x475f0b(0xf8)](_0x56b39f,_0x475f0b(0x108)+_0x210ca3+'.txt'),_0x1f9185+'\x0a',_0x4060ce['CGqgH']);}catch(_0xd801c5){console['error'](_0x475f0b(0xe1)+_0xd801c5[_0x475f0b(0x11c)]);}}}function a47_0x19cc(_0x4351f6,_0x373a64){const _0x4532b5=a47_0x4532();return a47_0x19cc=function(_0x19ccc0,_0x5e8ebf){_0x19ccc0=_0x19ccc0-0xdf;let _0x4c9838=_0x4532b5[_0x19ccc0];return _0x4c9838;},a47_0x19cc(_0x4351f6,_0x373a64);}module['exports']=TestDetails;function a47_0x4532(){const _0x4c85f8=['addTraceFilePath','Error\x20writing\x20trace\x20file:\x20','getFilePath','push','_projectId','lrhdY','string','azsKV','YlhiJ','kelnK','default','Ssayw','shutdown','gCOsL','endsWith','retry','forEach','setAccessibilityPlatformValidation','parse','env','setTestDetails','6RKFCas','filePath','../../../helpers/logger','join','40zvbCBV','oUbct','force','HPmSB','eVJRt','getDirPath','4766292iBPVVh','Error\x20reading\x20trace\x20file\x20paths:\x20%s','getProjectIdFromTestInfo','dLcGj','writeFileSync','BS_TESTOPS_BUILD_HASHED_ID','FBAtb','1779774JLNGqh','_test','trace_','CGqgH','traceZipPaths','9510785OSKyZG','error','_platformDetails.json','pid','YIJvO','getTestRunIdFromTestInfo','getTestUUID','3244176KDOfzG','iSFLs','8493443aRKNNz','winstonLogger','uuid','getTraceFilePaths','HrBoc','mkdirSync','readFileSync','../../../helpers/helper','message','_traceZipPaths.json','existsSync','getStoreDirPath','getTraceZipDir','getStoreDirName','getAccessibilityPlatformValidation','readdirSync','dtgvL','getTestIdFromTestInfo','recursive','toString','vuJyg','yEYng','path','ITNdd','__projectId','1705498RhSHCe','format','opaub','tests','1853598ugnefh','GjwRp'];a47_0x4532=function(){return _0x4c85f8;};return a47_0x4532();}
|
|
1
|
+
const a47_0x585fef=a47_0xe564;function a47_0xe564(_0x373cd8,_0x13e613){const _0xa65be=a47_0xa65b();return a47_0xe564=function(_0xe564c1,_0x352111){_0xe564c1=_0xe564c1-0x1b2;let _0xd85009=_0xa65be[_0xe564c1];return _0xd85009;},a47_0xe564(_0x373cd8,_0x13e613);}function a47_0xa65b(){const _0x38284e=['getDirPath','format','5004909lCwFlq','aWLar','retry','ZXdjd','LPLfi','shutdown','tests','.browserstack','.txt','MnZLm','join','Error\x20writing\x20trace\x20file:\x20','values','parse','fQFrs','../../../helpers/helper','project','unobR','../../../helpers/logger','pOLnH','BHxCj','63434ZfckgU','__projectId','filePath','../../../helpers/test-observability/constants','_platformDetails.json','toString','getFilePath','getTestIdFromTestInfo','winstonLogger','mkdirSync','yNuxf','env','push','endsWith','Svyro','getAccessibilityPlatformValidation','MdDYL','trace_','homedir','_traceZipPaths.json','63epqyxZ','getStoreDirName','OjvdF','getProjectIdFromTestInfo','XZgzA','readFileSync','some','2qhSNwL','exports','Error\x20reading\x20trace\x20file\x20paths:\x20%s','_projectId','uuid','51502130vZZdpQ','oOvnV','getStoreDirPath','TOvSv','bzdlL','getTraceZipDir','recursive','utf8','Error\x20handling\x20trace\x20file\x20paths:\x20','1438286BeYXda','voLJV','ioCvf','kREGO','getTestUUID','path','getTestDetails','getTraceFilePaths','PujfA','string','lsbtY','_test','492lbeoHs','setTestDetails','2709524gjpong','default','message','BS_TESTOPS_BUILD_HASHED_ID','ITJjI','XaqSO','1964152vZtLZk','existsSync','stringify','674145uXHqUL','error','readdirSync','Ciiid','.json'];a47_0xa65b=function(){return _0x38284e;};return a47_0xa65b();}(function(_0x3db7af,_0x4519ea){const _0x3251bf=a47_0xe564,_0x87afaa=_0x3db7af();while(!![]){try{const _0x54511f=parseInt(_0x3251bf(0x1f4))/0x1*(parseInt(_0x3251bf(0x1e6))/0x2)+parseInt(_0x3251bf(0x1b6))/0x3+parseInt(_0x3251bf(0x202))/0x4+-parseInt(_0x3251bf(0x20b))/0x5+-parseInt(_0x3251bf(0x200))/0x6*(-parseInt(_0x3251bf(0x1cb))/0x7)+parseInt(_0x3251bf(0x208))/0x8*(parseInt(_0x3251bf(0x1df))/0x9)+-parseInt(_0x3251bf(0x1eb))/0xa;if(_0x54511f===_0x4519ea)break;else _0x87afaa['push'](_0x87afaa['shift']());}catch(_0xfe3d08){_0x87afaa['push'](_0x87afaa['shift']());}}}(a47_0xa65b,0xea885));const fs=require('fs'),path=require(a47_0x585fef(0x1f9)),{v4:uuidv4}=require(a47_0x585fef(0x1ea)),{TEMP_STORE_DIR_NAME}=require(a47_0x585fef(0x1ce)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require('../../../helpers/logger')[a47_0x585fef(0x1d3)],{getLogDir}=require(a47_0x585fef(0x1c8)),util=require('util'),helper=require(a47_0x585fef(0x1c5));class TestDetails{static [a47_0x585fef(0x1bc)]={};static['setup'](){const _0x2aa7c2=a47_0x585fef;this['shutdown']();const _0x133846={};_0x133846[_0x2aa7c2(0x1f1)]=!![],fs[_0x2aa7c2(0x1d4)](this[_0x2aa7c2(0x1b4)](),_0x133846);const _0x4e1d43={};_0x4e1d43[_0x2aa7c2(0x1f1)]=!![],fs[_0x2aa7c2(0x1d4)](this[_0x2aa7c2(0x1f0)](),_0x4e1d43);}static[a47_0x585fef(0x1e0)](){const _0x47fa7c=a47_0x585fef,_0x281526={};_0x281526[_0x47fa7c(0x1b9)]=function(_0x223d5d,_0x2cc162){return _0x223d5d+_0x2cc162;},_0x281526['XZgzA']=function(_0x15a9ac,_0x5d338d){return _0x15a9ac+_0x5d338d;};const _0x5329b1=_0x281526;return _0x5329b1['ZXdjd'](_0x5329b1[_0x47fa7c(0x1e3)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x47fa7c(0x205)]);}static[a47_0x585fef(0x1ed)](){const _0x457c22=a47_0x585fef,_0x31a779={};_0x31a779[_0x457c22(0x1db)]=function(_0x36687a,_0x5ed8c7){return _0x36687a+_0x5ed8c7;},_0x31a779['fQFrs']=function(_0x1bbdd3,_0x4be6e4){return _0x1bbdd3+_0x4be6e4;},_0x31a779['MnZLm']=_0x457c22(0x203);const _0x28da56=_0x31a779;return path[_0x457c22(0x1c0)](_0x28da56[_0x457c22(0x1db)](_0x28da56[_0x457c22(0x1c4)](TEMP_STORE_DIR_NAME,'-'),process[_0x457c22(0x1d6)][_0x457c22(0x205)]||_0x28da56[_0x457c22(0x1bf)]));}static[a47_0x585fef(0x1f0)](){const _0xaacc78=a47_0x585fef,_0x3598df={};_0x3598df[_0xaacc78(0x1f7)]='traceZipPaths';const _0x6938c5=_0x3598df;return path[_0xaacc78(0x1c0)](this['getStoreDirPath'](),_0x6938c5[_0xaacc78(0x1f7)]);}static['getDirPath'](){const _0x4cbfa0=a47_0x585fef;return TestDetails[_0x4cbfa0(0x1e0)]();}static[a47_0x585fef(0x1d1)](_0x4bf8d4){const _0x6a0882=a47_0x585fef,_0xe4bd59={};_0xe4bd59[_0x6a0882(0x1fc)]=function(_0x2267eb,_0x5d31d1){return _0x2267eb+_0x5d31d1;},_0xe4bd59[_0x6a0882(0x1b2)]=_0x6a0882(0x1b3);const _0x2e4529=_0xe4bd59;return path[_0x6a0882(0x1c0)](this['getDirPath'](),_0x2e4529[_0x6a0882(0x1fc)](_0x4bf8d4,_0x2e4529[_0x6a0882(0x1b2)]));}static['getTestRunIdFromTestInfo'](_0x454668){const _0x38445e=a47_0x585fef,_0x484158={};_0x484158[_0x38445e(0x1ec)]=function(_0x37baa8,_0x47916c){return _0x37baa8+_0x47916c;},_0x484158['TOvSv']=function(_0x34d34a,_0x48acf4){return _0x34d34a+_0x48acf4;},_0x484158[_0x38445e(0x206)]=function(_0x39c941,_0x11b3a4){return _0x39c941+_0x11b3a4;},_0x484158[_0x38445e(0x1c9)]=function(_0x5f0fc1,_0x29f087){return _0x5f0fc1+_0x29f087;};const _0xd264e5=_0x484158;return _0xd264e5[_0x38445e(0x1ec)](_0xd264e5[_0x38445e(0x1ee)](_0xd264e5[_0x38445e(0x206)](_0xd264e5[_0x38445e(0x1c9)](this[_0x38445e(0x1e2)](_0x454668),'-'),this[_0x38445e(0x1d2)](_0x454668)),'-'),_0x454668[_0x38445e(0x1b8)]);}static['getProjectIdFromTestInfo'](_0x569808){const _0x315957=a47_0x585fef,_0xd5e8f0={'ioCvf':function(_0x1dd946,_0x49f5a0,_0x1a7163){return _0x1dd946(_0x49f5a0,_0x1a7163);},'bzdlL':_0x315957(0x1ff),'lsbtY':_0x315957(0x1e9),'yNuxf':_0x315957(0x1c6),'BHxCj':_0x315957(0x1cc)};return _0xd5e8f0[_0x315957(0x1f6)](nestedKeyValue,_0x569808,[_0xd5e8f0[_0x315957(0x1ef)],_0xd5e8f0[_0x315957(0x1fe)]])||_0xd5e8f0['ioCvf'](nestedKeyValue,_0x569808,[_0xd5e8f0[_0x315957(0x1d5)],_0xd5e8f0[_0x315957(0x1ca)]]);}static[a47_0x585fef(0x1d2)](_0x12e8ec){const _0x405a75={'wXsHJ':function(_0x198235,_0x4ad720,_0x5dbc78){return _0x198235(_0x4ad720,_0x5dbc78);},'ldqEZ':'_test'};return _0x405a75['wXsHJ'](nestedKeyValue,_0x12e8ec,[_0x405a75['ldqEZ'],'id'])||_0x12e8ec['testId'];}static[a47_0x585fef(0x1f8)](_0x527b7f){const _0x28cb13=a47_0x585fef,_0x285ee2={'Svyro':function(_0x4685e0,_0x1b3326){return _0x4685e0===_0x1b3326;},'LPLfi':_0x28cb13(0x1fd),'ZRmYB':function(_0x1b2b1e){return _0x1b2b1e();}};if(this[_0x28cb13(0x1bc)][_0x527b7f]&&_0x285ee2[_0x28cb13(0x1d9)](typeof this[_0x28cb13(0x1bc)][_0x527b7f][_0x28cb13(0x1ea)],_0x285ee2[_0x28cb13(0x1ba)]))return this[_0x28cb13(0x1bc)][_0x527b7f][_0x28cb13(0x1ea)];const _0x2e2282=this[_0x28cb13(0x1d1)](_0x527b7f);if(_0x2e2282&&fs[_0x28cb13(0x209)](_0x2e2282)){const _0x5d8971=JSON[_0x28cb13(0x1c3)](fs[_0x28cb13(0x1e4)](_0x2e2282)['toString']());return this[_0x28cb13(0x1bc)][_0x527b7f]=_0x5d8971,this['tests'][_0x527b7f][_0x28cb13(0x1ea)];}return this[_0x28cb13(0x1bc)][_0x527b7f]={'uuid':_0x285ee2['ZRmYB'](uuidv4)},fs['writeFileSync'](_0x2e2282,JSON[_0x28cb13(0x20a)](this[_0x28cb13(0x1bc)][_0x527b7f])),this['tests'][_0x527b7f][_0x28cb13(0x1ea)];}static[a47_0x585fef(0x1da)](_0x404946){const _0x134fa6=a47_0x585fef,_0x1a3aee=path[_0x134fa6(0x1c0)](this[_0x134fa6(0x1b4)](),_0x404946+_0x134fa6(0x1cf));if(_0x1a3aee&&fs[_0x134fa6(0x209)](_0x1a3aee))return fs[_0x134fa6(0x1e4)](_0x1a3aee)[_0x134fa6(0x1d0)]();}static['setAccessibilityPlatformValidation'](_0x1fc6a9,_0x1f9aa5){const _0x3915ad=a47_0x585fef,_0x59f763=path[_0x3915ad(0x1c0)](this[_0x3915ad(0x1b4)](),_0x1f9aa5+_0x3915ad(0x1cf));fs['writeFileSync'](_0x59f763,_0x1fc6a9[_0x3915ad(0x1d0)]());}static[a47_0x585fef(0x1bb)](){const _0x10b532={};_0x10b532['recursive']=!![],_0x10b532['force']=!![],fs['rmSync'](this['getDirPath'](),_0x10b532);}static[a47_0x585fef(0x1fa)](_0x19464d){const _0x5771a8=a47_0x585fef;if(this[_0x5771a8(0x1bc)][_0x19464d])return this['tests'][_0x19464d];const _0x1ef7bb=this[_0x5771a8(0x1d1)](_0x19464d);if(_0x1ef7bb&&fs[_0x5771a8(0x209)](_0x1ef7bb)){const _0x30524a=JSON[_0x5771a8(0x1c3)](fs[_0x5771a8(0x1e4)](_0x1ef7bb)[_0x5771a8(0x1d0)]());return this[_0x5771a8(0x1bc)][_0x19464d]=_0x30524a,_0x30524a;}return{};}static[a47_0x585fef(0x201)](_0x3c0ce9,_0x170904){const _0x59ea55=a47_0x585fef,_0x5b854c=this[_0x59ea55(0x1d1)](_0x3c0ce9);if(_0x5b854c&&fs[_0x59ea55(0x209)](_0x5b854c)){const _0x37baf6=JSON[_0x59ea55(0x1c3)](fs[_0x59ea55(0x1e4)](_0x5b854c)[_0x59ea55(0x1d0)]()),_0x57752b={..._0x37baf6,..._0x170904};this[_0x59ea55(0x1bc)][_0x3c0ce9]=_0x57752b;}else this[_0x59ea55(0x1bc)][_0x3c0ce9]=_0x170904;fs['writeFileSync'](_0x5b854c,this[_0x59ea55(0x1bc)][_0x3c0ce9]);}static['addTraceFilePath'](_0x57138c){const _0x4fc92a=a47_0x585fef,_0x3280c0={};_0x3280c0[_0x4fc92a(0x1b7)]=_0x4fc92a(0x1f3);const _0x4fdb2b=_0x3280c0;try{const _0x151a0a=process['pid'],_0x1e6e48=path[_0x4fc92a(0x1c0)](TestDetails[_0x4fc92a(0x1f0)](),_0x151a0a+_0x4fc92a(0x1de));let _0x4cf1c2=[];_0x1e6e48&&fs[_0x4fc92a(0x209)](_0x1e6e48)&&(_0x4cf1c2=JSON[_0x4fc92a(0x1c3)](fs[_0x4fc92a(0x1e4)](_0x1e6e48)[_0x4fc92a(0x1d0)]())),!_0x4cf1c2[_0x4fc92a(0x1e5)](_0x54c366=>_0x54c366['filePath']===_0x57138c[_0x4fc92a(0x1cd)])&&(_0x4cf1c2[_0x4fc92a(0x1d7)](_0x57138c),fs['writeFileSync'](_0x1e6e48,JSON[_0x4fc92a(0x20a)](_0x4cf1c2)));}catch(_0xe705a4){logger[_0x4fc92a(0x20c)](_0x4fdb2b['aWLar'],_0xe705a4);}}static[a47_0x585fef(0x1fb)](){const _0x5274c8=a47_0x585fef,_0x55a51c={};_0x55a51c[_0x5274c8(0x1e1)]='_traceZipPaths.json',_0x55a51c[_0x5274c8(0x1f5)]=_0x5274c8(0x1e8);const _0xa6a296=_0x55a51c,_0xe5c8ea=[];try{const _0xfb81d7=TestDetails[_0x5274c8(0x1f0)]();if(_0xfb81d7&&!fs[_0x5274c8(0x209)](_0xfb81d7))return _0xe5c8ea;const _0x113218=fs[_0x5274c8(0x20d)](_0xfb81d7);_0x113218['forEach'](_0x1a03fc=>{const _0x2c0e8c=_0x5274c8;if(_0x1a03fc&&_0x1a03fc[_0x2c0e8c(0x1d8)](_0xa6a296['OjvdF'])){const _0x5a3e93=JSON['parse'](fs[_0x2c0e8c(0x1e4)](path[_0x2c0e8c(0x1c0)](_0xfb81d7,_0x1a03fc))['toString']());_0xe5c8ea[_0x2c0e8c(0x1d7)](..._0x5a3e93);}});}catch(_0x27d46a){logger['error'](util[_0x5274c8(0x1b5)](_0xa6a296['voLJV'],_0x27d46a));}const _0x404527={};return _0xe5c8ea['forEach'](_0x389ddf=>{const _0x5e0113=_0x5274c8;_0x404527[_0x389ddf[_0x5e0113(0x1cd)]]=_0x389ddf;}),Object[_0x5274c8(0x1c2)](_0x404527);}static['appendToTracePaths'](_0x128d89,_0x5bbd84){const _0x5a97df=a47_0x585fef,_0x16083d={};_0x16083d['XaqSO']=_0x5a97df(0x1bd),_0x16083d['unobR']=_0x5a97df(0x1f2);const _0x4d487c=_0x16083d;try{const _0x36b62b=path[_0x5a97df(0x1c0)](helper[_0x5a97df(0x1dd)](),_0x4d487c[_0x5a97df(0x207)]);if(!fs[_0x5a97df(0x209)](_0x36b62b)){const _0x3b35ac={};_0x3b35ac[_0x5a97df(0x1f1)]=!![],fs[_0x5a97df(0x1d4)](_0x36b62b,_0x3b35ac);}fs['appendFileSync'](path[_0x5a97df(0x1c0)](_0x36b62b,_0x5a97df(0x1dc)+_0x5bbd84+_0x5a97df(0x1be)),_0x128d89+'\x0a',_0x4d487c[_0x5a97df(0x1c7)]);}catch(_0x3abfdc){console['error'](_0x5a97df(0x1c1)+_0x3abfdc[_0x5a97df(0x204)]);}}}module[a47_0x585fef(0x1e7)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a48_0x395782=a48_0x3a0b;(function(_0x152e24,_0x49aedd){const _0x3336e3=a48_0x3a0b,_0xd2f322=_0x152e24();while(!![]){try{const _0x4b0c5f=parseInt(_0x3336e3(0x257))/0x1*(parseInt(_0x3336e3(0x266))/0x2)+-parseInt(_0x3336e3(0x1cb))/0x3*(-parseInt(_0x3336e3(0x1fe))/0x4)+parseInt(_0x3336e3(0x1f4))/0x5+-parseInt(_0x3336e3(0x1ff))/0x6+parseInt(_0x3336e3(0x1e7))/0x7+-parseInt(_0x3336e3(0x1f1))/0x8+-parseInt(_0x3336e3(0x252))/0x9;if(_0x4b0c5f===_0x49aedd)break;else _0xd2f322['push'](_0xd2f322['shift']());}catch(_0x350dd4){_0xd2f322['push'](_0xd2f322['shift']());}}}(a48_0xb92c,0x8b88b));const path=require(a48_0x395782(0x1d0)),url=require(a48_0x395782(0x270)),util=require(a48_0x395782(0x1ee)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a48_0x395782(0x22b)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a48_0x395782(0x237)),logger=require(a48_0x395782(0x226))[a48_0x395782(0x1f6)],scripts=require(a48_0x395782(0x222)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a48_0x395782(0x269)),constants=require(a48_0x395782(0x234)),BrowserstackCLI=require(a48_0x395782(0x1e1)),AutomationFrameworkState=require(a48_0x395782(0x1e9)),HookState=require('../v2/state/hookState.js'),getBrowserNameFromChannel=_0x4c9e7c=>{const _0x397757=a48_0x395782,_0x34e351={};_0x34e351['njiRP']=_0x397757(0x219),_0x34e351[_0x397757(0x20b)]=_0x397757(0x225),_0x34e351[_0x397757(0x1ed)]='firefox',_0x34e351[_0x397757(0x1fc)]='safari';const _0x733882=_0x34e351;if(_0x4c9e7c[_0x397757(0x262)](_0x733882[_0x397757(0x26c)]))return _0x733882[_0x397757(0x26c)];if(_0x4c9e7c[_0x397757(0x262)](_0x733882[_0x397757(0x20b)]))return _0x733882[_0x397757(0x20b)];if(_0x4c9e7c[_0x397757(0x262)](_0x733882[_0x397757(0x1ed)]))return _0x733882[_0x397757(0x1ed)];if(_0x4c9e7c[_0x397757(0x262)](_0x733882[_0x397757(0x1fc)]))return _0x733882[_0x397757(0x1fc)];},getBrowserFromWSEndpoint=_0x6b96ef=>{const _0x5f1a34=a48_0x395782,_0x1e1c93={'xSzHs':_0x5f1a34(0x219),'AAEtn':function(_0x1dc718,_0x211f60){return _0x1dc718(_0x211f60);}};try{const _0x1db2a1=url[_0x5f1a34(0x213)](_0x6b96ef),_0x5d7df5=new URLSearchParams(_0x1db2a1['query']),_0x43e91d=Object[_0x5f1a34(0x27e)](_0x5d7df5[_0x5f1a34(0x20a)]()),_0x5a9ece=JSON[_0x5f1a34(0x213)](_0x43e91d['caps']);if(_0x5a9ece&&(_0x5a9ece[_0x5f1a34(0x1f0)]||_0x5a9ece[_0x5f1a34(0x1cc)]))return _0x5a9ece[_0x5f1a34(0x1f0)]||_0x5a9ece[_0x5f1a34(0x1cc)];return _0x1e1c93[_0x5f1a34(0x1d3)];}catch(_0x1868c0){_0x1e1c93[_0x5f1a34(0x26b)](debug,_0x5f1a34(0x212)+_0x1868c0[_0x5f1a34(0x232)]());}},getCloudProviderFromWsEndpoint=_0x250daa=>{const _0x6d0529=a48_0x395782,_0xd8070b={};_0xd8070b[_0x6d0529(0x276)]='browserstack',_0xd8070b[_0x6d0529(0x25f)]=_0x6d0529(0x278);const _0x129ecb=_0xd8070b;if(_0x250daa[_0x6d0529(0x262)](constants['BSTACK_URL'])||_0x250daa[_0x6d0529(0x262)](constants[_0x6d0529(0x25b)]))return _0x129ecb[_0x6d0529(0x276)];return _0x129ecb[_0x6d0529(0x25f)];},a48_0x18451a={};a48_0x18451a[a48_0x395782(0x211)]=undefined,a48_0x18451a[a48_0x395782(0x1f9)]=undefined,a48_0x18451a[a48_0x395782(0x1f0)]=undefined,a48_0x18451a[a48_0x395782(0x268)]=undefined,a48_0x18451a[a48_0x395782(0x23b)]=undefined,a48_0x18451a[a48_0x395782(0x230)]=undefined,a48_0x18451a['product']=undefined,a48_0x18451a['capabilities']={};function a48_0x3a0b(_0x33e1de,_0x4eaa85){const _0xb92ce1=a48_0xb92c();return a48_0x3a0b=function(_0x3a0b61,_0x3ee66b){_0x3a0b61=_0x3a0b61-0x1c9;let _0x4ef8a8=_0xb92ce1[_0x3a0b61];return _0x4ef8a8;},a48_0x3a0b(_0x33e1de,_0x4eaa85);}class PlaywrightSessionDetails{static [a48_0x395782(0x24f)]=a48_0x18451a;constructor(){const _0x5af723=a48_0x395782,_0x58e958={};_0x58e958[_0x5af723(0x1de)]=_0x5af723(0x279);const _0x9783b=_0x58e958;throw new Error(_0x9783b[_0x5af723(0x1de)]);}static [a48_0x395782(0x1cf)]=null;static['setupBrowserDetails'](_0xf74554,_0xdd40cb,_0x431cff=null){const _0x386d2e=a48_0x395782,_0x523979={'EYmqy':function(_0x25d4ea,_0x4f43ad){return _0x25d4ea===_0x4f43ad;},'kjnmi':_0x386d2e(0x233),'pytiQ':_0x386d2e(0x246),'FJQlk':_0x386d2e(0x27b),'RUCiQ':'local_grid','rjHmh':function(_0x51b7b4,_0x5c7cd2,_0x5daf80){return _0x51b7b4(_0x5c7cd2,_0x5daf80);},'UUAlV':_0x386d2e(0x259),'qqTzQ':_0x386d2e(0x21c),'IBwia':_0x386d2e(0x24a),'DTAEM':_0x386d2e(0x210),'bmVLH':_0x386d2e(0x1e6),'UxWiU':function(_0x4360ef,_0x41295c){return _0x4360ef(_0x41295c);},'UPygs':function(_0x5c914c,_0x2f7b4f){return _0x5c914c===_0x2f7b4f;},'pQOmp':_0x386d2e(0x1e3),'sNNlJ':_0x386d2e(0x21f),'UIkFB':_0x386d2e(0x23c),'KQqnp':function(_0x108946,_0x29f8aa){return _0x108946(_0x29f8aa);},'Ugtfj':function(_0x388c94,_0x574f29){return _0x388c94+_0x574f29;},'GgtIJ':'playwright-','mqWYX':function(_0x578887){return _0x578887();},'hDvEk':function(_0x2f0925,_0x7a1735,_0x2c73c1){return _0x2f0925(_0x7a1735,_0x2c73c1);},'pJOjK':'setupBrowserDetails'},_0x58f31c=this;return _0x523979[_0x386d2e(0x1f5)](o11yErrorHandler,async function _0x4f5a0a(_0xf2972d,_0x4ddc60,_0x5be3f4=null){const _0x425bf6=_0x386d2e;let _0xae935b=_0xf2972d[_0x425bf6(0x1e0)],_0x3ac9db=null;_0xf2972d&&_0x523979[_0x425bf6(0x254)](typeof _0xf2972d['version'],_0x523979['kjnmi'])?_0x3ac9db=_0xf2972d[_0x425bf6(0x20c)]():logger[_0x425bf6(0x25d)](_0x523979['pytiQ']);let _0x2f7843=null;_0xf2972d&&_0x523979['EYmqy'](typeof _0xf2972d[_0x425bf6(0x23d)],_0x523979['kjnmi'])?_0x2f7843=_0xf2972d['model']():logger['debug'](_0x523979[_0x425bf6(0x202)]);let _0x44a7b0=null,_0x5eeb4b=null,_0x3a152f=null,_0x1a04d5=_0x523979[_0x425bf6(0x1eb)];if(_0xf2972d[_0x425bf6(0x236)][_0x425bf6(0x22d)]()||global[_0x425bf6(0x248)]){let _0x54a3d8=null;_0x523979['rjHmh'](nestedKeyValue,_0xf2972d,[_0x523979['UUAlV'],_0x523979[_0x425bf6(0x1d5)]])?_0x54a3d8=_0xf2972d[_0x425bf6(0x259)][_0x425bf6(0x21c)]:_0x54a3d8=_0x523979['rjHmh'](nestedKeyValue,_0x4ddc60,[_0x523979[_0x425bf6(0x275)],_0x523979[_0x425bf6(0x220)],_0x523979['bmVLH']]);const _0x4e09e9=_0x5be3f4||_0x54a3d8&&_0x54a3d8[_0x425bf6(0x1d8)];_0x4e09e9&&(_0x1a04d5=_0x523979[_0x425bf6(0x1e4)](getCloudProviderFromWsEndpoint,_0x4e09e9),_0x523979[_0x425bf6(0x273)](_0x1a04d5,_0x523979[_0x425bf6(0x243)])&&(_0x3a152f=constants[_0x425bf6(0x1d9)][_0x425bf6(0x242)](_0x4e09e9)?_0x523979[_0x425bf6(0x1e5)]:_0x523979[_0x425bf6(0x25a)],_0xae935b=_0x523979[_0x425bf6(0x1f7)](getBrowserFromWSEndpoint,_0x4e09e9)||_0xae935b,_0x44a7b0=_0x58f31c[_0x425bf6(0x24f)]['platform'],_0x5eeb4b=_0x58f31c[_0x425bf6(0x24f)][_0x425bf6(0x230)]));}else{_0x4ddc60&&_0x4ddc60[_0x425bf6(0x24a)]['use'][_0x425bf6(0x20f)]?_0xae935b=_0x523979[_0x425bf6(0x1e4)](getBrowserNameFromChannel,_0x4ddc60[_0x425bf6(0x24a)][_0x425bf6(0x210)][_0x425bf6(0x20f)]):_0xae935b=_0x523979[_0x425bf6(0x223)](_0x523979[_0x425bf6(0x22c)],_0xae935b[_0x425bf6(0x26d)]());const _0x4f470a=await _0x523979['mqWYX'](getPlatformDetails);_0x44a7b0=_0x4f470a['platformName'],_0x5eeb4b=_0x4f470a[_0x425bf6(0x264)];}const _0x3e26c8={};_0x3e26c8[_0x425bf6(0x1f0)]=_0xae935b,_0x3e26c8[_0x425bf6(0x268)]=_0x3ac9db,_0x3e26c8[_0x425bf6(0x235)]={},_0x3e26c8[_0x425bf6(0x23b)]=_0x44a7b0,_0x3e26c8['platform_version']=_0x5eeb4b,_0x3e26c8[_0x425bf6(0x215)]=_0x3a152f;const _0x518b3c=_0x3e26c8;_0x2f7843&&(_0x518b3c['capabilities']['deviceModel']=_0x2f7843);const _0x46d490={};_0x46d490[_0x425bf6(0x211)]=_0x1a04d5,_0x58f31c['currentSessionDetails']=Object['assign']({},_0x58f31c[_0x425bf6(0x24f)],_0x46d490,_0x518b3c);},_0x523979['pJOjK'])(_0xf74554,_0xdd40cb,_0x431cff);}static[a48_0x395782(0x1fa)](){const _0x4b023f=a48_0x395782;this[_0x4b023f(0x229)](),this[_0x4b023f(0x1dd)]();}static[a48_0x395782(0x229)](){const _0x280e58=a48_0x395782,_0x3614d1={'FyAIH':function(_0x475dc4,_0xbec44,_0x5ba731){return _0x475dc4(_0xbec44,_0x5ba731);},'eqFnN':_0x280e58(0x1ca),'PaJTU':'testInfo','oWAzc':_0x280e58(0x27d),'oIBNI':_0x280e58(0x224),'FsTti':_0x280e58(0x244),'NmOFp':function(_0x300b19,_0x32c100){return _0x300b19===_0x32c100;},'iCHxA':'Page','TcHnH':function(_0x48f959,_0x272e16,_0x3e7480,_0x3f71ad){return _0x48f959(_0x272e16,_0x3e7480,_0x3f71ad);},'eUgww':function(_0x1a38fa,_0x313f6e){return _0x1a38fa(_0x313f6e);},'EGlWI':function(_0x3df1b5,_0x230a17){return _0x3df1b5(_0x230a17);},'iTZAd':'lib','qxaXx':_0x280e58(0x1d1),'hLJAH':_0x280e58(0x20e),'yXZuX':function(_0x3ac290,_0x52a468){return _0x3ac290(_0x52a468);},'pDpKJ':function(_0xcee65c,_0x26c462){return _0xcee65c(_0x26c462);},'zqKLr':'Not\x20able\x20to\x20import\x20Connection','CeDjw':function(_0x59fafb,_0x4b854e){return _0x59fafb(_0x4b854e);},'QFIub':function(_0x20a2a2,_0x4caf80){return _0x20a2a2!=_0x4caf80;},'trdJi':function(_0x9535da){return _0x9535da();},'lODuS':'sendMessageToServer','BAsiM':_0x280e58(0x21a),'DNcie':function(_0x38bb47,_0x5b5234){return _0x38bb47(_0x5b5234);}},_0x33d33d=this;if(!this[_0x280e58(0x23e)])try{const _0x173642=path[_0x280e58(0x267)](_0x3614d1[_0x280e58(0x1ce)],_0x3614d1['qxaXx'],_0x3614d1[_0x280e58(0x27a)]),_0x51f953=_0x3614d1['yXZuX'](importFileFromPWCore,_0x173642);!_0x51f953?_0x3614d1[_0x280e58(0x253)](debug,_0x3614d1[_0x280e58(0x239)]):this['Connection']=_0x51f953['Connection'];}catch(_0x6e1b25){_0x3614d1[_0x280e58(0x231)](debug,_0x280e58(0x22a)+_0x6e1b25[_0x280e58(0x232)]());}const _0x2a0963=this[_0x280e58(0x23e)];try{if(_0x3614d1[_0x280e58(0x200)](_0x2a0963,null)){const _0x7ea600=_0x2a0963[_0x280e58(0x1dc)][_0x280e58(0x21a)],_0x41bb2e=_0x2a0963[_0x280e58(0x1dc)][_0x280e58(0x258)];_0x3614d1[_0x280e58(0x1ec)](isAccessibilityAutomationSession)&&Object[_0x280e58(0x216)](_0x2a0963[_0x280e58(0x1dc)],_0x3614d1[_0x280e58(0x217)],{'get':function(){const _0x1134f1=_0x280e58,_0x3f91a4={'yAdGc':function(_0x32ebd4,_0x3d2f82,_0xf8a630){const _0x3f2f96=a48_0x3a0b;return _0x3614d1[_0x3f2f96(0x201)](_0x32ebd4,_0x3d2f82,_0xf8a630);},'SSeyc':_0x3614d1[_0x1134f1(0x277)],'HPuma':_0x3614d1[_0x1134f1(0x245)],'lzDMg':_0x3614d1[_0x1134f1(0x21d)],'SVkoY':function(_0xf4fc1a,_0x214425,_0x21238a){return _0x3614d1['FyAIH'](_0xf4fc1a,_0x214425,_0x21238a);},'wkPTv':_0x3614d1[_0x1134f1(0x214)],'IIZZK':_0x3614d1[_0x1134f1(0x241)],'dPxES':function(_0xe4a42a,_0x45526d){const _0x44f11f=_0x1134f1;return _0x3614d1[_0x44f11f(0x265)](_0xe4a42a,_0x45526d);},'eAQUu':_0x3614d1['iCHxA'],'PYnmJ':function(_0x533570,_0x135e77,_0x358ab9,_0x127554){return _0x3614d1['TcHnH'](_0x533570,_0x135e77,_0x358ab9,_0x127554);}};return async function(){const _0x1a75a4=_0x1134f1;try{if(!global[_0x1a75a4(0x1f3)]&&global[_0x1a75a4(0x248)]&&_0x3f91a4[_0x1a75a4(0x22f)](nestedKeyValue,global[_0x1a75a4(0x224)],[_0x3f91a4[_0x1a75a4(0x22e)],_0x3f91a4[_0x1a75a4(0x247)],_0x3f91a4[_0x1a75a4(0x24c)]])&&_0x3f91a4['yAdGc'](shouldScanTestForAccessibility,global[_0x1a75a4(0x224)][_0x1a75a4(0x1ca)][_0x1a75a4(0x1db)][_0x1a75a4(0x27d)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x1a75a4(0x25d)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x5bc244=_0x3f91a4['SVkoY'](nestedKeyValue,global,[_0x3f91a4[_0x1a75a4(0x260)],_0x3f91a4[_0x1a75a4(0x209)]]);if(_0x5bc244){const _0x24f42f={};_0x24f42f[_0x1a75a4(0x272)]=arguments[0x1],logger[_0x1a75a4(0x25c)](_0x1a75a4(0x24d)+util[_0x1a75a4(0x255)](await AccessibilityHelper['performScan'](_0x5bc244,_0x24f42f)));}if(_0x3f91a4[_0x1a75a4(0x205)](arguments[0x0][_0x1a75a4(0x250)],_0x3f91a4['eAQUu'])&&global[_0x1a75a4(0x27f)]){const _0x45890c={};_0x45890c[_0x1a75a4(0x272)]=arguments[0x1],logger[_0x1a75a4(0x25c)]('Driver\x20Scan\x20result='+util[_0x1a75a4(0x255)](await _0x3f91a4['PYnmJ'](browserStackExecuteDriver,global[_0x1a75a4(0x27f)],scripts[_0x1a75a4(0x1ef)],_0x45890c)));}}}catch(_0x999493){logger[_0x1a75a4(0x25d)](_0x1a75a4(0x221)+util[_0x1a75a4(0x255)](_0x999493));}return global[_0x1a75a4(0x1f3)]=![],_0x41bb2e[_0x1a75a4(0x1cd)](this,arguments);};}}),!_0x3614d1[_0x280e58(0x231)](isFalse,process[_0x280e58(0x26e)][_0x280e58(0x24b)])&&Object[_0x280e58(0x216)](_0x2a0963[_0x280e58(0x1dc)],_0x3614d1[_0x280e58(0x1d6)],{'get':function(){return async function _0x38088a(_0x242870){const _0xc6b829=a48_0x3a0b;if(BrowserstackCLI[_0xc6b829(0x1df)]()['isRunning']()){const _0x4b8794={};_0x4b8794['message']=_0x242870,await BrowserstackCLI['getInstance']()[_0xc6b829(0x263)]()[_0xc6b829(0x21b)](AutomationFrameworkState[_0xc6b829(0x1fd)],HookState[_0xc6b829(0x271)],_0x4b8794);}else{const _0x1c408a=_0x242870&&_0x242870['params']&&_0x242870[_0xc6b829(0x26f)]['bsParams'];if(_0x1c408a){const _0x3c6eff=_0x1c408a[_0xc6b829(0x1c9)],_0x176ebf=_0x1c408a[_0xc6b829(0x26a)];_0x176ebf&&(_0x3614d1[_0xc6b829(0x207)](debug,_0xc6b829(0x238)+_0x176ebf['toString']()),_0x33d33d[_0xc6b829(0x24f)]['platform']=_0x176ebf[_0xc6b829(0x1e2)],_0x33d33d['currentSessionDetails'][_0xc6b829(0x230)]=_0x176ebf[_0xc6b829(0x264)]),_0x3c6eff&&(_0x3614d1['EGlWI'](debug,_0xc6b829(0x249)+_0x3c6eff),_0x33d33d[_0xc6b829(0x24f)][_0xc6b829(0x1f9)]=_0x3c6eff);}}return _0x7ea600[_0xc6b829(0x1cd)](this,arguments);};}});}}catch(_0x592c91){_0x3614d1[_0x280e58(0x1f2)](debug,_0x280e58(0x1ea)+_0x592c91),_0x33d33d[_0x280e58(0x1cf)]=_0x592c91[_0x280e58(0x232)]();}}static[a48_0x395782(0x1dd)](){const _0x2182fb=a48_0x395782,_0x1095af={'JDEIE':function(_0x342a57,_0x50a94a){return _0x342a57(_0x50a94a);},'IAzfT':function(_0x35f14e,_0x252873){return _0x35f14e(_0x252873);},'TUpnT':function(_0x269c8d){return _0x269c8d();},'QcEav':_0x2182fb(0x240),'BSEpm':_0x2182fb(0x227),'SVyYU':_0x2182fb(0x206),'FWuMA':_0x2182fb(0x208),'rTfpp':function(_0x41fd27,_0x42c6c5){return _0x41fd27(_0x42c6c5);},'XyPgo':_0x2182fb(0x1f8),'bzDlU':_0x2182fb(0x251),'nCOju':function(_0x1e275d,_0x1e323e){return _0x1e275d!=_0x1e323e;},'sCPNY':'_onMessage','ipHwm':function(_0x3a4f29,_0x28054){return _0x3a4f29(_0x28054);}},_0x47bb31=this;if(_0x1095af[_0x2182fb(0x256)](isAccessibilityAutomationSession)){let _0x5399fb=null;try{const _0x510f0e=path[_0x2182fb(0x267)](_0x1095af['QcEav'],_0x1095af[_0x2182fb(0x218)],_0x1095af[_0x2182fb(0x1d4)],_0x1095af[_0x2182fb(0x204)]),_0x5693a3=_0x1095af[_0x2182fb(0x261)](importFileFromPWCore,_0x510f0e);!_0x5693a3?_0x1095af[_0x2182fb(0x1d7)](debug,_0x1095af['XyPgo']):_0x5399fb=_0x5693a3['CRConnection'];}catch(_0x4c6257){_0x1095af[_0x2182fb(0x24e)](debug,_0x1095af['bzDlU']);}try{if(_0x1095af[_0x2182fb(0x21e)](_0x5399fb,null)){const _0x172345=_0x5399fb[_0x2182fb(0x1dc)][_0x2182fb(0x1fb)];Object[_0x2182fb(0x216)](_0x5399fb[_0x2182fb(0x1dc)],_0x1095af[_0x2182fb(0x228)],{'get':function(){const _0x536be1={'wvWQM':function(_0x3d68b4,_0x535723){return _0x1095af['JDEIE'](_0x3d68b4,_0x535723);},'oIlLz':function(_0x40da88,_0x4d5e74){return _0x1095af['IAzfT'](_0x40da88,_0x4d5e74);},'UikHb':function(_0x19505e,_0x2c1838){return _0x1095af['JDEIE'](_0x19505e,_0x2c1838);}};return async function _0x555b81(_0xee78cd){const _0x5597b2=a48_0x3a0b;try{if(BrowserstackCLI['getInstance']()[_0x5597b2(0x1d2)]()){const _0x573b1a={};_0x573b1a[_0x5597b2(0x20d)]=_0xee78cd,await BrowserstackCLI[_0x5597b2(0x1df)]()[_0x5597b2(0x263)]()['trackEvent'](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x5597b2(0x271)],_0x573b1a),delete _0xee78cd[_0x5597b2(0x1da)];}else{const _0x4b403=_0xee78cd[_0x5597b2(0x1da)];if(_0x4b403){delete _0xee78cd[_0x5597b2(0x1da)];const _0x14b1ec=_0x4b403[_0x5597b2(0x1c9)],_0x3859be=_0x4b403[_0x5597b2(0x26a)];_0x3859be&&(_0x536be1['wvWQM'](debug,_0x5597b2(0x25e)+_0x3859be['toString']()),_0x47bb31[_0x5597b2(0x24f)]['platform']=_0x3859be['platformName'],_0x47bb31[_0x5597b2(0x24f)][_0x5597b2(0x230)]=_0x3859be['platformVersion']),_0x14b1ec&&(_0x536be1[_0x5597b2(0x27c)](debug,_0x5597b2(0x203)+_0x14b1ec),_0x47bb31[_0x5597b2(0x24f)][_0x5597b2(0x1f9)]=_0x14b1ec);}}}catch(_0x22be13){_0x536be1['UikHb'](debug,_0x5597b2(0x23f)+_0x22be13[_0x5597b2(0x232)]());}return _0x172345[_0x5597b2(0x1cd)](this,arguments);};}});}}catch(_0x2ce89e){_0x1095af[_0x2182fb(0x274)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x2ce89e),_0x47bb31[_0x2182fb(0x1cf)]=_0x2ce89e[_0x2182fb(0x232)]();}}}static[a48_0x395782(0x23a)](){return this['currentSessionDetails'];}}function a48_0xb92c(){const _0x31aab7=['info','debug','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','mHijH','wkPTv','rTfpp','includes','getAutomationFramework','platformVersion','NmOFp','6hCRmHn','join','browser_version','./accessibility-helper','platformDetails','AAEtn','njiRP','toLowerCase','env','params','url','POST','method','UPygs','ipHwm','IBwia','qWANa','eqFnN','unknown_grid','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','hLJAH','Device\x20Model\x20is\x20not\x20available','oIlLz','titlePath','fromEntries','__driver','sessionId','currentTest','66138NuwuQJ','browserName','apply','iTZAd','sessionError','path','client','isRunning','xSzHs','SVyYU','qqTzQ','BAsiM','JDEIE','wsEndpoint','ATS_WSS_URL_REGEX','bStackParams','testInfo','prototype','patchCRConnection','gzwyN','getInstance','_name','../v2/browserstackCLI','platformName','browserstack','UxWiU','sNNlJ','connectOptions','7175665OZKpDe','exports','../v2/state/automationFrameworkState.js','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','RUCiQ','trdJi','kcJrO','util','performScan','browser','6265776RvQEgu','DNcie','bstackPerformA11yScan','1233650ZyIDhR','hDvEk','winstonLogger','KQqnp','Not\x20able\x20to\x20import\x20crConnection','bsSessionId','patch','_onMessage','sddfm','PLAYWRIGHT_DISPATCH','60uKBsNy','1432644TXUxMK','QFIub','FyAIH','FJQlk','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','FWuMA','dPxES','chromium','eUgww','crConnection.js','IIZZK','entries','GtYzx','version','message','connection.js','channel','use','cloudProvider','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','parse','oIBNI','product','defineProperty','lODuS','BSEpm','chrome','dispatch','trackEvent','_defaultConnectOptions','oWAzc','nCOju','turboscale','DTAEM','Failed\x20to\x20perform\x20scan\x20','../../helpers/accessibility-automation/scripts','Ugtfj','__workerDetails','edge','../../helpers/logger','server','sCPNY','patchConnection','Error\x20in\x20importing\x20connection\x20','../../helpers/test-observability/error-handler','GgtIJ','isRemote','SSeyc','yAdGc','platform_version','CeDjw','toString','function','../utils/constants','capabilities','_connection','../../helpers/accessibility-automation/helper','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','zqKLr','getDetails','platform','automate','model','Connection','Error\x20in\x20finding\x20platform\x20details\x20','lib','FsTti','test','pQOmp','pwPage','PaJTU','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','HPuma','accessibilityPlatform','Setting\x20session\x20id\x20received\x20from\x20BS\x20','project','BROWSERSTACK_TEST_OBSERVABILITY','lzDMg','Page\x20Scan\x20result=','IAzfT','currentSessionDetails','_type','Error\x20in\x20importing\x20crConnection','951183xtsXOc','pDpKJ','EYmqy','format','TUpnT','32233NavCIU','sendMessageToServer','_browserType','UIkFB','BSTACK_ATS_URL'];a48_0xb92c=function(){return _0x31aab7;};return a48_0xb92c();}module[a48_0x395782(0x1e8)]=PlaywrightSessionDetails;
|
|
1
|
+
const a48_0x33d7a1=a48_0x164b;(function(_0x2461a4,_0x251650){const _0x91f01c=a48_0x164b,_0x66f819=_0x2461a4();while(!![]){try{const _0x14ca73=parseInt(_0x91f01c(0x1d9))/0x1+-parseInt(_0x91f01c(0x166))/0x2*(-parseInt(_0x91f01c(0x155))/0x3)+parseInt(_0x91f01c(0x202))/0x4*(-parseInt(_0x91f01c(0x210))/0x5)+parseInt(_0x91f01c(0x1d4))/0x6*(-parseInt(_0x91f01c(0x18c))/0x7)+parseInt(_0x91f01c(0x1ab))/0x8+parseInt(_0x91f01c(0x1b7))/0x9*(parseInt(_0x91f01c(0x1d6))/0xa)+parseInt(_0x91f01c(0x169))/0xb*(-parseInt(_0x91f01c(0x1b1))/0xc);if(_0x14ca73===_0x251650)break;else _0x66f819['push'](_0x66f819['shift']());}catch(_0x32fb86){_0x66f819['push'](_0x66f819['shift']());}}}(a48_0x466b,0x2c325));const path=require(a48_0x33d7a1(0x179)),url=require(a48_0x33d7a1(0x1a1)),util=require(a48_0x33d7a1(0x1a4)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a48_0x33d7a1(0x200)),{o11yErrorHandler}=require(a48_0x33d7a1(0x1c1)),{debug,getPlatformDetails}=require(a48_0x33d7a1(0x175)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a48_0x33d7a1(0x1bb)),logger=require(a48_0x33d7a1(0x212))[a48_0x33d7a1(0x164)],scripts=require(a48_0x33d7a1(0x1fa)),{browserStackExecuteDriver}=require(a48_0x33d7a1(0x1c6)),AccessibilityHelper=require(a48_0x33d7a1(0x187)),constants=require(a48_0x33d7a1(0x1bd)),BrowserstackCLI=require(a48_0x33d7a1(0x1ca)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a48_0x33d7a1(0x1c8)),{performScanWithRetry}=require(a48_0x33d7a1(0x1a6)),getBrowserNameFromChannel=_0x394cb1=>{const _0x45d8da=a48_0x33d7a1,_0x131a9c={};_0x131a9c[_0x45d8da(0x18d)]=_0x45d8da(0x17c),_0x131a9c[_0x45d8da(0x199)]=_0x45d8da(0x157),_0x131a9c[_0x45d8da(0x1cf)]=_0x45d8da(0x1bc),_0x131a9c[_0x45d8da(0x1f8)]=_0x45d8da(0x19b);const _0x1ef09b=_0x131a9c;if(_0x394cb1[_0x45d8da(0x1ea)](_0x1ef09b[_0x45d8da(0x18d)]))return _0x1ef09b[_0x45d8da(0x18d)];if(_0x394cb1[_0x45d8da(0x1ea)](_0x1ef09b[_0x45d8da(0x199)]))return _0x1ef09b[_0x45d8da(0x199)];if(_0x394cb1[_0x45d8da(0x1ea)](_0x1ef09b[_0x45d8da(0x1cf)]))return _0x1ef09b[_0x45d8da(0x1cf)];if(_0x394cb1['includes'](_0x1ef09b[_0x45d8da(0x1f8)]))return _0x1ef09b[_0x45d8da(0x1f8)];},getBrowserFromWSEndpoint=_0x3a7285=>{const _0x122ece=a48_0x33d7a1,_0x391172={'myRUQ':'chrome','OPNNY':function(_0x44f63d,_0x3dad37){return _0x44f63d(_0x3dad37);}};try{const _0x32b6cf=url[_0x122ece(0x198)](_0x3a7285),_0x1bdb80=new URLSearchParams(_0x32b6cf[_0x122ece(0x15f)]),_0x1d5f1a=Object[_0x122ece(0x15e)](_0x1bdb80[_0x122ece(0x1ee)]()),_0x1e368d=JSON['parse'](_0x1d5f1a[_0x122ece(0x191)]);if(_0x1e368d&&(_0x1e368d[_0x122ece(0x1e8)]||_0x1e368d[_0x122ece(0x185)]))return _0x1e368d['browser']||_0x1e368d[_0x122ece(0x185)];return _0x391172[_0x122ece(0x174)];}catch(_0xf4675b){_0x391172[_0x122ece(0x193)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0xf4675b[_0x122ece(0x1f1)]());}},getCloudProviderFromWsEndpoint=_0x51bc2c=>{const _0x2db06f=a48_0x33d7a1,_0x207351={};_0x207351[_0x2db06f(0x1ed)]=_0x2db06f(0x1e3),_0x207351[_0x2db06f(0x1cb)]='unknown_grid';const _0x4b9ce4=_0x207351;if(_0x51bc2c['includes'](constants[_0x2db06f(0x1f6)])||_0x51bc2c[_0x2db06f(0x1ea)](constants[_0x2db06f(0x182)]))return _0x4b9ce4[_0x2db06f(0x1ed)];return _0x4b9ce4[_0x2db06f(0x1cb)];},a48_0x3c34f7={};a48_0x3c34f7[a48_0x33d7a1(0x168)]=undefined,a48_0x3c34f7['bsSessionId']=undefined,a48_0x3c34f7[a48_0x33d7a1(0x1e8)]=undefined,a48_0x3c34f7[a48_0x33d7a1(0x1d8)]=undefined,a48_0x3c34f7['platform']=undefined,a48_0x3c34f7[a48_0x33d7a1(0x1dd)]=undefined,a48_0x3c34f7[a48_0x33d7a1(0x1b6)]=undefined,a48_0x3c34f7[a48_0x33d7a1(0x177)]={};class PlaywrightSessionDetails{static [a48_0x33d7a1(0x1fc)]=a48_0x3c34f7;constructor(){const _0x5729c8=a48_0x33d7a1,_0x5c2802={};_0x5c2802['RdegH']=_0x5729c8(0x1b9);const _0x332d06=_0x5c2802;throw new Error(_0x332d06[_0x5729c8(0x192)]);}static [a48_0x33d7a1(0x1cd)]=null;static['setupBrowserDetails'](_0x39c51b,_0x493e83,_0x54377a=null){const _0x1b003f=a48_0x33d7a1,_0x4ca2d0={'ihGUY':function(_0x9c0c6c,_0x250af5){return _0x9c0c6c===_0x250af5;},'mRRFD':_0x1b003f(0x1f4),'dLeZy':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','kEywT':function(_0x660153,_0x1cea67){return _0x660153===_0x1cea67;},'HEWfK':_0x1b003f(0x205),'gVTjU':_0x1b003f(0x1af),'lFycF':function(_0xabc440,_0x4c6db7,_0x34b4d3){return _0xabc440(_0x4c6db7,_0x34b4d3);},'zRyok':'_browserType','WLwAp':'_defaultConnectOptions','lgEAJ':_0x1b003f(0x1b5),'gjhRU':_0x1b003f(0x1b3),'WJYOX':_0x1b003f(0x16b),'CAVGh':function(_0x5ba7b4,_0x2ed831){return _0x5ba7b4(_0x2ed831);},'wQwGi':'browserstack','julqW':_0x1b003f(0x1be),'BniRt':'automate','mdfpj':function(_0x4a92d4,_0x2e5e9a){return _0x4a92d4+_0x2e5e9a;},'jmKjW':'playwright-','KMoyr':function(_0x174ba7){return _0x174ba7();},'qWIam':_0x1b003f(0x1c7)},_0x64cd4e=this;return _0x4ca2d0[_0x1b003f(0x1c0)](o11yErrorHandler,async function _0xbe250e(_0x3c4c2d,_0x313f44,_0x333892=null){const _0x46aff3=_0x1b003f;let _0x188f3b=_0x3c4c2d[_0x46aff3(0x195)],_0x39404c=null;_0x3c4c2d&&_0x4ca2d0[_0x46aff3(0x188)](typeof _0x3c4c2d['version'],_0x4ca2d0['mRRFD'])?_0x39404c=_0x3c4c2d[_0x46aff3(0x1f5)]():logger['debug'](_0x4ca2d0[_0x46aff3(0x19e)]);let _0x28b130=null;_0x3c4c2d&&_0x4ca2d0[_0x46aff3(0x17e)](typeof _0x3c4c2d[_0x46aff3(0x1a5)],_0x4ca2d0[_0x46aff3(0x173)])?_0x28b130=_0x3c4c2d['model']():logger[_0x46aff3(0x1ba)](_0x4ca2d0['HEWfK']);let _0x33686a=null,_0x55af8a=null,_0x2a7fab=null,_0xeea512=_0x4ca2d0[_0x46aff3(0x1d0)];if(_0x3c4c2d['_connection'][_0x46aff3(0x20b)]()||global[_0x46aff3(0x196)]){let _0x40d9b3=null;_0x4ca2d0[_0x46aff3(0x1c0)](nestedKeyValue,_0x3c4c2d,[_0x4ca2d0[_0x46aff3(0x19a)],_0x4ca2d0[_0x46aff3(0x197)]])?_0x40d9b3=_0x3c4c2d[_0x46aff3(0x1ce)][_0x46aff3(0x1ae)]:_0x40d9b3=_0x4ca2d0[_0x46aff3(0x1c0)](nestedKeyValue,_0x313f44,[_0x4ca2d0['lgEAJ'],_0x4ca2d0[_0x46aff3(0x1fd)],_0x4ca2d0[_0x46aff3(0x207)]]);const _0x2e4716=_0x333892||_0x40d9b3&&_0x40d9b3[_0x46aff3(0x156)];_0x2e4716&&(_0xeea512=_0x4ca2d0[_0x46aff3(0x19d)](getCloudProviderFromWsEndpoint,_0x2e4716),_0x4ca2d0[_0x46aff3(0x188)](_0xeea512,_0x4ca2d0[_0x46aff3(0x176)])&&(_0x2a7fab=constants[_0x46aff3(0x1c3)][_0x46aff3(0x203)](_0x2e4716)?_0x4ca2d0['julqW']:_0x4ca2d0[_0x46aff3(0x16a)],_0x188f3b=_0x4ca2d0[_0x46aff3(0x19d)](getBrowserFromWSEndpoint,_0x2e4716)||_0x188f3b,_0x33686a=_0x64cd4e['currentSessionDetails'][_0x46aff3(0x15c)],_0x55af8a=_0x64cd4e['currentSessionDetails'][_0x46aff3(0x1dd)]));}else{_0x313f44&&_0x313f44['project'][_0x46aff3(0x1b3)][_0x46aff3(0x1dc)]?_0x188f3b=_0x4ca2d0['CAVGh'](getBrowserNameFromChannel,_0x313f44[_0x46aff3(0x1b5)][_0x46aff3(0x1b3)][_0x46aff3(0x1dc)]):_0x188f3b=_0x4ca2d0[_0x46aff3(0x172)](_0x4ca2d0[_0x46aff3(0x167)],_0x188f3b[_0x46aff3(0x19c)]());const _0x59f489=await _0x4ca2d0['KMoyr'](getPlatformDetails);_0x33686a=_0x59f489[_0x46aff3(0x171)],_0x55af8a=_0x59f489[_0x46aff3(0x181)];}const _0x4b3dd2={};_0x4b3dd2[_0x46aff3(0x1e8)]=_0x188f3b,_0x4b3dd2[_0x46aff3(0x1d8)]=_0x39404c,_0x4b3dd2[_0x46aff3(0x177)]={},_0x4b3dd2[_0x46aff3(0x15c)]=_0x33686a,_0x4b3dd2[_0x46aff3(0x1dd)]=_0x55af8a,_0x4b3dd2[_0x46aff3(0x1b6)]=_0x2a7fab;const _0x131e78=_0x4b3dd2;_0x28b130&&(_0x131e78[_0x46aff3(0x177)][_0x46aff3(0x17b)]=_0x28b130);const _0x4467a1={};_0x4467a1[_0x46aff3(0x168)]=_0xeea512,_0x64cd4e[_0x46aff3(0x1fc)]=Object['assign']({},_0x64cd4e['currentSessionDetails'],_0x4467a1,_0x131e78);},_0x4ca2d0[_0x1b003f(0x1a9)])(_0x39c51b,_0x493e83,_0x54377a);}static[a48_0x33d7a1(0x208)](){const _0x5698ce=a48_0x33d7a1;this[_0x5698ce(0x20e)](),this['patchCRConnection']();}static[a48_0x33d7a1(0x20e)](){const _0x46cfce=a48_0x33d7a1,_0x3c2016={'ITXNM':function(_0x223392,_0x4c0a40,_0x597817){return _0x223392(_0x4c0a40,_0x597817);},'sGTSS':_0x46cfce(0x1e5),'FSXAJ':'testInfo','icOea':_0x46cfce(0x158),'INQyg':_0x46cfce(0x1ad),'Dvbje':_0x46cfce(0x1e1),'bkVPT':function(_0x37f9ac,_0xa8f61){return _0x37f9ac===_0xa8f61;},'sfssp':_0x46cfce(0x159),'xhiYi':function(_0x272c8c,_0x184fba,_0x18e9ec,_0x5815a6){return _0x272c8c(_0x184fba,_0x18e9ec,_0x5815a6);},'ZTFay':function(_0x46fb34,_0x14823a){return _0x46fb34(_0x14823a);},'UOuFB':function(_0x3e3a99,_0xd4d805){return _0x3e3a99(_0xd4d805);},'pXrEu':_0x46cfce(0x170),'FsKid':_0x46cfce(0x17d),'CzwEW':'connection.js','kRhpm':function(_0x5ea2ed,_0x2891ce){return _0x5ea2ed(_0x2891ce);},'GiteG':function(_0xde1e5,_0x23e411){return _0xde1e5(_0x23e411);},'wuSFX':_0x46cfce(0x1e0),'osRvU':function(_0xef9617,_0x128133){return _0xef9617!=_0x128133;},'OUHgm':function(_0x227d57){return _0x227d57();},'qZKoT':_0x46cfce(0x16f),'LAxvu':'dispatch','qoNRi':function(_0x24cbe5,_0x1673c7){return _0x24cbe5(_0x1673c7);}},_0x550eaf=this;if(!this[_0x46cfce(0x1b4)])try{const _0x6e9503=path[_0x46cfce(0x20c)](_0x3c2016['pXrEu'],_0x3c2016[_0x46cfce(0x1d3)],_0x3c2016[_0x46cfce(0x1c4)]),_0x3bd89b=_0x3c2016['kRhpm'](importFileFromPWCore,_0x6e9503);!_0x3bd89b?_0x3c2016['GiteG'](debug,_0x3c2016[_0x46cfce(0x1f9)]):this[_0x46cfce(0x1b4)]=_0x3bd89b[_0x46cfce(0x1b4)];}catch(_0x1d88bd){_0x3c2016[_0x46cfce(0x201)](debug,_0x46cfce(0x1ff)+_0x1d88bd[_0x46cfce(0x1f1)]());}const _0x18d44c=this['Connection'];try{if(_0x3c2016[_0x46cfce(0x190)](_0x18d44c,null)){const _0x3788c8=_0x18d44c[_0x46cfce(0x1b8)][_0x46cfce(0x16c)],_0x1567fc=_0x18d44c[_0x46cfce(0x1b8)][_0x46cfce(0x16f)];_0x3c2016['OUHgm'](isAccessibilityAutomationSession)&&Object[_0x46cfce(0x1f0)](_0x18d44c[_0x46cfce(0x1b8)],_0x3c2016[_0x46cfce(0x20a)],{'get':function(){const _0x468052=_0x46cfce,_0x1c5fbd={'DTlGB':function(_0x4610e1,_0x38cff8,_0x2819eb){const _0x59f3dd=a48_0x164b;return _0x3c2016[_0x59f3dd(0x16d)](_0x4610e1,_0x38cff8,_0x2819eb);},'mEWRQ':_0x3c2016[_0x468052(0x211)],'RifKJ':_0x3c2016[_0x468052(0x1de)],'kkomW':_0x3c2016[_0x468052(0x194)],'FyVqd':function(_0x5b2690,_0x29d713,_0x63095){return _0x3c2016['ITXNM'](_0x5b2690,_0x29d713,_0x63095);},'ddHTH':_0x3c2016['INQyg'],'ZNIot':_0x3c2016[_0x468052(0x1cc)],'mTXCm':function(_0x50c126,_0xb86c08){const _0x5cf0c3=_0x468052;return _0x3c2016[_0x5cf0c3(0x180)](_0x50c126,_0xb86c08);},'NVsmF':_0x3c2016[_0x468052(0x178)],'PdRle':function(_0x4c6e7d,_0x47a778,_0x3e4e99,_0x48c50a){const _0x39cebf=_0x468052;return _0x3c2016[_0x39cebf(0x1c2)](_0x4c6e7d,_0x47a778,_0x3e4e99,_0x48c50a);}};return async function(){const _0x3206b0=_0x468052;try{if(!global['bstackPerformA11yScan']&&global['accessibilityPlatform']&&_0x1c5fbd[_0x3206b0(0x209)](nestedKeyValue,global['__workerDetails'],[_0x1c5fbd['mEWRQ'],_0x1c5fbd[_0x3206b0(0x1d1)],_0x1c5fbd[_0x3206b0(0x186)]])&&_0x1c5fbd[_0x3206b0(0x165)](shouldScanTestForAccessibility,global['__workerDetails'][_0x3206b0(0x1e5)]['testInfo']['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x3206b0(0x1ba)](_0x3206b0(0x1a8)+arguments[0x1]),global[_0x3206b0(0x16e)]=!![];const _0x5d4f96=_0x1c5fbd[_0x3206b0(0x165)](nestedKeyValue,global,[_0x1c5fbd[_0x3206b0(0x1f7)],_0x1c5fbd[_0x3206b0(0x1a2)]]);_0x5d4f96&&logger[_0x3206b0(0x18e)](_0x3206b0(0x17a)+util['format'](await _0x1c5fbd[_0x3206b0(0x165)](performScanWithRetry,_0x5d4f96,arguments[0x1]))),_0x1c5fbd[_0x3206b0(0x1d7)](arguments[0x0][_0x3206b0(0x206)],_0x1c5fbd[_0x3206b0(0x162)])&&global[_0x3206b0(0x1e9)]&&logger['info'](_0x3206b0(0x183)+util[_0x3206b0(0x1a0)](await _0x1c5fbd[_0x3206b0(0x1fb)](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x3206b0(0x1ec)])));}}catch(_0x936db){logger['debug']('Failed\x20to\x20perform\x20scan\x20'+util['format'](_0x936db));}return global['bstackPerformA11yScan']=![],_0x1567fc[_0x3206b0(0x20f)](this,arguments);};}}),!_0x3c2016[_0x46cfce(0x15a)](isFalse,process[_0x46cfce(0x17f)][_0x46cfce(0x1aa)])&&Object['defineProperty'](_0x18d44c['prototype'],_0x3c2016['LAxvu'],{'get':function(){return async function _0x358a4b(_0x55e44a){const _0x88e27=a48_0x164b;if(BrowserstackCLI[_0x88e27(0x160)]()['isRunning']()){const _0xafb4aa={};_0xafb4aa[_0x88e27(0x189)]=_0x55e44a,await BrowserstackCLI[_0x88e27(0x160)]()[_0x88e27(0x161)]()[_0x88e27(0x184)](AutomationFrameworkState[_0x88e27(0x1ac)],HookState['POST'],_0xafb4aa);}else{const _0x19112e=_0x55e44a&&_0x55e44a[_0x88e27(0x1e6)]&&_0x55e44a[_0x88e27(0x1e6)][_0x88e27(0x1a3)];if(_0x19112e){const _0x3b0ba4=_0x19112e[_0x88e27(0x1b2)],_0x3cc371=_0x19112e[_0x88e27(0x1fe)];_0x3cc371&&(_0x3c2016[_0x88e27(0x1f3)](debug,_0x88e27(0x19f)+_0x3cc371['toString']()),_0x550eaf['currentSessionDetails']['platform']=_0x3cc371[_0x88e27(0x171)],_0x550eaf[_0x88e27(0x1fc)]['platform_version']=_0x3cc371['platformVersion']),_0x3b0ba4&&(_0x3c2016[_0x88e27(0x1e7)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x3b0ba4),_0x550eaf[_0x88e27(0x1fc)][_0x88e27(0x1e4)]=_0x3b0ba4);}}return _0x3788c8[_0x88e27(0x20f)](this,arguments);};}});}}catch(_0x531bab){_0x3c2016[_0x46cfce(0x18a)](debug,_0x46cfce(0x1c5)+_0x531bab),_0x550eaf[_0x46cfce(0x1cd)]=_0x531bab[_0x46cfce(0x1f1)]();}}static[a48_0x33d7a1(0x1e2)](){const _0x298d04=a48_0x33d7a1,_0x2ec5d5={'WeGkW':function(_0x349898,_0x79fc00){return _0x349898(_0x79fc00);},'UtfjJ':function(_0x330583,_0x4fb04a){return _0x330583(_0x4fb04a);},'TdqbE':function(_0x475f2b){return _0x475f2b();},'aEGbI':'lib','Ecnzm':_0x298d04(0x18f),'LwcGQ':'chromium','MHEzG':'crConnection.js','lIFSs':function(_0x522308,_0x317331){return _0x522308(_0x317331);},'XEWcZ':'Not\x20able\x20to\x20import\x20crConnection','fshco':function(_0x2a267d,_0x1ff4b3){return _0x2a267d(_0x1ff4b3);},'BQqgy':'Error\x20in\x20importing\x20crConnection','aNmUx':function(_0x512268,_0x2db40c){return _0x512268!=_0x2db40c;},'VQpzd':_0x298d04(0x1d2)},_0x466f03=this;if(_0x2ec5d5['TdqbE'](isAccessibilityAutomationSession)){let _0x350bec=null;try{const _0x35f476=path[_0x298d04(0x20c)](_0x2ec5d5[_0x298d04(0x1b0)],_0x2ec5d5[_0x298d04(0x1d5)],_0x2ec5d5[_0x298d04(0x1db)],_0x2ec5d5['MHEzG']),_0x2f1638=_0x2ec5d5[_0x298d04(0x20d)](importFileFromPWCore,_0x35f476);!_0x2f1638?_0x2ec5d5['UtfjJ'](debug,_0x2ec5d5[_0x298d04(0x1da)]):_0x350bec=_0x2f1638[_0x298d04(0x1df)];}catch(_0x2f1e93){_0x2ec5d5[_0x298d04(0x163)](debug,_0x2ec5d5[_0x298d04(0x1bf)]);}try{if(_0x2ec5d5[_0x298d04(0x15b)](_0x350bec,null)){const _0x5d77f5=_0x350bec['prototype'][_0x298d04(0x1d2)];Object['defineProperty'](_0x350bec[_0x298d04(0x1b8)],_0x2ec5d5[_0x298d04(0x1ef)],{'get':function(){return async function _0x50358a(_0x4fee23){const _0x55bce2=a48_0x164b;try{if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x1d7592={};_0x1d7592[_0x55bce2(0x189)]=_0x4fee23,await BrowserstackCLI[_0x55bce2(0x160)]()[_0x55bce2(0x161)]()[_0x55bce2(0x184)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x55bce2(0x15d)],_0x1d7592),delete _0x4fee23['bStackParams'];}else{const _0x1ae425=_0x4fee23[_0x55bce2(0x1c9)];if(_0x1ae425){delete _0x4fee23[_0x55bce2(0x1c9)];const _0x3f56d9=_0x1ae425[_0x55bce2(0x1b2)],_0x5ad106=_0x1ae425[_0x55bce2(0x1fe)];_0x5ad106&&(_0x2ec5d5[_0x55bce2(0x1f2)](debug,_0x55bce2(0x1eb)+_0x5ad106['toString']()),_0x466f03[_0x55bce2(0x1fc)][_0x55bce2(0x15c)]=_0x5ad106[_0x55bce2(0x171)],_0x466f03[_0x55bce2(0x1fc)]['platform_version']=_0x5ad106['platformVersion']),_0x3f56d9&&(_0x2ec5d5[_0x55bce2(0x18b)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x3f56d9),_0x466f03['currentSessionDetails']['bsSessionId']=_0x3f56d9);}}}catch(_0x5652a4){_0x2ec5d5['UtfjJ'](debug,_0x55bce2(0x1a7)+_0x5652a4[_0x55bce2(0x1f1)]());}return _0x5d77f5[_0x55bce2(0x20f)](this,arguments);};}});}}catch(_0x3a5324){_0x2ec5d5[_0x298d04(0x20d)](debug,_0x298d04(0x204)+_0x3a5324),_0x466f03[_0x298d04(0x1cd)]=_0x3a5324[_0x298d04(0x1f1)]();}}}static['getDetails'](){return this['currentSessionDetails'];}}function a48_0x164b(_0x499cff,_0x3aafd3){const _0x466bf2=a48_0x466b();return a48_0x164b=function(_0x164b18,_0x3cfeb5){_0x164b18=_0x164b18-0x155;let _0x15d2a2=_0x466bf2[_0x164b18];return _0x15d2a2;},a48_0x164b(_0x499cff,_0x3aafd3);}function a48_0x466b(){const _0x485e91=['params','UOuFB','browser','__driver','includes','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','performScan','FtbLC','entries','VQpzd','defineProperty','toString','WeGkW','ZTFay','function','version','BSTACK_URL','ddHTH','aWWiu','wuSFX','../../helpers/accessibility-automation/scripts','PdRle','currentSessionDetails','gjhRU','platformDetails','Error\x20in\x20importing\x20connection\x20','../../helpers/helper','kRhpm','52748HtZvyk','test','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','Device\x20Model\x20is\x20not\x20available','_type','WJYOX','patch','DTlGB','qZKoT','isRemote','join','lIFSs','patchConnection','apply','5PJcQgx','sGTSS','../../helpers/logger','99CGrDEp','wsEndpoint','edge','titlePath','Page','GiteG','aNmUx','platform','POST','fromEntries','query','getInstance','getAutomationFramework','NVsmF','fshco','winstonLogger','FyVqd','1142XTfBFO','jmKjW','cloudProvider','11itVqhm','BniRt','connectOptions','dispatch','ITXNM','bstackPerformA11yScan','sendMessageToServer','lib','platformName','mdfpj','mRRFD','myRUQ','../../helpers/test-observability/utils','wQwGi','capabilities','sfssp','path','Page\x20Scan\x20result=','deviceModel','chrome','client','kEywT','env','bkVPT','platformVersion','BSTACK_ATS_URL','Driver\x20Scan\x20result=','trackEvent','browserName','kkomW','./accessibility-helper','ihGUY','message','qoNRi','UtfjJ','35KQUiNm','HnGvs','info','server','osRvU','caps','RdegH','OPNNY','icOea','_name','accessibilityPlatform','WLwAp','parse','BkHRi','zRyok','safari','toLowerCase','CAVGh','dLeZy','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','format','url','ZNIot','bsParams','util','model','../../helpers/accessibility-automation/accessibilityRetryHelper.js','Error\x20in\x20finding\x20platform\x20details\x20','Performing\x20scan\x20for\x20','qWIam','BROWSERSTACK_TEST_OBSERVABILITY','2156184sPrrYX','PLAYWRIGHT_DISPATCH','__workerDetails','_defaultConnectOptions','local_grid','aEGbI','3058404HovfLK','sessionId','use','Connection','project','product','23202gPGlNW','prototype','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','debug','../../helpers/accessibility-automation/helper','firefox','../utils/constants','turboscale','BQqgy','lFycF','../../helpers/test-observability/error-handler','xhiYi','ATS_WSS_URL_REGEX','CzwEW','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','../../bin/playwright/accessibility-helper','setupBrowserDetails','../v2/state/hookState.js','bStackParams','../v2/browserstackCLI','ePztK','Dvbje','sessionError','_browserType','DdMiv','gVTjU','RifKJ','_onMessage','FsKid','342096MASgkZ','Ecnzm','370ukOrBr','mTXCm','browser_version','350411KnlJYe','XEWcZ','LwcGQ','channel','platform_version','FSXAJ','CRConnection','Not\x20able\x20to\x20import\x20Connection','pwPage','patchCRConnection','browserstack','bsSessionId','currentTest'];a48_0x466b=function(){return _0x485e91;};return a48_0x466b();}module['exports']=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a49_0x1d15cd=a49_0x29f3;function a49_0x15ef(){const _0x299bd7=['1267800lSHcic','assign','alias','mocha','19098bkVipk','EKbza','cucumber-js','message','Show\x20help','JlsTr','Parsing\x20command\x20line\x20arguments','../helpers/BrowserStackSetup','uJnRc','includes','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Running\x20SDK\x20with\x20args\x20','--require','OiWWe','command','CUCUMBER','getInstance','VANILLA','AJnQE','222113rDAAtc','SDKTestSuccessful','--package','ppQXh','ofdyW','vanilla','spawn','existsSync','node','start','mocha/lib/cli/run.js','633304mOMVxV','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','JEST','Xwzgj','--no-package','help','ZwRZu','option','../helpers/performance/constants','dvUWi','nIUeq','framework','55AJOnVg','YMEtp','load\x20[subcommand]','./vanilla-js/command','EVENTS','BROWSERSTACK_CONFIG_FILE_PATH','getConfigPath','VERSION','5vNcVRz','HST','aysnj','child_process','INFO','314748DoTyrx','--mochaRequire','find','QbsDG','rvRPY','setBrowserStackAutomationDisable','XjyXi','debug','winstonLogger','DmEjN','parserConfiguration','boolean','../helpers/test-observability/constants','codeceptjs','dSaBB','dot-notation','DXIGo','env','isUndefined','./playwright/command','STSTu','strict','MyAgG','--config','TMmfj','../helpers/performance/performance-tester','stop','mhDpm','nwfyg','format','jest','PBWcf','SDK_CLEANUP','APICO','./utils/constants','util','findAndReplace','nightwatch','ZGZXo','playwright','bOkGU','demandCommand','ats','../helpers/logger','wrap','./nightwatch/command','describe','join','VSBPL','end','../helpers/utilities','slice','mocha/lib/cli/cli.js','--no-opts','7QqyhSR','SDK_SETUP','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','uHWFz','.browserstack','exitProcess','OpkWe','version','./integrations/command','pVzXp','FSVpG','454293MTljMJ','homedir','./mocha/command','YtuDy','error','CODECEPTJS','PHvZw','./load/index','INTEGRATIONS','argv','slnCI','showHelpOnFail','.local-not-set.json','fgrRP','ITkuZ','config','PLAYWRIGHT','integrations','6iKyfcT','HELP','--no-config','../../ats/src/index','stack','BQWId','usage:\x20$0\x20<command>\x20[args]','IyZve','199674kRODIf','NIGHTWATCH','MDPJm','yargs','1900Vtiguu','push'];a49_0x15ef=function(){return _0x299bd7;};return a49_0x15ef();}(function(_0x432464,_0xd93ce2){const _0x24adde=a49_0x29f3,_0x3194cf=_0x432464();while(!![]){try{const _0x41d4a4=-parseInt(_0x24adde(0xab))/0x1+parseInt(_0x24adde(0x85))/0x2*(parseInt(_0x24adde(0x110))/0x3)+-parseInt(_0x24adde(0x93))/0x4*(parseInt(_0x24adde(0xca))/0x5)+-parseInt(_0x24adde(0x8d))/0x6*(parseInt(_0x24adde(0x105))/0x7)+parseInt(_0x24adde(0xb6))/0x8+parseInt(_0x24adde(0x97))/0x9*(parseInt(_0x24adde(0x91))/0xa)+parseInt(_0x24adde(0xc2))/0xb*(-parseInt(_0x24adde(0xcf))/0xc);if(_0x41d4a4===_0xd93ce2)break;else _0x3194cf['push'](_0x3194cf['shift']());}catch(_0x3c87f5){_0x3194cf['push'](_0x3194cf['shift']());}}}(a49_0x15ef,0x38ebd));function a49_0x29f3(_0x228b00,_0x58cd06){const _0x15efe9=a49_0x15ef();return a49_0x29f3=function(_0x29f36e,_0x56b953){_0x29f36e=_0x29f36e-0x85;let _0x356040=_0x15efe9[_0x29f36e];return _0x356040;},a49_0x29f3(_0x228b00,_0x58cd06);}const fs=require('fs'),path=require('path'),util=require(a49_0x1d15cd(0xf2)),spawn=require(a49_0x1d15cd(0xcd))[a49_0x1d15cd(0xb1)],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a49_0x1d15cd(0xe8)),PerformanceEvents=require(a49_0x1d15cd(0xbe))[a49_0x1d15cd(0xc6)],helper=require('../helpers/helper'),utilities=require(a49_0x1d15cd(0x101)),{default:BrowserStackSetup}=require(a49_0x1d15cd(0x9e)),{FRAMEWORKS}=require(a49_0x1d15cd(0xdb)),runIntegrations=require(a49_0x1d15cd(0x10d)),yargs=require(a49_0x1d15cd(0x90)),Constants=require(a49_0x1d15cd(0xf1)),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require(a49_0x1d15cd(0xfa))[a49_0x1d15cd(0xd7)],origArgs=Object[a49_0x1d15cd(0x94)]([],process[a49_0x1d15cd(0x119)]),captureError=async(_0xe6af93,_0x4af1c5,_0x38fca4,_0x16a1d8=null)=>{const _0x3b797d=a49_0x1d15cd,_0x175691={'MyAgG':function(_0x2f4a18,_0x1d3dd4,_0x1c826f,_0x4810c5){return _0x2f4a18(_0x1d3dd4,_0x1c826f,_0x4810c5);},'nwfyg':_0x3b797d(0xac)};try{logger['info'](_0x3b797d(0xa3)+origArgs['join']('\x20')),await _0x175691[_0x3b797d(0xe5)](_0xe6af93,_0x4af1c5,_0x16a1d8,_0x38fca4);}catch(_0x5af020){process['exitCode']=0x1,logger[_0x3b797d(0x114)](util[_0x3b797d(0xec)](_0x5af020));const _0x57d901={'globalException':util[_0x3b797d(0xec)]('%j',_0x5af020)};PerformanceTester[_0x3b797d(0x100)](PerformanceEvents[_0x3b797d(0x106)],![],util[_0x3b797d(0xec)](_0x5af020));if(helper[_0x3b797d(0xe1)](global[_0x3b797d(0x11f)])&&helper[_0x3b797d(0xe1)](global[_0x3b797d(0xc1)]))return;try{utilities['fireFunnelTestEvent'](_0x175691[_0x3b797d(0xeb)],_0x57d901,global['config'],global['framework']);}catch(_0xf1208){logger[_0x3b797d(0xd6)](_0x3b797d(0x107)+_0xf1208[_0x3b797d(0x89)]);}try{await helper['sendLogs'](global[_0x3b797d(0x11f)]);}catch(_0x3133a6){logger[_0x3b797d(0xd6)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x3133a6[_0x3b797d(0x89)]);}await BrowserstackCLI[_0x3b797d(0xa8)]()[_0x3b797d(0xe9)](),PerformanceTester[_0x3b797d(0x100)](PerformanceEvents[_0x3b797d(0x106)],![],util[_0x3b797d(0xec)](_0x5af020));}finally{PerformanceTester[_0x3b797d(0xb4)](PerformanceEvents[_0x3b797d(0xef)]);}};try{const browserstackFolderPath=path['join'](helper[a49_0x1d15cd(0x111)](),a49_0x1d15cd(0x109));if(fs[a49_0x1d15cd(0xb2)](browserstackFolderPath)){const filePath=path[a49_0x1d15cd(0xfe)](browserstackFolderPath,a49_0x1d15cd(0x11c));fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a49_0x2c1707){logger[a49_0x1d15cd(0xd6)](a49_0x1d15cd(0xb7)+a49_0x2c1707[a49_0x1d15cd(0x9a)]);}process['argv'][a49_0x1d15cd(0xa0)]('mocha')&&(!process[a49_0x1d15cd(0x119)][a49_0x1d15cd(0xa0)]('--opts')&&process[a49_0x1d15cd(0x119)][a49_0x1d15cd(0x92)](a49_0x1d15cd(0x104)),!process['argv'][a49_0x1d15cd(0xd1)](_0x1c414e=>_0x1c414e[a49_0x1d15cd(0xa0)](a49_0x1d15cd(0xe6)))&&process[a49_0x1d15cd(0x119)]['push'](a49_0x1d15cd(0x87)),!process[a49_0x1d15cd(0x119)][a49_0x1d15cd(0xa0)](a49_0x1d15cd(0xad))&&process[a49_0x1d15cd(0x119)][a49_0x1d15cd(0x92)](a49_0x1d15cd(0xba)),helper[a49_0x1d15cd(0xf3)](process[a49_0x1d15cd(0x119)],a49_0x1d15cd(0xa4),a49_0x1d15cd(0xd0)));PerformanceTester[a49_0x1d15cd(0xb4)](PerformanceEvents[a49_0x1d15cd(0x106)]);const a49_0x40c5a4={};a49_0x40c5a4[a49_0x1d15cd(0xde)]=![];const argv=yargs[a49_0x1d15cd(0xd9)](a49_0x40c5a4)['usage'](a49_0x1d15cd(0x8b))['alias']('v',a49_0x1d15cd(0x10c))[a49_0x1d15cd(0xfd)]('v')[a49_0x1d15cd(0x95)]('h','help')[a49_0x1d15cd(0xbb)](a49_0x1d15cd(0xbb))[a49_0x1d15cd(0x11b)](!![],Constants[a49_0x1d15cd(0xc9)][a49_0x1d15cd(0x86)])[a49_0x1d15cd(0xa6)](a49_0x1d15cd(0xed),Constants[a49_0x1d15cd(0xb8)]['INFO'],function(_0xf6d70d){const _0x48d36b=a49_0x1d15cd,_0x1800f3={'EKbza':_0x48d36b(0xed),'BQWId':function(_0x1a227a,_0xf5cb00,_0x197353,_0x2bea86,_0x460e3b){return _0x1a227a(_0xf5cb00,_0x197353,_0x2bea86,_0x460e3b);},'HoWQq':function(_0x55a8ce,_0x530fc2){return _0x55a8ce(_0x530fc2);},'STSTu':'./jest/command'},_0x2b39d3=process['argv'][_0x48d36b(0x102)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x370d89=new BrowserStackSetup(_0xf6d70d[_0x48d36b(0x119)],_0x1800f3[_0x48d36b(0x98)]);return _0x1800f3[_0x48d36b(0x8a)](captureError,_0x1800f3['HoWQq'](require,_0x1800f3[_0x48d36b(0xe3)]),_0xf6d70d[_0x48d36b(0x119)],_0x370d89,_0x2b39d3);})[a49_0x1d15cd(0xa6)](a49_0x1d15cd(0x96),Constants['MOCHA'][a49_0x1d15cd(0xce)],_0x5ad91c=>{const _0x56d10d=a49_0x1d15cd,_0x73e6e7={'bOkGU':function(_0x13afe4,_0xb29443,_0x18e092,_0x17d0ae){return _0x13afe4(_0xb29443,_0x18e092,_0x17d0ae);},'XjyXi':function(_0x3d131d,_0x5a473e){return _0x3d131d(_0x5a473e);},'MDPJm':_0x56d10d(0x112),'ZGZXo':_0x56d10d(0x96),'ZwRZu':_0x56d10d(0x9d),'VSBPL':function(_0x532eba,_0x17a636,_0x35264c){return _0x532eba(_0x17a636,_0x35264c);},'uHWFz':_0x56d10d(0xb5),'VXXuh':function(_0x458326,_0x3735e5,_0x5d17e2){return _0x458326(_0x3735e5,_0x5d17e2);},'rvRPY':'mocha/lib/cli/commands.js','dSaBB':function(_0x4ec223,_0x37a9a,_0x4346cc){return _0x4ec223(_0x37a9a,_0x4346cc);},'uJnRc':_0x56d10d(0x103),'aysnj':function(_0x4739bc){return _0x4739bc();}};process['argv']=process[_0x56d10d(0x119)][_0x56d10d(0x102)](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x465642=new BrowserStackSetup(_0x5ad91c['argv'],_0x73e6e7[_0x56d10d(0xf5)]);logger['debug'](_0x73e6e7[_0x56d10d(0xbc)]);const _0x2615a1=_0x73e6e7[_0x56d10d(0xff)](requireModule,_0x73e6e7[_0x56d10d(0x108)],_0x73e6e7[_0x56d10d(0xf5)]),_0xbac773=_0x73e6e7['VXXuh'](requireModule,_0x73e6e7[_0x56d10d(0xd3)],_0x73e6e7[_0x56d10d(0xf5)]);delete _0x2615a1['handler'],_0x2615a1['handler']=function(_0x4b310c){const _0x2b1ecb=_0x56d10d;return _0x73e6e7[_0x2b1ecb(0xf7)](captureError,_0x73e6e7[_0x2b1ecb(0xd5)](require,_0x73e6e7[_0x2b1ecb(0x8f)]),_0x4b310c,_0x465642);},_0xbac773['run']=_0x2615a1;const {main:_0x1f4c02}=_0x73e6e7[_0x56d10d(0xdd)](requireModule,_0x73e6e7[_0x56d10d(0x9f)],_0x73e6e7[_0x56d10d(0xf5)]);_0x73e6e7[_0x56d10d(0xcc)](_0x1f4c02);})['command'](a49_0x1d15cd(0x99),Constants[a49_0x1d15cd(0xa7)][a49_0x1d15cd(0xce)],function(_0x51e2fb){const _0x2d19b7=a49_0x1d15cd,_0x10c1c3={'dvUWi':'cucumber-js','RayZZ':function(_0x15f629,_0x4d86bf,_0x2fe117,_0x5aa59d,_0x32f766){return _0x15f629(_0x4d86bf,_0x2fe117,_0x5aa59d,_0x32f766);},'YMEtp':function(_0x3fac9e,_0x249298){return _0x3fac9e(_0x249298);},'FSVpG':'./cucumber-js/command'},_0x5ea2f3=process[_0x2d19b7(0x119)]['slice'](0x2),_0x4a6595=new BrowserStackSetup(_0x51e2fb['argv'],_0x10c1c3[_0x2d19b7(0xbf)]);return _0x10c1c3['RayZZ'](captureError,_0x10c1c3[_0x2d19b7(0xc3)](require,_0x10c1c3[_0x2d19b7(0x10f)]),_0x51e2fb[_0x2d19b7(0x119)],_0x4a6595,_0x5ea2f3);})[a49_0x1d15cd(0xa6)](a49_0x1d15cd(0xb3),Constants[a49_0x1d15cd(0xa9)][a49_0x1d15cd(0xce)],function(_0x42a086){const _0x5a8c0d=a49_0x1d15cd,_0x94ad6d={'IyZve':_0x5a8c0d(0xb0),'AJnQE':function(_0x2fe1fe,_0x191f78,_0x285367,_0x11ace5,_0x431159){return _0x2fe1fe(_0x191f78,_0x285367,_0x11ace5,_0x431159);},'ofdyW':function(_0x4bb6f6,_0x4cd888){return _0x4bb6f6(_0x4cd888);},'OiWWe':_0x5a8c0d(0xc5)},_0x575ad0=process['argv'][_0x5a8c0d(0x102)](0x2),_0xeeaece=new BrowserStackSetup(_0x42a086[_0x5a8c0d(0x119)],_0x94ad6d[_0x5a8c0d(0x8c)]);return _0x94ad6d[_0x5a8c0d(0xaa)](captureError,_0x94ad6d[_0x5a8c0d(0xaf)](require,_0x94ad6d[_0x5a8c0d(0xa5)]),_0x42a086['argv'],_0xeeaece,_0x575ad0);})[a49_0x1d15cd(0xa6)](a49_0x1d15cd(0xf4),Constants[a49_0x1d15cd(0x8e)][a49_0x1d15cd(0xce)],function(_0x48cf43){const _0x3fc1d7=a49_0x1d15cd,_0x56fedf={'Xwzgj':function(_0x1c2000,_0x4ac7e9,_0x45d2ba,_0xb99074,_0x5985fd){return _0x1c2000(_0x4ac7e9,_0x45d2ba,_0xb99074,_0x5985fd);},'PBWcf':function(_0x1e6941,_0x4c7ec9){return _0x1e6941(_0x4c7ec9);},'BVdTS':_0x3fc1d7(0xfc)},_0x50d6c3=process[_0x3fc1d7(0x119)][_0x3fc1d7(0x102)](0x2),_0x5c5d9c=new BrowserStackSetup(_0x48cf43[_0x3fc1d7(0x119)]);return _0x56fedf[_0x3fc1d7(0xb9)](captureError,_0x56fedf[_0x3fc1d7(0xee)](require,_0x56fedf['BVdTS']),_0x48cf43['argv'],_0x5c5d9c,_0x50d6c3);})[a49_0x1d15cd(0xa6)](a49_0x1d15cd(0xdc),Constants[a49_0x1d15cd(0x115)][a49_0x1d15cd(0xce)],function(_0x591b37){const _0x25ab5e=a49_0x1d15cd,_0x1f2e71={'DXIGo':_0x25ab5e(0xdc),'PHvZw':function(_0x11cd32,_0x1952d3,_0x198655,_0xa9f811,_0x52bc5e){return _0x11cd32(_0x1952d3,_0x198655,_0xa9f811,_0x52bc5e);},'BJLsO':function(_0x4c7ae0,_0x2d7038){return _0x4c7ae0(_0x2d7038);},'slnCI':'./codeceptjs/command'},_0x3f62df=process[_0x25ab5e(0x119)][_0x25ab5e(0x102)](0x2),_0x41cc3d=new BrowserStackSetup(_0x591b37[_0x25ab5e(0x119)],_0x1f2e71[_0x25ab5e(0xdf)]);return _0x1f2e71[_0x25ab5e(0x116)](captureError,_0x1f2e71['BJLsO'](require,_0x1f2e71[_0x25ab5e(0x11a)]),_0x591b37['argv'],_0x41cc3d,_0x3f62df);})[a49_0x1d15cd(0xa6)](a49_0x1d15cd(0xf9),Constants[a49_0x1d15cd(0xcb)]['INFO'],function(_0x33affb){const _0x2e180c=a49_0x1d15cd,_0x49deb8={'nIUeq':function(_0x24689b,_0x29b1f7,_0x6bb4af){return _0x24689b(_0x29b1f7,_0x6bb4af);},'ppQXh':function(_0xe1c837,_0x4f7038){return _0xe1c837(_0x4f7038);},'fgrRP':_0x2e180c(0x88)},_0x13fe7f=process['argv'][_0x2e180c(0x102)](0x2);return _0x49deb8[_0x2e180c(0xc0)](captureError,_0x49deb8[_0x2e180c(0xae)](require,_0x49deb8[_0x2e180c(0x11d)]),_0x33affb);})[a49_0x1d15cd(0xa6)](a49_0x1d15cd(0x121),Constants[a49_0x1d15cd(0x118)][a49_0x1d15cd(0xce)],function(_0x17edcb){const _0x55189d=a49_0x1d15cd,_0x26e5da={'TMmfj':function(_0x6980a1,_0x2ec5f9){return _0x6980a1(_0x2ec5f9);}};return _0x26e5da[_0x55189d(0xe7)](runIntegrations,_0x17edcb);})[a49_0x1d15cd(0xa6)](a49_0x1d15cd(0xf6),Constants['PLAYWRIGHT'][a49_0x1d15cd(0xce)],function(_0x53d625){const _0x555407=a49_0x1d15cd,_0x17094b={'DmEjN':function(_0x125234,_0x50b203,_0x23d7a5,_0x2e03e5,_0x55232a){return _0x125234(_0x50b203,_0x23d7a5,_0x2e03e5,_0x55232a);},'OpkWe':function(_0x550837,_0x3e0fe8){return _0x550837(_0x3e0fe8);},'ITkuZ':_0x555407(0xe2)},_0x53f0ef=process[_0x555407(0x119)][_0x555407(0x102)](0x2);helper['getConfigPath'](process[_0x555407(0x119)])&&(process[_0x555407(0xe0)][_0x555407(0xc7)]=helper[_0x555407(0xc8)](process[_0x555407(0x119)]));helper['setTestObservabilityDisable'](),helper[_0x555407(0xd4)]();const _0x2eb35e=new BrowserStackSetup(_0x53d625[_0x555407(0x119)],FRAMEWORKS[_0x555407(0x120)]);return _0x17094b[_0x555407(0xd8)](captureError,_0x17094b[_0x555407(0x10b)](require,_0x17094b[_0x555407(0x11e)]),_0x53d625['argv'],_0x2eb35e,_0x53f0ef);})[a49_0x1d15cd(0xa6)](a49_0x1d15cd(0xc4),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x15a342){const _0x24fd70=a49_0x1d15cd,_0x15e283={};_0x15e283[_0x24fd70(0x113)]=_0x24fd70(0xbb),_0x15e283[_0x24fd70(0x10e)]=_0x24fd70(0xda),_0x15e283[_0x24fd70(0xd2)]=_0x24fd70(0x9b);const _0x17ac3b=_0x15e283;return _0x15a342[_0x24fd70(0xbb)](![])[_0x24fd70(0xbd)](_0x17ac3b[_0x24fd70(0x113)],{'alias':'h','type':_0x17ac3b[_0x24fd70(0x10e)],'describe':_0x17ac3b[_0x24fd70(0xd2)]})[_0x24fd70(0xe4)](![])[_0x24fd70(0x10a)](![]);},function(_0x2f3de0){const _0x2bb1f7=a49_0x1d15cd,_0x5199a1={'APICO':function(_0x23a150,_0x4cbe7a,_0x3ceeac){return _0x23a150(_0x4cbe7a,_0x3ceeac);},'JlsTr':function(_0x147cf7,_0x4e155a){return _0x147cf7(_0x4e155a);},'mhDpm':_0x2bb1f7(0x117)},_0x1fdc40={};return _0x1fdc40[_0x2bb1f7(0x119)]=_0x2f3de0,_0x5199a1[_0x2bb1f7(0xf0)](captureError,_0x5199a1[_0x2bb1f7(0x9c)](require,_0x5199a1[_0x2bb1f7(0xea)]),_0x1fdc40);})[a49_0x1d15cd(0xf8)](0x1,a49_0x1d15cd(0xa2))[a49_0x1d15cd(0xfb)](null)[a49_0x1d15cd(0x119)];!helper[a49_0x1d15cd(0xe1)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a49_0x1d15cd(0xf9)&&console[a49_0x1d15cd(0x114)](a49_0x1d15cd(0xa1));
|
|
2
|
+
'use strict';function a49_0x9032(){const _0x280c9a=['RGdTC','./jest/command','10OGTPLw','wwJVt','cucumber-js','alias','info','zwZyR','./playwright/command','homedir','CbVrf','yHhOb','slice','24LzQATh','sendLogs','cVOhS','Runs\x20the\x20binary\x20with\x20load\x20command','../helpers/performance/performance-tester','vanilla','node','--no-opts','QYoRo','format','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','--no-package','BROWSERSTACK_CONFIG_FILE_PATH','join','setTestObservabilityDisable','describe','TsHNi','fireFunnelTestEvent','jIRZq','nbefT','exitCode','VERSION','2807903WaFXMc','start','error','IyIrb','--mochaRequire','nightwatch','FAlnb','CUCUMBER','mocha','mocha/lib/cli/cli.js','HbqXk','strict','playwright','143aBvKZq','command','cJGXE','Show\x20help','LBENp','GGuXB','load\x20[subcommand]','MOCHA','--package','yuzHa','getConfigPath','--config','./load/index','../helpers/logger','tTnYc','integrations','usage:\x20$0\x20<command>\x20[args]','CODECEPTJS','push','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','winstonLogger','message','HELP','4DBMzoc','253932exDtnW','EVENTS','isUndefined','CkDje','./integrations/command','HST','./utils/constants','exitProcess','SDK_CLEANUP','SDKTestSuccessful','./cucumber-js/command','./v2/browserstackCLI','oAUjL','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','6xQWUjs','INFO','child_process','Running\x20SDK\x20with\x20args\x20','find','1gIACfG','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','SoYuD','.local-not-set.json','jmkBa','../helpers/helper','eTOTB','uIujG','./codeceptjs/command','path','assign','codeceptjs','includes','--require','showHelpOnFail','run','framework','debug','1350590DpDbiw','5470894mRkOer','parserConfiguration','../../ats/src/index','PLAYWRIGHT','JaElY','wrap','VOfUO','boolean','setBrowserStackAutomationDisable','argv','end','config','demandCommand','dot-notation','EHoOL','ZBitL','INTEGRATIONS','help','NIGHTWATCH','2347833rTqHLM','mocha/lib/cli/run.js','wXQZI','10709631sUpXXt','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','handler','../helpers/BrowserStackSetup','VANILLA','xhpVE','stack','zMQsq','version','option','jest','ats','TXAeP','usage','./nightwatch/command','Parsing\x20command\x20line\x20arguments','yargs','aWMSe','2658956rMKYxx','SDK_SETUP','EYQyY'];a49_0x9032=function(){return _0x280c9a;};return a49_0x9032();}const a49_0xb843a7=a49_0x586d;(function(_0x5dbb3c,_0x1ea6ec){const _0x5cc18f=a49_0x586d,_0x5b41d7=_0x5dbb3c();while(!![]){try{const _0x5dafda=parseInt(_0x5cc18f(0x278))/0x1*(-parseInt(_0x5cc18f(0x21a))/0x2)+parseInt(_0x5cc18f(0x205))/0x3*(-parseInt(_0x5cc18f(0x264))/0x4)+parseInt(_0x5cc18f(0x28a))/0x5*(parseInt(_0x5cc18f(0x273))/0x6)+-parseInt(_0x5cc18f(0x240))/0x7*(-parseInt(_0x5cc18f(0x22a))/0x8)+parseInt(_0x5cc18f(0x208))/0x9*(parseInt(_0x5cc18f(0x21f))/0xa)+parseInt(_0x5cc18f(0x24d))/0xb*(-parseInt(_0x5cc18f(0x265))/0xc)+parseInt(_0x5cc18f(0x28b))/0xd;if(_0x5dafda===_0x1ea6ec)break;else _0x5b41d7['push'](_0x5b41d7['shift']());}catch(_0x1f1b1e){_0x5b41d7['push'](_0x5b41d7['shift']());}}}(a49_0x9032,0xaa320));const fs=require('fs'),path=require(a49_0xb843a7(0x281)),util=require('util'),spawn=require(a49_0xb843a7(0x275))['spawn'],{requireModule}=require(a49_0xb843a7(0x27d)),PerformanceTester=require(a49_0xb843a7(0x22e)),PerformanceEvents=require('../helpers/performance/constants')[a49_0xb843a7(0x266)],helper=require(a49_0xb843a7(0x27d)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a49_0xb843a7(0x20b)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a49_0xb843a7(0x269)),yargs=require(a49_0xb843a7(0x218)),Constants=require(a49_0xb843a7(0x26b)),BrowserstackCLI=require(a49_0xb843a7(0x270)),logger=require(a49_0xb843a7(0x25a))[a49_0xb843a7(0x261)],origArgs=Object[a49_0xb843a7(0x282)]([],process['argv']),captureError=async(_0x13c5f8,_0x3ff65e,_0x55b267,_0x2e7365=null)=>{const _0x55c1ca=a49_0xb843a7,_0x2747dd={'oeBPn':function(_0x3b78f8,_0x50e278,_0xa3953,_0x33c47c){return _0x3b78f8(_0x50e278,_0xa3953,_0x33c47c);},'htGan':_0x55c1ca(0x26e)};try{logger[_0x55c1ca(0x223)](_0x55c1ca(0x276)+origArgs[_0x55c1ca(0x237)]('\x20')),await _0x2747dd['oeBPn'](_0x13c5f8,_0x3ff65e,_0x2e7365,_0x55b267);}catch(_0x267187){process[_0x55c1ca(0x23e)]=0x1,logger[_0x55c1ca(0x242)](util[_0x55c1ca(0x233)](_0x267187));const _0x562999={'globalException':util[_0x55c1ca(0x233)]('%j',_0x267187)};PerformanceTester['end'](PerformanceEvents[_0x55c1ca(0x21b)],![],util[_0x55c1ca(0x233)](_0x267187));if(helper[_0x55c1ca(0x267)](global['config'])&&helper[_0x55c1ca(0x267)](global['framework']))return;try{utilities[_0x55c1ca(0x23b)](_0x2747dd['htGan'],_0x562999,global[_0x55c1ca(0x1fd)],global[_0x55c1ca(0x288)]);}catch(_0x2ccaba){logger[_0x55c1ca(0x289)](_0x55c1ca(0x234)+_0x2ccaba['stack']);}try{await helper[_0x55c1ca(0x22b)](global[_0x55c1ca(0x1fd)]);}catch(_0x279334){logger['debug'](_0x55c1ca(0x260)+_0x279334[_0x55c1ca(0x20e)]);}await BrowserstackCLI['getInstance']()['stop'](),PerformanceTester[_0x55c1ca(0x1fc)](PerformanceEvents[_0x55c1ca(0x21b)],![],util['format'](_0x267187));}finally{PerformanceTester['start'](PerformanceEvents[_0x55c1ca(0x26d)]);}};try{const browserstackFolderPath=path[a49_0xb843a7(0x237)](helper[a49_0xb843a7(0x226)](),'.browserstack');if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a49_0xb843a7(0x237)](browserstackFolderPath,a49_0xb843a7(0x27b));fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a49_0x2d9b2f){logger[a49_0xb843a7(0x289)](a49_0xb843a7(0x209)+a49_0x2d9b2f[a49_0xb843a7(0x262)]);}process[a49_0xb843a7(0x1fb)][a49_0xb843a7(0x284)](a49_0xb843a7(0x248))&&(!process['argv'][a49_0xb843a7(0x284)]('--opts')&&process[a49_0xb843a7(0x1fb)][a49_0xb843a7(0x25f)](a49_0xb843a7(0x231)),!process['argv'][a49_0xb843a7(0x277)](_0x2d3422=>_0x2d3422[a49_0xb843a7(0x284)](a49_0xb843a7(0x258)))&&process[a49_0xb843a7(0x1fb)]['push']('--no-config'),!process[a49_0xb843a7(0x1fb)]['includes'](a49_0xb843a7(0x255))&&process[a49_0xb843a7(0x1fb)][a49_0xb843a7(0x25f)](a49_0xb843a7(0x235)),helper['findAndReplace'](process['argv'],a49_0xb843a7(0x285),a49_0xb843a7(0x244)));PerformanceTester[a49_0xb843a7(0x241)](PerformanceEvents[a49_0xb843a7(0x21b)]);const a49_0x27716f={};a49_0x27716f[a49_0xb843a7(0x1ff)]=![];const argv=yargs[a49_0xb843a7(0x28c)](a49_0x27716f)[a49_0xb843a7(0x215)](a49_0xb843a7(0x25d))[a49_0xb843a7(0x222)]('v',a49_0xb843a7(0x210))[a49_0xb843a7(0x239)]('v')[a49_0xb843a7(0x222)]('h',a49_0xb843a7(0x203))[a49_0xb843a7(0x203)](a49_0xb843a7(0x203))[a49_0xb843a7(0x286)](!![],Constants[a49_0xb843a7(0x23f)][a49_0xb843a7(0x263)])[a49_0xb843a7(0x24e)](a49_0xb843a7(0x212),Constants['JEST'][a49_0xb843a7(0x274)],function(_0x36dbee){const _0x14bbe9=a49_0xb843a7,_0x331152={'YOzGp':_0x14bbe9(0x212),'eTOTB':function(_0xf04e85,_0x3b2514,_0x2c1c04,_0x82e916,_0x408888){return _0xf04e85(_0x3b2514,_0x2c1c04,_0x82e916,_0x408888);},'zMRMk':function(_0x3393b4,_0x586587){return _0x3393b4(_0x586587);},'Zhhoq':_0x14bbe9(0x21e)},_0x41f712=process[_0x14bbe9(0x1fb)][_0x14bbe9(0x229)](0x2);helper[_0x14bbe9(0x238)](),helper['setBrowserStackAutomationDisable']();const _0x59651b=new BrowserStackSetup(_0x36dbee[_0x14bbe9(0x1fb)],_0x331152['YOzGp']);return _0x331152[_0x14bbe9(0x27e)](captureError,_0x331152['zMRMk'](require,_0x331152['Zhhoq']),_0x36dbee[_0x14bbe9(0x1fb)],_0x59651b,_0x41f712);})[a49_0xb843a7(0x24e)]('mocha',Constants[a49_0xb843a7(0x254)][a49_0xb843a7(0x274)],_0x20f9a0=>{const _0x448af6=a49_0xb843a7,_0x3ddaad={'cJteK':function(_0x3e4ecf,_0x43d627,_0x162e4f,_0x85741e){return _0x3e4ecf(_0x43d627,_0x162e4f,_0x85741e);},'QYoRo':function(_0x4f94f9,_0x39e068){return _0x4f94f9(_0x39e068);},'uIujG':'./mocha/command','RGdTC':_0x448af6(0x248),'CbVrf':_0x448af6(0x217),'wwJVt':function(_0x4608ad,_0x13d15a,_0x53945f){return _0x4608ad(_0x13d15a,_0x53945f);},'LBENp':_0x448af6(0x206),'QHcXM':'mocha/lib/cli/commands.js','cVOhS':function(_0x4b3eee,_0x5337dc,_0x462fb3){return _0x4b3eee(_0x5337dc,_0x462fb3);},'bhzbe':_0x448af6(0x249),'CkDje':function(_0x4b7309){return _0x4b7309();}};process[_0x448af6(0x1fb)]=process[_0x448af6(0x1fb)][_0x448af6(0x229)](0x1),helper['setTestObservabilityDisable'](),helper[_0x448af6(0x1fa)]();const _0x1164c7=new BrowserStackSetup(_0x20f9a0[_0x448af6(0x1fb)],_0x3ddaad['RGdTC']);logger['debug'](_0x3ddaad[_0x448af6(0x227)]);const _0x38f447=_0x3ddaad[_0x448af6(0x220)](requireModule,_0x3ddaad[_0x448af6(0x251)],_0x3ddaad[_0x448af6(0x21d)]),_0x82b1c1=_0x3ddaad[_0x448af6(0x220)](requireModule,_0x3ddaad['QHcXM'],_0x3ddaad[_0x448af6(0x21d)]);delete _0x38f447['handler'],_0x38f447[_0x448af6(0x20a)]=function(_0x1230fe){const _0x215ccd=_0x448af6;return _0x3ddaad['cJteK'](captureError,_0x3ddaad[_0x215ccd(0x232)](require,_0x3ddaad[_0x215ccd(0x27f)]),_0x1230fe,_0x1164c7);},_0x82b1c1[_0x448af6(0x287)]=_0x38f447;const {main:_0x52df5f}=_0x3ddaad[_0x448af6(0x22c)](requireModule,_0x3ddaad['bhzbe'],_0x3ddaad[_0x448af6(0x21d)]);_0x3ddaad[_0x448af6(0x268)](_0x52df5f);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x221),Constants[a49_0xb843a7(0x247)][a49_0xb843a7(0x274)],function(_0x1f6bdb){const _0x39a0f1=a49_0xb843a7,_0x58a98d={'VOfUO':'cucumber-js','LjKmk':function(_0x57282d,_0x3daace,_0x4d236b,_0x149aeb,_0x3130dd){return _0x57282d(_0x3daace,_0x4d236b,_0x149aeb,_0x3130dd);},'aWMSe':function(_0x43f128,_0x2c5e8e){return _0x43f128(_0x2c5e8e);},'EHoOL':_0x39a0f1(0x26f)},_0x162cf1=process['argv'][_0x39a0f1(0x229)](0x2),_0x4281b6=new BrowserStackSetup(_0x1f6bdb['argv'],_0x58a98d[_0x39a0f1(0x1f8)]);return _0x58a98d['LjKmk'](captureError,_0x58a98d[_0x39a0f1(0x219)](require,_0x58a98d[_0x39a0f1(0x200)]),_0x1f6bdb[_0x39a0f1(0x1fb)],_0x4281b6,_0x162cf1);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x230),Constants[a49_0xb843a7(0x20c)]['INFO'],function(_0x14b979){const _0x3895bc=a49_0xb843a7,_0x5298ca={'HbqXk':_0x3895bc(0x22f),'SoYuD':function(_0x434d1e,_0xd9f905,_0xe10c60,_0x3276ef,_0x53d423){return _0x434d1e(_0xd9f905,_0xe10c60,_0x3276ef,_0x53d423);},'TXAeP':function(_0x28afed,_0x265115){return _0x28afed(_0x265115);},'EYQyY':'./vanilla-js/command'},_0x2c6f6b=process['argv']['slice'](0x2),_0x1a62ed=new BrowserStackSetup(_0x14b979['argv'],_0x5298ca[_0x3895bc(0x24a)]);return _0x5298ca[_0x3895bc(0x27a)](captureError,_0x5298ca[_0x3895bc(0x214)](require,_0x5298ca[_0x3895bc(0x21c)]),_0x14b979['argv'],_0x1a62ed,_0x2c6f6b);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x245),Constants[a49_0xb843a7(0x204)][a49_0xb843a7(0x274)],function(_0x208d44){const _0x54734f=a49_0xb843a7,_0x83c7d1={'IyIrb':function(_0x483f18,_0x1f5578,_0xb89420,_0x2f026f,_0x2904e5){return _0x483f18(_0x1f5578,_0xb89420,_0x2f026f,_0x2904e5);},'cJGXE':function(_0x3e6081,_0x31bcdb){return _0x3e6081(_0x31bcdb);},'yHhOb':_0x54734f(0x216)},_0x2cb30a=process[_0x54734f(0x1fb)][_0x54734f(0x229)](0x2),_0x2afedf=new BrowserStackSetup(_0x208d44[_0x54734f(0x1fb)]);return _0x83c7d1[_0x54734f(0x243)](captureError,_0x83c7d1[_0x54734f(0x24f)](require,_0x83c7d1[_0x54734f(0x228)]),_0x208d44[_0x54734f(0x1fb)],_0x2afedf,_0x2cb30a);})['command'](a49_0xb843a7(0x283),Constants[a49_0xb843a7(0x25e)][a49_0xb843a7(0x274)],function(_0x4eeeb1){const _0x26d316=a49_0xb843a7,_0x40e93a={'zwZyR':'codeceptjs','GGuXB':function(_0x40f16d,_0x1b31a1,_0x1ee42a,_0x431945,_0x26f040){return _0x40f16d(_0x1b31a1,_0x1ee42a,_0x431945,_0x26f040);},'eVsAX':function(_0x4a3905,_0x1e4035){return _0x4a3905(_0x1e4035);},'ZBitL':_0x26d316(0x280)},_0x3e0d5e=process[_0x26d316(0x1fb)]['slice'](0x2),_0xcc8cd=new BrowserStackSetup(_0x4eeeb1['argv'],_0x40e93a[_0x26d316(0x224)]);return _0x40e93a[_0x26d316(0x252)](captureError,_0x40e93a['eVsAX'](require,_0x40e93a[_0x26d316(0x201)]),_0x4eeeb1['argv'],_0xcc8cd,_0x3e0d5e);})['command'](a49_0xb843a7(0x213),Constants[a49_0xb843a7(0x26a)][a49_0xb843a7(0x274)],function(_0x27abea){const _0x522bd9=a49_0xb843a7,_0x332432={'xhpVE':function(_0x3e5b2b,_0x40b258,_0x4fa38e){return _0x3e5b2b(_0x40b258,_0x4fa38e);},'wXQZI':function(_0x1e1b07,_0x21c2d8){return _0x1e1b07(_0x21c2d8);},'JaElY':_0x522bd9(0x1f4)},_0x21eb2a=process[_0x522bd9(0x1fb)][_0x522bd9(0x229)](0x2);return _0x332432[_0x522bd9(0x20d)](captureError,_0x332432[_0x522bd9(0x207)](require,_0x332432[_0x522bd9(0x1f6)]),_0x27abea);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x25c),Constants[a49_0xb843a7(0x202)]['INFO'],function(_0xaabbfe){const _0x5183b1=a49_0xb843a7,_0x431de0={'TsHNi':function(_0x1066c7,_0xba7ef2){return _0x1066c7(_0xba7ef2);}};return _0x431de0[_0x5183b1(0x23a)](runIntegrations,_0xaabbfe);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x24c),Constants[a49_0xb843a7(0x1f5)][a49_0xb843a7(0x274)],function(_0x1b99e3){const _0x4e5b19=a49_0xb843a7,_0x152396={'zMQsq':function(_0x277ead,_0x2d38ed,_0x43ab98,_0xaeaf41,_0x592745){return _0x277ead(_0x2d38ed,_0x43ab98,_0xaeaf41,_0x592745);},'KpOnJ':function(_0x1ac055,_0x52670b){return _0x1ac055(_0x52670b);},'oAUjL':_0x4e5b19(0x225)},_0x1d927c=process[_0x4e5b19(0x1fb)][_0x4e5b19(0x229)](0x2);helper[_0x4e5b19(0x257)](process['argv'])&&(process['env'][_0x4e5b19(0x236)]=helper[_0x4e5b19(0x257)](process[_0x4e5b19(0x1fb)]));helper[_0x4e5b19(0x238)](),helper[_0x4e5b19(0x1fa)]();const _0x5a702e=new BrowserStackSetup(_0x1b99e3[_0x4e5b19(0x1fb)],FRAMEWORKS[_0x4e5b19(0x1f5)]);return _0x152396[_0x4e5b19(0x20f)](captureError,_0x152396['KpOnJ'](require,_0x152396[_0x4e5b19(0x271)]),_0x1b99e3[_0x4e5b19(0x1fb)],_0x5a702e,_0x1d927c);})[a49_0xb843a7(0x24e)](a49_0xb843a7(0x253),a49_0xb843a7(0x22d),function(_0x254182){const _0x372e0a=a49_0xb843a7,_0x3f876c={};_0x3f876c[_0x372e0a(0x256)]='help',_0x3f876c['FAlnb']=_0x372e0a(0x1f9),_0x3f876c[_0x372e0a(0x25b)]=_0x372e0a(0x250);const _0x5b708b=_0x3f876c;return _0x254182[_0x372e0a(0x203)](![])[_0x372e0a(0x211)](_0x5b708b[_0x372e0a(0x256)],{'alias':'h','type':_0x5b708b[_0x372e0a(0x246)],'describe':_0x5b708b['tTnYc']})[_0x372e0a(0x24b)](![])[_0x372e0a(0x26c)](![]);},function(_0x4ede6d){const _0x56bf32=a49_0xb843a7,_0x43c55e={'jmkBa':function(_0x5b0b48,_0x156616,_0x22b3fb){return _0x5b0b48(_0x156616,_0x22b3fb);},'nbefT':function(_0x38f22d,_0x2df5cd){return _0x38f22d(_0x2df5cd);},'jIRZq':_0x56bf32(0x259)},_0x2a2d60={};return _0x2a2d60[_0x56bf32(0x1fb)]=_0x4ede6d,_0x43c55e[_0x56bf32(0x27c)](captureError,_0x43c55e[_0x56bf32(0x23d)](require,_0x43c55e[_0x56bf32(0x23c)]),_0x2a2d60);})[a49_0xb843a7(0x1fe)](0x1,a49_0xb843a7(0x279))[a49_0xb843a7(0x1f7)](null)[a49_0xb843a7(0x1fb)];function a49_0x586d(_0x36ca0e,_0x4969b7){const _0x903241=a49_0x9032();return a49_0x586d=function(_0x586d5d,_0x39922a){_0x586d5d=_0x586d5d-0x1f4;let _0x2786ba=_0x903241[_0x586d5d];return _0x2786ba;},a49_0x586d(_0x36ca0e,_0x4969b7);}!helper[a49_0xb843a7(0x267)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a49_0xb843a7(0x213)&&console['error'](a49_0xb843a7(0x272));
|