browserstack-node-sdk 1.34.57 → 1.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.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/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/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a40_0x346ceb=a40_0x4549;(function(_0x41820d,_0x1669e6){const _0x8a4ce4=a40_0x4549,_0x12a7fc=_0x41820d();while(!![]){try{const _0x7322e2=-parseInt(_0x8a4ce4(0xfe))/0x1*(-parseInt(_0x8a4ce4(0x86))/0x2)+parseInt(_0x8a4ce4(0xa6))/0x3*(parseInt(_0x8a4ce4(0xe1))/0x4)+-parseInt(_0x8a4ce4(0xfa))/0x5*(parseInt(_0x8a4ce4(0x8f))/0x6)+-parseInt(_0x8a4ce4(0x78))/0x7+-parseInt(_0x8a4ce4(0x89))/0x8+-parseInt(_0x8a4ce4(0x108))/0x9+parseInt(_0x8a4ce4(0xe6))/0xa;if(_0x7322e2===_0x1669e6)break;else _0x12a7fc['push'](_0x12a7fc['shift']());}catch(_0x3daeb1){_0x12a7fc['push'](_0x12a7fc['shift']());}}}(a40_0x1f1c,0xcb340));function a40_0x4549(_0x21d1c2,_0x50da2f){const _0x1f1c67=a40_0x1f1c();return a40_0x4549=function(_0x4549a9,_0x561b9c){_0x4549a9=_0x4549a9-0x6a;let _0x8dcb02=_0x1f1c67[_0x4549a9];return _0x8dcb02;},a40_0x4549(_0x21d1c2,_0x50da2f);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a40_0x346ceb(0xdb)),PerformanceTester=require(a40_0x346ceb(0x10f)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require('../../../helpers/test-observability/constants'),helper=require('../../../helpers/helper'),path=require('path'),logger=require(a40_0x346ceb(0x114))[a40_0x346ceb(0xd8)],SessionHandler=require(a40_0x346ceb(0xfd)),TestDetails=require(a40_0x346ceb(0x112)),util=require('util'),getTagsFromTitle=_0x5bd908=>{const _0x4d1ce1=a40_0x346ceb;return _0x5bd908[_0x4d1ce1(0x7c)](/@(\w+)/g)?.[_0x4d1ce1(0x83)](_0x38c84c=>_0x38c84c['slice'](0x1))||[];};function a40_0x1f1c(){const _0x1cb6e9=['sendSessionDetails','uploadTraceZip','zLNQX','requestSpyCallback','onStepEnd','filter','NlpUS','filePath','Error\x20in\x20sending\x20trace\x20file:\x20%s','format','onBegin','uSGKe','readdirSync','bjatd','getTestTags','process.js','JQxwd','sendEventData','gmSnh','existsSync','getTime','winstonLogger','calculatePerformance','extname','../../../helpers/test-observability/utils','afterTestHook','compareVersions','@playwright/test/lib/common/transform.js','Trace\x20enabled','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','554884CNhJOg','name','tPdwA','YLmRb','\x20bytes','17738180znIIZI','Nopvr','1.38.0','hbnPj','processPageScreenshot','statSync','pBSHM','tags','Total\x20duration\x20for\x20whole\x20build\x20is\x20','YVLpt','qoefa','testUId','startsWith','afterWorkerHook','runner/loadUtils.js','DscMc','FKChw','oIfUX','slice','.json','2449165LTfvXf','findNestedKey','KttxB','../../../helpers/test-observability/sessionHandler','3EBnSZF','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','kBHWj','1.35.0','@playwright/test/lib/transform/transform.js','error','attachments','beforeTestHook','playwright','Found\x20key:\x20','9133767WriXUD','egJWa','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','beforeWorkerHook','Test\x20timeout\x20of','endsWith','performance-report-worker-','../../../helpers/performance/performance-tester','zQSFe','KNWll','./test-details','endSession','../../../helpers/logger','tAihl','PlOFL','LogCreated','xzfon','getPlaywrightLibPath','PLAYWRIGHT','TEST_LOG','xjNcd','calculateTimesFromMultipleFiles','dntfB','path','lib','aFbQW','env','playwright/lib/transform/transform.js','1360975YVvjmv','stopAndGenerate','AYRbb','toLowerCase','match','PXjCT','toISOString','CNqQR','debug','getFailureData','YYtur','map','setupBrowserDetails','zrmGv','298286AmBVJZ','uymha','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','9725896nmAkvG','call','qUiYK','KEZCC','chzpt','Arguments','6OfFDlr','join','prototype','createReadStream','ZymTH','playwright/lib/common/configLoader.js','LGzHy','getLoadUtilsPath','validateFilePath','getTransformPath','sendTestLog','LEFOt','jhpCV','kAnts','onTestBegin','sendTraceZip','KtvAi','test','.zip','onStepBegin','@playwright/test/lib/common/configLoader.js','EsZih','EcQsz','33FZJHTf','common','START_TIME','jpwgc','stack','GlSWU','lsAff','nqmbu','size','getForkProcessPath','PjJvx','zsQUJ','doo11ySync','1.42.0','\x20in\x20attachments','gbcJI','Percentage\x20of\x20increased\x20time\x20is\x20','DUTZJ','JXmds','rpmcZ','pnkKW','substr','SCBNM','OVtFh','Searching\x20for\x20key:\x20','length','@playwright/test','GhnmO','getConfigLoaderPath'];a40_0x1f1c=function(){return _0x1cb6e9;};return a40_0x1f1c();}exports[a40_0x346ceb(0xd1)]=_0x30db8c=>{const _0x52f1d0=a40_0x346ceb,_0x33abfe={'PXjCT':function(_0x2735ad,_0x17a91f){return _0x2735ad(_0x17a91f);}};if(_0x30db8c[_0x52f1d0(0xed)])return _0x30db8c['tags']['map'](_0x205185=>_0x205185[_0x52f1d0(0xf2)]('@')?_0x205185[_0x52f1d0(0xbb)](0x1):_0x205185);return _0x33abfe[_0x52f1d0(0x7d)](getTagsFromTitle,_0x30db8c['title']);},exports[a40_0x346ceb(0xd9)]=async()=>{const _0x2842fb=a40_0x346ceb,_0x448419={'hlfnD':function(_0x1fe54a,_0x2b4da8){return _0x1fe54a-_0x2b4da8;},'zsQUJ':'performance-reporter.html','EcQsz':_0x2842fb(0xcd),'SZUZZ':_0x2842fb(0x113),'SCBNM':_0x2842fb(0x9d),'oIfUX':'onTestEnd','pnkKW':_0x2842fb(0xa2),'KNWll':_0x2842fb(0xc7),'xjNcd':_0x2842fb(0x10b),'JXmds':_0x2842fb(0xf3),'qUiYK':_0x2842fb(0x105),'CNqQR':_0x2842fb(0xdc),'gmSnh':_0x2842fb(0xb2),'bjatd':_0x2842fb(0xea),'WTnMi':_0x2842fb(0xc3),'KtvAi':_0x2842fb(0x84),'kBHWj':_0x2842fb(0xc6),'PlOFL':_0x2842fb(0x99),'pBSHM':function(_0x4ca473,_0xfd0176){return _0x4ca473(_0xfd0176);},'OVtFh':function(_0x1c3ca8,_0x18576e){return _0x1c3ca8/_0x18576e;},'GlSWU':function(_0x50e0c1,_0x30f827){return _0x50e0c1+_0x30f827;},'dntfB':function(_0x19b3ef,_0x7cbc02){return _0x19b3ef*_0x7cbc02;}};if(!process[_0x2842fb(0x76)][_0x2842fb(0xa8)])return;const _0x29da8a=_0x448419['hlfnD'](new Date()[_0x2842fb(0xd7)](),new Date(process[_0x2842fb(0x76)][_0x2842fb(0xa8)])['getTime']()),_0xd8fa27=await PerformanceTester[_0x2842fb(0x79)](_0x448419[_0x2842fb(0xb1)],[_0x448419[_0x2842fb(0xa5)],_0x448419['SZUZZ'],_0x448419[_0x2842fb(0xbc)],_0x448419[_0x2842fb(0xf7)],_0x448419[_0x2842fb(0xba)],_0x448419[_0x2842fb(0x111)]]),_0x233c45=fs[_0x2842fb(0xcf)]('.'),_0x124bd3=_0x233c45[_0x2842fb(0xc8)](_0x5095c0=>_0x5095c0[_0x2842fb(0xf2)](_0x2842fb(0x10e))&&_0x5095c0[_0x2842fb(0x10d)](_0x2842fb(0xf9))),_0x25e7a7=await PerformanceTester[_0x2842fb(0x71)](_0x124bd3,[_0x448419[_0x2842fb(0x70)],_0x448419[_0x2842fb(0xb8)],_0x448419[_0x2842fb(0x8b)],_0x448419[_0x2842fb(0x7f)],_0x448419[_0x2842fb(0xd5)],_0x448419[_0x2842fb(0xd0)],_0x448419['WTnMi'],_0x448419[_0x2842fb(0x9f)],_0x448419[_0x2842fb(0x100)],_0x448419[_0x2842fb(0x6a)]]);_0x448419[_0x2842fb(0xec)](debug,_0x2842fb(0xee)+_0x448419[_0x2842fb(0xbd)](_0x29da8a,0x3e8)+'\x20s'),_0x448419[_0x2842fb(0xec)](debug,_0x2842fb(0xe0)+_0x448419[_0x2842fb(0xab)](_0x25e7a7,_0xd8fa27)),_0x448419[_0x2842fb(0xec)](debug,_0x2842fb(0xb6)+_0x448419[_0x2842fb(0x72)](_0x448419[_0x2842fb(0xbd)](_0x448419[_0x2842fb(0xab)](_0x25e7a7,_0xd8fa27),_0x29da8a),0x64));},exports[a40_0x346ceb(0x98)]=()=>{const _0x136a3e=a40_0x346ceb,_0x23f794={'uSGKe':function(_0x431b39,_0x59f2d6){return _0x431b39(_0x59f2d6);},'zLNQX':function(_0x14bd01,_0x4ebe75){return _0x14bd01>=_0x4ebe75;},'YVLpt':_0x136a3e(0xe8),'zrmGv':_0x136a3e(0x77),'ZymTH':_0x136a3e(0x106),'LEFOt':_0x136a3e(0x101),'aFbQW':_0x136a3e(0x102),'chzpt':_0x136a3e(0xc0),'LGzHy':_0x136a3e(0xde)},_0x267c0a=_0x23f794[_0x136a3e(0xce)](getFrameworkVersion,FRAMEWORKS[_0x136a3e(0x6e)]);if(_0x23f794['zLNQX'](helper[_0x136a3e(0xdd)](_0x267c0a,_0x23f794[_0x136a3e(0xef)]),0x0))return[_0x23f794[_0x136a3e(0x85)],_0x23f794[_0x136a3e(0x93)]];if(_0x23f794[_0x136a3e(0xc5)](helper[_0x136a3e(0xdd)](_0x267c0a,_0x23f794[_0x136a3e(0x9a)]),0x0))return[_0x23f794[_0x136a3e(0x75)],_0x23f794[_0x136a3e(0x8d)]];return[_0x23f794[_0x136a3e(0x95)],_0x23f794[_0x136a3e(0x8d)]];},exports[a40_0x346ceb(0xc2)]=()=>{const _0xda9964=a40_0x346ceb,_0x16cb52={'CGzti':function(_0x3c4455,_0xe1f22e){return _0x3c4455(_0xe1f22e);},'uqgfo':function(_0x2ac726,_0x58a772){return _0x2ac726>=_0x58a772;},'Nopvr':_0xda9964(0xe8),'KttxB':_0xda9964(0x94),'wzbDR':_0xda9964(0x106),'rpmcZ':_0xda9964(0xa3),'JQxwd':_0xda9964(0xc0)},_0x4f0df9=_0x16cb52['CGzti'](getFrameworkVersion,FRAMEWORKS[_0xda9964(0x6e)]);if(_0x16cb52['uqgfo'](helper[_0xda9964(0xdd)](_0x4f0df9,_0x16cb52[_0xda9964(0xe7)]),0x0))return[_0x16cb52[_0xda9964(0xfc)],_0x16cb52['wzbDR']];return[_0x16cb52[_0xda9964(0xb9)],_0x16cb52[_0xda9964(0xd3)]];},exports[a40_0x346ceb(0x96)]=()=>{const _0x5a1fed=a40_0x346ceb,_0x22905a={};_0x22905a[_0x5a1fed(0xf0)]=_0x5a1fed(0xf4);const _0x109b2c=_0x22905a;return helper[_0x5a1fed(0x6d)](_0x109b2c[_0x5a1fed(0xf0)]);},exports['getProjectUtilsPath']=()=>{const _0x45ba5c=a40_0x346ceb,_0x449ebb={};_0x449ebb[_0x45ba5c(0xa9)]='runner/projectUtils.js';const _0x3da32d=_0x449ebb;return helper[_0x45ba5c(0x6d)](_0x3da32d[_0x45ba5c(0xa9)]);},exports[a40_0x346ceb(0xaf)]=()=>{const _0xca99fb=a40_0x346ceb,_0x549e66={'jhpCV':function(_0xe3dda2,_0x4af608){return _0xe3dda2(_0x4af608);},'BAkXO':function(_0x15fe15,_0x562ac4){return _0x15fe15>=_0x562ac4;},'PjJvx':'1.38.0','uymha':_0xca99fb(0x74),'zQSFe':_0xca99fb(0xa7),'KEZCC':_0xca99fb(0xd2),'hbnPj':_0xca99fb(0xa0)},_0x580a9d=_0x549e66[_0xca99fb(0x9b)](getFrameworkVersion,FRAMEWORKS[_0xca99fb(0x6e)]);if(_0x549e66['BAkXO'](helper['compareVersions'](_0x580a9d,_0x549e66[_0xca99fb(0xb0)]),0x0))return path[_0xca99fb(0x90)](_0x549e66[_0xca99fb(0x87)],_0x549e66[_0xca99fb(0x110)],_0x549e66['KEZCC']);return path[_0xca99fb(0x90)](_0x549e66[_0xca99fb(0xe9)],_0x549e66[_0xca99fb(0x87)],_0x549e66[_0xca99fb(0x110)],_0x549e66[_0xca99fb(0x8c)]);},exports[a40_0x346ceb(0x81)]=(_0x56dcfa,{test_run_uuid:_0x5e0e54})=>{const _0xc846d6=a40_0x346ceb,_0x3de8b1={'GhnmO':'ERROR','AYRbb':_0xc846d6(0x6f),'nqmbu':function(_0x4b5497,_0x2f8694){return _0x4b5497<=_0x2f8694;},'lsAff':function(_0x2b040e,_0x119ff8){return _0x2b040e(_0x119ff8);},'tAihl':_0xc846d6(0x10c),'DscMc':function(_0x386b64,_0x3795a4){return _0x386b64>=_0x3795a4;},'gbcJI':_0xc846d6(0xb3),'gpTgA':function(_0x104b11,_0x2d5658){return _0x104b11>_0x2d5658;},'LAULo':function(_0x572832,_0x46db07){return _0x572832(_0x46db07);},'YYtur':function(_0x1387c8,_0x435989,_0x59e6f6){return _0x1387c8(_0x435989,_0x59e6f6);},'MWLuS':_0xc846d6(0xa0)};if(!_0x56dcfa||_0x3de8b1[_0xc846d6(0xad)](_0x56dcfa[_0xc846d6(0xbf)],0x0))return[];const _0x2ecfa1=_0x3de8b1[_0xc846d6(0xac)](removeAnsiColors,_0x56dcfa[0x0]['message']);if(_0x2ecfa1['startsWith'](_0x3de8b1[_0xc846d6(0x115)])){const _0x4956bb=_0x56dcfa[0x0],_0x1eb2dd=_0x3de8b1['lsAff'](getFrameworkVersion,FRAMEWORKS[_0xc846d6(0x6e)]);if((!_0x4956bb['stack']||_0x3de8b1[_0xc846d6(0xf5)](_0x1eb2dd,_0x3de8b1[_0xc846d6(0xb5)]))&&_0x3de8b1['gpTgA'](_0x56dcfa[_0xc846d6(0xbf)],0x1))return{'failureData':[{'backtrace':[_0x2ecfa1,_0x3de8b1['LAULo'](removeAnsiColors,_0x56dcfa[0x1][_0xc846d6(0xaa)])]}],'logs':_0x56dcfa[_0xc846d6(0xf8)](0x2)[_0xc846d6(0x83)](_0x1f0022=>{const _0x187ad7=_0xc846d6;return{'timestamp':new Date()[_0x187ad7(0x7e)](),'level':_0x3de8b1[_0x187ad7(0xc1)],'message':''+_0x1f0022['message'],'kind':_0x3de8b1[_0x187ad7(0x7a)],'http_response':{},'test_run_uuid':_0x5e0e54};})};}return{'failureData':_0x3de8b1[_0xc846d6(0x82)](failureData,_0x56dcfa,_0x3de8b1['MWLuS']),'logs':[]};},exports[a40_0x346ceb(0x97)]=_0x3679fc=>{const _0x3e8bec=a40_0x346ceb,_0x599c8d={};_0x599c8d[_0x3e8bec(0x9c)]=function(_0x399f5b,_0x48916a){return _0x399f5b!==_0x48916a;},_0x599c8d['FQsiL']=_0x3e8bec(0xa1),_0x599c8d[_0x3e8bec(0xf6)]=function(_0x2e617b,_0x295053){return _0x2e617b>_0x295053;};const _0x49a758=_0x599c8d;if(_0x3679fc&&fs[_0x3e8bec(0xd6)](_0x3679fc)){if(_0x49a758['kAnts'](path[_0x3e8bec(0xda)](_0x3679fc)[_0x3e8bec(0x7b)](),_0x49a758['FQsiL']))return logger[_0x3e8bec(0x103)](_0x3e8bec(0x88)+_0x3679fc),![];const _0x327210=fs[_0x3e8bec(0xeb)](_0x3679fc)[_0x3e8bec(0xae)];if(_0x49a758[_0x3e8bec(0xf6)](_0x327210,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x3e8bec(0x103)](_0x3e8bec(0x10a)+_0x327210+_0x3e8bec(0xe5)),![];return!![];}return![];},exports[a40_0x346ceb(0xfb)]=(_0x5da071,_0x4b2c0b)=>{const _0x1f6f30=a40_0x346ceb,_0x8f85e={};_0x8f85e[_0x1f6f30(0xb7)]=_0x1f6f30(0x8e);const _0x12a99d=_0x8f85e;logger[_0x1f6f30(0x80)](_0x1f6f30(0xbe)+_0x4b2c0b);if(_0x5da071[_0x1f6f30(0x104)]){const _0x1d0d33=_0x5da071[_0x1f6f30(0x104)]['find'](_0xf8586b=>_0xf8586b[_0x1f6f30(0xe2)]==='trace');if(_0x1d0d33)return logger[_0x1f6f30(0x80)](_0x1f6f30(0x107)+_0x4b2c0b+_0x1f6f30(0xb4)),_0x1d0d33[_0x4b2c0b];}else{if(Object[_0x1f6f30(0x91)]['toString'][_0x1f6f30(0x8a)](_0x5da071)['includes'](_0x12a99d[_0x1f6f30(0xb7)]))for(const _0x4f3354 of _0x5da071){if(_0x4f3354[_0x4b2c0b])return logger[_0x1f6f30(0x80)](_0x1f6f30(0x107)+_0x4b2c0b+'\x20in\x20arguments'),_0x4f3354[_0x4b2c0b];}}return'';},exports[a40_0x346ceb(0xc4)]=async(_0x474b99,_0x3bb4f4)=>{const _0x569c57=a40_0x346ceb,_0x4c78ea={};_0x4c78ea['EgGqm']=_0x569c57(0x6b),_0x4c78ea[_0x569c57(0x109)]='TEST_ATTACHMENT',_0x4c78ea['YLmRb']=_0x569c57(0x9e),_0x4c78ea[_0x569c57(0xc9)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0xcdcc95=_0x4c78ea;try{const _0x5f69f={'event_type':_0xcdcc95['EgGqm'],'logs':[{'data':_0x474b99?fs[_0x569c57(0x92)](_0x474b99):'','test_run_uuid':_0x3bb4f4,'kind':_0xcdcc95[_0x569c57(0x109)],'fileName':_0x474b99?path['basename'](_0x474b99):''}]};return await SessionHandler[_0x569c57(0xd4)](_0x5f69f,0x0,_0xcdcc95[_0x569c57(0xe4)]);}catch(_0x393c18){logger[_0x569c57(0x103)](util[_0x569c57(0xcc)](_0xcdcc95[_0x569c57(0xc9)],_0x393c18));}},exports[a40_0x346ceb(0x9e)]=async(_0x19b463,_0x244db0)=>{const _0xb73d52=a40_0x346ceb,_0x435ea9={};_0x435ea9[_0xb73d52(0x6c)]=_0xb73d52(0x73),_0x435ea9[_0xb73d52(0xe3)]=_0xb73d52(0xdf),_0x435ea9[_0xb73d52(0xa4)]=_0xb73d52(0xcb);const _0xbc86cb=_0x435ea9;try{logger[_0xb73d52(0x80)](_0xb73d52(0xff)+_0x244db0);const _0x20520f=await exports['findNestedKey'](_0x19b463,_0xbc86cb['xzfon']);if(exports['validateFilePath'](_0x20520f)){logger['debug'](_0xbc86cb[_0xb73d52(0xe3)]);const _0x5a5426={};_0x5a5426[_0xb73d52(0xf1)]=_0x244db0,_0x5a5426[_0xb73d52(0xca)]=_0x20520f;const _0x139c10=_0x5a5426;TestDetails['addTraceFilePath'](_0x139c10);};}catch(_0x472679){logger[_0xb73d52(0x103)](util['format'](_0xbc86cb[_0xb73d52(0xa4)],_0x472679));}};
|
|
1
|
+
const a40_0x53398a=a40_0x93c1;function a40_0x5058(){const _0x382be0=['requestSpyCallback','MHQVL','test','processPageScreenshot','1.35.0','LGINi','../../../helpers/test-observability/sessionHandler','basename','uploadTraceZip','DCYqF','@playwright/test/lib/common/transform.js','23440BtKQAI','call','testUId','GXifw','onStepEnd','onStepBegin','filePath','Total\x20duration\x20for\x20whole\x20build\x20is\x20','VxqmH','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','81qjoheF','../../../helpers/performance/performance-tester','afterWorkerHook','sendTestLog','@playwright/test/lib/common/configLoader.js','\x20in\x20attachments','runner/loadUtils.js','lIazf','beforeWorkerHook','process.js','error','MMEVy','wVfHJ','message','\x20bytes','../../../helpers/helper','Test\x20timeout\x20of','onTestBegin','NrxBg','performance-reporter.html','PLAYWRIGHT','FhzBj','compareVersions','QNxDd','includes','size','endsWith','qxXWB','getTime','findNestedKey','1181310ePWNwL','extname','Percentage\x20of\x20increased\x20time\x20is\x20','util','222200npAIjx','length','@playwright/test','setupBrowserDetails','ERROR','winstonLogger','GWCIb','dpvxG','toISOString','XKKCK','Arguments','prototype','EMyXP','JXXpa','getPlaywrightLibPath','3975SlCHOh','playwright/lib/transform/transform.js','lQadx','IJwzE','ygRXP','getForkProcessPath','match','XfZpA','tags','beforeTestHook','FfRSm','ydBVd','bwOFM','MDPnw','YIPUV','getConfigLoaderPath','VcJkx','vnWat','\x20in\x20arguments','stack','onBegin','substr','common','TEST_LOG','slice','uJEok','sendEventData','playwright','2479704KbBzFQ','ASxAI','iPGAs','fNBAJ','1.38.0','Error\x20in\x20sending\x20trace\x20file:\x20%s','ScvhE','Searching\x20for\x20key:\x20','../../../helpers/test-observability/constants','BICPt','createReadStream','getTestTags','66fmbyKw','@playwright/test/lib/transform/transform.js','sendTraceZip','MLMfG','HcvMS','cgyyi','onTestEnd','validateFilePath','oNncG','hfKYR','uxCBx','title','path','mjRvH','AdwQD','Kddyp','lib','1.42.0','Chmjs','AYYUV','sendSessionDetails','getLoadUtilsPath','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','stopAndGenerate','1355165dRCOBG','205331RCMVSL','TEST_ATTACHMENT','636XeIsQV','OyZGi','gqMKu','../../../helpers/logger','map','CIDrI','START_TIME','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','env','APHKr','cnVcX','uBamH','getFailureData','Trace\x20enabled','debug','xdhgy','JRIrZ','readdirSync','runner/projectUtils.js','Found\x20key:\x20','afterTestHook','playwright/lib/common/configLoader.js','startsWith','format','statSync','./test-details','dhWDK','wGrWN','performance-report-worker-'];a40_0x5058=function(){return _0x382be0;};return a40_0x5058();}(function(_0xc796bd,_0x3971b7){const _0x50f31e=a40_0x93c1,_0x4e78d0=_0xc796bd();while(!![]){try{const _0x468a14=parseInt(_0x50f31e(0x96))/0x1+parseInt(_0x50f31e(0xc2))/0x2+parseInt(_0x50f31e(0xd1))/0x3*(parseInt(_0x50f31e(0x114))/0x4)+parseInt(_0x50f31e(0x111))/0x5+parseInt(_0x50f31e(0xf9))/0x6*(parseInt(_0x50f31e(0x112))/0x7)+parseInt(_0x50f31e(0xed))/0x8+-parseInt(_0x50f31e(0xa0))/0x9*(parseInt(_0x50f31e(0xbe))/0xa);if(_0x468a14===_0x3971b7)break;else _0x4e78d0['push'](_0x4e78d0['shift']());}catch(_0x2710eb){_0x4e78d0['push'](_0x4e78d0['shift']());}}}(a40_0x5058,0x2d55f));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require(a40_0x53398a(0xa1)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a40_0x53398a(0xf5)),helper=require(a40_0x53398a(0xaf)),path=require(a40_0x53398a(0x105)),logger=require(a40_0x53398a(0x117))[a40_0x53398a(0xc7)],SessionHandler=require(a40_0x53398a(0x137)),TestDetails=require(a40_0x53398a(0x12d)),util=require(a40_0x53398a(0xc1)),getTagsFromTitle=_0x348ca3=>{const _0x57ab0f=a40_0x53398a;return _0x348ca3[_0x57ab0f(0xd7)](/@(\w+)/g)?.[_0x57ab0f(0x118)](_0x593fea=>_0x593fea[_0x57ab0f(0xe9)](0x1))||[];};function a40_0x93c1(_0x59702f,_0x39faa5){const _0x50587=a40_0x5058();return a40_0x93c1=function(_0x93c1fc,_0x3d62bc){_0x93c1fc=_0x93c1fc-0x96;let _0x24c547=_0x50587[_0x93c1fc];return _0x24c547;},a40_0x93c1(_0x59702f,_0x39faa5);}exports[a40_0x53398a(0xf8)]=_0x1f257b=>{const _0x347a16=a40_0x53398a,_0x39fff1={'qMCtm':function(_0x33cb11,_0x54e411){return _0x33cb11(_0x54e411);}};if(_0x1f257b[_0x347a16(0xd9)])return _0x1f257b[_0x347a16(0xd9)][_0x347a16(0x118)](_0x5642b5=>_0x5642b5[_0x347a16(0x12a)]('@')?_0x5642b5[_0x347a16(0xe6)](0x1):_0x5642b5);return _0x39fff1['qMCtm'](getTagsFromTitle,_0x1f257b[_0x347a16(0x104)]);},exports['calculatePerformance']=async()=>{const _0x4685b6=a40_0x53398a,_0x2e99d5={'DCYqF':function(_0x5714d5,_0x38d770){return _0x5714d5-_0x38d770;},'FfRSm':_0x4685b6(0xb3),'dhWDK':_0x4685b6(0xe5),'UFqqh':'endSession','uJEok':_0x4685b6(0xb1),'FhzBj':_0x4685b6(0xff),'LGINi':_0x4685b6(0x9b),'NrxBg':_0x4685b6(0x9a),'nMuzR':_0x4685b6(0xa8),'mkXbY':_0x4685b6(0xa2),'uxCBx':_0x4685b6(0xda),'momRJ':_0x4685b6(0x128),'MDPnw':'doo11ySync','bwOFM':_0x4685b6(0x134),'oNncG':_0x4685b6(0x10d),'CIDrI':_0x4685b6(0xc5),'ROYAQ':_0x4685b6(0x131),'wGrWN':_0x4685b6(0xa3),'wVfHJ':function(_0x506eb7,_0x3e4b7d){return _0x506eb7(_0x3e4b7d);},'VcJkx':function(_0x22e08f,_0x10b484){return _0x22e08f/_0x10b484;},'EMyXP':function(_0x298b9e,_0x104ac0){return _0x298b9e+_0x104ac0;},'APHKr':function(_0x5199e9,_0x2ef496){return _0x5199e9*_0x2ef496;}};if(!process[_0x4685b6(0x11c)][_0x4685b6(0x11a)])return;const _0x46cd3d=_0x2e99d5[_0x4685b6(0x13a)](new Date()[_0x4685b6(0xbc)](),new Date(process[_0x4685b6(0x11c)]['START_TIME'])[_0x4685b6(0xbc)]()),_0x119f7f=await PerformanceTester[_0x4685b6(0x110)](_0x2e99d5[_0x4685b6(0xdb)],[_0x2e99d5[_0x4685b6(0x12e)],_0x2e99d5['UFqqh'],_0x2e99d5[_0x4685b6(0xea)],_0x2e99d5[_0x4685b6(0xb5)],_0x2e99d5[_0x4685b6(0x136)],_0x2e99d5[_0x4685b6(0xb2)]]),_0x24f454=fs[_0x4685b6(0x125)]('.'),_0x5c2157=_0x24f454['filter'](_0x353bab=>_0x353bab[_0x4685b6(0x12a)](_0x4685b6(0x130))&&_0x353bab[_0x4685b6(0xba)]('.json')),_0x3f5871=await PerformanceTester['calculateTimesFromMultipleFiles'](_0x5c2157,[_0x2e99d5['nMuzR'],_0x2e99d5['mkXbY'],_0x2e99d5[_0x4685b6(0x103)],_0x2e99d5['momRJ'],_0x2e99d5[_0x4685b6(0xde)],_0x2e99d5[_0x4685b6(0xdd)],_0x2e99d5[_0x4685b6(0x101)],_0x2e99d5[_0x4685b6(0x119)],_0x2e99d5['ROYAQ'],_0x2e99d5[_0x4685b6(0x12f)]]);_0x2e99d5[_0x4685b6(0xac)](debug,_0x4685b6(0x9d)+_0x2e99d5[_0x4685b6(0xe1)](_0x46cd3d,0x3e8)+'\x20s'),_0x2e99d5[_0x4685b6(0xac)](debug,_0x4685b6(0x10f)+_0x2e99d5[_0x4685b6(0xce)](_0x3f5871,_0x119f7f)),_0x2e99d5['wVfHJ'](debug,_0x4685b6(0xc0)+_0x2e99d5[_0x4685b6(0x11d)](_0x2e99d5[_0x4685b6(0xe1)](_0x2e99d5['EMyXP'](_0x3f5871,_0x119f7f),_0x46cd3d),0x64));},exports['getTransformPath']=()=>{const _0x7d0818=a40_0x53398a,_0x3b25e3={'RzKcs':function(_0x551084,_0x4f059b){return _0x551084(_0x4f059b);},'XfZpA':function(_0xd46080,_0x578fb3){return _0xd46080>=_0x578fb3;},'Kddyp':_0x7d0818(0xf1),'RRkCl':_0x7d0818(0xd2),'xdhgy':'playwright','AYYUV':function(_0x51591b,_0x599694){return _0x51591b>=_0x599694;},'WphSJ':_0x7d0818(0x135),'ScvhE':_0x7d0818(0xfa),'GWCIb':_0x7d0818(0xc4),'RVhsr':_0x7d0818(0x13b)},_0x58decc=_0x3b25e3['RzKcs'](getFrameworkVersion,FRAMEWORKS[_0x7d0818(0xb4)]);if(_0x3b25e3[_0x7d0818(0xd8)](helper[_0x7d0818(0xb6)](_0x58decc,_0x3b25e3[_0x7d0818(0x108)]),0x0))return[_0x3b25e3['RRkCl'],_0x3b25e3[_0x7d0818(0x123)]];if(_0x3b25e3[_0x7d0818(0x10c)](helper['compareVersions'](_0x58decc,_0x3b25e3['WphSJ']),0x0))return[_0x3b25e3[_0x7d0818(0xf3)],_0x3b25e3[_0x7d0818(0xc8)]];return[_0x3b25e3['RVhsr'],_0x3b25e3['GWCIb']];},exports[a40_0x53398a(0xe0)]=()=>{const _0x429315=a40_0x53398a,_0x2837ab={'MMEVy':function(_0x4bf7e2,_0x3a5581){return _0x4bf7e2(_0x3a5581);},'GXifw':function(_0x17742c,_0x348c35){return _0x17742c>=_0x348c35;},'OyZGi':_0x429315(0xf1),'jQJYC':_0x429315(0x129),'qxXWB':_0x429315(0xec),'gqMKu':_0x429315(0xa4),'UBkUU':'@playwright/test'},_0x5e848a=_0x2837ab[_0x429315(0xab)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x2837ab[_0x429315(0x99)](helper['compareVersions'](_0x5e848a,_0x2837ab[_0x429315(0x115)]),0x0))return[_0x2837ab['jQJYC'],_0x2837ab[_0x429315(0xbb)]];return[_0x2837ab[_0x429315(0x116)],_0x2837ab['UBkUU']];},exports[a40_0x53398a(0x10e)]=()=>{const _0x26d3b1=a40_0x53398a,_0x2696b4={};_0x2696b4[_0x26d3b1(0x107)]=_0x26d3b1(0xa6);const _0x131843=_0x2696b4;return helper[_0x26d3b1(0xd0)](_0x131843[_0x26d3b1(0x107)]);},exports['getProjectUtilsPath']=()=>{const _0x12e856=a40_0x53398a,_0x3bc87f={};_0x3bc87f['YIPUV']=_0x12e856(0x126);const _0x3df64c=_0x3bc87f;return helper[_0x12e856(0xd0)](_0x3df64c[_0x12e856(0xdf)]);},exports[a40_0x53398a(0xd6)]=()=>{const _0x58442=a40_0x53398a,_0x118357={'JXXpa':function(_0x17487c,_0x13ac05){return _0x17487c(_0x13ac05);},'lIazf':function(_0xeed2b5,_0x1c7104){return _0xeed2b5>=_0x1c7104;},'JRIrZ':_0x58442(0xf1),'dpvxG':_0x58442(0x109),'iPGAs':_0x58442(0xe7),'fNBAJ':_0x58442(0xa9),'HcvMS':_0x58442(0x133)},_0x5a9b83=_0x118357[_0x58442(0xcf)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x118357[_0x58442(0xa7)](helper[_0x58442(0xb6)](_0x5a9b83,_0x118357[_0x58442(0x124)]),0x0))return path['join'](_0x118357[_0x58442(0xc9)],_0x118357[_0x58442(0xef)],_0x118357[_0x58442(0xf0)]);return path['join'](_0x118357[_0x58442(0xfd)],_0x118357[_0x58442(0xc9)],_0x118357['iPGAs'],_0x118357[_0x58442(0xf0)]);},exports[a40_0x53398a(0x120)]=(_0x399786,{test_run_uuid:_0x3052c7})=>{const _0x81eb71=a40_0x53398a,_0xd3788c={'QNxDd':_0x81eb71(0xc6),'cnVcX':_0x81eb71(0xe8),'xlYNL':function(_0x4ca401,_0x457bd6){return _0x4ca401<=_0x457bd6;},'cgyyi':function(_0x378b42,_0x2a9b03){return _0x378b42(_0x2a9b03);},'vNbku':_0x81eb71(0xb0),'mjRvH':function(_0xe12430,_0x4da5b0){return _0xe12430>=_0x4da5b0;},'VvMKs':_0x81eb71(0x10a),'ydBVd':function(_0x15050f,_0x473248){return _0x15050f>_0x473248;},'ygRXP':function(_0xafc979,_0x526d0a){return _0xafc979(_0x526d0a);},'ASxAI':function(_0x1e27da,_0x3a5431,_0x3f0b01){return _0x1e27da(_0x3a5431,_0x3f0b01);},'EnyHJ':_0x81eb71(0x133)};if(!_0x399786||_0xd3788c['xlYNL'](_0x399786['length'],0x0))return[];const _0x33e853=_0xd3788c['cgyyi'](removeAnsiColors,_0x399786[0x0][_0x81eb71(0xad)]);if(_0x33e853[_0x81eb71(0x12a)](_0xd3788c['vNbku'])){const _0x11b702=_0x399786[0x0],_0x23e88f=_0xd3788c[_0x81eb71(0xfe)](getFrameworkVersion,FRAMEWORKS[_0x81eb71(0xb4)]);if((!_0x11b702[_0x81eb71(0xe4)]||_0xd3788c[_0x81eb71(0x106)](_0x23e88f,_0xd3788c['VvMKs']))&&_0xd3788c[_0x81eb71(0xdc)](_0x399786[_0x81eb71(0xc3)],0x1))return{'failureData':[{'backtrace':[_0x33e853,_0xd3788c[_0x81eb71(0xd5)](removeAnsiColors,_0x399786[0x1]['stack'])]}],'logs':_0x399786['slice'](0x2)[_0x81eb71(0x118)](_0x54e068=>{const _0x56b065=_0x81eb71;return{'timestamp':new Date()[_0x56b065(0xca)](),'level':_0xd3788c[_0x56b065(0xb7)],'message':''+_0x54e068[_0x56b065(0xad)],'kind':_0xd3788c[_0x56b065(0x11e)],'http_response':{},'test_run_uuid':_0x3052c7};})};}return{'failureData':_0xd3788c[_0x81eb71(0xee)](failureData,_0x399786,_0xd3788c['EnyHJ']),'logs':[]};},exports['validateFilePath']=_0x3247a4=>{const _0x4d86db=a40_0x53398a,_0x522320={};_0x522320[_0x4d86db(0x11f)]=function(_0x171d7d,_0x348c98){return _0x171d7d!==_0x348c98;},_0x522320[_0x4d86db(0x9e)]='.zip',_0x522320[_0x4d86db(0x132)]=function(_0x24c724,_0x4e0d9e){return _0x24c724>_0x4e0d9e;};const _0x5785c3=_0x522320;if(_0x3247a4&&fs['existsSync'](_0x3247a4)){if(_0x5785c3[_0x4d86db(0x11f)](path[_0x4d86db(0xbf)](_0x3247a4)['toLowerCase'](),_0x5785c3[_0x4d86db(0x9e)]))return logger['error'](_0x4d86db(0x11b)+_0x3247a4),![];const _0x5de3cb=fs[_0x4d86db(0x12c)](_0x3247a4)[_0x4d86db(0xb9)];if(_0x5785c3[_0x4d86db(0x132)](_0x5de3cb,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x4d86db(0xaa)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x5de3cb+_0x4d86db(0xae)),![];return!![];}return![];},exports[a40_0x53398a(0xbd)]=(_0x1d3e5e,_0x407f39)=>{const _0x46d8e6=a40_0x53398a,_0x3513e6={};_0x3513e6[_0x46d8e6(0xfc)]=_0x46d8e6(0xcc);const _0x47636c=_0x3513e6;logger[_0x46d8e6(0x122)](_0x46d8e6(0xf4)+_0x407f39);if(_0x1d3e5e['attachments']){const _0xfe0507=_0x1d3e5e['attachments']['find'](_0x3c5a3a=>_0x3c5a3a['name']==='trace');if(_0xfe0507)return logger['debug'](_0x46d8e6(0x127)+_0x407f39+_0x46d8e6(0xa5)),_0xfe0507[_0x407f39];}else{if(Object[_0x46d8e6(0xcd)]['toString'][_0x46d8e6(0x97)](_0x1d3e5e)[_0x46d8e6(0xb8)](_0x47636c[_0x46d8e6(0xfc)]))for(const _0x1e69f3 of _0x1d3e5e){if(_0x1e69f3[_0x407f39])return logger[_0x46d8e6(0x122)]('Found\x20key:\x20'+_0x407f39+_0x46d8e6(0xe3)),_0x1e69f3[_0x407f39];}}return'';},exports[a40_0x53398a(0x139)]=async(_0x545aff,_0x577462)=>{const _0x54b565=a40_0x53398a,_0x2a49e6={};_0x2a49e6[_0x54b565(0xd4)]='LogCreated',_0x2a49e6[_0x54b565(0xf6)]=_0x54b565(0x113),_0x2a49e6[_0x54b565(0xe2)]=_0x54b565(0xfb),_0x2a49e6[_0x54b565(0xcb)]=_0x54b565(0xf2);const _0x505757=_0x2a49e6;try{const _0x208ea9={'event_type':_0x505757['IJwzE'],'logs':[{'data':_0x545aff?fs[_0x54b565(0xf7)](_0x545aff):'','test_run_uuid':_0x577462,'kind':_0x505757[_0x54b565(0xf6)],'fileName':_0x545aff?path[_0x54b565(0x138)](_0x545aff):''}]};return await SessionHandler[_0x54b565(0xeb)](_0x208ea9,0x0,_0x505757['vnWat']);}catch(_0x1d388b){logger[_0x54b565(0xaa)](util[_0x54b565(0x12b)](_0x505757['XKKCK'],_0x1d388b));}},exports[a40_0x53398a(0xfb)]=async(_0x3a7f53,_0x2650a9)=>{const _0x3fa7ae=a40_0x53398a,_0x1fbc22={};_0x1fbc22[_0x3fa7ae(0x10b)]='path',_0x1fbc22[_0x3fa7ae(0x102)]=_0x3fa7ae(0x121),_0x1fbc22['lQadx']=_0x3fa7ae(0xf2);const _0x3a83d0=_0x1fbc22;try{logger['debug'](_0x3fa7ae(0x9f)+_0x2650a9);const _0x2e6601=await exports[_0x3fa7ae(0xbd)](_0x3a7f53,_0x3a83d0[_0x3fa7ae(0x10b)]);if(exports[_0x3fa7ae(0x100)](_0x2e6601)){logger[_0x3fa7ae(0x122)](_0x3a83d0[_0x3fa7ae(0x102)]);const _0x2c76b7={};_0x2c76b7[_0x3fa7ae(0x98)]=_0x2650a9,_0x2c76b7[_0x3fa7ae(0x9c)]=_0x2e6601;const _0x4492f0=_0x2c76b7;TestDetails['addTraceFilePath'](_0x4492f0);};}catch(_0x1ffa93){logger[_0x3fa7ae(0xaa)](util[_0x3fa7ae(0x12b)](_0x3a83d0[_0x3fa7ae(0xd3)],_0x1ffa93));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41_0x319577=a41_0x1784;function a41_0x1784(_0x4a7d09,_0x38d075){const _0x1a3b6a=a41_0x1a3b();return a41_0x1784=function(_0x1784d2,_0x3fd5d3){_0x1784d2=_0x1784d2-0x1a6;let _0x16f373=_0x1a3b6a[_0x1784d2];return _0x16f373;},a41_0x1784(_0x4a7d09,_0x38d075);}(function(_0x2357bc,_0x1ea178){const _0x1f0a8b=a41_0x1784,_0x4c1856=_0x2357bc();while(!![]){try{const _0x32be52=-parseInt(_0x1f0a8b(0x1ef))/0x1*(parseInt(_0x1f0a8b(0x232))/0x2)+parseInt(_0x1f0a8b(0x213))/0x3+-parseInt(_0x1f0a8b(0x244))/0x4*(-parseInt(_0x1f0a8b(0x1b3))/0x5)+-parseInt(_0x1f0a8b(0x1ac))/0x6*(-parseInt(_0x1f0a8b(0x1e1))/0x7)+parseInt(_0x1f0a8b(0x228))/0x8+parseInt(_0x1f0a8b(0x258))/0x9+parseInt(_0x1f0a8b(0x287))/0xa*(-parseInt(_0x1f0a8b(0x26a))/0xb);if(_0x32be52===_0x1ea178)break;else _0x4c1856['push'](_0x4c1856['shift']());}catch(_0x47451d){_0x4c1856['push'](_0x4c1856['shift']());}}}(a41_0x1a3b,0x363dc));const RequestQueueHandler=require(a41_0x319577(0x241)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x319577(0x1b5)),{v4:uuidv4}=require('uuid'),path=require(a41_0x319577(0x24c)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require('../../../helpers/test-observability/utils'),{getGitMetaData,setLogLevel}=require(a41_0x319577(0x24f)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a41_0x319577(0x253)),{o11yClassErrorHandler}=require(a41_0x319577(0x29e)),PerformanceTester=require(a41_0x319577(0x221)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a41_0x319577(0x1d1)),TestHubHandler=require(a41_0x319577(0x1d6)),helper=require(a41_0x319577(0x24f));function a41_0x1a3b(){const _0x4f1e12=['TifGr','env','\x20-\x20','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','parent','zlGGh','NkuxS','startsWith','PLAYWRIGHT_TRACE_LOGS','176prhyRJ','czayS','pending','shutdown','\x20is\x20triggered','mkNXu','bHYwM','attachments','oBWaR','ZKvXs','format','object','name','.txt','getStepsAndLogs','kzNCr','YoqgR','base64','expanded','getTestUUID','HookRunFinished','_tags','startMonitoring','pYVdq','forEach','printsToStdio','AAxwr','getHookType','inspect','4|5|3|2|1|6|0','screenshot','getCustomRerunParam','eQNWv','MEoyA','EboAO','GMmHU','1275039tACfek','onTestEnd','rXLiz','hook','RSmLr','getTestRunIdentifier','xziaM','adGIA','yZCby','event_type','basename','QXRTp','length','MaSlv','../../../helpers/performance/performance-tester','bnHjV','aPGIr','title','sendSessionDetails','pbftX','javascript','471264qybhBy','reportLogs','uuid','NYxLU','Sending\x20session\x20details\x20for\x20','mtime','qgXYp','\x20for\x20','OyasF','QxGJA','1866iazuEW','sendHookRunEvent','backtrace','filter','Test\x20Started\x20with\x20unique\x20id\x20','onBegin','hqcCE','setStepIdentifier','WMlec','IZmXX','_testHooksMap','failure','aNRUA','uITAy','eFoZB','../../../helpers/test-observability/requestQueueHandler','JmrSQ','coqzc','502828KIOIxK','yWTTU','tujXg','splice','errors','XdJKC','fpOBe','message','path','trace_','_gitConfigured','../../../helpers/helper','location','KIfqd','jGalt','util','retry_of','cmNbm','beforeEach\x20hook','GLIYp','1968219FHKTsY','.browserstack','HQpkz','BROWSERSTACK_O11Y_PERF_MEASUREMENT','beforeAll\x20hook','VlKrO','ABdUp','atXFk','depth','Hook\x20Started\x20with\x20unique\x20id\x20','afterAll\x20hook','ASCpw','cwd','_tests','category','bxVRe','indexOf','result','2662CSjcTO','MvVPm','HbqEo','sendTestRunEvent','afterEach\x20hook','_gitConfigPath','logLevel','\x20is\x20triggered\x20for\x20test\x20','split','meta','ZRCoY','pxayR','file','AFTER_EACH','wXnNj','baWNU','LogCreated','passed','toString','JmMJW','qIHix','utf8','csQrs','XbquT','toISOString','cdwIz','BRRVr','OlxVl','unknown','30890YBcqjz','err','mkdirSync','VGVnw','bmPKT','TEST_ATTACHMENT','reverse','TEST_STEP','fehlo','retry','statSync','getTime','yMMLm','TestRunStarted','MyReporter','failed','BUjEz','PLAYWRIGHT','finishedAt','steps','test','status','KiHTX','../../../helpers/test-observability/error-handler','uploadEventData','hook_run','configureGit','yJUqC','tWdwF','startedAt','HookRunStarted','readFileSync','BROWSERSTACK_LOG_LEVEL','join','addTestUIDAndReportLog','iSLPy','test_run_uuid','existsSync','XxVcv','getHierarchy','HKpMw','skipped','map','_bs_hookIdentifier','6258idXNzN','push','ZygUj','BEFORE_ALL','BROWSERSTACK_TEST_RUN_ID','needToReportStep','endSession','5lqnJGK','YLzYG','./pwUtils','hblmx','mSHbs','udDEo','GOZBh','duration','cYyYc','AFTER_ALL','Expected\x20to\x20fail,\x20but\x20passed.','StgLV','Trace\x20file\x20found\x20for\x20test:\x20','tAVrD','kDoab','ylBeN','getTestIdentifier','error','startTime','XwxHA','dHyFo','getInstance','onTestBegin','exports','jKhQY','relative','czdxv','smkYq','TEST_SCREENSHOT','logs','../../../helpers/testhub/utils','YNhRN','timedOut','ImwJE','CFYYE','../../../helpers/testhub/testhubHandler','\x20at\x20','Error\x20in\x20calculating\x20performance:\x20','failure_reason','getScope','failure_type','wTEKf','test_run','ppaua','TestRunFinished','ihlWO','2051CvUCYk','getStepIdentifier','UZcgw','PIJnA','onStepEnd'];a41_0x1a3b=function(){return _0x4f1e12;};return a41_0x1a3b();}class MyReporter{constructor(_0x2b9e52){const _0x5d6cb3=a41_0x319577,_0x88ad3d={'CFYYE':_0x5d6cb3(0x20c),'OlxVl':function(_0x24360c,_0xb8b8dc,_0x28ebcb,_0x17b9a3){return _0x24360c(_0xb8b8dc,_0x28ebcb,_0x17b9a3);},'WpbLo':'performance-report-reporter.json'},_0x2b8c40=_0x88ad3d[_0x5d6cb3(0x1d5)][_0x5d6cb3(0x272)]('|');let _0x4287af=0x0;while(!![]){switch(_0x2b8c40[_0x4287af++]){case'0':this[_0x5d6cb3(0x26f)]=null;continue;case'1':this['options']=_0x2b9e52;continue;case'2':this[_0x5d6cb3(0x23c)]={};continue;case'3':this[_0x5d6cb3(0x265)]={};continue;case'4':const _0x9b71e7={};_0x9b71e7[_0x5d6cb3(0x270)]=process[_0x5d6cb3(0x1e7)][_0x5d6cb3(0x2a7)],_0x88ad3d[_0x5d6cb3(0x285)](setLogLevel,_0x9b71e7,new Map(),new Map());continue;case'5':process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x5d6cb3(0x205)](_0x88ad3d['WpbLo']),process['env']['START_TIME']=new Date()['toISOString']());continue;case'6':this[_0x5d6cb3(0x24e)]=![];continue;}break;}}async['onBegin'](){const _0x4fbdca=a41_0x319577;TestDetails['setup'](),await this[_0x4fbdca(0x2a1)]();}async[a41_0x319577(0x1c9)](_0x3784d9,_0x5bd4ae){const _0x33b6d4=a41_0x319577,_0x2ff364={'ihlWO':function(_0x128908,_0x241bf5){return _0x128908(_0x241bf5);},'SuMLE':_0x33b6d4(0x294)},_0x3a7856=this[_0x33b6d4(0x1c3)](_0x3784d9),_0x1b528d=TestDetails[_0x33b6d4(0x202)](this[_0x33b6d4(0x218)](_0x3784d9,_0x5bd4ae[_0x33b6d4(0x290)]));process[_0x33b6d4(0x1e7)][_0x33b6d4(0x1b0)]=_0x1b528d;const _0x1ff523={};_0x1ff523[_0x33b6d4(0x22a)]=_0x1b528d,_0x1ff523[_0x33b6d4(0x2a4)]=_0x5bd4ae[_0x33b6d4(0x1c5)],this['_tests'][_0x3a7856]=_0x1ff523,_0x2ff364[_0x33b6d4(0x1e0)](trace,_0x33b6d4(0x236)+_0x3a7856),await this['sendTestRunEvent'](_0x3784d9,_0x2ff364['SuMLE'],_0x5bd4ae);}async['onStepBegin'](_0x28d46f,_0x349fef,_0x2da143){const _0x5e19=a41_0x319577,_0x3737a8={'iSLPy':function(_0x47fa88,_0x1126d4){return _0x47fa88(_0x1126d4);},'YoqgR':_0x5e19(0x2a5)};if(!this[_0x5e19(0x1b1)](_0x2da143,_0x28d46f))return;const _0x934d3c=this[_0x5e19(0x239)](_0x28d46f,_0x2da143);this['_tests'][_0x934d3c]={'uuid':TestDetails[_0x5e19(0x202)](_0x934d3c),'startedAt':_0x2da143[_0x5e19(0x1c5)]['toISOString']()};const _0x22f88a=this['getTestRunIdentifier'](_0x28d46f,_0x349fef[_0x5e19(0x290)]);!this[_0x5e19(0x23c)][_0x22f88a]&&(this[_0x5e19(0x23c)][_0x22f88a]=[]),this['_testHooksMap'][_0x22f88a][_0x5e19(0x1ad)](this[_0x5e19(0x265)][_0x934d3c][_0x5e19(0x22a)]),_0x3737a8[_0x5e19(0x2aa)](trace,_0x5e19(0x261)+_0x934d3c+_0x5e19(0x271)+_0x22f88a),await this[_0x5e19(0x233)](_0x28d46f,_0x2da143,_0x3737a8[_0x5e19(0x1ff)],_0x349fef);}async[a41_0x319577(0x1e5)](_0x173ec3,_0x4ee304,_0x2c2d2e){const _0x2d7a9d=a41_0x319577,_0x4bcc6e={'MaSlv':function(_0x36d63f,_0x5adc4c){return _0x36d63f+_0x5adc4c;},'fehlo':function(_0x2f067e,_0x335b2f){return _0x2f067e(_0x335b2f);},'YLzYG':_0x2d7a9d(0x203)};if(!this['needToReportStep'](_0x2c2d2e,_0x173ec3))return;const _0x1c851d=this['getStepIdentifier'](_0x173ec3,_0x2c2d2e);this[_0x2d7a9d(0x265)][_0x1c851d]={...this[_0x2d7a9d(0x265)][_0x1c851d]||{},'finishedAt':new Date(_0x4bcc6e[_0x2d7a9d(0x220)](_0x2c2d2e[_0x2d7a9d(0x1c5)][_0x2d7a9d(0x292)](),_0x2c2d2e[_0x2d7a9d(0x1ba)]))},_0x4bcc6e[_0x2d7a9d(0x28f)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x1c851d+_0x2d7a9d(0x1f3)),await this[_0x2d7a9d(0x233)](_0x173ec3,_0x2c2d2e,_0x4bcc6e[_0x2d7a9d(0x1b4)],_0x4ee304);}async[a41_0x319577(0x214)](_0x50362f,_0x38a9ee){const _0x1c879d=a41_0x319577,_0x374ef8={'pOzRz':function(_0x12b51e,_0x1f948f){return _0x12b51e===_0x1f948f;},'WMlec':_0x1c879d(0x20d),'pYVdq':_0x1c879d(0x1cf),'ABdUp':_0x1c879d(0x200),'aNRUA':function(_0x7d8b8e,_0x5e25a7){return _0x7d8b8e(_0x5e25a7);},'mkNXu':_0x1c879d(0x1df),'hblmx':function(_0x4d5fee,_0x4c50f2){return _0x4d5fee(_0x4c50f2);},'ZygUj':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','QxGJA':function(_0x2e1c99,_0xf9f7f6){return _0x2e1c99(_0xf9f7f6);},'kzNCr':function(_0x3957e3,_0x465a7c,_0x132b7f){return _0x3957e3(_0x465a7c,_0x132b7f);},'yMMLm':function(_0x26a282,_0x376980){return _0x26a282(_0x376980);},'tAVrD':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','tWdwF':function(_0x23537c,_0x4525f7){return _0x23537c>_0x4525f7;}},_0x2b1e81=this['getTestIdentifier'](_0x50362f),_0x26b3ea=TestDetails[_0x1c879d(0x202)](this[_0x1c879d(0x218)](_0x50362f,_0x38a9ee[_0x1c879d(0x290)]));this[_0x1c879d(0x265)][_0x2b1e81]={...this['_tests'][_0x2b1e81]||{},'finishedAt':new Date()[_0x1c879d(0x282)]()},_0x374ef8[_0x1c879d(0x23e)](trace,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x2b1e81);try{await this[_0x1c879d(0x26d)](_0x50362f,_0x374ef8[_0x1c879d(0x1f4)],_0x38a9ee);}catch(_0x395c19){_0x374ef8[_0x1c879d(0x1b6)](debug,util[_0x1c879d(0x1f9)](_0x374ef8[_0x1c879d(0x1ae)],_0x395c19[_0x1c879d(0x27c)]()));}try{_0x374ef8[_0x1c879d(0x231)](debug,_0x1c879d(0x1e9)+_0x26b3ea),await _0x374ef8[_0x1c879d(0x1fe)](sendTraceZip,_0x38a9ee,_0x26b3ea);}catch(_0x3faf53){_0x374ef8[_0x1c879d(0x293)](debug,util['format'](_0x374ef8[_0x1c879d(0x1c0)],_0x3faf53[_0x1c879d(0x27c)]()));}const _0x3b6936=[];_0x38a9ee[_0x1c879d(0x1f6)]&&_0x38a9ee[_0x1c879d(0x1f6)][_0x1c879d(0x1aa)](_0x111a0b=>{const _0x3e11fd=_0x1c879d;if(_0x374ef8['pOzRz'](_0x111a0b[_0x3e11fd(0x1fb)],_0x374ef8[_0x3e11fd(0x23a)])){if(!_0x111a0b['path']||!fs[_0x3e11fd(0x2ac)](_0x111a0b['path']))return;_0x3b6936[_0x3e11fd(0x1ad)]({'test_run_uuid':_0x26b3ea,'timestamp':fs['statSync'](_0x111a0b[_0x3e11fd(0x24c)])[_0x3e11fd(0x22d)],'kind':_0x374ef8[_0x3e11fd(0x206)],'message':fs[_0x3e11fd(0x2a6)](_0x111a0b[_0x3e11fd(0x24c)],{'encoding':_0x374ef8[_0x3e11fd(0x25e)]})});}}),_0x374ef8[_0x1c879d(0x2a3)](_0x3b6936[_0x1c879d(0x21f)],0x0)&&await MyReporter[_0x1c879d(0x229)](_0x3b6936);}async[a41_0x319577(0x1b2)](){const _0x4bb6e6=a41_0x319577;await RequestQueueHandler[_0x4bb6e6(0x1c8)]()[_0x4bb6e6(0x1f2)]();}async['onEnd'](_0x597916){const _0x3bf169=a41_0x319577,_0x3f1e65={'VlKrO':function(_0x4f3c1d){return _0x4f3c1d();},'XbquT':function(_0x56e228,_0x360217){return _0x56e228(_0x360217);}};await this[_0x3bf169(0x1b2)]();try{process['env'][_0x3bf169(0x25b)]&&await _0x3f1e65[_0x3bf169(0x25d)](calculatePerformance);}catch(_0x43ead4){_0x3f1e65[_0x3bf169(0x281)](debug,_0x3bf169(0x1d8)+_0x43ead4[_0x3bf169(0x27c)]());}}static async[a41_0x319577(0x2a9)](_0x4c0892,_0xd78c6c){const _0x2f9944=a41_0x319577;_0xd78c6c[_0x2f9944(0x2ab)]=TestDetails[_0x2f9944(0x202)](_0x4c0892),await this['reportLogs']([_0xd78c6c]);}static async[a41_0x319577(0x229)](_0x4bfb80){const _0x415e36=a41_0x319577,_0x381b0c={};_0x381b0c['bmPKT']=_0x415e36(0x27a);const _0x30461f=_0x381b0c,_0x24e04b={};_0x24e04b[_0x415e36(0x21c)]=_0x30461f[_0x415e36(0x28b)],_0x24e04b[_0x415e36(0x1d0)]=_0x4bfb80,await SessionHandler['uploadEventData'](_0x24e04b);}async[a41_0x319577(0x233)](_0x2a9954,_0x50d7d2,_0x1d4cef,_0x344991){const _0xce8c9b=a41_0x319577,_0x1b24ed={'ylBeN':_0xce8c9b(0x216),'bnHjV':_0xce8c9b(0x227),'yZCby':_0xce8c9b(0x1f1),'UZcgw':function(_0x55a5e6,_0x3880c9){return _0x55a5e6>=_0x3880c9;},'Bbumq':function(_0x1e846e,_0x3ce787){return _0x1e846e===_0x3ce787;},'XdJKC':_0xce8c9b(0x203),'RExHK':function(_0x1cabfc,_0xccc966){return _0x1cabfc>_0xccc966;},'PIJnA':_0xce8c9b(0x296),'EboAO':function(_0x44e382,_0x20edf6){return _0x44e382(_0x20edf6);},'uITAy':function(_0x2e7968,_0x2efe94,_0x1119a2){return _0x2e7968(_0x2efe94,_0x1119a2);},'BUjEz':_0xce8c9b(0x288),'pLZUa':function(_0x1c34e4,_0x4eaf4c){return _0x1c34e4===_0x4eaf4c;},'ZRCoY':_0xce8c9b(0x27b)},_0x1223cb=this[_0xce8c9b(0x1e2)](_0x2a9954,_0x50d7d2),_0x5e4339=this['_tests'][_0x1223cb],_0x11711f={'uuid':_0x5e4339[_0xce8c9b(0x22a)],'type':_0x1b24ed[_0xce8c9b(0x1c2)],'hook_type':this[_0xce8c9b(0x20a)](_0x50d7d2[_0xce8c9b(0x224)]),'name':_0x50d7d2[_0xce8c9b(0x224)],'scope':this[_0xce8c9b(0x1da)](_0x50d7d2),'scopes':this[_0xce8c9b(0x1a7)](_0x2a9954),'body':{'lang':_0x1b24ed[_0xce8c9b(0x222)],'code':null},'identifier':_0x1223cb,'file_name':path[_0xce8c9b(0x1cc)](process[_0xce8c9b(0x264)](),_0x2a9954[_0xce8c9b(0x250)][_0xce8c9b(0x276)]),'location':path[_0xce8c9b(0x1cc)](process[_0xce8c9b(0x264)](),_0x2a9954[_0xce8c9b(0x250)][_0xce8c9b(0x276)]),'result':_0x1b24ed[_0xce8c9b(0x21b)],'duration_in_ms':_0x1b24ed[_0xce8c9b(0x1e3)](_0x50d7d2['duration'],0x0)?_0x50d7d2['duration']:undefined,'vc_filepath':this[_0xce8c9b(0x26f)]&&_0x2a9954[_0xce8c9b(0x250)][_0xce8c9b(0x276)]?path['relative'](this[_0xce8c9b(0x26f)],_0x2a9954['location'][_0xce8c9b(0x276)]):undefined,'started_at':_0x5e4339[_0xce8c9b(0x2a4)],'finished_at':_0x5e4339[_0xce8c9b(0x299)],'framework':FRAMEWORKS[_0xce8c9b(0x298)]};if(_0x1b24ed['Bbumq'](_0x1d4cef,_0x1b24ed[_0xce8c9b(0x249)])){const {steps:_0x208e65,logs:_0x3e737f}=this['getStepsAndLogs'](_0x50d7d2[_0xce8c9b(0x29a)],_0x5e4339[_0xce8c9b(0x22a)],_0x1b24ed[_0xce8c9b(0x1c2)]);_0x3e737f&&_0x1b24ed['RExHK'](_0x3e737f[_0xce8c9b(0x21f)],0x0)&&await MyReporter[_0xce8c9b(0x229)](_0x3e737f);const _0x467192={};_0x467192[_0xce8c9b(0x29a)]=_0x208e65,_0x11711f[_0xce8c9b(0x273)]=_0x467192;if(_0x50d7d2[_0xce8c9b(0x1c4)]){_0x11711f[_0xce8c9b(0x269)]=_0x1b24ed[_0xce8c9b(0x1e4)],_0x11711f[_0xce8c9b(0x1d9)]=_0x1b24ed[_0xce8c9b(0x211)](removeAnsiColors,_0x50d7d2[_0xce8c9b(0x1c4)]['message']),_0x11711f[_0xce8c9b(0x1db)]=_0x1b24ed[_0xce8c9b(0x211)](getFailureType,_0x50d7d2[_0xce8c9b(0x1c4)][_0xce8c9b(0x24b)]);const _0x4c93ff=_0x1b24ed[_0xce8c9b(0x23f)](failureData,_0x50d7d2['error'],_0x1b24ed[_0xce8c9b(0x297)]);if(_0x4c93ff&&_0x1b24ed['pLZUa'](_0x4c93ff[_0xce8c9b(0x21f)],0x0)){const _0x3fa751={};_0x3fa751[_0xce8c9b(0x234)]=[_0x11711f[_0xce8c9b(0x1d9)]],_0x3fa751['expanded']=[],_0x4c93ff[_0xce8c9b(0x1ad)](_0x3fa751);}_0x11711f[_0xce8c9b(0x23d)]=_0x4c93ff;}else _0x11711f[_0xce8c9b(0x269)]=_0x1b24ed[_0xce8c9b(0x274)];}const _0x3e1582={};_0x3e1582[_0xce8c9b(0x21c)]=_0x1d4cef,_0x3e1582[_0xce8c9b(0x2a0)]=_0x11711f;const _0x1b7376=_0x3e1582;await SessionHandler[_0xce8c9b(0x29f)](_0x1b7376);}['getStepsAndLogs'](_0x417ac5,_0x42f1dd,_0x4a0640){const _0x4b70aa=a41_0x319577,_0x501aa7={'cdwIz':function(_0x416c34,_0x3b000a){return _0x416c34===_0x3b000a;},'osWAE':_0x4b70aa(0x216),'ZKvXs':function(_0x5b96c9,_0x153d02){return _0x5b96c9===_0x153d02;},'KiHTX':'After\x20Hooks','pbftX':'Before\x20Hooks','aPGIr':function(_0x403113,_0x457d07){return _0x403113===_0x457d07;},'wXnNj':'test','YNhRN':_0x4b70aa(0x2ab),'smkYq':'hook_run_uuid','eUvPJ':_0x4b70aa(0x28e),'pxayR':_0x4b70aa(0x296),'VGVnw':'passed','HnwVK':function(_0x3bd8fa,_0x37c66b){return _0x3bd8fa(_0x37c66b);},'qIHix':function(_0x1b965f,_0x43b437){return _0x1b965f(_0x43b437);},'cmNbm':function(_0xafdd92){return _0xafdd92();},'QXRTp':function(_0x34eeb6,_0x553a1e){return _0x34eeb6(_0x553a1e);},'HbqEo':function(_0x1b41ae,_0x16cc6f,_0x40a6e3){return _0x1b41ae(_0x16cc6f,_0x40a6e3);},'yJUqC':function(_0x303b2f,_0x16b582,_0x2972ed){return _0x303b2f(_0x16b582,_0x2972ed);}},_0x3169e3=[],_0x1f0bc5=[],_0x2a3c01=_0x417ac5[_0x4b70aa(0x235)](_0x282548=>{const _0x30894e=_0x4b70aa;if(_0x501aa7['cdwIz'](_0x282548['category'],_0x501aa7['osWAE'])&&(_0x501aa7[_0x30894e(0x1f8)](_0x282548[_0x30894e(0x224)],_0x501aa7[_0x30894e(0x29d)])||_0x501aa7['ZKvXs'](_0x282548[_0x30894e(0x224)],_0x501aa7[_0x30894e(0x226)])))return![];return!![];}),_0x59465b=(_0x18fd27,_0x48742b=![])=>{const _0x5cc75b=_0x4b70aa;if(_0x501aa7[_0x5cc75b(0x283)](_0x18fd27[_0x5cc75b(0x29a)][_0x5cc75b(0x21f)],0x0)){const _0x328d99=_0x501aa7[_0x5cc75b(0x223)](_0x4a0640,_0x501aa7[_0x5cc75b(0x278)])?_0x501aa7[_0x5cc75b(0x1d2)]:_0x501aa7[_0x5cc75b(0x1ce)];_0x1f0bc5[_0x5cc75b(0x1ad)]({'kind':_0x501aa7['eUvPJ'],[_0x328d99]:_0x42f1dd,'message':_0x18fd27['title'],'timestamp':_0x18fd27[_0x5cc75b(0x1c5)][_0x5cc75b(0x282)](),'level':_0x18fd27['error']?_0x501aa7[_0x5cc75b(0x275)]:_0x501aa7[_0x5cc75b(0x28a)],'duration':_0x18fd27[_0x5cc75b(0x1ba)],'failure':_0x18fd27[_0x5cc75b(0x1c4)]&&_0x18fd27[_0x5cc75b(0x1c4)][_0x5cc75b(0x24b)]&&_0x501aa7['HnwVK'](removeAnsiColors,_0x18fd27['error'][_0x5cc75b(0x24b)]),'failure_type':_0x501aa7[_0x5cc75b(0x27e)](getFailureType,_0x18fd27['error']&&_0x18fd27['error'][_0x5cc75b(0x24b)])});}else{!_0x48742b&&_0x3169e3[_0x5cc75b(0x1ad)]({'id':_0x501aa7[_0x5cc75b(0x255)](uuidv4),'text':_0x18fd27[_0x5cc75b(0x224)],'keyword':undefined,'started_at':_0x18fd27[_0x5cc75b(0x1c5)]['toISOString'](),'duration':_0x18fd27[_0x5cc75b(0x1ba)],'result':_0x18fd27['error']?_0x501aa7[_0x5cc75b(0x275)]:_0x501aa7[_0x5cc75b(0x28a)],'failure':_0x18fd27[_0x5cc75b(0x1c4)]&&_0x18fd27[_0x5cc75b(0x1c4)][_0x5cc75b(0x24b)]&&_0x501aa7['HnwVK'](removeAnsiColors,_0x18fd27[_0x5cc75b(0x1c4)]['message']),'failure_type':_0x501aa7[_0x5cc75b(0x21e)](getFailureType,_0x18fd27['error']&&_0x18fd27[_0x5cc75b(0x1c4)][_0x5cc75b(0x24b)])});for(const _0x2d2bf5 of _0x18fd27['steps']){_0x501aa7[_0x5cc75b(0x26c)](_0x59465b,_0x2d2bf5,!![]);}}};for(const _0x16ff9e of _0x2a3c01){_0x501aa7[_0x4b70aa(0x2a2)](_0x59465b,_0x16ff9e,![]);}const _0x1cf93d={};return _0x1cf93d[_0x4b70aa(0x29a)]=_0x3169e3,_0x1cf93d['logs']=_0x1f0bc5,_0x1cf93d;}async['sendTestRunEvent'](_0x5d4580,_0x2e2057,_0x3da7da){const _0x39e6df=a41_0x319577,_0x338a92={'dHyFo':function(_0x3b9ffa,_0x93f5ef){return _0x3b9ffa(_0x93f5ef);},'kDoab':_0x39e6df(0x28c),'XwxHA':_0x39e6df(0x1ee),'atXFk':_0x39e6df(0x29b),'HKpMw':'javascript','GLIYp':'pending','mSHbs':function(_0x43ea74,_0x145f2c,_0x5a0c1f,_0x340a50,_0x447b01){return _0x43ea74(_0x145f2c,_0x5a0c1f,_0x340a50,_0x447b01);},'coqzc':function(_0x34a91d,_0x21c514){return _0x34a91d>_0x21c514;},'czayS':function(_0x8e4cc9,_0x31cafa){return _0x8e4cc9-_0x31cafa;},'zlGGh':function(_0x2b222e,_0x5a638b){return _0x2b222e===_0x5a638b;},'BRRVr':'TestRunFinished','adGIA':function(_0x2ee957,_0x527aaf){return _0x2ee957===_0x527aaf;},'jGalt':function(_0x583cf9,_0x4d442b){return _0x583cf9===_0x4d442b;},'HQpkz':_0x39e6df(0x1a9),'baWNU':_0x39e6df(0x27b),'ppaua':_0x39e6df(0x296),'GMmHU':function(_0x2ded39,_0x4c963f){return _0x2ded39===_0x4c963f;},'tujXg':_0x39e6df(0x1d3),'RSmLr':_0x39e6df(0x1bd),'TifGr':function(_0x3831f9,_0x5638eb,_0x64ac5c){return _0x3831f9(_0x5638eb,_0x64ac5c);},'MvVPm':function(_0x10a0c4,_0x13508b){return _0x10a0c4===_0x13508b;},'XxVcv':function(_0x5ccd10,_0x2b9bc5){return _0x5ccd10>_0x2b9bc5;},'OEmnB':'path','bxVRe':function(_0x2c3b27,_0x1d19ba){return _0x2c3b27(_0x1d19ba);},'mkvdL':_0x39e6df(0x259),'AAxwr':_0x39e6df(0x27f),'KIfqd':function(_0x1d401f,_0x2f926d){return _0x1d401f(_0x2f926d);},'FSgtw':function(_0x27db9d,_0x28a892){return _0x27db9d!==_0x28a892;}},_0x454c8d=this[_0x39e6df(0x1c3)](_0x5d4580),_0x4d1f34=this['getScope'](_0x5d4580),_0x372f74=this['_tests'][_0x454c8d],_0x4755a4=path[_0x39e6df(0x1cc)](process[_0x39e6df(0x264)](),_0x5d4580[_0x39e6df(0x250)]['file']);await this[_0x39e6df(0x2a1)]();const _0x92a60a={'uuid':_0x372f74['uuid'],'type':_0x338a92[_0x39e6df(0x25f)],'name':_0x5d4580['title'],'body':{'lang':_0x338a92[_0x39e6df(0x1a8)],'code':_0x5d4580['fn'][_0x39e6df(0x27c)]()},'scope':_0x4d1f34,'scopes':this['getHierarchy'](_0x5d4580),'identifier':_0x454c8d,'file_name':_0x4755a4,'location':_0x4755a4,'result':_0x338a92[_0x39e6df(0x257)],'duration_in_ms':_0x3da7da&&_0x3da7da[_0x39e6df(0x1ba)]?_0x3da7da[_0x39e6df(0x1ba)]:null,'vc_filepath':this[_0x39e6df(0x26f)]&&_0x5d4580['location']['file']?path[_0x39e6df(0x1cc)](this['_gitConfigPath'],_0x5d4580[_0x39e6df(0x250)]['file']):undefined,'started_at':_0x372f74[_0x39e6df(0x2a4)],'finished_at':_0x372f74['finishedAt'],'framework':FRAMEWORKS[_0x39e6df(0x298)],'customRerunParam':{'rerun_name':this[_0x39e6df(0x20e)](_0x5d4580)},'tags':_0x338a92[_0x39e6df(0x1c7)](getTestTags,_0x5d4580)};_0x338a92[_0x39e6df(0x1b7)](appendTesthubParams,_0x92a60a,_0x2e2057,_0x5d4580,FRAMEWORKS[_0x39e6df(0x298)]);_0x3da7da&&_0x338a92[_0x39e6df(0x243)](_0x3da7da[_0x39e6df(0x290)],0x0)&&(_0x92a60a[_0x39e6df(0x254)]=TestDetails[_0x39e6df(0x202)](this[_0x39e6df(0x218)](_0x5d4580,_0x338a92[_0x39e6df(0x1f0)](_0x3da7da[_0x39e6df(0x290)],0x1))));if(_0x338a92['zlGGh'](_0x2e2057,_0x338a92[_0x39e6df(0x284)])){_0x92a60a[_0x39e6df(0x269)]=_0x3da7da[_0x39e6df(0x29c)];if(_0x338a92[_0x39e6df(0x21a)](_0x3da7da[_0x39e6df(0x29c)],_0x5d4580['expectedStatus']))_0x92a60a['result']=_0x338a92[_0x39e6df(0x252)](_0x3da7da['status'],_0x338a92[_0x39e6df(0x25a)])?_0x338a92[_0x39e6df(0x25a)]:_0x338a92['baWNU'];else{(_0x338a92[_0x39e6df(0x1eb)](_0x92a60a['result'],_0x338a92[_0x39e6df(0x279)])||_0x338a92['zlGGh'](_0x92a60a[_0x39e6df(0x269)],_0x338a92[_0x39e6df(0x1de)])||_0x338a92[_0x39e6df(0x212)](_0x92a60a[_0x39e6df(0x269)],_0x338a92[_0x39e6df(0x246)]))&&(_0x92a60a['result']=_0x338a92[_0x39e6df(0x1de)]);if(_0x338a92[_0x39e6df(0x21a)](_0x3da7da[_0x39e6df(0x29c)],_0x338a92[_0x39e6df(0x279)])&&_0x338a92[_0x39e6df(0x212)](_0x5d4580['expectedStatus'],_0x338a92[_0x39e6df(0x1de)])){const _0xe2def4={};_0xe2def4['message']=_0x338a92[_0x39e6df(0x217)],_0xe2def4['stack']=_0x338a92[_0x39e6df(0x217)],_0x3da7da[_0x39e6df(0x1c4)]=_0xe2def4,_0x3da7da[_0x39e6df(0x248)]=[_0x3da7da[_0x39e6df(0x1c4)]];}}const _0x182352=this['getTestRunIdentifier'](_0x5d4580,_0x3da7da[_0x39e6df(0x290)]);_0x92a60a['hooks']=this[_0x39e6df(0x23c)][_0x182352];const {steps:_0x18ae18,logs:_0x31d12a}=this[_0x39e6df(0x1fd)](_0x3da7da[_0x39e6df(0x29a)],_0x372f74[_0x39e6df(0x22a)],_0x338a92[_0x39e6df(0x25f)]);await MyReporter[_0x39e6df(0x229)](_0x31d12a);const _0x2cacf2={};_0x2cacf2[_0x39e6df(0x29a)]=_0x18ae18,_0x92a60a[_0x39e6df(0x273)]=_0x2cacf2;if(_0x3da7da[_0x39e6df(0x1c4)]){_0x92a60a[_0x39e6df(0x1d9)]=_0x338a92[_0x39e6df(0x1c7)](removeAnsiColors,_0x3da7da['error']['message']),_0x92a60a[_0x39e6df(0x1db)]=_0x338a92['dHyFo'](getFailureType,_0x3da7da[_0x39e6df(0x1c4)][_0x39e6df(0x24b)]);const _0x3fa913={};_0x3fa913[_0x39e6df(0x2ab)]=_0x372f74['uuid'];const {failureData:_0x16e7d5,logs:_0x15786a}=_0x338a92[_0x39e6df(0x1e6)](getFailureData,_0x3da7da[_0x39e6df(0x248)],_0x3fa913);if(_0x16e7d5&&_0x338a92[_0x39e6df(0x26b)](_0x16e7d5[_0x39e6df(0x21f)],0x0)){const _0x3fa830={};_0x3fa830[_0x39e6df(0x234)]=[_0x92a60a['failure_reason']],_0x3fa830[_0x39e6df(0x201)]=[],_0x16e7d5[_0x39e6df(0x1ad)](_0x3fa830);}_0x92a60a[_0x39e6df(0x23d)]=_0x16e7d5,_0x15786a&&_0x338a92[_0x39e6df(0x1a6)](_0x15786a['length'],0x0)&&await MyReporter[_0x39e6df(0x229)](_0x15786a);}}let _0xf013f6=_0x338a92[_0x39e6df(0x1e6)](findNestedKey,_0x3da7da,_0x338a92['OEmnB']);if(_0xf013f6&&_0x338a92[_0x39e6df(0x267)](validateFilePath,_0xf013f6))_0x338a92[_0x39e6df(0x267)](debug,_0x39e6df(0x1bf)+_0x372f74[_0x39e6df(0x22a)]+_0x39e6df(0x1d7)+_0xf013f6);else{const _0x4d6021=path[_0x39e6df(0x2a8)](helper['homedir'](),_0x338a92['mkvdL']);!fs[_0x39e6df(0x2ac)](_0x4d6021)&&fs[_0x39e6df(0x289)](_0x4d6021),fs[_0x39e6df(0x2ac)](path['join'](_0x4d6021,_0x39e6df(0x24d)+_0x372f74[_0x39e6df(0x22a)]+_0x39e6df(0x1fc)))&&(_0xf013f6=fs[_0x39e6df(0x2a6)](path[_0x39e6df(0x2a8)](_0x4d6021,_0x39e6df(0x24d)+_0x372f74['uuid']+_0x39e6df(0x1fc)),_0x338a92[_0x39e6df(0x209)]),_0x338a92[_0x39e6df(0x251)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x372f74[_0x39e6df(0x22a)]+_0x39e6df(0x1d7)+_0xf013f6));}const _0x27ca92={};_0x27ca92[_0x39e6df(0x21c)]=_0x2e2057,_0x27ca92[_0x39e6df(0x1dd)]=_0x92a60a;const _0x2cf72a=_0x27ca92;_0xf013f6&&_0x338a92['FSgtw'](_0xf013f6,'')&&_0x338a92[_0x39e6df(0x252)](_0x2e2057,_0x338a92['BRRVr'])&&(!_0x2cf72a[_0x39e6df(0x1d0)]&&(_0x2cf72a[_0x39e6df(0x1d0)]=[]),_0xf013f6['split']('\x0a')[_0x39e6df(0x207)](_0x267be9=>{const _0x38517d=_0x39e6df;_0x267be9&&_0x338a92[_0x38517d(0x1c7)](validateFilePath,_0x267be9)&&_0x2cf72a[_0x38517d(0x1d0)][_0x38517d(0x1ad)]({'kind':_0x338a92[_0x38517d(0x1c1)],'timestamp':new Date()[_0x38517d(0x282)](),'test_run_uuid':_0x372f74['uuid'],'file_name':path[_0x38517d(0x21d)](_0x267be9),'file_size':fs[_0x38517d(0x291)](_0x267be9)['size'],'attachment_type':_0x338a92[_0x38517d(0x1c6)]});})),await SessionHandler[_0x39e6df(0x29f)](_0x2cf72a);}[a41_0x319577(0x20e)](_0x53cfbb){const _0x570901=a41_0x319577,_0x185b8c={};_0x185b8c[_0x570901(0x210)]=function(_0x3decc1,_0x3999f2){return _0x3decc1===_0x3999f2;},_0x185b8c[_0x570901(0x22e)]=function(_0x1edc2a,_0x1304da){return _0x1edc2a>_0x1304da;},_0x185b8c['wTEKf']=function(_0x32f5a4,_0x511286){return _0x32f5a4+_0x511286;},_0x185b8c[_0x570901(0x1be)]=function(_0x570fbc,_0x5e8bc4){return _0x570fbc===_0x5e8bc4;};const _0x2ea3e5=_0x185b8c,_0x35f7ca=_0x53cfbb['titlePath']()[_0x570901(0x1aa)](_0x5e9728=>{const _0x4b2de7=_0x570901;if(_0x53cfbb[_0x4b2de7(0x1ea)]&&_0x2ea3e5['MEoyA'](_0x5e9728,_0x53cfbb[_0x4b2de7(0x1ea)][_0x4b2de7(0x224)])&&_0x53cfbb['parent'][_0x4b2de7(0x204)]&&_0x2ea3e5[_0x4b2de7(0x22e)](_0x53cfbb[_0x4b2de7(0x1ea)]['_tags'][_0x4b2de7(0x21f)],0x0))return _0x2ea3e5['wTEKf'](_0x2ea3e5[_0x4b2de7(0x1dc)](_0x5e9728,'\x20'),_0x53cfbb['parent'][_0x4b2de7(0x204)]['join']('\x20'));if(_0x2ea3e5['StgLV'](_0x5e9728,_0x53cfbb[_0x4b2de7(0x224)])&&_0x53cfbb[_0x4b2de7(0x204)]&&_0x2ea3e5[_0x4b2de7(0x22e)](_0x53cfbb[_0x4b2de7(0x204)][_0x4b2de7(0x21f)],0x0))return _0x2ea3e5[_0x4b2de7(0x1dc)](_0x2ea3e5['wTEKf'](_0x5e9728,'\x20'),_0x53cfbb['_tags']['join']('\x20'));return _0x5e9728;})[_0x570901(0x2a8)]('\x20');return _0x35f7ca;}static async[a41_0x319577(0x225)](_0xf2b41c,_0x2799b9){const _0x505e68=a41_0x319577,_0x5eb075={'GOZBh':function(_0x2afd2f,_0x180e00){return _0x2afd2f(_0x180e00);},'ImwJE':'CBTSessionCreated'},_0x5a7cfa={'uuid':TestDetails[_0x505e68(0x202)](_0xf2b41c),'integrations':_0x2799b9},_0x410aa5={};_0x410aa5[_0x505e68(0x260)]=null,_0x5eb075[_0x505e68(0x1b9)](debug,_0x505e68(0x22c)+_0xf2b41c+',\x20'+util[_0x505e68(0x20b)](_0x2799b9,_0x410aa5));const _0x3534fd={};_0x3534fd[_0x505e68(0x21c)]=_0x5eb075[_0x505e68(0x1d4)],_0x3534fd[_0x505e68(0x1dd)]=_0x5a7cfa,await SessionHandler['uploadEventData'](_0x3534fd);}async[a41_0x319577(0x2a1)](){const _0x19414a=a41_0x319577,_0x5e65ec={'OjxAG':function(_0xcc7218){return _0xcc7218();}};if(this['_gitConfigured'])return;const _0x47940c=await _0x5e65ec['OjxAG'](getGitMetaData);_0x47940c&&(this[_0x19414a(0x26f)]=_0x47940c['root']),this[_0x19414a(0x24e)]=!![];}[a41_0x319577(0x1a7)](_0x2b9b18){const _0x2ee509=a41_0x319577,_0x5419a3={};_0x5419a3[_0x2ee509(0x27d)]=function(_0xcb901,_0x4c1a74){return _0xcb901!==_0x4c1a74;};const _0x21b23d=_0x5419a3,_0x3d5b09=[];if(_0x2b9b18&&_0x2b9b18[_0x2ee509(0x1ea)]){let _0xf6121=_0x2b9b18[_0x2ee509(0x1ea)];while(_0xf6121&&_0x21b23d[_0x2ee509(0x27d)](_0xf6121['title'],'')){_0x3d5b09['push'](_0xf6121['title']),_0xf6121=_0xf6121[_0x2ee509(0x1ea)];}}return _0x3d5b09[_0x2ee509(0x28d)]()[_0x2ee509(0x247)](0x0,0x2),_0x3d5b09;}[a41_0x319577(0x1b1)](_0x16aadb){const _0x47d1f8=a41_0x319577,_0x58a25f={};_0x58a25f['wmdLE']=function(_0x31805a,_0x12fddd){return _0x31805a!==_0x12fddd;},_0x58a25f[_0x47d1f8(0x20f)]=_0x47d1f8(0x216),_0x58a25f[_0x47d1f8(0x245)]=function(_0x44e48c,_0x44f840){return _0x44e48c===_0x44f840;},_0x58a25f['czdxv']='beforeEach\x20hook',_0x58a25f['jKhQY']=_0x47d1f8(0x25c),_0x58a25f['udDEo']=_0x47d1f8(0x262),_0x58a25f[_0x47d1f8(0x215)]=_0x47d1f8(0x26e);const _0x2181e6=_0x58a25f;if(_0x2181e6['wmdLE'](_0x16aadb[_0x47d1f8(0x266)],_0x2181e6['eQNWv']))return![];if(_0x2181e6['yWTTU']([_0x2181e6[_0x47d1f8(0x1cd)],_0x2181e6[_0x47d1f8(0x1cb)],_0x2181e6[_0x47d1f8(0x1b8)],_0x2181e6['rXLiz']][_0x47d1f8(0x268)](_0x16aadb[_0x47d1f8(0x224)]),-0x1))return![];return!![];}[a41_0x319577(0x1e2)](_0x18f55a,_0x488a21){const _0x5b03d6=a41_0x319577,_0x68cde3=_0x488a21[_0x5b03d6(0x1ab)];if(_0x68cde3)return _0x68cde3;return _0x488a21[_0x5b03d6(0x224)]+_0x5b03d6(0x22f)+this[_0x5b03d6(0x1c3)](_0x18f55a);}['setStepIdentifier'](_0x1ef187,_0x5551f3){const _0x5bc0d8=a41_0x319577,_0x4bd0b7={'ErRxJ':function(_0xe1dfe7){return _0xe1dfe7();}};let _0x3f4e3e=_0x5551f3[_0x5bc0d8(0x224)]+_0x5bc0d8(0x22f)+this[_0x5bc0d8(0x1c3)](_0x1ef187);return this[_0x5bc0d8(0x265)][_0x3f4e3e]&&(_0x3f4e3e=_0x3f4e3e+_0x5bc0d8(0x1e8)+_0x4bd0b7['ErRxJ'](uuidv4)),_0x5551f3[_0x5bc0d8(0x1ab)]=_0x3f4e3e,_0x3f4e3e;}[a41_0x319577(0x1c3)]=_0x411c14=>{const _0x2a9b0d=a41_0x319577,_0x19ef3c={};_0x19ef3c[_0x2a9b0d(0x22b)]=function(_0x5eba94,_0x482975){return _0x5eba94+_0x482975;},_0x19ef3c[_0x2a9b0d(0x219)]=function(_0x3a75d5,_0x2e50f8){return _0x3a75d5+_0x2e50f8;};const _0x1ccac5=_0x19ef3c;return _0x1ccac5[_0x2a9b0d(0x22b)](_0x1ccac5[_0x2a9b0d(0x219)](_0x411c14['_projectId'],'-'),_0x411c14['id']);};['getTestRunIdentifier']=(_0x261b63,_0x36a510)=>{const _0xcb5e41=a41_0x319577,_0x5b1f4d={};_0x5b1f4d[_0xcb5e41(0x1f5)]=function(_0x1cb26d,_0x2de731){return _0x1cb26d+_0x2de731;};const _0x34e6b5=_0x5b1f4d;return _0x34e6b5[_0xcb5e41(0x1f5)](_0x34e6b5[_0xcb5e41(0x1f5)](this[_0xcb5e41(0x1c3)](_0x261b63),'-'),_0x36a510);};[a41_0x319577(0x20a)]=_0x1b6f52=>{const _0x5a83e1=a41_0x319577,_0x264fd3={};_0x264fd3['csQrs']=_0x5a83e1(0x256),_0x264fd3[_0x5a83e1(0x23b)]='BEFORE_EACH',_0x264fd3[_0x5a83e1(0x242)]=_0x5a83e1(0x25c),_0x264fd3[_0x5a83e1(0x1f7)]=_0x5a83e1(0x1af),_0x264fd3[_0x5a83e1(0x238)]='afterEach\x20hook',_0x264fd3[_0x5a83e1(0x240)]=_0x5a83e1(0x277),_0x264fd3[_0x5a83e1(0x230)]=_0x5a83e1(0x262),_0x264fd3['ASCpw']=_0x5a83e1(0x1bc),_0x264fd3[_0x5a83e1(0x1ec)]=_0x5a83e1(0x286);const _0x2a9c7d=_0x264fd3;if(_0x1b6f52[_0x5a83e1(0x1ed)](_0x2a9c7d[_0x5a83e1(0x280)]))return _0x2a9c7d['IZmXX'];else{if(_0x1b6f52['startsWith'](_0x2a9c7d[_0x5a83e1(0x242)]))return _0x2a9c7d['oBWaR'];else{if(_0x1b6f52[_0x5a83e1(0x1ed)](_0x2a9c7d[_0x5a83e1(0x238)]))return _0x2a9c7d['eFoZB'];else{if(_0x1b6f52[_0x5a83e1(0x1ed)](_0x2a9c7d[_0x5a83e1(0x230)]))return _0x2a9c7d[_0x5a83e1(0x263)];}}}return _0x2a9c7d['NkuxS'];};[a41_0x319577(0x1da)]=_0x417136=>{const _0x1345aa=a41_0x319577,_0x238a09={};_0x238a09[_0x1345aa(0x1bb)]=function(_0x4307a1,_0x18ebde){return _0x4307a1===_0x18ebde;},_0x238a09[_0x1345aa(0x24a)]=_0x1345aa(0x1fa);const _0x4769a0=_0x238a09;let _0x4e45a4=_0x417136[_0x1345aa(0x1ea)];return _0x4769a0[_0x1345aa(0x1bb)](typeof _0x417136[_0x1345aa(0x1ea)],_0x4769a0['fpOBe'])&&(_0x4e45a4=_0x4e45a4[_0x1345aa(0x224)]),_0x4e45a4+'\x20-\x20'+_0x417136['title'];};[a41_0x319577(0x208)](){return![];}}module[a41_0x319577(0x1ca)]=o11yClassErrorHandler(MyReporter,[a41_0x319577(0x237),a41_0x319577(0x1b2),'onTestBegin',a41_0x319577(0x214),'onStepBegin','onStepEnd',a41_0x319577(0x225)],a41_0x319577(0x295));
|
|
1
|
+
function a41_0x47e1(){const _0x5d27b4=['startTime','length','toISOString','path','getCustomRerunParam','beforeAll\x20hook','errors','7623441kyAwkV','BzNSP','../../../helpers/helper','ZWtpG','forEach','Trace\x20file\x20found\x20for\x20test:\x20','zLwvY','_gitConfigPath','427473nEkGDN','_gitConfigured','_tags','expectedStatus','BBZcU','HookRunStarted','onEnd','nyVJR','TqYYe','sDyel','homedir','bVDuP','AFTER_ALL','NBFFN','startsWith','ypIwc','Expected\x20to\x20fail,\x20but\x20passed.','sendSessionDetails','rHYmI','failure_reason','status','env','gwjLH','rvdzz','vQBmI','utf8','MXaUo','test_run','Sending\x20session\x20details\x20for\x20','Hook\x20Started\x20with\x20unique\x20id\x20','oEcXm','GCLBY','FgKoE','BSGab','endSession','sendTestRunEvent','backtrace','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','message','nOOnd','getTestIdentifier','sendHookRunEvent','pending','getHookType','NbTAX','printsToStdio','72KDkOoW','existsSync','reverse','sdUMO','push','mtime','retry','failure','ijfCJ','fllLd','CBTSessionCreated','statSync','zgiNX','../../../helpers/performance/performance-tester','indexOf','lRMke','relative','uuid','TestRunFinished','nFXUC','RiDva','meta','parent','QkrRT','Error\x20in\x20sending\x20trace\x20zip:\x20%s','2|5|4|0|3|6|1','SHEXO','TestRunStarted','1250dJOWnG','TEST_SCREENSHOT','_projectId','UaUDg','../../../helpers/test-observability/constants','addTestUIDAndReportLog','logLevel','expanded','onBegin','split','TEST_ATTACHMENT','HookRunFinished','RzfAh','sWaGC','pjOUO','cwd','YjYqB','util','uploadEventData','skipped','readFileSync','getTime','vXvWC','iSrDM','FWffc','NbJat','AgRCc','attachments','./test-details','onTestBegin','./pwUtils','size','test','104bZudMp','../../../helpers/testhub/utils','gXhTl','setup','lDcws','map','BROWSERSTACK_O11Y_PERF_MEASUREMENT','root','kmhmU','akMaL','test_run_uuid','10eySGdG','PgpnN','NeQBU','format','../../../helpers/testhub/testhubHandler','HoEJr','../../../helpers/test-observability/utils','Test\x20Started\x20with\x20unique\x20id\x20','8574mwHsQx','_tests','name','BVMEV','filter','configureGit','NGgfN','rqFGg','category','reportLogs','gfLhY','AFTER_EACH','PLAYWRIGHT','\x20for\x20','getTestRunIdentifier','getTestUUID','_testHooksMap','inspect','Qkakn','afterAll\x20hook','sAnsD','getStepIdentifier','\x20at\x20','ZfPxP','.browserstack','HonQM','afterEach\x20hook','Error\x20in\x20calculating\x20performance:\x20','startMonitoring','beforeEach\x20hook','trace_','JQCXq','68463AvHnJL','UrRcj','../../../helpers/test-observability/requestQueueHandler','cihRa','JXcSw','file','RewnJ','result','CEHoz','ZXiNQ','mcyyB','mWDyc','getScope','.txt','gsLon','exports','MQfIf','passed','toString','qAemr','../../../helpers/test-observability/sessionHandler','unknown','title','onTestEnd','join','logs','duration','3548036YrjkHw','hooks','failed','hook_run','PLAYWRIGHT_TRACE_LOGS','14686386HcAsyV','ArnBG','MyReporter','onStepBegin','retry_of','\x20is\x20triggered','wpZnL','KKmYc','acYmA','dLCin','IenNk','roNcY','WBXVk','finishedAt','LWpmN','UWwFJ','zooCh','../../../helpers/test-observability/error-handler','NFsDy','NtMik','failure_type','ONhlF','onStepEnd','location','basename','MVIyX','needToReportStep','error','NVcpE','timedOut','javascript','startedAt','hook','Before\x20Hooks','depth','IOTMc','LogCreated','steps','options','event_type','ceQfY','Test\x20Finished\x20with\x20unique\x20id\x20','MKufv','XYNmV','wdxtF','AwZqY','\x20-\x20','BEFORE_ALL','_bs_hookIdentifier','eceWp','906332zUvQQy','getHierarchy','rXwlk','getStepsAndLogs','object'];a41_0x47e1=function(){return _0x5d27b4;};return a41_0x47e1();}function a41_0x631e(_0x17de27,_0x1de23e){const _0x47e14e=a41_0x47e1();return a41_0x631e=function(_0x631e06,_0x4cf617){_0x631e06=_0x631e06-0x14e;let _0x5171e8=_0x47e14e[_0x631e06];return _0x5171e8;},a41_0x631e(_0x17de27,_0x1de23e);}const a41_0x29079b=a41_0x631e;(function(_0x23154b,_0x21c677){const _0x552a9d=a41_0x631e,_0x2ee17c=_0x23154b();while(!![]){try{const _0x1b7214=parseInt(_0x552a9d(0x246))/0x1+parseInt(_0x552a9d(0x1c1))/0x2*(parseInt(_0x552a9d(0x1f4))/0x3)+parseInt(_0x552a9d(0x20f))/0x4+-parseInt(_0x552a9d(0x1a0))/0x5*(parseInt(_0x552a9d(0x1d4))/0x6)+-parseInt(_0x552a9d(0x14e))/0x7+-parseInt(_0x552a9d(0x184))/0x8*(-parseInt(_0x552a9d(0x156))/0x9)+parseInt(_0x552a9d(0x1cc))/0xa*(-parseInt(_0x552a9d(0x214))/0xb);if(_0x1b7214===_0x21c677)break;else _0x2ee17c['push'](_0x2ee17c['shift']());}catch(_0x909bf8){_0x2ee17c['push'](_0x2ee17c['shift']());}}}(a41_0x47e1,0x98d93));const RequestQueueHandler=require(a41_0x29079b(0x1f6)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x29079b(0x1be)),{v4:uuidv4}=require(a41_0x29079b(0x195)),path=require(a41_0x29079b(0x24e)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x29079b(0x1d2)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x29079b(0x1bc)),fs=require('fs'),util=require(a41_0x29079b(0x1b1)),{o11yClassErrorHandler}=require(a41_0x29079b(0x225)),PerformanceTester=require(a41_0x29079b(0x191)),{FRAMEWORKS}=require(a41_0x29079b(0x1a4)),SessionHandler=require(a41_0x29079b(0x208)),{appendTesthubParams}=require(a41_0x29079b(0x1c2)),TestHubHandler=require(a41_0x29079b(0x1d0)),helper=require(a41_0x29079b(0x150));class MyReporter{constructor(_0x408ccb){const _0x429562=a41_0x29079b,_0x3e130f={'iSrDM':_0x429562(0x19d),'eceWp':function(_0x3fe5a0,_0x2ab124,_0x6ced80,_0x1944da){return _0x3fe5a0(_0x2ab124,_0x6ced80,_0x1944da);},'gwjLH':'performance-report-reporter.json'},_0x291add=_0x3e130f[_0x429562(0x1b7)][_0x429562(0x1a9)]('|');let _0x487eae=0x0;while(!![]){switch(_0x291add[_0x487eae++]){case'0':this['_testHooksMap']={};continue;case'1':this['_gitConfigPath']=null;continue;case'2':const _0xde40d={};_0xde40d[_0x429562(0x1a6)]=process[_0x429562(0x16b)]['BROWSERSTACK_LOG_LEVEL'],_0x3e130f[_0x429562(0x245)](setLogLevel,_0xde40d,new Map(),new Map());continue;case'3':this[_0x429562(0x23a)]=_0x408ccb;continue;case'4':this[_0x429562(0x1d5)]={};continue;case'5':process[_0x429562(0x16b)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x429562(0x1f0)](_0x3e130f[_0x429562(0x16c)]),process[_0x429562(0x16b)]['START_TIME']=new Date()[_0x429562(0x24d)]());continue;case'6':this['_gitConfigured']=![];continue;}break;}}async[a41_0x29079b(0x1a8)](){const _0x1d8474=a41_0x29079b;TestDetails[_0x1d8474(0x1c4)](),await this[_0x1d8474(0x1d9)]();}async[a41_0x29079b(0x1bd)](_0x19a776,_0x282359){const _0x2297a1=a41_0x29079b,_0x2103a5={'nHhUP':function(_0x10eb66,_0x49e4b8){return _0x10eb66(_0x49e4b8);},'AgRCc':_0x2297a1(0x19f)},_0xee972=this['getTestIdentifier'](_0x19a776),_0x6ca627=TestDetails['getTestUUID'](this[_0x2297a1(0x1e2)](_0x19a776,_0x282359[_0x2297a1(0x18a)]));process[_0x2297a1(0x16b)]['BROWSERSTACK_TEST_RUN_ID']=_0x6ca627;const _0x179d36={};_0x179d36[_0x2297a1(0x195)]=_0x6ca627,_0x179d36[_0x2297a1(0x233)]=_0x282359[_0x2297a1(0x24b)],this[_0x2297a1(0x1d5)][_0xee972]=_0x179d36,_0x2103a5['nHhUP'](trace,_0x2297a1(0x1d3)+_0xee972),await this[_0x2297a1(0x179)](_0x19a776,_0x2103a5[_0x2297a1(0x1ba)],_0x282359);}async[a41_0x29079b(0x217)](_0x48d97e,_0x5c7d25,_0xb07068){const _0x533f68=a41_0x29079b,_0x1116fd={'ypIwc':function(_0x3e7871,_0x32f2bc){return _0x3e7871(_0x32f2bc);},'sdUMO':_0x533f68(0x15b)};if(!this[_0x533f68(0x22e)](_0xb07068,_0x48d97e))return;const _0xa09ccb=this['setStepIdentifier'](_0x48d97e,_0xb07068);this[_0x533f68(0x1d5)][_0xa09ccb]={'uuid':TestDetails[_0x533f68(0x1e3)](_0xa09ccb),'startedAt':_0xb07068[_0x533f68(0x24b)][_0x533f68(0x24d)]()};const _0xf6bb7d=this['getTestRunIdentifier'](_0x48d97e,_0x5c7d25['retry']);!this['_testHooksMap'][_0xf6bb7d]&&(this['_testHooksMap'][_0xf6bb7d]=[]),this[_0x533f68(0x1e4)][_0xf6bb7d][_0x533f68(0x188)](this[_0x533f68(0x1d5)][_0xa09ccb][_0x533f68(0x195)]),_0x1116fd[_0x533f68(0x165)](trace,_0x533f68(0x173)+_0xa09ccb+'\x20is\x20triggered\x20for\x20test\x20'+_0xf6bb7d),await this[_0x533f68(0x17f)](_0x48d97e,_0xb07068,_0x1116fd[_0x533f68(0x187)],_0x5c7d25);}async[a41_0x29079b(0x22a)](_0x278a4f,_0x32648e,_0x48cc12){const _0x325dca=a41_0x29079b,_0x2d6bd6={'FMsHb':function(_0x24c64b,_0x3890ec){return _0x24c64b+_0x3890ec;},'zooCh':function(_0x4d037f,_0x5cb551){return _0x4d037f(_0x5cb551);},'MQfIf':'HookRunFinished'};if(!this[_0x325dca(0x22e)](_0x48cc12,_0x278a4f))return;const _0x4dec78=this[_0x325dca(0x1e9)](_0x278a4f,_0x48cc12);this[_0x325dca(0x1d5)][_0x4dec78]={...this[_0x325dca(0x1d5)][_0x4dec78]||{},'finishedAt':new Date(_0x2d6bd6['FMsHb'](_0x48cc12[_0x325dca(0x24b)][_0x325dca(0x1b5)](),_0x48cc12[_0x325dca(0x20e)]))},_0x2d6bd6[_0x325dca(0x224)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x4dec78+_0x325dca(0x219)),await this[_0x325dca(0x17f)](_0x278a4f,_0x48cc12,_0x2d6bd6[_0x325dca(0x204)],_0x32648e);}async['onTestEnd'](_0x3158cb,_0xdde817){const _0x3c6942=a41_0x29079b,_0x2ce076={'NtMik':function(_0x396193,_0x4a9a21){return _0x396193===_0x4a9a21;},'vQBmI':'screenshot','nFXUC':_0x3c6942(0x1a1),'RewnJ':'base64','SHEXO':function(_0x1ddaae,_0x2c50ec){return _0x1ddaae(_0x2c50ec);},'xbHOg':'TestRunFinished','yaKvG':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','LWpmN':function(_0x15307e,_0xf7a6b4){return _0x15307e(_0xf7a6b4);},'ppvWz':function(_0x1a64c2,_0xcfa2ca,_0x4cacaa){return _0x1a64c2(_0xcfa2ca,_0x4cacaa);},'ESUfX':_0x3c6942(0x19c),'yxxqy':function(_0x33093b,_0x295003){return _0x33093b>_0x295003;}},_0x577c9e=this[_0x3c6942(0x17e)](_0x3158cb),_0xc80ff=TestDetails[_0x3c6942(0x1e3)](this[_0x3c6942(0x1e2)](_0x3158cb,_0xdde817['retry']));this[_0x3c6942(0x1d5)][_0x577c9e]={...this[_0x3c6942(0x1d5)][_0x577c9e]||{},'finishedAt':new Date()[_0x3c6942(0x24d)]()},_0x2ce076[_0x3c6942(0x19e)](trace,_0x3c6942(0x23d)+_0x577c9e);try{await this[_0x3c6942(0x179)](_0x3158cb,_0x2ce076['xbHOg'],_0xdde817);}catch(_0x28e589){_0x2ce076[_0x3c6942(0x19e)](debug,util[_0x3c6942(0x1cf)](_0x2ce076['yaKvG'],_0x28e589['toString']()));}try{_0x2ce076[_0x3c6942(0x222)](debug,_0x3c6942(0x17b)+_0xc80ff),await _0x2ce076['ppvWz'](sendTraceZip,_0xdde817,_0xc80ff);}catch(_0x4e8ccb){_0x2ce076[_0x3c6942(0x222)](debug,util['format'](_0x2ce076['ESUfX'],_0x4e8ccb[_0x3c6942(0x206)]()));}const _0x10527b=[];_0xdde817[_0x3c6942(0x1bb)]&&_0xdde817['attachments'][_0x3c6942(0x1c6)](_0x5ae892=>{const _0x3e600b=_0x3c6942;if(_0x2ce076[_0x3e600b(0x227)](_0x5ae892[_0x3e600b(0x1d6)],_0x2ce076[_0x3e600b(0x16e)])){if(!_0x5ae892[_0x3e600b(0x24e)]||!fs[_0x3e600b(0x185)](_0x5ae892[_0x3e600b(0x24e)]))return;_0x10527b[_0x3e600b(0x188)]({'test_run_uuid':_0xc80ff,'timestamp':fs[_0x3e600b(0x18f)](_0x5ae892[_0x3e600b(0x24e)])[_0x3e600b(0x189)],'kind':_0x2ce076[_0x3e600b(0x197)],'message':fs[_0x3e600b(0x1b4)](_0x5ae892[_0x3e600b(0x24e)],{'encoding':_0x2ce076[_0x3e600b(0x1fa)]})});}}),_0x2ce076['yxxqy'](_0x10527b[_0x3c6942(0x24c)],0x0)&&await MyReporter['reportLogs'](_0x10527b);}async[a41_0x29079b(0x178)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a41_0x29079b(0x15c)](_0x131944){const _0x86be16=a41_0x29079b,_0x2cb9e0={'ZWtpG':function(_0x46f002){return _0x46f002();},'FgKoE':function(_0x12e585,_0x3581f3){return _0x12e585(_0x3581f3);}};await this[_0x86be16(0x178)]();try{process[_0x86be16(0x16b)][_0x86be16(0x1c7)]&&await _0x2cb9e0[_0x86be16(0x151)](calculatePerformance);}catch(_0x2453ad){_0x2cb9e0[_0x86be16(0x176)](debug,_0x86be16(0x1ef)+_0x2453ad[_0x86be16(0x206)]());}}static async[a41_0x29079b(0x1a5)](_0xfe76bd,_0x48ecc6){const _0xd01a72=a41_0x29079b;_0x48ecc6[_0xd01a72(0x1cb)]=TestDetails[_0xd01a72(0x1e3)](_0xfe76bd),await this['reportLogs']([_0x48ecc6]);}static async[a41_0x29079b(0x1dd)](_0x33d0fa){const _0x1cc16d=a41_0x29079b,_0x3ad78c={};_0x3ad78c['TqYYe']=_0x1cc16d(0x238);const _0x5d1dee=_0x3ad78c,_0x4e3d92={};_0x4e3d92[_0x1cc16d(0x23b)]=_0x5d1dee[_0x1cc16d(0x15e)],_0x4e3d92[_0x1cc16d(0x20d)]=_0x33d0fa,await SessionHandler[_0x1cc16d(0x1b2)](_0x4e3d92);}async['sendHookRunEvent'](_0x412922,_0x48bf35,_0x4d739d,_0xaab47a){const _0x1fbc3f=a41_0x29079b,_0x3ef3b4={'NbTAX':'hook','gXhTl':_0x1fbc3f(0x232),'nyVJR':_0x1fbc3f(0x180),'ETfTn':function(_0x103351,_0x341d46){return _0x103351>=_0x341d46;},'oGrQX':function(_0x44e755,_0x421dee){return _0x44e755===_0x421dee;},'YjYqB':_0x1fbc3f(0x1ab),'qAemr':function(_0x5a2fa7,_0x61d42e){return _0x5a2fa7>_0x61d42e;},'KKmYc':_0x1fbc3f(0x211),'wpZnL':function(_0x28e472,_0x4d946b){return _0x28e472(_0x4d946b);},'DWxvA':function(_0x5abb95,_0x55bd87){return _0x5abb95(_0x55bd87);},'fllLd':function(_0x200dd5,_0x16dc50,_0x106ba4){return _0x200dd5(_0x16dc50,_0x106ba4);},'cEpFM':'err','Qkakn':function(_0x36a5fe,_0x375ca4){return _0x36a5fe===_0x375ca4;},'NVcpE':'passed'},_0x176cd8=this[_0x1fbc3f(0x1e9)](_0x412922,_0x48bf35),_0x267355=this[_0x1fbc3f(0x1d5)][_0x176cd8],_0x19d6a2={'uuid':_0x267355[_0x1fbc3f(0x195)],'type':_0x3ef3b4[_0x1fbc3f(0x182)],'hook_type':this[_0x1fbc3f(0x181)](_0x48bf35[_0x1fbc3f(0x20a)]),'name':_0x48bf35[_0x1fbc3f(0x20a)],'scope':this['getScope'](_0x48bf35),'scopes':this[_0x1fbc3f(0x247)](_0x412922),'body':{'lang':_0x3ef3b4[_0x1fbc3f(0x1c3)],'code':null},'identifier':_0x176cd8,'file_name':path['relative'](process[_0x1fbc3f(0x1af)](),_0x412922[_0x1fbc3f(0x22b)][_0x1fbc3f(0x1f9)]),'location':path[_0x1fbc3f(0x194)](process[_0x1fbc3f(0x1af)](),_0x412922['location'][_0x1fbc3f(0x1f9)]),'result':_0x3ef3b4[_0x1fbc3f(0x15d)],'duration_in_ms':_0x3ef3b4['ETfTn'](_0x48bf35['duration'],0x0)?_0x48bf35[_0x1fbc3f(0x20e)]:undefined,'vc_filepath':this[_0x1fbc3f(0x155)]&&_0x412922[_0x1fbc3f(0x22b)][_0x1fbc3f(0x1f9)]?path[_0x1fbc3f(0x194)](this[_0x1fbc3f(0x155)],_0x412922[_0x1fbc3f(0x22b)][_0x1fbc3f(0x1f9)]):undefined,'started_at':_0x267355[_0x1fbc3f(0x233)],'finished_at':_0x267355[_0x1fbc3f(0x221)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0x3ef3b4['oGrQX'](_0x4d739d,_0x3ef3b4[_0x1fbc3f(0x1b0)])){const {steps:_0x2d3ed2,logs:_0x3834b1}=this['getStepsAndLogs'](_0x48bf35[_0x1fbc3f(0x239)],_0x267355['uuid'],_0x3ef3b4[_0x1fbc3f(0x182)]);_0x3834b1&&_0x3ef3b4[_0x1fbc3f(0x207)](_0x3834b1[_0x1fbc3f(0x24c)],0x0)&&await MyReporter[_0x1fbc3f(0x1dd)](_0x3834b1);const _0x31afb1={};_0x31afb1['steps']=_0x2d3ed2,_0x19d6a2[_0x1fbc3f(0x199)]=_0x31afb1;if(_0x48bf35['error']){_0x19d6a2['result']=_0x3ef3b4[_0x1fbc3f(0x21b)],_0x19d6a2[_0x1fbc3f(0x169)]=_0x3ef3b4[_0x1fbc3f(0x21a)](removeAnsiColors,_0x48bf35[_0x1fbc3f(0x22f)]['message']),_0x19d6a2[_0x1fbc3f(0x228)]=_0x3ef3b4['DWxvA'](getFailureType,_0x48bf35['error']['message']);const _0x11aef4=_0x3ef3b4[_0x1fbc3f(0x18d)](failureData,_0x48bf35[_0x1fbc3f(0x22f)],_0x3ef3b4['cEpFM']);if(_0x11aef4&&_0x3ef3b4[_0x1fbc3f(0x1e6)](_0x11aef4[_0x1fbc3f(0x24c)],0x0)){const _0x30f289={};_0x30f289[_0x1fbc3f(0x17a)]=[_0x19d6a2[_0x1fbc3f(0x169)]],_0x30f289[_0x1fbc3f(0x1a7)]=[],_0x11aef4[_0x1fbc3f(0x188)](_0x30f289);}_0x19d6a2['failure']=_0x11aef4;}else _0x19d6a2[_0x1fbc3f(0x1fb)]=_0x3ef3b4[_0x1fbc3f(0x230)];}const _0x5d13b6={};_0x5d13b6[_0x1fbc3f(0x23b)]=_0x4d739d,_0x5d13b6[_0x1fbc3f(0x212)]=_0x19d6a2;const _0x17bcfa=_0x5d13b6;await SessionHandler['uploadEventData'](_0x17bcfa);}[a41_0x29079b(0x249)](_0x19aefa,_0x1bfbac,_0x563707){const _0x4c0307=a41_0x29079b,_0x5f24f4={'FWffc':function(_0x5821d7,_0x5f12f6){return _0x5821d7===_0x5f12f6;},'eyQFP':_0x4c0307(0x234),'wdxtF':function(_0x5047e5,_0x3920f2){return _0x5047e5===_0x3920f2;},'sVmrE':'After\x20Hooks','ijfCJ':function(_0x525f3e,_0x5d6aa5){return _0x525f3e===_0x5d6aa5;},'sAnsD':_0x4c0307(0x235),'NFsDy':function(_0x116351,_0x1da4ca){return _0x116351===_0x1da4ca;},'MXaUo':_0x4c0307(0x1c0),'mWDyc':_0x4c0307(0x1cb),'acYmA':'hook_run_uuid','RiDva':'TEST_STEP','NBFFN':_0x4c0307(0x211),'NGgfN':_0x4c0307(0x205),'rqFGg':function(_0x152259,_0x57bd9e){return _0x152259(_0x57bd9e);},'ZfPxP':function(_0x2bdba0,_0x12c9b2){return _0x2bdba0(_0x12c9b2);},'gfLhY':function(_0x3ff3e6){return _0x3ff3e6();},'KGeZO':function(_0x8b09ad,_0xcb7063){return _0x8b09ad(_0xcb7063);},'roNcY':function(_0x397fbe,_0x5b6def,_0x23820a){return _0x397fbe(_0x5b6def,_0x23820a);}},_0x471b7d=[],_0xb45890=[],_0x3b13c7=_0x19aefa[_0x4c0307(0x1d8)](_0xaaa9ab=>{const _0x228301=_0x4c0307;if(_0x5f24f4[_0x228301(0x1b8)](_0xaaa9ab[_0x228301(0x1dc)],_0x5f24f4['eyQFP'])&&(_0x5f24f4[_0x228301(0x240)](_0xaaa9ab[_0x228301(0x20a)],_0x5f24f4['sVmrE'])||_0x5f24f4[_0x228301(0x18c)](_0xaaa9ab[_0x228301(0x20a)],_0x5f24f4[_0x228301(0x1e8)])))return![];return!![];}),_0x14de2d=(_0x504024,_0x146848=![])=>{const _0x3d7a58=_0x4c0307;if(_0x5f24f4[_0x3d7a58(0x240)](_0x504024[_0x3d7a58(0x239)]['length'],0x0)){const _0x42c761=_0x5f24f4[_0x3d7a58(0x226)](_0x563707,_0x5f24f4[_0x3d7a58(0x170)])?_0x5f24f4[_0x3d7a58(0x1ff)]:_0x5f24f4[_0x3d7a58(0x21c)];_0xb45890[_0x3d7a58(0x188)]({'kind':_0x5f24f4[_0x3d7a58(0x198)],[_0x42c761]:_0x1bfbac,'message':_0x504024[_0x3d7a58(0x20a)],'timestamp':_0x504024[_0x3d7a58(0x24b)][_0x3d7a58(0x24d)](),'level':_0x504024['error']?_0x5f24f4[_0x3d7a58(0x163)]:_0x5f24f4[_0x3d7a58(0x1da)],'duration':_0x504024[_0x3d7a58(0x20e)],'failure':_0x504024['error']&&_0x504024[_0x3d7a58(0x22f)][_0x3d7a58(0x17c)]&&_0x5f24f4[_0x3d7a58(0x1db)](removeAnsiColors,_0x504024['error'][_0x3d7a58(0x17c)]),'failure_type':_0x5f24f4[_0x3d7a58(0x1eb)](getFailureType,_0x504024['error']&&_0x504024[_0x3d7a58(0x22f)][_0x3d7a58(0x17c)])});}else{!_0x146848&&_0x471b7d[_0x3d7a58(0x188)]({'id':_0x5f24f4[_0x3d7a58(0x1de)](uuidv4),'text':_0x504024[_0x3d7a58(0x20a)],'keyword':undefined,'started_at':_0x504024[_0x3d7a58(0x24b)]['toISOString'](),'duration':_0x504024[_0x3d7a58(0x20e)],'result':_0x504024[_0x3d7a58(0x22f)]?_0x5f24f4[_0x3d7a58(0x163)]:_0x5f24f4[_0x3d7a58(0x1da)],'failure':_0x504024[_0x3d7a58(0x22f)]&&_0x504024[_0x3d7a58(0x22f)]['message']&&_0x5f24f4[_0x3d7a58(0x1eb)](removeAnsiColors,_0x504024[_0x3d7a58(0x22f)][_0x3d7a58(0x17c)]),'failure_type':_0x5f24f4['KGeZO'](getFailureType,_0x504024['error']&&_0x504024[_0x3d7a58(0x22f)][_0x3d7a58(0x17c)])});for(const _0x302cb9 of _0x504024[_0x3d7a58(0x239)]){_0x5f24f4[_0x3d7a58(0x21f)](_0x14de2d,_0x302cb9,!![]);}}};for(const _0x5b6a3f of _0x3b13c7){_0x5f24f4[_0x4c0307(0x21f)](_0x14de2d,_0x5b6a3f,![]);}const _0x13d05c={};return _0x13d05c['steps']=_0x471b7d,_0x13d05c[_0x4c0307(0x20d)]=_0xb45890,_0x13d05c;}async[a41_0x29079b(0x179)](_0x517623,_0x39be18,_0x132a0e){const _0x37e9ba=a41_0x29079b,_0x487daf={'UWwFJ':function(_0x36c01c,_0x1830d0){return _0x36c01c(_0x1830d0);},'cihRa':_0x37e9ba(0x1aa),'ZXiNQ':_0x37e9ba(0x213),'lDcws':_0x37e9ba(0x1c0),'MVIyX':'javascript','HoEJr':_0x37e9ba(0x180),'UrRcj':function(_0x5f39e7,_0x18e24f){return _0x5f39e7(_0x18e24f);},'ZGcdv':function(_0x40914f,_0x224dc0,_0x1bce7c,_0xc1dd92,_0x1f74ee){return _0x40914f(_0x224dc0,_0x1bce7c,_0xc1dd92,_0x1f74ee);},'ArnBG':function(_0x2e6f0c,_0x56b079){return _0x2e6f0c>_0x56b079;},'pjOUO':function(_0x2917b9,_0x52b920){return _0x2917b9-_0x52b920;},'slqZj':function(_0x5a0d0d,_0x5214d6){return _0x5a0d0d===_0x5214d6;},'mcyyB':_0x37e9ba(0x196),'AwZqY':function(_0x3745d5,_0x4c1563){return _0x3745d5===_0x4c1563;},'vXvWC':function(_0x323fca,_0x9204a7){return _0x323fca===_0x9204a7;},'BVMEV':_0x37e9ba(0x1b3),'sDyel':'passed','KwDee':function(_0x1fd1ca,_0x203374){return _0x1fd1ca===_0x203374;},'ESOop':function(_0x1d588e,_0x54e6cd){return _0x1d588e===_0x54e6cd;},'nOOnd':_0x37e9ba(0x211),'UaUDg':_0x37e9ba(0x231),'owoSt':function(_0x3eda4e,_0x4a402e){return _0x3eda4e===_0x4a402e;},'NbJat':function(_0x31b643,_0x4f10ce){return _0x31b643===_0x4f10ce;},'akMaL':_0x37e9ba(0x166),'IOTMc':function(_0x275cc0,_0x1cf211,_0x376ca3){return _0x275cc0(_0x1cf211,_0x376ca3);},'qRocz':function(_0x224734,_0xf07bf0){return _0x224734===_0xf07bf0;},'QkrRT':'path','afutI':_0x37e9ba(0x1ec),'ShPIq':_0x37e9ba(0x16f),'vGUqb':function(_0x33a3cc,_0x1c55eb){return _0x33a3cc(_0x1c55eb);},'wdxhq':function(_0x5d8bae,_0x3ef79b){return _0x5d8bae!==_0x3ef79b;}},_0x56237b=this['getTestIdentifier'](_0x517623),_0x1a10fd=this[_0x37e9ba(0x200)](_0x517623),_0x3ac95f=this[_0x37e9ba(0x1d5)][_0x56237b],_0x2a5106=path[_0x37e9ba(0x194)](process[_0x37e9ba(0x1af)](),_0x517623[_0x37e9ba(0x22b)][_0x37e9ba(0x1f9)]);await this[_0x37e9ba(0x1d9)]();const _0x471134={'uuid':_0x3ac95f[_0x37e9ba(0x195)],'type':_0x487daf[_0x37e9ba(0x1c5)],'name':_0x517623[_0x37e9ba(0x20a)],'body':{'lang':_0x487daf[_0x37e9ba(0x22d)],'code':_0x517623['fn'][_0x37e9ba(0x206)]()},'scope':_0x1a10fd,'scopes':this['getHierarchy'](_0x517623),'identifier':_0x56237b,'file_name':_0x2a5106,'location':_0x2a5106,'result':_0x487daf[_0x37e9ba(0x1d1)],'duration_in_ms':_0x132a0e&&_0x132a0e[_0x37e9ba(0x20e)]?_0x132a0e[_0x37e9ba(0x20e)]:null,'vc_filepath':this[_0x37e9ba(0x155)]&&_0x517623[_0x37e9ba(0x22b)][_0x37e9ba(0x1f9)]?path[_0x37e9ba(0x194)](this[_0x37e9ba(0x155)],_0x517623[_0x37e9ba(0x22b)]['file']):undefined,'started_at':_0x3ac95f[_0x37e9ba(0x233)],'finished_at':_0x3ac95f['finishedAt'],'framework':FRAMEWORKS[_0x37e9ba(0x1e0)],'customRerunParam':{'rerun_name':this[_0x37e9ba(0x24f)](_0x517623)},'tags':_0x487daf[_0x37e9ba(0x1f5)](getTestTags,_0x517623)};_0x487daf['ZGcdv'](appendTesthubParams,_0x471134,_0x39be18,_0x517623,FRAMEWORKS[_0x37e9ba(0x1e0)]);_0x132a0e&&_0x487daf['ArnBG'](_0x132a0e[_0x37e9ba(0x18a)],0x0)&&(_0x471134[_0x37e9ba(0x218)]=TestDetails[_0x37e9ba(0x1e3)](this['getTestRunIdentifier'](_0x517623,_0x487daf[_0x37e9ba(0x1ae)](_0x132a0e['retry'],0x1))));if(_0x487daf['slqZj'](_0x39be18,_0x487daf[_0x37e9ba(0x1fe)])){_0x471134[_0x37e9ba(0x1fb)]=_0x132a0e[_0x37e9ba(0x16a)];if(_0x487daf[_0x37e9ba(0x241)](_0x132a0e[_0x37e9ba(0x16a)],_0x517623['expectedStatus']))_0x471134[_0x37e9ba(0x1fb)]=_0x487daf[_0x37e9ba(0x1b6)](_0x132a0e[_0x37e9ba(0x16a)],_0x487daf[_0x37e9ba(0x1d7)])?_0x487daf['BVMEV']:_0x487daf[_0x37e9ba(0x15f)];else{(_0x487daf['KwDee'](_0x471134[_0x37e9ba(0x1fb)],_0x487daf[_0x37e9ba(0x15f)])||_0x487daf['ESOop'](_0x471134[_0x37e9ba(0x1fb)],_0x487daf[_0x37e9ba(0x17d)])||_0x487daf['KwDee'](_0x471134['result'],_0x487daf[_0x37e9ba(0x1a3)]))&&(_0x471134['result']=_0x487daf[_0x37e9ba(0x17d)]);if(_0x487daf['owoSt'](_0x132a0e[_0x37e9ba(0x16a)],_0x487daf['sDyel'])&&_0x487daf[_0x37e9ba(0x1b9)](_0x517623[_0x37e9ba(0x159)],_0x487daf['nOOnd'])){const _0xd76ae1={};_0xd76ae1[_0x37e9ba(0x17c)]=_0x487daf[_0x37e9ba(0x1ca)],_0xd76ae1['stack']=_0x487daf[_0x37e9ba(0x1ca)],_0x132a0e[_0x37e9ba(0x22f)]=_0xd76ae1,_0x132a0e[_0x37e9ba(0x251)]=[_0x132a0e[_0x37e9ba(0x22f)]];}}const _0x508c76=this['getTestRunIdentifier'](_0x517623,_0x132a0e[_0x37e9ba(0x18a)]);_0x471134[_0x37e9ba(0x210)]=this['_testHooksMap'][_0x508c76];const {steps:_0x495865,logs:_0x3a6b47}=this[_0x37e9ba(0x249)](_0x132a0e['steps'],_0x3ac95f[_0x37e9ba(0x195)],_0x487daf[_0x37e9ba(0x1c5)]);await MyReporter[_0x37e9ba(0x1dd)](_0x3a6b47);const _0x35f8e6={};_0x35f8e6[_0x37e9ba(0x239)]=_0x495865,_0x471134[_0x37e9ba(0x199)]=_0x35f8e6;if(_0x132a0e[_0x37e9ba(0x22f)]){_0x471134[_0x37e9ba(0x169)]=_0x487daf[_0x37e9ba(0x223)](removeAnsiColors,_0x132a0e['error']['message']),_0x471134['failure_type']=_0x487daf[_0x37e9ba(0x223)](getFailureType,_0x132a0e[_0x37e9ba(0x22f)][_0x37e9ba(0x17c)]);const _0x15ad40={};_0x15ad40[_0x37e9ba(0x1cb)]=_0x3ac95f[_0x37e9ba(0x195)];const {failureData:_0x3282df,logs:_0x4d2937}=_0x487daf[_0x37e9ba(0x237)](getFailureData,_0x132a0e['errors'],_0x15ad40);if(_0x3282df&&_0x487daf['qRocz'](_0x3282df[_0x37e9ba(0x24c)],0x0)){const _0x1cbb82={};_0x1cbb82[_0x37e9ba(0x17a)]=[_0x471134[_0x37e9ba(0x169)]],_0x1cbb82[_0x37e9ba(0x1a7)]=[],_0x3282df[_0x37e9ba(0x188)](_0x1cbb82);}_0x471134[_0x37e9ba(0x18b)]=_0x3282df,_0x4d2937&&_0x487daf[_0x37e9ba(0x215)](_0x4d2937[_0x37e9ba(0x24c)],0x0)&&await MyReporter[_0x37e9ba(0x1dd)](_0x4d2937);}}let _0x30bcb2=_0x487daf[_0x37e9ba(0x237)](findNestedKey,_0x132a0e,_0x487daf[_0x37e9ba(0x19b)]);if(_0x30bcb2&&_0x487daf[_0x37e9ba(0x223)](validateFilePath,_0x30bcb2))_0x487daf['UWwFJ'](debug,_0x37e9ba(0x153)+_0x3ac95f[_0x37e9ba(0x195)]+_0x37e9ba(0x1ea)+_0x30bcb2);else{const _0x22f0d4=path[_0x37e9ba(0x20c)](helper[_0x37e9ba(0x160)](),_0x487daf['afutI']);!fs['existsSync'](_0x22f0d4)&&fs['mkdirSync'](_0x22f0d4),fs['existsSync'](path[_0x37e9ba(0x20c)](_0x22f0d4,_0x37e9ba(0x1f2)+_0x3ac95f['uuid']+_0x37e9ba(0x201)))&&(_0x30bcb2=fs[_0x37e9ba(0x1b4)](path['join'](_0x22f0d4,_0x37e9ba(0x1f2)+_0x3ac95f[_0x37e9ba(0x195)]+_0x37e9ba(0x201)),_0x487daf['ShPIq']),_0x487daf['vGUqb'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x3ac95f[_0x37e9ba(0x195)]+_0x37e9ba(0x1ea)+_0x30bcb2));}const _0x3c554e={};_0x3c554e[_0x37e9ba(0x23b)]=_0x39be18,_0x3c554e[_0x37e9ba(0x171)]=_0x471134;const _0x346304=_0x3c554e;_0x30bcb2&&_0x487daf['wdxhq'](_0x30bcb2,'')&&_0x487daf[_0x37e9ba(0x1b9)](_0x39be18,_0x487daf[_0x37e9ba(0x1fe)])&&(!_0x346304[_0x37e9ba(0x20d)]&&(_0x346304[_0x37e9ba(0x20d)]=[]),_0x30bcb2['split']('\x0a')[_0x37e9ba(0x152)](_0x4226cf=>{const _0x367edb=_0x37e9ba;_0x4226cf&&_0x487daf[_0x367edb(0x223)](validateFilePath,_0x4226cf)&&_0x346304[_0x367edb(0x20d)][_0x367edb(0x188)]({'kind':_0x487daf[_0x367edb(0x1f7)],'timestamp':new Date()[_0x367edb(0x24d)](),'test_run_uuid':_0x3ac95f['uuid'],'file_name':path[_0x367edb(0x22c)](_0x4226cf),'file_size':fs[_0x367edb(0x18f)](_0x4226cf)[_0x367edb(0x1bf)],'attachment_type':_0x487daf[_0x367edb(0x1fd)]});})),await SessionHandler[_0x37e9ba(0x1b2)](_0x346304);}[a41_0x29079b(0x24f)](_0x27d5d2){const _0x552e04=a41_0x29079b,_0x283483={};_0x283483[_0x552e04(0x14f)]=function(_0x558852,_0x4a9454){return _0x558852===_0x4a9454;},_0x283483[_0x552e04(0x248)]=function(_0x40458c,_0x4b44e6){return _0x40458c>_0x4b44e6;},_0x283483[_0x552e04(0x193)]=function(_0x4f34f8,_0x181191){return _0x4f34f8+_0x181191;},_0x283483['TDZRt']=function(_0x150701,_0x46fb06){return _0x150701+_0x46fb06;},_0x283483[_0x552e04(0x23c)]=function(_0x4ef828,_0x5294c2){return _0x4ef828+_0x5294c2;},_0x283483[_0x552e04(0x23e)]=function(_0x2a57ec,_0x41c1c1){return _0x2a57ec+_0x41c1c1;};const _0x3e41f8=_0x283483,_0x1d459f=_0x27d5d2['titlePath']()[_0x552e04(0x1c6)](_0x5399a9=>{const _0x597a93=_0x552e04;if(_0x27d5d2[_0x597a93(0x19a)]&&_0x3e41f8[_0x597a93(0x14f)](_0x5399a9,_0x27d5d2[_0x597a93(0x19a)]['title'])&&_0x27d5d2[_0x597a93(0x19a)][_0x597a93(0x158)]&&_0x3e41f8[_0x597a93(0x248)](_0x27d5d2[_0x597a93(0x19a)][_0x597a93(0x158)][_0x597a93(0x24c)],0x0))return _0x3e41f8[_0x597a93(0x193)](_0x3e41f8['TDZRt'](_0x5399a9,'\x20'),_0x27d5d2[_0x597a93(0x19a)][_0x597a93(0x158)][_0x597a93(0x20c)]('\x20'));if(_0x3e41f8['BzNSP'](_0x5399a9,_0x27d5d2[_0x597a93(0x20a)])&&_0x27d5d2[_0x597a93(0x158)]&&_0x3e41f8[_0x597a93(0x248)](_0x27d5d2[_0x597a93(0x158)][_0x597a93(0x24c)],0x0))return _0x3e41f8[_0x597a93(0x23c)](_0x3e41f8['MKufv'](_0x5399a9,'\x20'),_0x27d5d2['_tags'][_0x597a93(0x20c)]('\x20'));return _0x5399a9;})[_0x552e04(0x20c)]('\x20');return _0x1d459f;}static async[a41_0x29079b(0x167)](_0xa35e64,_0x4dd411){const _0x529d78=a41_0x29079b,_0x1143c2={'sPSAb':function(_0x99b9bd,_0x3e9eb9){return _0x99b9bd(_0x3e9eb9);},'cTIAH':_0x529d78(0x18e)},_0xe15400={'uuid':TestDetails[_0x529d78(0x1e3)](_0xa35e64),'integrations':_0x4dd411},_0x5940ac={};_0x5940ac[_0x529d78(0x236)]=null,_0x1143c2['sPSAb'](debug,_0x529d78(0x172)+_0xa35e64+',\x20'+util[_0x529d78(0x1e5)](_0x4dd411,_0x5940ac));const _0x3db6a3={};_0x3db6a3[_0x529d78(0x23b)]=_0x1143c2['cTIAH'],_0x3db6a3[_0x529d78(0x171)]=_0xe15400,await SessionHandler['uploadEventData'](_0x3db6a3);}async['configureGit'](){const _0x5bebc7=a41_0x29079b,_0x360718={'RzfAh':function(_0x180873){return _0x180873();}};if(this[_0x5bebc7(0x157)])return;const _0x1585ab=await _0x360718[_0x5bebc7(0x1ac)](getGitMetaData);_0x1585ab&&(this['_gitConfigPath']=_0x1585ab[_0x5bebc7(0x1c8)]),this['_gitConfigured']=!![];}[a41_0x29079b(0x247)](_0x2e70dd){const _0x56cbe3=a41_0x29079b,_0x293e61={};_0x293e61[_0x56cbe3(0x1ad)]=function(_0x22177d,_0xf1d881){return _0x22177d!==_0xf1d881;};const _0x967714=_0x293e61,_0x2e3d9b=[];if(_0x2e70dd&&_0x2e70dd['parent']){let _0x32bd48=_0x2e70dd[_0x56cbe3(0x19a)];while(_0x32bd48&&_0x967714[_0x56cbe3(0x1ad)](_0x32bd48[_0x56cbe3(0x20a)],'')){_0x2e3d9b[_0x56cbe3(0x188)](_0x32bd48[_0x56cbe3(0x20a)]),_0x32bd48=_0x32bd48[_0x56cbe3(0x19a)];}}return _0x2e3d9b[_0x56cbe3(0x186)]()['splice'](0x0,0x2),_0x2e3d9b;}['needToReportStep'](_0x26ddfa){const _0x365a04=a41_0x29079b,_0x1e2d33={};_0x1e2d33[_0x365a04(0x168)]=function(_0x413707,_0x16c90b){return _0x413707!==_0x16c90b;},_0x1e2d33['rvdzz']=_0x365a04(0x234),_0x1e2d33[_0x365a04(0x21d)]=function(_0x5d59a5,_0x3ad4f4){return _0x5d59a5===_0x3ad4f4;},_0x1e2d33['PgpnN']=_0x365a04(0x1f1),_0x1e2d33['JXcSw']=_0x365a04(0x250),_0x1e2d33['bVDuP']=_0x365a04(0x1e7),_0x1e2d33[_0x365a04(0x1ed)]=_0x365a04(0x1ee);const _0x4517f0=_0x1e2d33;if(_0x4517f0[_0x365a04(0x168)](_0x26ddfa[_0x365a04(0x1dc)],_0x4517f0[_0x365a04(0x16d)]))return![];if(_0x4517f0[_0x365a04(0x21d)]([_0x4517f0[_0x365a04(0x1cd)],_0x4517f0[_0x365a04(0x1f8)],_0x4517f0[_0x365a04(0x161)],_0x4517f0['HonQM']][_0x365a04(0x192)](_0x26ddfa[_0x365a04(0x20a)]),-0x1))return![];return!![];}[a41_0x29079b(0x1e9)](_0x352da1,_0x4cd68a){const _0x3c6d89=a41_0x29079b,_0x3b73d1=_0x4cd68a[_0x3c6d89(0x244)];if(_0x3b73d1)return _0x3b73d1;return _0x4cd68a['title']+_0x3c6d89(0x1e1)+this[_0x3c6d89(0x17e)](_0x352da1);}['setStepIdentifier'](_0x2d553a,_0x5a877a){const _0x18dc29=a41_0x29079b,_0x12da90={'zgiNX':function(_0x33fb39){return _0x33fb39();}};let _0x9a213c=_0x5a877a[_0x18dc29(0x20a)]+_0x18dc29(0x1e1)+this[_0x18dc29(0x17e)](_0x2d553a);return this[_0x18dc29(0x1d5)][_0x9a213c]&&(_0x9a213c=_0x9a213c+_0x18dc29(0x242)+_0x12da90[_0x18dc29(0x190)](uuidv4)),_0x5a877a[_0x18dc29(0x244)]=_0x9a213c,_0x9a213c;}[a41_0x29079b(0x17e)]=_0x1b70f7=>{const _0x311caf=a41_0x29079b,_0x4f17fe={};_0x4f17fe['BBZcU']=function(_0x3bfbd7,_0x49b585){return _0x3bfbd7+_0x49b585;},_0x4f17fe['XYNmV']=function(_0x4c158c,_0x2bb9df){return _0x4c158c+_0x2bb9df;};const _0x10da58=_0x4f17fe;return _0x10da58[_0x311caf(0x15a)](_0x10da58[_0x311caf(0x23f)](_0x1b70f7[_0x311caf(0x1a2)],'-'),_0x1b70f7['id']);};[a41_0x29079b(0x1e2)]=(_0x4ebd46,_0x1ca743)=>{const _0x380b71=a41_0x29079b,_0xa15387={};_0xa15387['ONhlF']=function(_0x4d8195,_0x56cd8c){return _0x4d8195+_0x56cd8c;};const _0x2bda8e=_0xa15387;return _0x2bda8e[_0x380b71(0x229)](_0x2bda8e[_0x380b71(0x229)](this[_0x380b71(0x17e)](_0x4ebd46),'-'),_0x1ca743);};[a41_0x29079b(0x181)]=_0x14dc11=>{const _0x852e30=a41_0x29079b,_0x1307d1={};_0x1307d1[_0x852e30(0x202)]='beforeEach\x20hook',_0x1307d1['CEHoz']='BEFORE_EACH',_0x1307d1[_0x852e30(0x175)]=_0x852e30(0x250),_0x1307d1[_0x852e30(0x220)]=_0x852e30(0x243),_0x1307d1[_0x852e30(0x1f3)]=_0x852e30(0x1ee),_0x1307d1[_0x852e30(0x1ce)]=_0x852e30(0x1df),_0x1307d1[_0x852e30(0x21e)]='afterAll\x20hook',_0x1307d1['zLwvY']=_0x852e30(0x162),_0x1307d1['kmhmU']=_0x852e30(0x209);const _0x2469e5=_0x1307d1;if(_0x14dc11[_0x852e30(0x164)](_0x2469e5[_0x852e30(0x202)]))return _0x2469e5[_0x852e30(0x1fc)];else{if(_0x14dc11[_0x852e30(0x164)](_0x2469e5[_0x852e30(0x175)]))return _0x2469e5[_0x852e30(0x220)];else{if(_0x14dc11[_0x852e30(0x164)](_0x2469e5[_0x852e30(0x1f3)]))return _0x2469e5[_0x852e30(0x1ce)];else{if(_0x14dc11[_0x852e30(0x164)](_0x2469e5['IenNk']))return _0x2469e5[_0x852e30(0x154)];}}}return _0x2469e5[_0x852e30(0x1c9)];};[a41_0x29079b(0x200)]=_0x24e30e=>{const _0x26fcdb=a41_0x29079b,_0x27c611={};_0x27c611[_0x26fcdb(0x174)]=function(_0x1cd5b7,_0x5a8773){return _0x1cd5b7===_0x5a8773;},_0x27c611[_0x26fcdb(0x177)]=_0x26fcdb(0x24a);const _0x46b4bf=_0x27c611;let _0x2b5cb4=_0x24e30e['parent'];return _0x46b4bf[_0x26fcdb(0x174)](typeof _0x24e30e[_0x26fcdb(0x19a)],_0x46b4bf['BSGab'])&&(_0x2b5cb4=_0x2b5cb4['title']),_0x2b5cb4+_0x26fcdb(0x242)+_0x24e30e[_0x26fcdb(0x20a)];};[a41_0x29079b(0x183)](){return![];}}module[a41_0x29079b(0x203)]=o11yClassErrorHandler(MyReporter,['onBegin','endSession',a41_0x29079b(0x1bd),a41_0x29079b(0x20b),'onStepBegin','onStepEnd',a41_0x29079b(0x167)],a41_0x29079b(0x216));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a42_0x5a2a(_0x3ce757,_0x3f3b79){const _0x112563=a42_0x1125();return a42_0x5a2a=function(_0x5a2a39,_0xa63f9f){_0x5a2a39=_0x5a2a39-0xdf;let _0x56d3fd=_0x112563[_0x5a2a39];return _0x56d3fd;},a42_0x5a2a(_0x3ce757,_0x3f3b79);}const a42_0x429806=a42_0x5a2a;function a42_0x1125(){const _0x51d12e=['getStoreDirName','getStoreDirPath','tests','string','muqcf','oJUhY','aDZXy','IIoQC','join','uuid','.json','EYXOI','16KmKOFl','getTestIdFromTestInfo','existsSync','shutdown','../../../helpers/helper','_traceZipPaths.json','getTestDetails','setAccessibilityPlatformValidation','jNJPV','getProjectIdFromTestInfo','1521023cIRlWy','75192SqGAVP','904KvgPsm','938IgPaVb','getFilePath','homedir','split','3039903pjUAYW','../../../helpers/logger','readFileSync','../../../helpers/test-observability/constants','431916twjsVV','.txt','mkdirSync','dZKPr','.browserstack','filePath','6yIMlJh','appendToTracePaths','2423995kkLMWY','_projectId','utf8','env','readdirSync','traceZipPaths','error','qcXbd','uhEEo','appendFileSync','LdAOh','setTestDetails','wgRHh','Error\x20reading\x20trace\x20file\x20paths:\x20%s','arlam','Tldxx','values','_test','JCTEk','cwd','qCKny','toString','TIbFI','__projectId','_platformDetails.json','bIyHH','recursive','addTraceFilePath','BS_TESTOPS_BUILD_HASHED_ID','ICuXP','getTraceZipDir','setup','path','GgmSj','winstonLogger','stringify','exports','force','17345860vLiJzv','lPyBh','format','dirPath','testId','getAccessibilityPlatformValidation','getTestUUID','rmSync','some','util','push','QKMcL','0|2|4|3|1','HoIfO','traceZipDir','parse','getTestRunIdFromTestInfo','Fcshf','writeFileSync','zOpds'];a42_0x1125=function(){return _0x51d12e;};return a42_0x1125();}(function(_0x5c3486,_0x596f89){const _0x2378c7=a42_0x5a2a,_0x5939f0=_0x5c3486();while(!![]){try{const _0x2f69ee=-parseInt(_0x2378c7(0x105))/0x1*(-parseInt(_0x2378c7(0x106))/0x2)+-parseInt(_0x2378c7(0x10e))/0x3*(-parseInt(_0x2378c7(0xf9))/0x4)+parseInt(_0x2378c7(0x116))/0x5+-parseInt(_0x2378c7(0x114))/0x6*(-parseInt(_0x2378c7(0x103))/0x7)+-parseInt(_0x2378c7(0x104))/0x8+parseInt(_0x2378c7(0x10a))/0x9+-parseInt(_0x2378c7(0x13c))/0xa;if(_0x2f69ee===_0x596f89)break;else _0x5939f0['push'](_0x5939f0['shift']());}catch(_0x3982fb){_0x5939f0['push'](_0x5939f0['shift']());}}}(a42_0x1125,0x48336));const fs=require('fs'),path=require(a42_0x429806(0x136)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x429806(0x10d)),{nestedKeyValue}=require(a42_0x429806(0xfd)),logger=require(a42_0x429806(0x10b))[a42_0x429806(0x138)],util=require(a42_0x429806(0xe2)),helper=require(a42_0x429806(0xfd));class TestDetails{static [a42_0x429806(0xef)]={};static [a42_0x429806(0x13f)]=path[a42_0x429806(0xf5)](process[a42_0x429806(0x129)](),TestDetails['getStoreDirName']());static [a42_0x429806(0xe7)]=path[a42_0x429806(0xf5)](TestDetails['dirPath'],'traceZipPaths');static[a42_0x429806(0x135)](){const _0x578e65=a42_0x429806,_0x3f9ed9={};_0x3f9ed9['HoIfO']=_0x578e65(0xe5),_0x3f9ed9[_0x578e65(0x122)]=_0x578e65(0x11b);const _0x42d682=_0x3f9ed9,_0x5676ae=_0x42d682[_0x578e65(0xe6)][_0x578e65(0x109)]('|');let _0x35687c=0x0;while(!![]){switch(_0x5676ae[_0x35687c++]){case'0':this[_0x578e65(0x13f)]=path[_0x578e65(0xf5)](process[_0x578e65(0x129)](),TestDetails[_0x578e65(0xed)]());continue;case'1':const _0x4fd389={};_0x4fd389['recursive']=!![],fs['mkdirSync'](this[_0x578e65(0xe7)],_0x4fd389);continue;case'2':this[_0x578e65(0xe7)]=path['join'](this[_0x578e65(0x13f)],_0x42d682['wgRHh']);continue;case'3':const _0x5b7ca3={};_0x5b7ca3[_0x578e65(0x130)]=!![],fs[_0x578e65(0x110)](this[_0x578e65(0x13f)],_0x5b7ca3);continue;case'4':this[_0x578e65(0xfc)]();continue;}break;}}static[a42_0x429806(0xed)](){const _0x1b9dd8=a42_0x429806,_0x1736e8={};_0x1736e8['JCTEk']=function(_0x209c45,_0x22945a){return _0x209c45+_0x22945a;},_0x1736e8[_0x1b9dd8(0xf4)]=function(_0x526d36,_0x1ce1ab){return _0x526d36+_0x1ce1ab;};const _0x403055=_0x1736e8;return _0x403055[_0x1b9dd8(0x128)](_0x403055[_0x1b9dd8(0xf4)](TEMP_STORE_DIR_NAME,'-'),process[_0x1b9dd8(0x119)][_0x1b9dd8(0x132)]);}static[a42_0x429806(0xee)](){const _0x400664=a42_0x429806,_0x4c8f8c={};_0x4c8f8c[_0x400664(0x12f)]=function(_0x5aa7b2,_0x42bca9){return _0x5aa7b2+_0x42bca9;},_0x4c8f8c[_0x400664(0x125)]='default';const _0x5b995d=_0x4c8f8c;return path[_0x400664(0xf5)](process[_0x400664(0x129)](),_0x5b995d[_0x400664(0x12f)](_0x5b995d[_0x400664(0x12f)](TEMP_STORE_DIR_NAME,'-'),process[_0x400664(0x119)][_0x400664(0x132)]||_0x5b995d[_0x400664(0x125)]));}static['getTraceZipDir'](){const _0x180c3e=a42_0x429806,_0x3bd28d={};_0x3bd28d[_0x180c3e(0x11d)]=_0x180c3e(0x11b);const _0x390c9c=_0x3bd28d;return path['join'](this['getStoreDirPath'](),_0x390c9c[_0x180c3e(0x11d)]);}static[a42_0x429806(0x107)](_0x4cd3c7){const _0x15c539=a42_0x429806,_0x292c71={};_0x292c71[_0x15c539(0x137)]=function(_0x21b5ca,_0x566c10){return _0x21b5ca+_0x566c10;},_0x292c71[_0x15c539(0xea)]=_0x15c539(0xf7);const _0x1c1d2f=_0x292c71;return path[_0x15c539(0xf5)](this[_0x15c539(0x13f)],_0x1c1d2f[_0x15c539(0x137)](_0x4cd3c7,_0x1c1d2f[_0x15c539(0xea)]));}static[a42_0x429806(0xe9)](_0xf441e3){const _0x177117=a42_0x429806,_0x359066={};_0x359066[_0x177117(0xf3)]=function(_0x5c0f05,_0x57ec4c){return _0x5c0f05+_0x57ec4c;},_0x359066[_0x177117(0xe4)]=function(_0x596751,_0x2fc1ce){return _0x596751+_0x2fc1ce;};const _0x3c72d2=_0x359066;return _0x3c72d2[_0x177117(0xf3)](_0x3c72d2[_0x177117(0xe4)](_0x3c72d2[_0x177117(0xf3)](_0x3c72d2['aDZXy'](this['getProjectIdFromTestInfo'](_0xf441e3),'-'),this[_0x177117(0xfa)](_0xf441e3)),'-'),_0xf441e3['retry']);}static[a42_0x429806(0x102)](_0x2e579c){const _0x8e9a31=a42_0x429806,_0x96739d={'muqcf':function(_0x189d9e,_0x3b76b6,_0x26aec6){return _0x189d9e(_0x3b76b6,_0x26aec6);},'ICuXP':_0x8e9a31(0x127),'lPyBh':_0x8e9a31(0x117),'EYXOI':'project','XNBMV':_0x8e9a31(0x12d)};return _0x96739d[_0x8e9a31(0xf1)](nestedKeyValue,_0x2e579c,[_0x96739d[_0x8e9a31(0x133)],_0x96739d[_0x8e9a31(0x13d)]])||_0x96739d[_0x8e9a31(0xf1)](nestedKeyValue,_0x2e579c,[_0x96739d[_0x8e9a31(0xf8)],_0x96739d['XNBMV']]);}static[a42_0x429806(0xfa)](_0x2be041){const _0x1cbb0b=a42_0x429806,_0x3a18d9={'arlam':function(_0x5bbd43,_0x1813c2,_0x7e1271){return _0x5bbd43(_0x1813c2,_0x7e1271);},'LdAOh':_0x1cbb0b(0x127)};return _0x3a18d9[_0x1cbb0b(0x124)](nestedKeyValue,_0x2be041,[_0x3a18d9[_0x1cbb0b(0x120)],'id'])||_0x2be041[_0x1cbb0b(0x140)];}static[a42_0x429806(0xdf)](_0x1c0d9e){const _0x40c3aa=a42_0x429806,_0x2e7434={'zOpds':function(_0xd33cfe,_0x203e54){return _0xd33cfe===_0x203e54;},'oJUhY':_0x40c3aa(0xf0),'TIbFI':function(_0x3de7be){return _0x3de7be();}};if(this['tests'][_0x1c0d9e]&&_0x2e7434[_0x40c3aa(0xec)](typeof this['tests'][_0x1c0d9e][_0x40c3aa(0xf6)],_0x2e7434[_0x40c3aa(0xf2)]))return this[_0x40c3aa(0xef)][_0x1c0d9e][_0x40c3aa(0xf6)];const _0x5b2dad=this[_0x40c3aa(0x107)](_0x1c0d9e);if(_0x5b2dad&&fs['existsSync'](_0x5b2dad)){const _0x3f0bf7=JSON[_0x40c3aa(0xe8)](fs[_0x40c3aa(0x10c)](_0x5b2dad)[_0x40c3aa(0x12b)]());return this[_0x40c3aa(0xef)][_0x1c0d9e]=_0x3f0bf7,this[_0x40c3aa(0xef)][_0x1c0d9e]['uuid'];}return this['tests'][_0x1c0d9e]={'uuid':_0x2e7434[_0x40c3aa(0x12c)](uuidv4)},fs[_0x40c3aa(0xeb)](_0x5b2dad,JSON[_0x40c3aa(0x139)](this[_0x40c3aa(0xef)][_0x1c0d9e])),this['tests'][_0x1c0d9e][_0x40c3aa(0xf6)];}static[a42_0x429806(0x141)](_0x495f31){const _0x55b426=a42_0x429806,_0x15185e=path[_0x55b426(0xf5)](this[_0x55b426(0x13f)],_0x495f31+_0x55b426(0x12e));if(_0x15185e&&fs['existsSync'](_0x15185e))return fs[_0x55b426(0x10c)](_0x15185e)[_0x55b426(0x12b)]();}static[a42_0x429806(0x100)](_0x2ce7cb,_0xbe9382){const _0x32c100=a42_0x429806,_0x39a44c=path['join'](this['dirPath'],_0xbe9382+_0x32c100(0x12e));fs[_0x32c100(0xeb)](_0x39a44c,_0x2ce7cb[_0x32c100(0x12b)]());}static['shutdown'](){const _0x185168=a42_0x429806,_0x394ce9={};_0x394ce9[_0x185168(0x130)]=!![],_0x394ce9[_0x185168(0x13b)]=!![],fs[_0x185168(0xe0)](this['dirPath'],_0x394ce9);}static[a42_0x429806(0xff)](_0x19d5ee){const _0x49e84d=a42_0x429806;if(this[_0x49e84d(0xef)][_0x19d5ee])return this['tests'][_0x19d5ee];const _0x2141a3=this[_0x49e84d(0x107)](_0x19d5ee);if(_0x2141a3&&fs[_0x49e84d(0xfb)](_0x2141a3)){const _0x2caf82=JSON[_0x49e84d(0xe8)](fs['readFileSync'](_0x2141a3)[_0x49e84d(0x12b)]());return this['tests'][_0x19d5ee]=_0x2caf82,_0x2caf82;}return{};}static[a42_0x429806(0x121)](_0x20b0d0,_0x483dbd){const _0x18cbce=a42_0x429806,_0xf5a5e7=this[_0x18cbce(0x107)](_0x20b0d0);if(_0xf5a5e7&&fs['existsSync'](_0xf5a5e7)){const _0x17b3ac=JSON[_0x18cbce(0xe8)](fs[_0x18cbce(0x10c)](_0xf5a5e7)[_0x18cbce(0x12b)]()),_0x476d1f={..._0x17b3ac,..._0x483dbd};this[_0x18cbce(0xef)][_0x20b0d0]=_0x476d1f;}else this[_0x18cbce(0xef)][_0x20b0d0]=_0x483dbd;fs[_0x18cbce(0xeb)](_0xf5a5e7,this[_0x18cbce(0xef)][_0x20b0d0]);}static[a42_0x429806(0x131)](_0x455479){const _0x37ed85=a42_0x429806,_0x41e18f={};_0x41e18f['dZKPr']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x12bfc5=_0x41e18f;try{const _0x29dbe6=process['pid'],_0x5c16fa=path['join'](TestDetails[_0x37ed85(0x134)](),_0x29dbe6+_0x37ed85(0xfe));let _0x351239=[];_0x5c16fa&&fs[_0x37ed85(0xfb)](_0x5c16fa)&&(_0x351239=JSON['parse'](fs[_0x37ed85(0x10c)](_0x5c16fa)[_0x37ed85(0x12b)]())),!_0x351239[_0x37ed85(0xe1)](_0x1a80d2=>_0x1a80d2[_0x37ed85(0x113)]===_0x455479[_0x37ed85(0x113)])&&(_0x351239[_0x37ed85(0xe3)](_0x455479),fs[_0x37ed85(0xeb)](_0x5c16fa,JSON[_0x37ed85(0x139)](_0x351239)));}catch(_0x2e24b3){logger[_0x37ed85(0x11c)](_0x12bfc5[_0x37ed85(0x111)],_0x2e24b3);}}static['getTraceFilePaths'](){const _0x4185bf=a42_0x429806,_0x48bb43={};_0x48bb43['fRarm']=_0x4185bf(0xfe),_0x48bb43[_0x4185bf(0x11e)]=_0x4185bf(0x123);const _0x3371d0=_0x48bb43,_0x26c2ac=[];try{const _0x334485=TestDetails['getTraceZipDir']();if(_0x334485&&!fs['existsSync'](_0x334485))return _0x26c2ac;const _0x3282f6=fs[_0x4185bf(0x11a)](_0x334485);_0x3282f6['forEach'](_0x4cd168=>{const _0x1f870e=_0x4185bf;if(_0x4cd168&&_0x4cd168['endsWith'](_0x3371d0['fRarm'])){const _0x87cd1c=JSON[_0x1f870e(0xe8)](fs[_0x1f870e(0x10c)](path[_0x1f870e(0xf5)](_0x334485,_0x4cd168))[_0x1f870e(0x12b)]());_0x26c2ac[_0x1f870e(0xe3)](..._0x87cd1c);}});}catch(_0x308978){logger[_0x4185bf(0x11c)](util[_0x4185bf(0x13e)](_0x3371d0[_0x4185bf(0x11e)],_0x308978));}const _0x26f641={};return _0x26c2ac['forEach'](_0x5e0129=>{const _0xfdf231=_0x4185bf;_0x26f641[_0x5e0129[_0xfdf231(0x113)]]=_0x5e0129;}),Object[_0x4185bf(0x126)](_0x26f641);}static[a42_0x429806(0x115)](_0x38467e,_0x38998e){const _0x584daf=a42_0x429806,_0x161697={};_0x161697['qCKny']=_0x584daf(0x112),_0x161697[_0x584daf(0x101)]=_0x584daf(0x118);const _0x240628=_0x161697;try{const _0x314b31=path[_0x584daf(0xf5)](helper[_0x584daf(0x108)](),_0x240628[_0x584daf(0x12a)]);if(!fs[_0x584daf(0xfb)](_0x314b31)){const _0x2e2025={};_0x2e2025[_0x584daf(0x130)]=!![],fs[_0x584daf(0x110)](_0x314b31,_0x2e2025);}fs[_0x584daf(0x11f)](path[_0x584daf(0xf5)](_0x314b31,'trace_'+_0x38998e+_0x584daf(0x10f)),_0x38467e+'\x0a',_0x240628[_0x584daf(0x101)]);}catch(_0x438ce4){console[_0x584daf(0x11c)]('Error\x20writing\x20trace\x20file:\x20'+_0x438ce4['message']);}}}module[a42_0x429806(0x13a)]=TestDetails;
|
|
1
|
+
const a42_0x37c5c8=a42_0x1c3a;(function(_0x3d1a8e,_0x5c595c){const _0x48c89a=a42_0x1c3a,_0x58bf91=_0x3d1a8e();while(!![]){try{const _0x14d24b=parseInt(_0x48c89a(0x19c))/0x1+parseInt(_0x48c89a(0x1ab))/0x2*(parseInt(_0x48c89a(0x1c2))/0x3)+parseInt(_0x48c89a(0x1da))/0x4+parseInt(_0x48c89a(0x1ef))/0x5+-parseInt(_0x48c89a(0x1b0))/0x6*(parseInt(_0x48c89a(0x1dc))/0x7)+parseInt(_0x48c89a(0x1bb))/0x8+-parseInt(_0x48c89a(0x1f3))/0x9*(parseInt(_0x48c89a(0x1b2))/0xa);if(_0x14d24b===_0x5c595c)break;else _0x58bf91['push'](_0x58bf91['shift']());}catch(_0x26ed60){_0x58bf91['push'](_0x58bf91['shift']());}}}(a42_0x488f,0xc0654));const fs=require('fs'),path=require(a42_0x37c5c8(0x1a9)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x37c5c8(0x1aa)),{nestedKeyValue}=require(a42_0x37c5c8(0x1e1)),logger=require(a42_0x37c5c8(0x1df))[a42_0x37c5c8(0x1a8)],util=require('util'),helper=require(a42_0x37c5c8(0x1e1));function a42_0x1c3a(_0x4c1810,_0x517f73){const _0x488f91=a42_0x488f();return a42_0x1c3a=function(_0x1c3a80,_0x77bae0){_0x1c3a80=_0x1c3a80-0x199;let _0x504177=_0x488f91[_0x1c3a80];return _0x504177;},a42_0x1c3a(_0x4c1810,_0x517f73);}function a42_0x488f(){const _0x30470c=['shImK','getTestDetails','../../../helpers/logger','getTestIdFromTestInfo','../../../helpers/helper','join','.browserstack','homedir','DryKC','AErqG','pid','values','zmLqZ','getStoreDirName','Error\x20handling\x20trace\x20file\x20paths:\x20','shutdown','getProjectIdFromTestInfo','WIyaQ','4333150TexjbZ','YNgFy','getStoreDirPath','WwnsZ','1773vPxThA','force','appendFileSync','default','jAPzA','uuid','159977nvSlhE','string','split','_traceZipPaths.json','getAccessibilityPlatformValidation','rmSync','XYzgq','toString','MOzGI','env','utf8','taKng','winstonLogger','path','../../../helpers/test-observability/constants','16GQZMYn','filePath','getFilePath','_platformDetails.json','getTraceZipDir','12HcAzTU','addTraceFilePath','95610UEXLOV','forEach','setAccessibilityPlatformValidation','WPWxU','_test','HOFti','lPajA','dirPath','yoJaq','10429216BYFYpL','recursive','traceZipPaths','setTestDetails','QqmMy','error','existsSync','64041BHFXWu','DehGv','CXSgT','format','tests','KaSHR','traceZipDir','hXUvy','getTestUUID','getTraceFilePaths','getTestRunIdFromTestInfo','setup','CotVu','push','Error\x20writing\x20trace\x20file:\x20','writeFileSync','parse','appendToTracePaths','message','stringify','readFileSync','Error\x20reading\x20trace\x20file\x20paths:\x20%s','lmFNA','cwd','2459584qYMMFy','testId','1555267kjmmHg'];a42_0x488f=function(){return _0x30470c;};return a42_0x488f();}class TestDetails{static [a42_0x37c5c8(0x1c6)]={};static ['dirPath']=path[a42_0x37c5c8(0x1e2)](process['cwd'](),TestDetails[a42_0x37c5c8(0x1ea)]());static [a42_0x37c5c8(0x1c8)]=path[a42_0x37c5c8(0x1e2)](TestDetails['dirPath'],a42_0x37c5c8(0x1bd));static[a42_0x37c5c8(0x1cd)](){const _0x2f9266=a42_0x37c5c8,_0x4bc794={};_0x4bc794[_0x2f9266(0x1ee)]='2|1|4|3|0',_0x4bc794[_0x2f9266(0x1a2)]=_0x2f9266(0x1bd);const _0x525054=_0x4bc794,_0x5d3f50=_0x525054[_0x2f9266(0x1ee)][_0x2f9266(0x19e)]('|');let _0x598986=0x0;while(!![]){switch(_0x5d3f50[_0x598986++]){case'0':const _0x87edf2={};_0x87edf2[_0x2f9266(0x1bc)]=!![],fs['mkdirSync'](this[_0x2f9266(0x1c8)],_0x87edf2);continue;case'1':this[_0x2f9266(0x1c8)]=path['join'](this['dirPath'],_0x525054['XYzgq']);continue;case'2':this[_0x2f9266(0x1b9)]=path[_0x2f9266(0x1e2)](process[_0x2f9266(0x1d9)](),TestDetails[_0x2f9266(0x1ea)]());continue;case'3':const _0xc14eba={};_0xc14eba[_0x2f9266(0x1bc)]=!![],fs['mkdirSync'](this['dirPath'],_0xc14eba);continue;case'4':this[_0x2f9266(0x1ec)]();continue;}break;}}static[a42_0x37c5c8(0x1ea)](){const _0x4fd7a0=a42_0x37c5c8,_0x2be354={};_0x2be354[_0x4fd7a0(0x1a4)]=function(_0x58db30,_0xbaaa86){return _0x58db30+_0xbaaa86;},_0x2be354[_0x4fd7a0(0x1c3)]=function(_0x2e0a2b,_0x5a61bc){return _0x2e0a2b+_0x5a61bc;};const _0x47f5d8=_0x2be354;return _0x47f5d8[_0x4fd7a0(0x1a4)](_0x47f5d8['DehGv'](TEMP_STORE_DIR_NAME,'-'),process[_0x4fd7a0(0x1a5)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a42_0x37c5c8(0x1f1)](){const _0x57d0eb=a42_0x37c5c8,_0x4bd55d={};_0x4bd55d[_0x57d0eb(0x1b8)]=function(_0xa7b4e7,_0x57e3b0){return _0xa7b4e7+_0x57e3b0;},_0x4bd55d[_0x57d0eb(0x1b5)]=_0x57d0eb(0x199);const _0x194d8c=_0x4bd55d;return path[_0x57d0eb(0x1e2)](process[_0x57d0eb(0x1d9)](),_0x194d8c[_0x57d0eb(0x1b8)](_0x194d8c[_0x57d0eb(0x1b8)](TEMP_STORE_DIR_NAME,'-'),process['env']['BS_TESTOPS_BUILD_HASHED_ID']||_0x194d8c[_0x57d0eb(0x1b5)]));}static['getTraceZipDir'](){const _0x4e830a=a42_0x37c5c8,_0x1fdcf7={};_0x1fdcf7['GEqND']=_0x4e830a(0x1bd);const _0x1f0023=_0x1fdcf7;return path[_0x4e830a(0x1e2)](this[_0x4e830a(0x1f1)](),_0x1f0023['GEqND']);}static[a42_0x37c5c8(0x1ad)](_0x593b53){const _0x3a4b4a=a42_0x37c5c8,_0x1f1b57={};_0x1f1b57[_0x3a4b4a(0x19a)]=function(_0x38357d,_0x52c312){return _0x38357d+_0x52c312;},_0x1f1b57[_0x3a4b4a(0x1e5)]='.json';const _0x2e0746=_0x1f1b57;return path[_0x3a4b4a(0x1e2)](this[_0x3a4b4a(0x1b9)],_0x2e0746[_0x3a4b4a(0x19a)](_0x593b53,_0x2e0746[_0x3a4b4a(0x1e5)]));}static[a42_0x37c5c8(0x1cc)](_0x16d973){const _0x20c347=a42_0x37c5c8,_0x585c8d={};_0x585c8d[_0x20c347(0x1e9)]=function(_0x4a37fa,_0x424805){return _0x4a37fa+_0x424805;},_0x585c8d['YNgFy']=function(_0x35bcb0,_0x50468c){return _0x35bcb0+_0x50468c;};const _0x317c17=_0x585c8d;return _0x317c17[_0x20c347(0x1e9)](_0x317c17[_0x20c347(0x1e9)](_0x317c17[_0x20c347(0x1f0)](_0x317c17[_0x20c347(0x1f0)](this[_0x20c347(0x1ed)](_0x16d973),'-'),this[_0x20c347(0x1e0)](_0x16d973)),'-'),_0x16d973['retry']);}static[a42_0x37c5c8(0x1ed)](_0x189a60){const _0x1ff05d=a42_0x37c5c8,_0x516656={'lmFNA':function(_0x318fb8,_0x2e1800,_0x4571ee){return _0x318fb8(_0x2e1800,_0x4571ee);},'uliTv':_0x1ff05d(0x1b6),'hXUvy':'_projectId','shImK':function(_0x18c3e7,_0x170c3b,_0x3a1497){return _0x18c3e7(_0x170c3b,_0x3a1497);},'CotVu':'project','AErqG':'__projectId'};return _0x516656[_0x1ff05d(0x1d8)](nestedKeyValue,_0x189a60,[_0x516656['uliTv'],_0x516656[_0x1ff05d(0x1c9)]])||_0x516656[_0x1ff05d(0x1dd)](nestedKeyValue,_0x189a60,[_0x516656[_0x1ff05d(0x1ce)],_0x516656[_0x1ff05d(0x1e6)]]);}static[a42_0x37c5c8(0x1e0)](_0x358aeb){const _0x1063e3=a42_0x37c5c8,_0x28d206={'qyNuU':function(_0x11d7f4,_0x396dbb,_0x335739){return _0x11d7f4(_0x396dbb,_0x335739);},'QqmMy':_0x1063e3(0x1b6)};return _0x28d206['qyNuU'](nestedKeyValue,_0x358aeb,[_0x28d206[_0x1063e3(0x1bf)],'id'])||_0x358aeb[_0x1063e3(0x1db)];}static[a42_0x37c5c8(0x1ca)](_0x93cb1e){const _0x42e225=a42_0x37c5c8,_0x26db83={'taKng':function(_0x200f23,_0x6d6856){return _0x200f23===_0x6d6856;},'HOFti':_0x42e225(0x19d),'KaSHR':function(_0x3cb982){return _0x3cb982();}};if(this[_0x42e225(0x1c6)][_0x93cb1e]&&_0x26db83[_0x42e225(0x1a7)](typeof this[_0x42e225(0x1c6)][_0x93cb1e][_0x42e225(0x19b)],_0x26db83[_0x42e225(0x1b7)]))return this[_0x42e225(0x1c6)][_0x93cb1e][_0x42e225(0x19b)];const _0x397f27=this[_0x42e225(0x1ad)](_0x93cb1e);if(_0x397f27&&fs[_0x42e225(0x1c1)](_0x397f27)){const _0x1762e1=JSON[_0x42e225(0x1d2)](fs['readFileSync'](_0x397f27)['toString']());return this['tests'][_0x93cb1e]=_0x1762e1,this[_0x42e225(0x1c6)][_0x93cb1e][_0x42e225(0x19b)];}return this[_0x42e225(0x1c6)][_0x93cb1e]={'uuid':_0x26db83[_0x42e225(0x1c7)](uuidv4)},fs[_0x42e225(0x1d1)](_0x397f27,JSON[_0x42e225(0x1d5)](this[_0x42e225(0x1c6)][_0x93cb1e])),this[_0x42e225(0x1c6)][_0x93cb1e]['uuid'];}static[a42_0x37c5c8(0x1a0)](_0x4ca35e){const _0x4572b5=a42_0x37c5c8,_0x3fc097=path[_0x4572b5(0x1e2)](this[_0x4572b5(0x1b9)],_0x4ca35e+_0x4572b5(0x1ae));if(_0x3fc097&&fs[_0x4572b5(0x1c1)](_0x3fc097))return fs[_0x4572b5(0x1d6)](_0x3fc097)[_0x4572b5(0x1a3)]();}static[a42_0x37c5c8(0x1b4)](_0xb7e5e7,_0xb6497c){const _0xefa9aa=a42_0x37c5c8,_0x1ca937=path['join'](this[_0xefa9aa(0x1b9)],_0xb6497c+_0xefa9aa(0x1ae));fs[_0xefa9aa(0x1d1)](_0x1ca937,_0xb7e5e7[_0xefa9aa(0x1a3)]());}static['shutdown'](){const _0x37278d=a42_0x37c5c8,_0xeeb62d={};_0xeeb62d[_0x37278d(0x1bc)]=!![],_0xeeb62d[_0x37278d(0x1f4)]=!![],fs[_0x37278d(0x1a1)](this[_0x37278d(0x1b9)],_0xeeb62d);}static[a42_0x37c5c8(0x1de)](_0x3d011f){const _0x55c002=a42_0x37c5c8;if(this[_0x55c002(0x1c6)][_0x3d011f])return this['tests'][_0x3d011f];const _0x3feaaa=this[_0x55c002(0x1ad)](_0x3d011f);if(_0x3feaaa&&fs[_0x55c002(0x1c1)](_0x3feaaa)){const _0x38eb5e=JSON[_0x55c002(0x1d2)](fs[_0x55c002(0x1d6)](_0x3feaaa)[_0x55c002(0x1a3)]());return this[_0x55c002(0x1c6)][_0x3d011f]=_0x38eb5e,_0x38eb5e;}return{};}static[a42_0x37c5c8(0x1be)](_0x38ed3e,_0x163162){const _0x2247a5=a42_0x37c5c8,_0x1e3fd0=this[_0x2247a5(0x1ad)](_0x38ed3e);if(_0x1e3fd0&&fs[_0x2247a5(0x1c1)](_0x1e3fd0)){const _0x635a8=JSON[_0x2247a5(0x1d2)](fs['readFileSync'](_0x1e3fd0)[_0x2247a5(0x1a3)]()),_0x51b7fd={..._0x635a8,..._0x163162};this['tests'][_0x38ed3e]=_0x51b7fd;}else this[_0x2247a5(0x1c6)][_0x38ed3e]=_0x163162;fs[_0x2247a5(0x1d1)](_0x1e3fd0,this[_0x2247a5(0x1c6)][_0x38ed3e]);}static[a42_0x37c5c8(0x1b1)](_0x5c1af1){const _0x24881d=a42_0x37c5c8,_0x3fa60a={};_0x3fa60a[_0x24881d(0x1ba)]=_0x24881d(0x1eb);const _0x461927=_0x3fa60a;try{const _0x49e6c0=process[_0x24881d(0x1e7)],_0xf0e090=path[_0x24881d(0x1e2)](TestDetails[_0x24881d(0x1af)](),_0x49e6c0+_0x24881d(0x19f));let _0x3f60bb=[];_0xf0e090&&fs[_0x24881d(0x1c1)](_0xf0e090)&&(_0x3f60bb=JSON[_0x24881d(0x1d2)](fs['readFileSync'](_0xf0e090)[_0x24881d(0x1a3)]())),!_0x3f60bb['some'](_0xbd2029=>_0xbd2029['filePath']===_0x5c1af1[_0x24881d(0x1ac)])&&(_0x3f60bb['push'](_0x5c1af1),fs[_0x24881d(0x1d1)](_0xf0e090,JSON['stringify'](_0x3f60bb)));}catch(_0x40da15){logger[_0x24881d(0x1c0)](_0x461927[_0x24881d(0x1ba)],_0x40da15);}}static[a42_0x37c5c8(0x1cb)](){const _0x5a1b20=a42_0x37c5c8,_0xd9ae60={};_0xd9ae60['LCboy']='_traceZipPaths.json',_0xd9ae60['MXELL']=_0x5a1b20(0x1d7);const _0x3c8efd=_0xd9ae60,_0x4a3418=[];try{const _0x2ad251=TestDetails[_0x5a1b20(0x1af)]();if(_0x2ad251&&!fs[_0x5a1b20(0x1c1)](_0x2ad251))return _0x4a3418;const _0x59c6a8=fs['readdirSync'](_0x2ad251);_0x59c6a8['forEach'](_0x55128d=>{const _0x25d4ed=_0x5a1b20;if(_0x55128d&&_0x55128d['endsWith'](_0x3c8efd['LCboy'])){const _0x10572c=JSON[_0x25d4ed(0x1d2)](fs[_0x25d4ed(0x1d6)](path['join'](_0x2ad251,_0x55128d))[_0x25d4ed(0x1a3)]());_0x4a3418[_0x25d4ed(0x1cf)](..._0x10572c);}});}catch(_0x4daafd){logger[_0x5a1b20(0x1c0)](util[_0x5a1b20(0x1c5)](_0x3c8efd['MXELL'],_0x4daafd));}const _0xd6f333={};return _0x4a3418[_0x5a1b20(0x1b3)](_0x1ebd67=>{_0xd6f333[_0x1ebd67['filePath']]=_0x1ebd67;}),Object[_0x5a1b20(0x1e8)](_0xd6f333);}static[a42_0x37c5c8(0x1d3)](_0x20b042,_0x3cc997){const _0x268e6b=a42_0x37c5c8,_0x1376c7={};_0x1376c7[_0x268e6b(0x1c4)]=_0x268e6b(0x1e3),_0x1376c7['WwnsZ']=_0x268e6b(0x1a6);const _0xd70367=_0x1376c7;try{const _0x4926d8=path['join'](helper[_0x268e6b(0x1e4)](),_0xd70367['CXSgT']);if(!fs[_0x268e6b(0x1c1)](_0x4926d8)){const _0x164d3b={};_0x164d3b[_0x268e6b(0x1bc)]=!![],fs['mkdirSync'](_0x4926d8,_0x164d3b);}fs[_0x268e6b(0x1f5)](path['join'](_0x4926d8,'trace_'+_0x3cc997+'.txt'),_0x20b042+'\x0a',_0xd70367[_0x268e6b(0x1f2)]);}catch(_0x2e362b){console['error'](_0x268e6b(0x1d0)+_0x2e362b[_0x268e6b(0x1d4)]);}}}module['exports']=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0x7ce662=a43_0x500a;(function(_0x2f3c6d,_0x41635e){const _0x314ec8=a43_0x500a,_0x4e75de=_0x2f3c6d();while(!![]){try{const _0x2d3043=-parseInt(_0x314ec8(0x97))/0x1*(-parseInt(_0x314ec8(0xc8))/0x2)+parseInt(_0x314ec8(0x72))/0x3*(-parseInt(_0x314ec8(0xa2))/0x4)+parseInt(_0x314ec8(0x88))/0x5+parseInt(_0x314ec8(0x70))/0x6*(parseInt(_0x314ec8(0xc6))/0x7)+parseInt(_0x314ec8(0xe1))/0x8*(parseInt(_0x314ec8(0x107))/0x9)+parseInt(_0x314ec8(0xed))/0xa+-parseInt(_0x314ec8(0xeb))/0xb;if(_0x2d3043===_0x41635e)break;else _0x4e75de['push'](_0x4e75de['shift']());}catch(_0x2301a6){_0x4e75de['push'](_0x4e75de['shift']());}}}(a43_0x224b,0x8544c));function a43_0x224b(){const _0x48b64c=['tPWGV','project','debug','includes','wsEndpoint','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','sessionError','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','Page','VipUh','fromEntries','CRConnection','Error\x20in\x20finding\x20platform\x20details\x20','xDKgA','8RlRzpE','util','browser','format','eTwVD','bsSessionId','tXMkb','dispatch','fSaZa','VssBB','16558300gRatAO','getDetails','1448200dwYOLf','currentSessionDetails','accessibilityPlatform','exports','OUkYg','HgIUV','playwright-','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','_type','params','function','platform_version','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','join','connection.js','ztADX','platformVersion','lAxuV','safari','../../helpers/test-observability/error-handler','zVBkl','_name','_defaultConnectOptions','byDJa','performScan','use','1166229Gabxcd','aNnYF','defineProperty','yGmLE','ZSQZz','toLowerCase','Error\x20in\x20importing\x20crConnection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','Oxozg','patchConnection','EgWgA','browserstack','UUXni','browserstack-ats.com','FUZWJ','jDfgn','JZveb','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','NvGVm','platformName','2857524gkAegQ','currentTest','75291JUjSft','XQazm','PcqBP','firefox','pKprK','WNOqv','parse','sendMessageToServer','QFqbr','local_grid','crConnection.js','lLwyW','platform','VSaqs','isRemote','rirVz','zPHgA','_browserType','yIQpu','product','../../helpers/test-observability/utils','bstackPerformA11yScan','3487525LnKQso','sessionId','titlePath','bShbW','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','IzJFY','../../helpers/accessibility-automation/scripts','LMlcx','bStackParams','AitxS','deviceModel','query','qPSZJ','mcePH','patch','678299xWgEKC','prototype','_onMessage','edge','setupBrowserDetails','capabilities','__workerDetails','chromium','../../bin/playwright/accessibility-helper','ATS_WSS_URL_REGEX','WwlAq','12KaoSpq','lib','chrome','browserstack.com','shouldWrapCommand','kTzNI','thCCR','model','unknown_grid','testInfo','ukYSj','bsParams','gGyjx','caps','../utils/constants','../../helpers/accessibility-automation/helper','ssYSl','../../helpers/logger','cloudProvider','apply','htAiM','path','platformDetails','BROWSERSTACK_TEST_OBSERVABILITY','browserName','yyxir','toString','connectOptions','Error\x20in\x20importing\x20connection\x20','MAhvY','__driver','YToYd','assign','browser_version','version','GJqIQ','7tVgBAf','hqjnX','2bOwzBk','Device\x20Model\x20is\x20not\x20available','Connection','PYAUI','TDUcy','Wpmpx','method','FrZoj','msUaK','Not\x20able\x20to\x20import\x20crConnection','winstonLogger'];a43_0x224b=function(){return _0x48b64c;};return a43_0x224b();}function a43_0x500a(_0x580a4c,_0x25dd69){const _0x224b21=a43_0x224b();return a43_0x500a=function(_0x500ae4,_0x383816){_0x500ae4=_0x500ae4-0x66;let _0x334416=_0x224b21[_0x500ae4];return _0x334416;},a43_0x500a(_0x580a4c,_0x25dd69);}const path=require(a43_0x7ce662(0xb7)),url=require('url'),util=require(a43_0x7ce662(0xe2)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x7ce662(0x100)),{debug,getPlatformDetails}=require(a43_0x7ce662(0x86)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x7ce662(0xb1)),logger=require(a43_0x7ce662(0xb3))[a43_0x7ce662(0xd2)],scripts=require(a43_0x7ce662(0x8e)),{browserStackExecuteDriver}=require(a43_0x7ce662(0x9f)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a43_0x7ce662(0xb0)),getBrowserNameFromChannel=_0x1253cd=>{const _0x5adab4=a43_0x7ce662,_0x52c906={};_0x52c906[_0x5adab4(0x111)]=_0x5adab4(0xa4),_0x52c906['PcqBP']=_0x5adab4(0x9a),_0x52c906['yyxir']=_0x5adab4(0x75),_0x52c906[_0x5adab4(0xb6)]=_0x5adab4(0xff);const _0xfbdd16=_0x52c906;if(_0x1253cd[_0x5adab4(0xd6)](_0xfbdd16['EgWgA']))return _0xfbdd16[_0x5adab4(0x111)];if(_0x1253cd[_0x5adab4(0xd6)](_0xfbdd16[_0x5adab4(0x74)]))return _0xfbdd16[_0x5adab4(0x74)];if(_0x1253cd[_0x5adab4(0xd6)](_0xfbdd16[_0x5adab4(0xbb)]))return _0xfbdd16['yyxir'];if(_0x1253cd['includes'](_0xfbdd16[_0x5adab4(0xb6)]))return _0xfbdd16[_0x5adab4(0xb6)];},getBrowserFromWSEndpoint=_0x5d4c2b=>{const _0xd2da64=a43_0x7ce662,_0x524972={'emTGd':_0xd2da64(0xa4),'YToYd':function(_0x671aa4,_0x42e357){return _0x671aa4(_0x42e357);}};try{const _0x4503f7=url['parse'](_0x5d4c2b),_0xc0fc28=new URLSearchParams(_0x4503f7[_0xd2da64(0x93)]),_0xa93c5c=Object[_0xd2da64(0xdd)](_0xc0fc28['entries']()),_0x563167=JSON[_0xd2da64(0x78)](_0xa93c5c[_0xd2da64(0xaf)]);if(_0x563167&&(_0x563167[_0xd2da64(0xe3)]||_0x563167[_0xd2da64(0xba)]))return _0x563167[_0xd2da64(0xe3)]||_0x563167[_0xd2da64(0xba)];return _0x524972['emTGd'];}catch(_0x297721){_0x524972[_0xd2da64(0xc1)](debug,_0xd2da64(0xd8)+_0x297721[_0xd2da64(0xbc)]());}},getCloudProviderFromWsEndpoint=_0x9acae3=>{const _0x54d446=a43_0x7ce662,_0x389c97={};_0x389c97[_0x54d446(0xcd)]=_0x54d446(0xa5),_0x389c97['kTzNI']=_0x54d446(0x68),_0x389c97[_0x54d446(0xe0)]=_0x54d446(0x66),_0x389c97[_0x54d446(0xc5)]=_0x54d446(0xaa);const _0x9ef357=_0x389c97;if(_0x9acae3[_0x54d446(0xd6)](_0x9ef357['Wpmpx'])||_0x9acae3['includes'](_0x9ef357[_0x54d446(0xa7)]))return _0x9ef357[_0x54d446(0xe0)];return _0x9ef357['GJqIQ'];},a43_0x3e6aeb={};a43_0x3e6aeb[a43_0x7ce662(0xb4)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0xe6)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0xe3)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0xc3)]=undefined,a43_0x3e6aeb[a43_0x7ce662(0x7e)]=undefined,a43_0x3e6aeb['platform_version']=undefined,a43_0x3e6aeb['product']=undefined,a43_0x3e6aeb[a43_0x7ce662(0x9c)]={};class PlaywrightSessionDetails{static [a43_0x7ce662(0xee)]=a43_0x3e6aeb;constructor(){const _0x48d2ff=a43_0x7ce662,_0x19968a={};_0x19968a[_0x48d2ff(0x69)]=_0x48d2ff(0x10e);const _0x4f211a=_0x19968a;throw new Error(_0x4f211a[_0x48d2ff(0x69)]);}static [a43_0x7ce662(0xd9)]=null;static[a43_0x7ce662(0x9b)](_0x21ccf0,_0x92925e,_0x218f38=null){const _0x3f2a3e=a43_0x7ce662,_0xfe3e24={'HgIUV':function(_0x1a7227,_0xaa06cb){return _0x1a7227===_0xaa06cb;},'LMlcx':_0x3f2a3e(0xf7),'mcePH':_0x3f2a3e(0x8c),'byDJa':function(_0x58eee7,_0x37f224){return _0x58eee7===_0x37f224;},'hqjnX':_0x3f2a3e(0xc9),'jDfgn':_0x3f2a3e(0x7b),'rirVz':function(_0x4315d6,_0x4a61ad,_0xcb62ba){return _0x4315d6(_0x4a61ad,_0xcb62ba);},'VSaqs':_0x3f2a3e(0x83),'AitxS':_0x3f2a3e(0x103),'gnpVo':'project','XQazm':_0x3f2a3e(0x106),'FrZoj':_0x3f2a3e(0xbd),'ukYSj':function(_0x1d5580,_0x1c83dd){return _0x1d5580(_0x1c83dd);},'OUkYg':'browserstack','bShbW':'turboscale','eTwVD':'automate','TDUcy':function(_0x303bdf,_0x2e9714){return _0x303bdf(_0x2e9714);},'MAhvY':function(_0x4bc66e,_0x44befc){return _0x4bc66e+_0x44befc;},'gACjH':_0x3f2a3e(0xf3),'ZSQZz':function(_0x521c56){return _0x521c56();},'qPSZJ':function(_0x9ede08,_0xab2fee,_0x6bca12){return _0x9ede08(_0xab2fee,_0x6bca12);},'JjpbV':_0x3f2a3e(0x9b)},_0x2bc16f=this;return _0xfe3e24[_0x3f2a3e(0x94)](o11yErrorHandler,async function _0x11c36e(_0x2152c7,_0x4debb5,_0x467c98=null){const _0x3f1619=_0x3f2a3e;let _0x3f8078=_0x2152c7[_0x3f1619(0x102)],_0x1213ed=null;_0x2152c7&&_0xfe3e24[_0x3f1619(0xf2)](typeof _0x2152c7['version'],_0xfe3e24[_0x3f1619(0x8f)])?_0x1213ed=_0x2152c7[_0x3f1619(0xc4)]():logger[_0x3f1619(0xd5)](_0xfe3e24[_0x3f1619(0x95)]);let _0x2995f4=null;_0x2152c7&&_0xfe3e24[_0x3f1619(0x104)](typeof _0x2152c7[_0x3f1619(0xa9)],_0xfe3e24[_0x3f1619(0x8f)])?_0x2995f4=_0x2152c7[_0x3f1619(0xa9)]():logger[_0x3f1619(0xd5)](_0xfe3e24[_0x3f1619(0xc7)]);let _0x1a71de=null,_0x14f634=null,_0x3a3679=null,_0x29986b=_0xfe3e24[_0x3f1619(0x6a)];if(_0x2152c7['_connection'][_0x3f1619(0x80)]()||global[_0x3f1619(0xef)]){let _0x3a491c=null;_0xfe3e24[_0x3f1619(0x81)](nestedKeyValue,_0x2152c7,[_0xfe3e24[_0x3f1619(0x7f)],_0xfe3e24[_0x3f1619(0x91)]])?_0x3a491c=_0x2152c7[_0x3f1619(0x83)][_0x3f1619(0x103)]:_0x3a491c=_0xfe3e24[_0x3f1619(0x81)](nestedKeyValue,_0x4debb5,[_0xfe3e24['gnpVo'],_0xfe3e24[_0x3f1619(0x73)],_0xfe3e24[_0x3f1619(0xcf)]]);const _0x5927d2=_0x467c98||_0x3a491c&&_0x3a491c[_0x3f1619(0xd7)];_0x5927d2&&(_0x29986b=_0xfe3e24[_0x3f1619(0xac)](getCloudProviderFromWsEndpoint,_0x5927d2),_0xfe3e24[_0x3f1619(0xf2)](_0x29986b,_0xfe3e24[_0x3f1619(0xf1)])&&(_0x3a3679=constants[_0x3f1619(0xa0)]['test'](_0x5927d2)?_0xfe3e24[_0x3f1619(0x8b)]:_0xfe3e24[_0x3f1619(0xe5)],_0x3f8078=_0xfe3e24['TDUcy'](getBrowserFromWSEndpoint,_0x5927d2)||_0x3f8078,_0x1a71de=_0x2bc16f[_0x3f1619(0xee)][_0x3f1619(0x7e)],_0x14f634=_0x2bc16f['currentSessionDetails'][_0x3f1619(0xf8)]));}else{_0x4debb5&&_0x4debb5['project'][_0x3f1619(0x106)]['channel']?_0x3f8078=_0xfe3e24[_0x3f1619(0xcc)](getBrowserNameFromChannel,_0x4debb5[_0x3f1619(0xd4)][_0x3f1619(0x106)]['channel']):_0x3f8078=_0xfe3e24[_0x3f1619(0xbf)](_0xfe3e24['gACjH'],_0x3f8078[_0x3f1619(0x10c)]());const _0x50fe1d=await _0xfe3e24[_0x3f1619(0x10b)](getPlatformDetails);_0x1a71de=_0x50fe1d[_0x3f1619(0x6f)],_0x14f634=_0x50fe1d[_0x3f1619(0xfd)];}const _0x1b0c8a={};_0x1b0c8a[_0x3f1619(0xe3)]=_0x3f8078,_0x1b0c8a['browser_version']=_0x1213ed,_0x1b0c8a[_0x3f1619(0x9c)]={},_0x1b0c8a[_0x3f1619(0x7e)]=_0x1a71de,_0x1b0c8a[_0x3f1619(0xf8)]=_0x14f634,_0x1b0c8a[_0x3f1619(0x85)]=_0x3a3679;const _0x18b044=_0x1b0c8a;_0x2995f4&&(_0x18b044[_0x3f1619(0x9c)][_0x3f1619(0x92)]=_0x2995f4);const _0x521547={};_0x521547[_0x3f1619(0xb4)]=_0x29986b,_0x2bc16f[_0x3f1619(0xee)]=Object[_0x3f1619(0xc2)]({},_0x2bc16f[_0x3f1619(0xee)],_0x521547,_0x18b044);},_0xfe3e24['JjpbV'])(_0x21ccf0,_0x92925e,_0x218f38);}static[a43_0x7ce662(0x96)](){const _0x3254a1=a43_0x7ce662;this[_0x3254a1(0x110)](),this['patchCRConnection']();}static[a43_0x7ce662(0x110)](){const _0x13512b=a43_0x7ce662,_0x4e2055={'Oxozg':function(_0x4eb5c6,_0x3a4de2,_0x11ddf8){return _0x4eb5c6(_0x3a4de2,_0x11ddf8);},'NvGVm':_0x13512b(0x71),'QFqbr':_0x13512b(0xab),'PYAUI':_0x13512b(0x8a),'UUXni':_0x13512b(0x9d),'IzJFY':'pwPage','pKprK':function(_0x17692a,_0x4062ca){return _0x17692a===_0x4062ca;},'ztADX':_0x13512b(0xdb),'lLwyW':function(_0x44fe5e,_0x398bf3,_0x5cbed9,_0x3e6f84){return _0x44fe5e(_0x398bf3,_0x5cbed9,_0x3e6f84);},'WwlAq':function(_0x1a0087,_0x335c2d){return _0x1a0087(_0x335c2d);},'aNnYF':function(_0x557a75,_0x34241f){return _0x557a75(_0x34241f);},'RvfHs':_0x13512b(0xa3),'ikjKC':'client','FPuzS':_0x13512b(0xfb),'fSaZa':function(_0xd3ea7c,_0x43390c){return _0xd3ea7c(_0x43390c);},'zPHgA':'Not\x20able\x20to\x20import\x20Connection','yIQpu':function(_0x4fbb0f,_0x2b9543){return _0x4fbb0f!=_0x2b9543;},'tXMkb':function(_0x14dd1f){return _0x14dd1f();},'zVBkl':_0x13512b(0x79),'msUaK':function(_0x31f188,_0x140b0f){return _0x31f188(_0x140b0f);},'MQcnI':'dispatch','thCCR':function(_0x867c56,_0x25a53f){return _0x867c56(_0x25a53f);}},_0x507a46=this;if(!this[_0x13512b(0xca)])try{const _0x52812c=path[_0x13512b(0xfa)](_0x4e2055['RvfHs'],_0x4e2055['ikjKC'],_0x4e2055['FPuzS']),_0x325178=_0x4e2055[_0x13512b(0xe9)](importFileFromPWCore,_0x52812c);!_0x325178?_0x4e2055[_0x13512b(0xa1)](debug,_0x4e2055[_0x13512b(0x82)]):this[_0x13512b(0xca)]=_0x325178['Connection'];}catch(_0x215859){_0x4e2055[_0x13512b(0xa1)](debug,_0x13512b(0xbe)+_0x215859[_0x13512b(0xbc)]());}const _0x431209=this['Connection'];try{if(_0x4e2055[_0x13512b(0x84)](_0x431209,null)){const _0x5c7fa3=_0x431209['prototype'][_0x13512b(0xe8)],_0xe359db=_0x431209[_0x13512b(0x98)][_0x13512b(0x79)];_0x4e2055[_0x13512b(0xe7)](isAccessibilityAutomationSession)&&Object[_0x13512b(0x109)](_0x431209[_0x13512b(0x98)],_0x4e2055[_0x13512b(0x101)],{'get':function(){return async function(){const _0x358703=a43_0x500a;try{if(!global[_0x358703(0x87)]&&global['accessibilityPlatform']&&_0x4e2055['Oxozg'](nestedKeyValue,global['__workerDetails'],[_0x4e2055[_0x358703(0x6e)],_0x4e2055[_0x358703(0x7a)],_0x4e2055[_0x358703(0xcb)]])&&_0x4e2055[_0x358703(0x10f)](shouldScanTestForAccessibility,global['__workerDetails'][_0x358703(0x71)][_0x358703(0xab)]['titlePath'],!![])&&scripts[_0x358703(0xa6)](arguments[0x1])){logger[_0x358703(0xd5)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x358703(0x87)]=!![];const _0x1dc30f=_0x4e2055[_0x358703(0x10f)](nestedKeyValue,global,[_0x4e2055[_0x358703(0x67)],_0x4e2055[_0x358703(0x8d)]]),_0x5acefc={};_0x5acefc[_0x358703(0xce)]=arguments[0x1],_0x1dc30f&&logger[_0x358703(0xd5)](util['format'](await AccessibilityHelper[_0x358703(0x105)](_0x1dc30f,_0x5acefc)));if(_0x4e2055[_0x358703(0x76)](arguments[0x0][_0x358703(0xf5)],_0x4e2055[_0x358703(0xfc)])&&global[_0x358703(0xc0)]){const _0xa592d9={};_0xa592d9[_0x358703(0xce)]=arguments[0x1],await _0x4e2055[_0x358703(0x7d)](browserStackExecuteDriver,global[_0x358703(0xc0)],scripts[_0x358703(0x105)],_0xa592d9);}}}catch(_0x27b510){logger[_0x358703(0xd5)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x358703(0xe4)](_0x27b510));}return global[_0x358703(0x87)]=![],_0xe359db[_0x358703(0xb5)](this,arguments);};}}),!_0x4e2055[_0x13512b(0xd0)](isFalse,process['env'][_0x13512b(0xb9)])&&Object[_0x13512b(0x109)](_0x431209['prototype'],_0x4e2055['MQcnI'],{'get':function(){return function _0x546304(_0x2a93d8){const _0x11a745=a43_0x500a,_0x611ff8=_0x2a93d8&&_0x2a93d8[_0x11a745(0xf6)]&&_0x2a93d8['params'][_0x11a745(0xad)];if(_0x611ff8){const _0x5549b4=_0x611ff8[_0x11a745(0x89)],_0x2311e5=_0x611ff8[_0x11a745(0xb8)];_0x2311e5&&(_0x4e2055[_0x11a745(0xa1)](debug,_0x11a745(0x6d)+_0x2311e5[_0x11a745(0xbc)]()),_0x507a46[_0x11a745(0xee)]['platform']=_0x2311e5[_0x11a745(0x6f)],_0x507a46[_0x11a745(0xee)][_0x11a745(0xf8)]=_0x2311e5['platformVersion']),_0x5549b4&&(_0x4e2055[_0x11a745(0x108)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x5549b4),_0x507a46['currentSessionDetails'][_0x11a745(0xe6)]=_0x5549b4);}return _0x5c7fa3[_0x11a745(0xb5)](this,arguments);};}});}}catch(_0x3fbd45){_0x4e2055[_0x13512b(0xa8)](debug,_0x13512b(0xda)+_0x3fbd45),_0x507a46[_0x13512b(0xd9)]=_0x3fbd45[_0x13512b(0xbc)]();}}static['patchCRConnection'](){const _0x406810=a43_0x7ce662,_0x1504e5={'gGyjx':function(_0x462b6e,_0x21beac){return _0x462b6e(_0x21beac);},'VipUh':function(_0x4e0b11,_0x47d7e5){return _0x4e0b11(_0x47d7e5);},'ssYSl':function(_0x287de1,_0x2a8fc3){return _0x287de1(_0x2a8fc3);},'PdXWO':function(_0x4fb984){return _0x4fb984();},'tPWGV':_0x406810(0xa3),'VssBB':'server','uTTwl':_0x406810(0x9e),'yGmLE':_0x406810(0x7c),'WlkgA':function(_0x43a0a8,_0xe3f95){return _0x43a0a8(_0xe3f95);},'lAxuV':_0x406810(0xd1),'jPPrj':function(_0x57bd65,_0x54f0cb){return _0x57bd65(_0x54f0cb);},'WNOqv':_0x406810(0x10d),'ejkbh':function(_0x3cbd86,_0x365887){return _0x3cbd86!=_0x365887;},'JZveb':_0x406810(0x99)},_0x5908a2=this;if(_0x1504e5['PdXWO'](isAccessibilityAutomationSession)){let _0xf83ea5=null;try{const _0x16128e=path[_0x406810(0xfa)](_0x1504e5[_0x406810(0xd3)],_0x1504e5[_0x406810(0xea)],_0x1504e5['uTTwl'],_0x1504e5[_0x406810(0x10a)]),_0x1f0ac9=_0x1504e5['WlkgA'](importFileFromPWCore,_0x16128e);!_0x1f0ac9?_0x1504e5['VipUh'](debug,_0x1504e5[_0x406810(0xfe)]):_0xf83ea5=_0x1f0ac9[_0x406810(0xde)];}catch(_0x174d86){_0x1504e5['jPPrj'](debug,_0x1504e5[_0x406810(0x77)]);}try{if(_0x1504e5['ejkbh'](_0xf83ea5,null)){const _0x4ca2a1=_0xf83ea5[_0x406810(0x98)][_0x406810(0x99)];Object[_0x406810(0x109)](_0xf83ea5[_0x406810(0x98)],_0x1504e5[_0x406810(0x6b)],{'get':function(){return function _0x2544bf(_0x20ece2){const _0x529364=a43_0x500a;try{const _0x36f078=_0x20ece2[_0x529364(0x90)];if(_0x36f078){delete _0x20ece2[_0x529364(0x90)];const _0x224d81=_0x36f078[_0x529364(0x89)],_0x264106=_0x36f078['platformDetails'];_0x264106&&(_0x1504e5[_0x529364(0xae)](debug,_0x529364(0x6c)+_0x264106['toString']()),_0x5908a2[_0x529364(0xee)][_0x529364(0x7e)]=_0x264106[_0x529364(0x6f)],_0x5908a2[_0x529364(0xee)][_0x529364(0xf8)]=_0x264106[_0x529364(0xfd)]),_0x224d81&&(_0x1504e5[_0x529364(0xdc)](debug,_0x529364(0xf4)+_0x224d81),_0x5908a2[_0x529364(0xee)][_0x529364(0xe6)]=_0x224d81);}}catch(_0x42d1a3){_0x1504e5[_0x529364(0xb2)](debug,_0x529364(0xdf)+_0x42d1a3[_0x529364(0xbc)]());}return _0x4ca2a1[_0x529364(0xb5)](this,arguments);};}});}}catch(_0x373fb5){_0x1504e5[_0x406810(0xae)](debug,_0x406810(0xf9)+_0x373fb5),_0x5908a2[_0x406810(0xd9)]=_0x373fb5[_0x406810(0xbc)]();}}}static[a43_0x7ce662(0xec)](){const _0x108e17=a43_0x7ce662;return this[_0x108e17(0xee)];}}module[a43_0x7ce662(0xf0)]=PlaywrightSessionDetails;
|
|
1
|
+
function a43_0x2488(_0x55a981,_0x105633){const _0x3d1413=a43_0x3d14();return a43_0x2488=function(_0x24887c,_0x3a83c7){_0x24887c=_0x24887c-0x191;let _0x3dc135=_0x3d1413[_0x24887c];return _0x3dc135;},a43_0x2488(_0x55a981,_0x105633);}function a43_0x3d14(){const _0x38f9fd=['Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','prototype','iCLfQ','browser','CRBcq','lfNQV','fYkLK','join','fromEntries','INWab','CcmYK','4393158wpFHck','4518272FnWRvf','RplwD','CRConnection','browserName','sessionError','JNJcH','KalLr','PRVDU','project','patch','YsJmX','debug','toString','oSHID','apply','winstonLogger','ksJiz','XpqhC','SobrV','capabilities','Not\x20able\x20to\x20import\x20crConnection','safari','KPJou','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','aGgbI','Hpwip','caps','query','entries','../../helpers/helper','bstackPerformA11yScan','parse','platformVersion','_defaultConnectOptions','mZgfI','Tzimu','Dboge','MSEOW','local_grid','performScan','platform','GKmeM','356097XJeTqz','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','crConnection.js','JIgOl','edge','method','Failed\x20to\x20perform\x20scan\x20','path','njgAN','tYSSK','_onMessage','../../helpers/accessibility-automation/helper','DlOKn','_name','automate','currentTest','version','bpfWK','server','rgwfy','lib','channel','PphJn','XKWnr','titlePath','product','Performing\x20scan\x20for\x20','4438332SyXVGk','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Error\x20in\x20finding\x20platform\x20details\x20','cloudProvider','playwright-','VzShj','UTfMg','6683080kaFxzk','kWkhy','rJEUl','sessionId','YwMCu','gXWuz','Setting\x20session\x20id\x20received\x20from\x20BS\x20','bsParams','Error\x20in\x20importing\x20connection\x20','patchConnection','2361skPHJL','assign','../../bin/playwright/accessibility-helper','UIWgn','__driver','connectOptions','mugom','model','./accessibility-helper','OypqT','browser_version','qHlsJ','1046HgIeKQ','maiHW','1172619MgLJQW','browserstack.com','browserstack-ats.com','nTddL','_connection','sendMessageToServer','platformDetails','wKdMu','exports','testInfo','cEpTJ','WfHbn','function','use','LCchn','_browserType','ocaUz','CQntB','yRoZV','FziRW','toLowerCase','BROWSERSTACK_TEST_OBSERVABILITY','gFHzR','accessibilityPlatform','vQvof','AgjWY','cbfTn','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','bsSessionId','eZnrF','../../helpers/logger','currentSessionDetails','params','browserstack','setupBrowserDetails','wsEndpoint','Device\x20Model\x20is\x20not\x20available','Connection','__workerDetails','unADn','../../helpers/test-observability/utils','patchCRConnection','Not\x20able\x20to\x20import\x20Connection','platform_version','WCzex','includes','LgXgj','sVcYN','url','GYWGn','vrZcu','isRemote','platformName','qlEZR','defineProperty','bStackParams','format','env','zAhfM','chromium','chrome','../../helpers/accessibility-automation/scripts','dOpaf'];a43_0x3d14=function(){return _0x38f9fd;};return a43_0x3d14();}const a43_0x419ce1=a43_0x2488;(function(_0x9608cd,_0x55cdeb){const _0x1d7bbb=a43_0x2488,_0x24e9ff=_0x9608cd();while(!![]){try{const _0x1c7cb4=parseInt(_0x1d7bbb(0x194))/0x1*(parseInt(_0x1d7bbb(0x1a0))/0x2)+-parseInt(_0x1d7bbb(0x1a2))/0x3+parseInt(_0x1d7bbb(0x232))/0x4+-parseInt(_0x1d7bbb(0x239))/0x5+parseInt(_0x1d7bbb(0x1ec))/0x6+-parseInt(_0x1d7bbb(0x217))/0x7+-parseInt(_0x1d7bbb(0x1ed))/0x8;if(_0x1c7cb4===_0x55cdeb)break;else _0x24e9ff['push'](_0x24e9ff['shift']());}catch(_0x51a8e4){_0x24e9ff['push'](_0x24e9ff['shift']());}}}(a43_0x3d14,0xb30fb));const path=require(a43_0x419ce1(0x21e)),url=require(a43_0x419ce1(0x1d2)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x419ce1(0x20a)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a43_0x419ce1(0x1ca)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x419ce1(0x222)),logger=require(a43_0x419ce1(0x1c0))[a43_0x419ce1(0x1fc)],scripts=require(a43_0x419ce1(0x1df)),{browserStackExecuteDriver}=require(a43_0x419ce1(0x196)),AccessibilityHelper=require(a43_0x419ce1(0x19c)),constants=require('../utils/constants'),getBrowserNameFromChannel=_0x8f0b94=>{const _0x42717e=a43_0x419ce1,_0x3c2ece={};_0x3c2ece[_0x42717e(0x1a9)]='chrome',_0x3c2ece[_0x42717e(0x23e)]=_0x42717e(0x21b),_0x3c2ece[_0x42717e(0x1d4)]='firefox',_0x3c2ece['tYSSK']=_0x42717e(0x202);const _0x3c15a0=_0x3c2ece;if(_0x8f0b94[_0x42717e(0x1cf)](_0x3c15a0[_0x42717e(0x1a9)]))return _0x3c15a0[_0x42717e(0x1a9)];if(_0x8f0b94['includes'](_0x3c15a0[_0x42717e(0x23e)]))return _0x3c15a0[_0x42717e(0x23e)];if(_0x8f0b94[_0x42717e(0x1cf)](_0x3c15a0[_0x42717e(0x1d4)]))return _0x3c15a0['vrZcu'];if(_0x8f0b94[_0x42717e(0x1cf)](_0x3c15a0[_0x42717e(0x220)]))return _0x3c15a0[_0x42717e(0x220)];},getBrowserFromWSEndpoint=_0x3af91e=>{const _0x5e3177=a43_0x419ce1,_0x14800e={'fYkLK':_0x5e3177(0x1de),'FziRW':function(_0x311d9c,_0x20fd79){return _0x311d9c(_0x20fd79);}};try{const _0xf55188=url['parse'](_0x3af91e),_0x367325=new URLSearchParams(_0xf55188[_0x5e3177(0x208)]),_0x18d25f=Object[_0x5e3177(0x1e9)](_0x367325[_0x5e3177(0x209)]()),_0x17a6d1=JSON[_0x5e3177(0x20c)](_0x18d25f[_0x5e3177(0x207)]);if(_0x17a6d1&&(_0x17a6d1[_0x5e3177(0x1e4)]||_0x17a6d1['browserName']))return _0x17a6d1[_0x5e3177(0x1e4)]||_0x17a6d1[_0x5e3177(0x1f0)];return _0x14800e[_0x5e3177(0x1e7)];}catch(_0x48b048){_0x14800e[_0x5e3177(0x1b5)](debug,_0x5e3177(0x233)+_0x48b048[_0x5e3177(0x1f9)]());}},getCloudProviderFromWsEndpoint=_0x64026e=>{const _0x1e850c=a43_0x419ce1,_0x35be10={};_0x35be10[_0x1e850c(0x1e3)]=_0x1e850c(0x1a3),_0x35be10[_0x1e850c(0x1ad)]=_0x1e850c(0x1a4),_0x35be10[_0x1e850c(0x22d)]='browserstack',_0x35be10[_0x1e850c(0x1a1)]='unknown_grid';const _0x1fa469=_0x35be10;if(_0x64026e[_0x1e850c(0x1cf)](_0x1fa469[_0x1e850c(0x1e3)])||_0x64026e[_0x1e850c(0x1cf)](_0x1fa469['WfHbn']))return _0x1fa469['PphJn'];return _0x1fa469[_0x1e850c(0x1a1)];},a43_0x4cb9d4={};a43_0x4cb9d4['cloudProvider']=undefined,a43_0x4cb9d4[a43_0x419ce1(0x1be)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x1e4)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x19e)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x215)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x1cd)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x230)]=undefined,a43_0x4cb9d4[a43_0x419ce1(0x200)]={};class PlaywrightSessionDetails{static [a43_0x419ce1(0x1c1)]=a43_0x4cb9d4;constructor(){const _0x2679f9=a43_0x419ce1,_0x22c169={};_0x22c169[_0x2679f9(0x1f3)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x1d56da=_0x22c169;throw new Error(_0x1d56da[_0x2679f9(0x1f3)]);}static [a43_0x419ce1(0x1f1)]=null;static[a43_0x419ce1(0x1c4)](_0x431444,_0x2e0777,_0x206839=null){const _0x42c45e=a43_0x419ce1,_0x4d7ddc={'JNJcH':function(_0x33d8cc,_0x203776){return _0x33d8cc===_0x203776;},'zAhfM':_0x42c45e(0x1ae),'INWab':_0x42c45e(0x204),'RplwD':function(_0x35c335,_0x345cfc){return _0x35c335===_0x345cfc;},'mZgfI':_0x42c45e(0x1c6),'unADn':_0x42c45e(0x213),'XKWnr':function(_0x2e8a6b,_0x550aff,_0x3f0451){return _0x2e8a6b(_0x550aff,_0x3f0451);},'ksJiz':_0x42c45e(0x1b1),'qHlsJ':_0x42c45e(0x20e),'XpqhC':_0x42c45e(0x1f5),'JIgOl':'use','kWkhy':_0x42c45e(0x199),'Dboge':function(_0x4a7401,_0x537b04){return _0x4a7401(_0x537b04);},'AgjWY':function(_0x47369e,_0x1a8d1f){return _0x47369e===_0x1a8d1f;},'UIWgn':_0x42c45e(0x1c3),'PNLoq':'turboscale','ocaUz':_0x42c45e(0x225),'oSHID':function(_0x2124e4,_0x1034d2){return _0x2124e4+_0x1034d2;},'qlEZR':_0x42c45e(0x236),'YsJmX':function(_0x466478){return _0x466478();},'GNzod':'setupBrowserDetails'},_0x2d5376=this;return _0x4d7ddc[_0x42c45e(0x22e)](o11yErrorHandler,async function _0x17be75(_0x18f89c,_0x47f4fc,_0x1bd474=null){const _0x19132a=_0x42c45e;let _0xc0db88=_0x18f89c[_0x19132a(0x224)],_0x375490=null;_0x18f89c&&_0x4d7ddc[_0x19132a(0x1f2)](typeof _0x18f89c['version'],_0x4d7ddc[_0x19132a(0x1dc)])?_0x375490=_0x18f89c[_0x19132a(0x227)]():logger[_0x19132a(0x1f8)](_0x4d7ddc[_0x19132a(0x1ea)]);let _0x2aff76=null;_0x18f89c&&_0x4d7ddc[_0x19132a(0x1ee)](typeof _0x18f89c['model'],_0x4d7ddc['zAhfM'])?_0x2aff76=_0x18f89c[_0x19132a(0x19b)]():logger[_0x19132a(0x1f8)](_0x4d7ddc[_0x19132a(0x20f)]);let _0x1d709c=null,_0x19d0bf=null,_0x4e4ce2=null,_0x219bf9=_0x4d7ddc[_0x19132a(0x1c9)];if(_0x18f89c[_0x19132a(0x1a6)][_0x19132a(0x1d5)]()||global[_0x19132a(0x1b9)]){let _0x144010=null;_0x4d7ddc[_0x19132a(0x22e)](nestedKeyValue,_0x18f89c,[_0x4d7ddc[_0x19132a(0x1fd)],_0x4d7ddc[_0x19132a(0x19f)]])?_0x144010=_0x18f89c[_0x19132a(0x1b1)][_0x19132a(0x20e)]:_0x144010=_0x4d7ddc[_0x19132a(0x22e)](nestedKeyValue,_0x47f4fc,[_0x4d7ddc[_0x19132a(0x1fe)],_0x4d7ddc[_0x19132a(0x21a)],_0x4d7ddc[_0x19132a(0x23a)]]);const _0x3fe1dc=_0x1bd474||_0x144010&&_0x144010[_0x19132a(0x1c5)];_0x3fe1dc&&(_0x219bf9=_0x4d7ddc[_0x19132a(0x211)](getCloudProviderFromWsEndpoint,_0x3fe1dc),_0x4d7ddc[_0x19132a(0x1bb)](_0x219bf9,_0x4d7ddc[_0x19132a(0x197)])&&(_0x4e4ce2=constants['ATS_WSS_URL_REGEX']['test'](_0x3fe1dc)?_0x4d7ddc['PNLoq']:_0x4d7ddc[_0x19132a(0x1b2)],_0xc0db88=_0x4d7ddc[_0x19132a(0x211)](getBrowserFromWSEndpoint,_0x3fe1dc)||_0xc0db88,_0x1d709c=_0x2d5376[_0x19132a(0x1c1)][_0x19132a(0x215)],_0x19d0bf=_0x2d5376[_0x19132a(0x1c1)][_0x19132a(0x1cd)]));}else{_0x47f4fc&&_0x47f4fc[_0x19132a(0x1f5)][_0x19132a(0x1af)][_0x19132a(0x22c)]?_0xc0db88=_0x4d7ddc[_0x19132a(0x211)](getBrowserNameFromChannel,_0x47f4fc[_0x19132a(0x1f5)][_0x19132a(0x1af)][_0x19132a(0x22c)]):_0xc0db88=_0x4d7ddc[_0x19132a(0x1fa)](_0x4d7ddc[_0x19132a(0x1d7)],_0xc0db88[_0x19132a(0x1b6)]());const _0x56108f=await _0x4d7ddc[_0x19132a(0x1f7)](getPlatformDetails);_0x1d709c=_0x56108f[_0x19132a(0x1d6)],_0x19d0bf=_0x56108f['platformVersion'];}const _0xd96f57={};_0xd96f57[_0x19132a(0x1e4)]=_0xc0db88,_0xd96f57['browser_version']=_0x375490,_0xd96f57[_0x19132a(0x200)]={},_0xd96f57[_0x19132a(0x215)]=_0x1d709c,_0xd96f57[_0x19132a(0x1cd)]=_0x19d0bf,_0xd96f57[_0x19132a(0x230)]=_0x4e4ce2;const _0x4ce974=_0xd96f57;_0x2aff76&&(_0x4ce974['capabilities']['deviceModel']=_0x2aff76);const _0x56876c={};_0x56876c[_0x19132a(0x235)]=_0x219bf9,_0x2d5376['currentSessionDetails']=Object[_0x19132a(0x195)]({},_0x2d5376[_0x19132a(0x1c1)],_0x56876c,_0x4ce974);},_0x4d7ddc['GNzod'])(_0x431444,_0x2e0777,_0x206839);}static[a43_0x419ce1(0x1f6)](){const _0x431af8=a43_0x419ce1;this[_0x431af8(0x193)](),this['patchCRConnection']();}static[a43_0x419ce1(0x193)](){const _0x517482=a43_0x419ce1,_0x46ba0a={'Hpwip':function(_0x11533d,_0x42355a,_0x44f619){return _0x11533d(_0x42355a,_0x44f619);},'WgxEc':_0x517482(0x226),'UTfMg':_0x517482(0x1ab),'CRBcq':'titlePath','yRoZV':function(_0x2ee096,_0x1b6c83,_0x6bbe6){return _0x2ee096(_0x1b6c83,_0x6bbe6);},'LgXgj':_0x517482(0x1c8),'vQvof':'pwPage','AHkne':function(_0x4a70be,_0x4ea4ca){return _0x4a70be===_0x4ea4ca;},'FhBbi':'Page','gFHzR':function(_0x27e33c,_0x558bc8,_0x14e8ae,_0x35aba2){return _0x27e33c(_0x558bc8,_0x14e8ae,_0x35aba2);},'OypqT':function(_0xd17dee,_0x2a6b89){return _0xd17dee(_0x2a6b89);},'lfNQV':_0x517482(0x22b),'LCchn':'client','vyhxT':'connection.js','WCzex':function(_0x4ec276,_0x5a9526){return _0x4ec276(_0x5a9526);},'BoyRn':_0x517482(0x1cc),'YwMCu':function(_0x333c40,_0x3cda90){return _0x333c40!=_0x3cda90;},'EpVgF':function(_0x4b8950){return _0x4b8950();},'XooAE':_0x517482(0x1a7),'QGmDN':function(_0x272afa,_0x107184){return _0x272afa(_0x107184);},'IlyMw':'dispatch','PRVDU':function(_0x40fb6b,_0x308acc){return _0x40fb6b(_0x308acc);}},_0x495b6c=this;if(!this[_0x517482(0x1c7)])try{const _0x317be9=path[_0x517482(0x1e8)](_0x46ba0a[_0x517482(0x1e6)],_0x46ba0a[_0x517482(0x1b0)],_0x46ba0a['vyhxT']),_0x1fb58b=_0x46ba0a[_0x517482(0x1ce)](importFileFromPWCore,_0x317be9);!_0x1fb58b?_0x46ba0a[_0x517482(0x19d)](debug,_0x46ba0a['BoyRn']):this[_0x517482(0x1c7)]=_0x1fb58b[_0x517482(0x1c7)];}catch(_0x3684c1){_0x46ba0a['OypqT'](debug,_0x517482(0x192)+_0x3684c1[_0x517482(0x1f9)]());}const _0x38ab30=this[_0x517482(0x1c7)];try{if(_0x46ba0a[_0x517482(0x23d)](_0x38ab30,null)){const _0x2f0922=_0x38ab30[_0x517482(0x1e2)]['dispatch'],_0x472983=_0x38ab30[_0x517482(0x1e2)]['sendMessageToServer'];_0x46ba0a['EpVgF'](isAccessibilityAutomationSession)&&Object[_0x517482(0x1d8)](_0x38ab30[_0x517482(0x1e2)],_0x46ba0a['XooAE'],{'get':function(){const _0x5d69fa=_0x517482,_0x4a1afd={'rJEUl':function(_0xdf0d58,_0x3e5e06,_0x45b79a){const _0x54c98c=a43_0x2488;return _0x46ba0a[_0x54c98c(0x206)](_0xdf0d58,_0x3e5e06,_0x45b79a);},'SobrV':_0x46ba0a['WgxEc'],'mugom':_0x46ba0a[_0x5d69fa(0x238)],'sVcYN':_0x46ba0a[_0x5d69fa(0x1e5)],'eZnrF':function(_0x14c500,_0x43220a,_0x24c0db){const _0xa90292=_0x5d69fa;return _0x46ba0a[_0xa90292(0x1b4)](_0x14c500,_0x43220a,_0x24c0db);},'cEpTJ':_0x46ba0a[_0x5d69fa(0x1d0)],'rgwfy':_0x46ba0a[_0x5d69fa(0x1ba)],'CQntB':function(_0x134aae,_0x543d4b){return _0x46ba0a['AHkne'](_0x134aae,_0x543d4b);},'Tzimu':_0x46ba0a['FhBbi'],'DdtRp':function(_0x729aaf,_0x897155,_0x4f7173,_0x2c44b9){const _0x16d9cc=_0x5d69fa;return _0x46ba0a[_0x16d9cc(0x1b8)](_0x729aaf,_0x897155,_0x4f7173,_0x2c44b9);}};return async function(){const _0x39e379=_0x5d69fa;try{if(!global[_0x39e379(0x20b)]&&global[_0x39e379(0x1b9)]&&_0x4a1afd['rJEUl'](nestedKeyValue,global[_0x39e379(0x1c8)],[_0x4a1afd[_0x39e379(0x1ff)],_0x4a1afd[_0x39e379(0x19a)],_0x4a1afd[_0x39e379(0x1d1)]])&&_0x4a1afd[_0x39e379(0x23b)](shouldScanTestForAccessibility,global[_0x39e379(0x1c8)][_0x39e379(0x226)]['testInfo'][_0x39e379(0x22f)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x39e379(0x1f8)](_0x39e379(0x231)+arguments[0x1]),global[_0x39e379(0x20b)]=!![];const _0x51393e=_0x4a1afd[_0x39e379(0x1bf)](nestedKeyValue,global,[_0x4a1afd[_0x39e379(0x1ac)],_0x4a1afd[_0x39e379(0x22a)]]),_0x348366={};_0x348366['method']=arguments[0x1],_0x51393e&&logger[_0x39e379(0x1f8)](util['format'](await AccessibilityHelper[_0x39e379(0x214)](_0x51393e,_0x348366)));if(_0x4a1afd[_0x39e379(0x1b3)](arguments[0x0]['_type'],_0x4a1afd[_0x39e379(0x210)])&&global[_0x39e379(0x198)]){const _0xfb0025={};_0xfb0025[_0x39e379(0x21c)]=arguments[0x1],await _0x4a1afd['DdtRp'](browserStackExecuteDriver,global['__driver'],scripts['performScan'],_0xfb0025);}}}catch(_0x42930b){logger['debug'](_0x39e379(0x21d)+util[_0x39e379(0x1da)](_0x42930b));}return global[_0x39e379(0x20b)]=![],_0x472983[_0x39e379(0x1fb)](this,arguments);};}}),!_0x46ba0a['QGmDN'](isFalse,process[_0x517482(0x1db)][_0x517482(0x1b7)])&&Object[_0x517482(0x1d8)](_0x38ab30[_0x517482(0x1e2)],_0x46ba0a['IlyMw'],{'get':function(){return function _0x1dc48d(_0x2a4e1e){const _0x2741b3=a43_0x2488,_0x32ab4a=_0x2a4e1e&&_0x2a4e1e[_0x2741b3(0x1c2)]&&_0x2a4e1e['params'][_0x2741b3(0x191)];if(_0x32ab4a){const _0x280040=_0x32ab4a[_0x2741b3(0x23c)],_0x371595=_0x32ab4a['platformDetails'];_0x371595&&(_0x46ba0a[_0x2741b3(0x19d)](debug,_0x2741b3(0x1bd)+_0x371595[_0x2741b3(0x1f9)]()),_0x495b6c[_0x2741b3(0x1c1)][_0x2741b3(0x215)]=_0x371595[_0x2741b3(0x1d6)],_0x495b6c['currentSessionDetails']['platform_version']=_0x371595[_0x2741b3(0x20d)]),_0x280040&&(_0x46ba0a[_0x2741b3(0x19d)](debug,_0x2741b3(0x23f)+_0x280040),_0x495b6c['currentSessionDetails'][_0x2741b3(0x1be)]=_0x280040);}return _0x2f0922['apply'](this,arguments);};}});}}catch(_0x1bb59d){_0x46ba0a[_0x517482(0x1f4)](debug,_0x517482(0x1e1)+_0x1bb59d),_0x495b6c[_0x517482(0x1f1)]=_0x1bb59d[_0x517482(0x1f9)]();}}static[a43_0x419ce1(0x1cb)](){const _0x224aae=a43_0x419ce1,_0x200e5a={'jmaxX':function(_0x3a7fa3,_0xdaa714){return _0x3a7fa3(_0xdaa714);},'aGgbI':function(_0xbfc88e,_0x558107){return _0xbfc88e(_0x558107);},'njgAN':function(_0x17a0b6){return _0x17a0b6();},'nTddL':'lib','VzShj':_0x224aae(0x229),'CcmYK':_0x224aae(0x1dd),'DlOKn':_0x224aae(0x219),'dOpaf':function(_0x5e6f37,_0x96cf52){return _0x5e6f37(_0x96cf52);},'bpfWK':_0x224aae(0x201),'KPJou':function(_0x1d8e66,_0x5cd5f5){return _0x1d8e66(_0x5cd5f5);},'GKmeM':'Error\x20in\x20importing\x20crConnection','MhHEW':function(_0x5d6177,_0x1da439){return _0x5d6177!=_0x1da439;},'cbfTn':_0x224aae(0x221),'MSEOW':function(_0x11abea,_0x2b4a85){return _0x11abea(_0x2b4a85);}},_0x168fd7=this;if(_0x200e5a[_0x224aae(0x21f)](isAccessibilityAutomationSession)){let _0x44d206=null;try{const _0x521181=path[_0x224aae(0x1e8)](_0x200e5a[_0x224aae(0x1a5)],_0x200e5a[_0x224aae(0x237)],_0x200e5a[_0x224aae(0x1eb)],_0x200e5a[_0x224aae(0x223)]),_0x318d88=_0x200e5a[_0x224aae(0x1e0)](importFileFromPWCore,_0x521181);!_0x318d88?_0x200e5a[_0x224aae(0x205)](debug,_0x200e5a[_0x224aae(0x228)]):_0x44d206=_0x318d88[_0x224aae(0x1ef)];}catch(_0x2ddfcc){_0x200e5a[_0x224aae(0x203)](debug,_0x200e5a[_0x224aae(0x216)]);}try{if(_0x200e5a['MhHEW'](_0x44d206,null)){const _0x3fec42=_0x44d206[_0x224aae(0x1e2)][_0x224aae(0x221)];Object[_0x224aae(0x1d8)](_0x44d206[_0x224aae(0x1e2)],_0x200e5a[_0x224aae(0x1bc)],{'get':function(){const _0x33bde5={'GYWGn':function(_0x1a80d0,_0x1acb6e){return _0x200e5a['jmaxX'](_0x1a80d0,_0x1acb6e);},'IMhOG':function(_0x2a003d,_0x3b2afd){return _0x200e5a['aGgbI'](_0x2a003d,_0x3b2afd);}};return function _0x53b0ba(_0x1ee210){const _0x16d776=a43_0x2488;try{const _0x39179e=_0x1ee210[_0x16d776(0x1d9)];if(_0x39179e){delete _0x1ee210[_0x16d776(0x1d9)];const _0x4a4cec=_0x39179e[_0x16d776(0x23c)],_0x51169d=_0x39179e[_0x16d776(0x1a8)];_0x51169d&&(_0x33bde5[_0x16d776(0x1d3)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x51169d['toString']()),_0x168fd7['currentSessionDetails'][_0x16d776(0x215)]=_0x51169d[_0x16d776(0x1d6)],_0x168fd7[_0x16d776(0x1c1)][_0x16d776(0x1cd)]=_0x51169d[_0x16d776(0x20d)]),_0x4a4cec&&(_0x33bde5[_0x16d776(0x1d3)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x4a4cec),_0x168fd7[_0x16d776(0x1c1)][_0x16d776(0x1be)]=_0x4a4cec);}}catch(_0xd06c24){_0x33bde5['IMhOG'](debug,_0x16d776(0x234)+_0xd06c24[_0x16d776(0x1f9)]());}return _0x3fec42['apply'](this,arguments);};}});}}catch(_0x41e8f6){_0x200e5a[_0x224aae(0x212)](debug,_0x224aae(0x218)+_0x41e8f6),_0x168fd7[_0x224aae(0x1f1)]=_0x41e8f6[_0x224aae(0x1f9)]();}}}static['getDetails'](){const _0x400d63=a43_0x419ce1;return this[_0x400d63(0x1c1)];}}module[a43_0x419ce1(0x1aa)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a44_0x680e5a=a44_0x36af;(function(_0x4d3dbc,_0x1d87da){const _0x1f3991=a44_0x36af,_0x3e9561=_0x4d3dbc();while(!![]){try{const _0x2b3fe3=parseInt(_0x1f3991(0xb2))/0x1+-parseInt(_0x1f3991(0xb7))/0x2*(-parseInt(_0x1f3991(0xf5))/0x3)+-parseInt(_0x1f3991(0xa2))/0x4+parseInt(_0x1f3991(0xd9))/0x5+-parseInt(_0x1f3991(0xc0))/0x6*(-parseInt(_0x1f3991(0xbf))/0x7)+-parseInt(_0x1f3991(0xf7))/0x8+-parseInt(_0x1f3991(0xe0))/0x9;if(_0x2b3fe3===_0x1d87da)break;else _0x3e9561['push'](_0x3e9561['shift']());}catch(_0x3158c1){_0x3e9561['push'](_0x3e9561['shift']());}}}(a44_0x5794,0x6eb70));function a44_0x5794(){const _0x14e455=['framework','error','pQyVO','yargs','push','describe','--package','fgDrw','2724348NQvgrw','./integrations/command','join','VANILLA','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','dot-notation','find','./vanilla-js/command','homedir','--opts','debug','config','format','vncnn','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','296735cQQpDH','.browserstack','usage:\x20$0\x20<command>\x20[args]','CODECEPTJS','iiSqP','172jEchLP','handler','VzQUM','message','./nightwatch/command','--no-config','./cucumber-js/command','mocha/lib/cli/commands.js','68390ajTNXM','462EkOLDs','DggWK','../helpers/logger','includes','SDK_SETUP','ZdIZJ','jest','plAsC','MWhiw','--require','parserConfiguration','alias','fireFunnelTestEvent','mocha','Parsing\x20command\x20line\x20arguements','end','command','HxaOd','.local-not-set.json','codeceptjs','../helpers/performance/performance-tester','exitCode','../../ats/src/index','--mochaRequire','help','3007065EvLiQx','start','QrKBr','NIGHTWATCH','slice','showHelpOnFail','version','7057935PDomlE','INTEGRATIONS','dFOLW','vcxdt','jepXr','../helpers/performance/constants','eemJY','../helpers/utilities','tRMvu','HoGbi','--no-package','pOwQO','./mocha/command','./jest/command','MgdZj','HELP','globalException','ats','../helpers/helper','./codeceptjs/command','kQsCl','23862Ovepwz','oUBpW','3325536KRfTQc','startMonitoring','winstonLogger','argv','demandCommand','node','path','findAndReplace','assign','isUndefined','unlinkSync','cucumber-js','oxyAT','eQrxh','wrap','Wsktg','CbaiG','SDKTestSuccessful','INFO','MOCHA','playwright','CSVwY','mocha/lib/cli/run.js','existsSync','HST','./utils/constants','Aqwpr'];a44_0x5794=function(){return _0x14e455;};return a44_0x5794();}const fs=require('fs'),path=require(a44_0x680e5a(0xfd)),util=require('util'),{requireModule}=require(a44_0x680e5a(0xf2)),PerformanceTester=require(a44_0x680e5a(0xd4)),PerformanceEvents=require(a44_0x680e5a(0xe5))['EVENTS'],helper=require(a44_0x680e5a(0xf2)),utilities=require(a44_0x680e5a(0xe7)),runIntegrations=require(a44_0x680e5a(0xa3)),yargs=require(a44_0x680e5a(0x115)),Constants=require(a44_0x680e5a(0x110)),logger=require(a44_0x680e5a(0xc2))[a44_0x680e5a(0xf9)],origArgs=Object[a44_0x680e5a(0xff)]([],process[a44_0x680e5a(0xfa)]),captureError=async(_0x12ed82,_0x2274e9,_0x49b9e8=null)=>{const _0x5477a8=a44_0x680e5a,_0x2fc941={'MgdZj':function(_0x50ada9,_0x54ef58,_0x399e5d){return _0x50ada9(_0x54ef58,_0x399e5d);},'oUBpW':_0x5477a8(0x108)};try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x5477a8(0xa4)]('\x20')),await _0x2fc941[_0x5477a8(0xee)](_0x12ed82,_0x2274e9,_0x49b9e8);}catch(_0x2b6967){process[_0x5477a8(0xd5)]=0x1,logger[_0x5477a8(0x113)](util[_0x5477a8(0xaf)](_0x2b6967));const _0x4e651c={};_0x4e651c[_0x5477a8(0xf0)]=_0x2b6967['message'];const _0x217060=_0x4e651c;PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x5477a8(0xaf)](_0x2b6967));if(helper['isUndefined'](global[_0x5477a8(0xae)])&&helper[_0x5477a8(0x100)](global[_0x5477a8(0x112)]))return;try{utilities[_0x5477a8(0xcc)](_0x2fc941[_0x5477a8(0xf6)],_0x217060,global[_0x5477a8(0xae)],global[_0x5477a8(0x112)]);}catch(_0x39555f){logger[_0x5477a8(0xad)](_0x5477a8(0xb1)+_0x39555f['stack']);}PerformanceTester[_0x5477a8(0xcf)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x2b6967));}finally{PerformanceTester[_0x5477a8(0xda)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a44_0x680e5a(0xa4)](helper[a44_0x680e5a(0xab)](),a44_0x680e5a(0xb3));if(fs[a44_0x680e5a(0x10e)](browserstackFolderPath)){const filePath=path[a44_0x680e5a(0xa4)](browserstackFolderPath,a44_0x680e5a(0xd2));fs[a44_0x680e5a(0x10e)](filePath)&&fs[a44_0x680e5a(0x101)](filePath);}}catch(a44_0x389d51){logger[a44_0x680e5a(0xad)](a44_0x680e5a(0xa7)+a44_0x389d51[a44_0x680e5a(0xba)]);}process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xc3)](a44_0x680e5a(0xcd))&&(!process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xc3)](a44_0x680e5a(0xac))&&process[a44_0x680e5a(0xfa)][a44_0x680e5a(0x116)]('--no-opts'),!process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xa9)](_0x201995=>_0x201995[a44_0x680e5a(0xc3)]('--config'))&&process['argv'][a44_0x680e5a(0x116)](a44_0x680e5a(0xbc)),!process[a44_0x680e5a(0xfa)][a44_0x680e5a(0xc3)](a44_0x680e5a(0xa0))&&process[a44_0x680e5a(0xfa)][a44_0x680e5a(0x116)](a44_0x680e5a(0xea)),helper[a44_0x680e5a(0xfe)](process[a44_0x680e5a(0xfa)],a44_0x680e5a(0xc9),a44_0x680e5a(0xd7)));PerformanceTester[a44_0x680e5a(0xf8)](),PerformanceTester[a44_0x680e5a(0xda)](PerformanceEvents[a44_0x680e5a(0xc4)]);const a44_0x146b5b={};a44_0x146b5b[a44_0x680e5a(0xa8)]=![];function a44_0x36af(_0x592c72,_0x2f4c9e){const _0x57948f=a44_0x5794();return a44_0x36af=function(_0x36af95,_0x4c6612){_0x36af95=_0x36af95-0xa0;let _0x53f69d=_0x57948f[_0x36af95];return _0x53f69d;},a44_0x36af(_0x592c72,_0x2f4c9e);}const argv=yargs[a44_0x680e5a(0xca)](a44_0x146b5b)['usage'](a44_0x680e5a(0xb4))[a44_0x680e5a(0xcb)]('v',a44_0x680e5a(0xdf))[a44_0x680e5a(0x117)]('v')[a44_0x680e5a(0xcb)]('h',a44_0x680e5a(0xd8))[a44_0x680e5a(0xd8)](a44_0x680e5a(0xd8))[a44_0x680e5a(0xde)](!![],Constants['VERSION'][a44_0x680e5a(0xef)])[a44_0x680e5a(0xd0)](a44_0x680e5a(0xc6),Constants['JEST']['INFO'],function(_0xbfa169){const _0x3e438c=a44_0x680e5a,_0x133f5a={'vcxdt':function(_0x53804e,_0x41cd1b,_0x4796a5,_0x3a6c8b){return _0x53804e(_0x41cd1b,_0x4796a5,_0x3a6c8b);},'CSVwY':function(_0x39b1dc,_0x511584){return _0x39b1dc(_0x511584);},'eemJY':_0x3e438c(0xed)};helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x4151c8=process['argv'][_0x3e438c(0xdd)](0x2);return _0x133f5a[_0x3e438c(0xe3)](captureError,_0x133f5a[_0x3e438c(0x10c)](require,_0x133f5a[_0x3e438c(0xe6)]),_0xbfa169['argv'],_0x4151c8);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xcd),Constants[a44_0x680e5a(0x10a)][a44_0x680e5a(0x109)],_0x478967=>{const _0x234ff2=a44_0x680e5a,_0x8f7393={'dFOLW':function(_0x24560e,_0x1fb47e,_0x406adc){return _0x24560e(_0x1fb47e,_0x406adc);},'AqNuy':function(_0x71d3a2,_0x10e986){return _0x71d3a2(_0x10e986);},'VzQUM':_0x234ff2(0xec),'Aqwpr':_0x234ff2(0xce),'tRMvu':function(_0x5b7805,_0x588bae,_0x210700){return _0x5b7805(_0x588bae,_0x210700);},'QrKBr':_0x234ff2(0x10d),'vncnn':'mocha','HxaOd':_0x234ff2(0xbe),'iiSqP':function(_0x3f764c,_0x2cfba7,_0x3d961){return _0x3f764c(_0x2cfba7,_0x3d961);},'kQsCl':'mocha/lib/cli/cli.js','fgDrw':function(_0x296543){return _0x296543();}};logger[_0x234ff2(0xad)](_0x8f7393[_0x234ff2(0x111)]);const _0x3285f8=_0x8f7393[_0x234ff2(0xe8)](requireModule,_0x8f7393[_0x234ff2(0xdb)],_0x8f7393[_0x234ff2(0xb0)]),_0xfc52c3=_0x8f7393['tRMvu'](requireModule,_0x8f7393[_0x234ff2(0xd1)],_0x8f7393['vncnn']);process['argv']=process['argv']['slice'](0x1),delete _0x3285f8[_0x234ff2(0xb8)],_0x3285f8[_0x234ff2(0xb8)]=function(_0x55f490){const _0x763bc5=_0x234ff2;return _0x8f7393[_0x763bc5(0xe2)](captureError,_0x8f7393['AqNuy'](require,_0x8f7393[_0x763bc5(0xb9)]),_0x55f490);},_0xfc52c3['run']=_0x3285f8;const {main:_0x220e8f}=_0x8f7393[_0x234ff2(0xb6)](requireModule,_0x8f7393[_0x234ff2(0xf4)],_0x8f7393[_0x234ff2(0xb0)]);_0x8f7393[_0x234ff2(0xa1)](_0x220e8f);})['command'](a44_0x680e5a(0x102),Constants['CUCUMBER'][a44_0x680e5a(0x109)],function(_0x4c594b){const _0x1f48a8=a44_0x680e5a,_0x34d342={'hlxUz':function(_0x52010f,_0x59afc3,_0x3040b9,_0x1a71b3){return _0x52010f(_0x59afc3,_0x3040b9,_0x1a71b3);},'pOwQO':function(_0x1532a0,_0x158fe6){return _0x1532a0(_0x158fe6);},'GJckc':_0x1f48a8(0xbd)},_0x153b14=process['argv'][_0x1f48a8(0xdd)](0x2);return _0x34d342['hlxUz'](captureError,_0x34d342[_0x1f48a8(0xeb)](require,_0x34d342['GJckc']),_0x4c594b[_0x1f48a8(0xfa)],_0x153b14);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xfc),Constants[a44_0x680e5a(0xa5)][a44_0x680e5a(0x109)],function(_0x3f322d){const _0x28e2b0=a44_0x680e5a,_0x2c9f7a={'eQrxh':function(_0x4d7cb0,_0x3a28ac,_0x66530d,_0x405fc7){return _0x4d7cb0(_0x3a28ac,_0x66530d,_0x405fc7);},'IdzVL':function(_0x2a0a4e,_0x18047d){return _0x2a0a4e(_0x18047d);},'HoGbi':_0x28e2b0(0xaa)},_0x351268=process['argv'][_0x28e2b0(0xdd)](0x2);return _0x2c9f7a[_0x28e2b0(0x104)](captureError,_0x2c9f7a['IdzVL'](require,_0x2c9f7a[_0x28e2b0(0xe9)]),_0x3f322d[_0x28e2b0(0xfa)],_0x351268);})['command']('nightwatch',Constants[a44_0x680e5a(0xdc)][a44_0x680e5a(0x109)],function(_0x2dec94){const _0x49c1f6=a44_0x680e5a,_0x590f7a={'DggWK':function(_0xe909a9,_0x47699c,_0x495a1c,_0x225e81){return _0xe909a9(_0x47699c,_0x495a1c,_0x225e81);},'IlqOv':function(_0x40da28,_0x274097){return _0x40da28(_0x274097);},'RMPzb':_0x49c1f6(0xbb)},_0x46d509=process[_0x49c1f6(0xfa)][_0x49c1f6(0xdd)](0x2);return _0x590f7a[_0x49c1f6(0xc1)](captureError,_0x590f7a['IlqOv'](require,_0x590f7a['RMPzb']),_0x2dec94[_0x49c1f6(0xfa)],_0x46d509);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xd3),Constants[a44_0x680e5a(0xb5)][a44_0x680e5a(0x109)],function(_0x446322){const _0x2ca4d6=a44_0x680e5a,_0xdb54e3={'plAsC':function(_0x1e3564,_0x4b215a,_0x2a3358,_0x453356){return _0x1e3564(_0x4b215a,_0x2a3358,_0x453356);},'ZdIZJ':function(_0x2977fb,_0x44e30b){return _0x2977fb(_0x44e30b);},'jepXr':_0x2ca4d6(0xf3)},_0x3995e6=process[_0x2ca4d6(0xfa)]['slice'](0x2);return _0xdb54e3[_0x2ca4d6(0xc7)](captureError,_0xdb54e3[_0x2ca4d6(0xc5)](require,_0xdb54e3[_0x2ca4d6(0xe4)]),_0x446322[_0x2ca4d6(0xfa)],_0x3995e6);})[a44_0x680e5a(0xd0)](a44_0x680e5a(0xf1),Constants[a44_0x680e5a(0x10f)][a44_0x680e5a(0x109)],function(_0x2509a7){const _0x2f355e=a44_0x680e5a,_0x3ed979={'oxyAT':function(_0x52b499,_0x168f10,_0x1b350b){return _0x52b499(_0x168f10,_0x1b350b);},'Wsktg':function(_0x427f9c,_0x59299f){return _0x427f9c(_0x59299f);},'pQyVO':_0x2f355e(0xd6)},_0x18ef5e=process[_0x2f355e(0xfa)]['slice'](0x2);return _0x3ed979[_0x2f355e(0x103)](captureError,_0x3ed979[_0x2f355e(0x106)](require,_0x3ed979[_0x2f355e(0x114)]),_0x2509a7);})[a44_0x680e5a(0xd0)]('integrations',Constants[a44_0x680e5a(0xe1)][a44_0x680e5a(0x109)],function(_0x46d94c){const _0x549203=a44_0x680e5a,_0x377244={'CbaiG':function(_0x2781d3,_0x16a8b4){return _0x2781d3(_0x16a8b4);}};return _0x377244[_0x549203(0x107)](runIntegrations,_0x46d94c);})['command'](a44_0x680e5a(0x10b),Constants['PLAYWRIGHT'][a44_0x680e5a(0x109)],function(_0x541a2f){const _0x5d2acb=a44_0x680e5a,_0x3fd9f7={'HXoof':function(_0x436de7,_0xf46a9f,_0x5c4c6f,_0x26a685){return _0x436de7(_0xf46a9f,_0x5c4c6f,_0x26a685);},'MWhiw':function(_0x1e54b8,_0x5d78ea){return _0x1e54b8(_0x5d78ea);},'JqCUo':'./playwright/command'},_0x2c15e9=process['argv'][_0x5d2acb(0xdd)](0x2);return _0x3fd9f7['HXoof'](captureError,_0x3fd9f7[_0x5d2acb(0xc8)](require,_0x3fd9f7['JqCUo']),_0x541a2f[_0x5d2acb(0xfa)],_0x2c15e9);})[a44_0x680e5a(0xfb)](0x1,a44_0x680e5a(0xa6))[a44_0x680e5a(0x105)](null)[a44_0x680e5a(0xfa)];!helper[a44_0x680e5a(0x100)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x680e5a(0xf1)&&console[a44_0x680e5a(0x113)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a44_0x49014d=a44_0x3675;(function(_0x4449d3,_0xc51b2){const _0x294590=a44_0x3675,_0x148a13=_0x4449d3();while(!![]){try{const _0x44cedb=parseInt(_0x294590(0xc3))/0x1*(parseInt(_0x294590(0xc2))/0x2)+-parseInt(_0x294590(0x11f))/0x3*(parseInt(_0x294590(0xd3))/0x4)+-parseInt(_0x294590(0xce))/0x5+-parseInt(_0x294590(0xf0))/0x6*(parseInt(_0x294590(0xd4))/0x7)+-parseInt(_0x294590(0x118))/0x8+parseInt(_0x294590(0x130))/0x9+parseInt(_0x294590(0xca))/0xa;if(_0x44cedb===_0xc51b2)break;else _0x148a13['push'](_0x148a13['shift']());}catch(_0x449194){_0x148a13['push'](_0x148a13['shift']());}}}(a44_0x2d31,0x5c9bf));function a44_0x3675(_0x416802,_0xca4a31){const _0x2d310f=a44_0x2d31();return a44_0x3675=function(_0x3675d2,_0x5adb9e){_0x3675d2=_0x3675d2-0xba;let _0x29434d=_0x2d310f[_0x3675d2];return _0x29434d;},a44_0x3675(_0x416802,_0xca4a31);}const fs=require('fs'),path=require(a44_0x49014d(0xd2)),util=require(a44_0x49014d(0x102)),{requireModule}=require('../helpers/helper'),PerformanceTester=require(a44_0x49014d(0xf9)),PerformanceEvents=require(a44_0x49014d(0x106))[a44_0x49014d(0xc9)],helper=require(a44_0x49014d(0xf7)),utilities=require('../helpers/utilities'),runIntegrations=require(a44_0x49014d(0x109)),yargs=require(a44_0x49014d(0x131)),Constants=require(a44_0x49014d(0xd0)),logger=require(a44_0x49014d(0xdc))[a44_0x49014d(0xc4)],origArgs=Object[a44_0x49014d(0x111)]([],process[a44_0x49014d(0xea)]),captureError=async(_0x12c654,_0x3bccef,_0x11cdad=null)=>{const _0x44f259=a44_0x49014d,_0x49291f={'mmPWA':function(_0x6a1cd3,_0x384907,_0xdb3102){return _0x6a1cd3(_0x384907,_0xdb3102);},'nxeDE':_0x44f259(0xd8)};try{logger[_0x44f259(0xed)](_0x44f259(0x12e)+origArgs[_0x44f259(0xcb)]('\x20')),await _0x49291f['mmPWA'](_0x12c654,_0x3bccef,_0x11cdad);}catch(_0x5ddc48){process[_0x44f259(0xe9)]=0x1,logger['error'](util[_0x44f259(0x12c)](_0x5ddc48));const _0x69415a={};_0x69415a[_0x44f259(0x132)]=_0x5ddc48[_0x44f259(0xfc)];const _0x45306f=_0x69415a;PerformanceTester[_0x44f259(0x133)](PerformanceEvents[_0x44f259(0xe6)],![],util[_0x44f259(0x12c)](_0x5ddc48));if(helper['isUndefined'](global['config'])&&helper[_0x44f259(0xbe)](global['framework']))return;try{utilities[_0x44f259(0xd1)](_0x49291f[_0x44f259(0x12f)],_0x45306f,global[_0x44f259(0x110)],global['framework']);}catch(_0x4059e0){logger[_0x44f259(0x108)](_0x44f259(0x11a)+_0x4059e0['stack']);}PerformanceTester['end'](PerformanceEvents[_0x44f259(0xe6)],![],util[_0x44f259(0x12c)](_0x5ddc48));}finally{PerformanceTester[_0x44f259(0x11e)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path['join'](helper[a44_0x49014d(0xda)](),a44_0x49014d(0x10e));if(fs[a44_0x49014d(0x120)](browserstackFolderPath)){const filePath=path[a44_0x49014d(0xcb)](browserstackFolderPath,a44_0x49014d(0x101));fs[a44_0x49014d(0x120)](filePath)&&fs['unlinkSync'](filePath);}}catch(a44_0x3bbf52){logger[a44_0x49014d(0x108)](a44_0x49014d(0xee)+a44_0x3bbf52[a44_0x49014d(0xfc)]);}function a44_0x2d31(){const _0x4cfed4=['./integrations/command','--opts','dot-notation','tveAd','--package','.browserstack','setBrowserStackAutomationDisable','config','assign','HST','--mochaRequire','xVTtJ','jest','VERSION','./codeceptjs/command','2025416dmaHJz','blrTv','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','qsuqR','slice','integrations','start','3XGHiST','existsSync','./nightwatch/command','./playwright/command','error','cvcEe','--no-opts','--no-package','IZDgf','WsBDT','./jest/command','../../ats/src/index','--config','format','jMLsx','Running\x20SDK\x20with\x20args\x20','nxeDE','351423tAAiQS','yargs','globalException','end','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','PLAYWRIGHT','alias','ivmbL','isUndefined','INFO','includes','startMonitoring','12PYkgpR','24859MvMEge','winstonLogger','Osjtn','JEST','./cucumber-js/command','CLXnh','EVENTS','21274540gNlJJl','join','version','ats','3411945XfFKcr','SFoxw','./utils/constants','fireFunnelTestEvent','path','2689948DukImu','10213slipsq','command','./vanilla-js/command','help','SDKTestSuccessful','showHelpOnFail','homedir','mocha/lib/cli/commands.js','../helpers/logger','cucumber-js','push','./mocha/command','parserConfiguration','nrnGJ','setTestObservabilityDisable','CUCUMBER','Parsing\x20command\x20line\x20arguements','gsxOs','SDK_SETUP','mocha','INTEGRATIONS','exitCode','argv','tVagS','--no-config','info','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','xQZxX','1350iVmROV','SLieY','HELP','findAndReplace','handler','DXAIO','nightwatch','../helpers/helper','VANILLA','../helpers/performance/performance-tester','yLUFy','Nwulf','message','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','run','zHQsV','NIGHTWATCH','.local-not-set.json','util','StHgG','wrap','mocha/lib/cli/run.js','../helpers/performance/constants','playwright','debug'];a44_0x2d31=function(){return _0x4cfed4;};return a44_0x2d31();}process['argv'][a44_0x49014d(0xc0)](a44_0x49014d(0xe7))&&(!process[a44_0x49014d(0xea)][a44_0x49014d(0xc0)](a44_0x49014d(0x10a))&&process[a44_0x49014d(0xea)][a44_0x49014d(0xde)](a44_0x49014d(0x125)),!process['argv']['find'](_0x4ff448=>_0x4ff448[a44_0x49014d(0xc0)](a44_0x49014d(0x12b)))&&process[a44_0x49014d(0xea)][a44_0x49014d(0xde)](a44_0x49014d(0xec)),!process[a44_0x49014d(0xea)][a44_0x49014d(0xc0)](a44_0x49014d(0x10d))&&process[a44_0x49014d(0xea)][a44_0x49014d(0xde)](a44_0x49014d(0x126)),helper[a44_0x49014d(0xf3)](process[a44_0x49014d(0xea)],'--require',a44_0x49014d(0x113)));PerformanceTester[a44_0x49014d(0xc1)](),PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a44_0x57bda6={};a44_0x57bda6[a44_0x49014d(0x10b)]=![];const argv=yargs[a44_0x49014d(0xe0)](a44_0x57bda6)['usage']('usage:\x20$0\x20<command>\x20[args]')[a44_0x49014d(0xbc)]('v',a44_0x49014d(0xcc))['describe']('v')['alias']('h',a44_0x49014d(0xd7))[a44_0x49014d(0xd7)](a44_0x49014d(0xd7))[a44_0x49014d(0xd9)](!![],Constants[a44_0x49014d(0x116)][a44_0x49014d(0xf2)])[a44_0x49014d(0xd5)](a44_0x49014d(0x115),Constants[a44_0x49014d(0xc6)][a44_0x49014d(0xbf)],function(_0x5853bb){const _0x775222=a44_0x49014d,_0x383334={'jMLsx':function(_0x343825,_0x42a1c2,_0x2e0973,_0x5d93f2){return _0x343825(_0x42a1c2,_0x2e0973,_0x5d93f2);},'qsuqR':function(_0xc63ef6,_0x252133){return _0xc63ef6(_0x252133);},'cvcEe':_0x775222(0x129)};helper[_0x775222(0xe2)](),helper[_0x775222(0x10f)]();const _0x55d0cd=process[_0x775222(0xea)][_0x775222(0x11c)](0x2);return _0x383334[_0x775222(0x12d)](captureError,_0x383334[_0x775222(0x11b)](require,_0x383334[_0x775222(0x124)]),_0x5853bb[_0x775222(0xea)],_0x55d0cd);})['command'](a44_0x49014d(0xe7),Constants['MOCHA'][a44_0x49014d(0xbf)],_0x50a089=>{const _0x146184=a44_0x49014d,_0x15e8ea={'WsBDT':function(_0x30fc2d,_0x112458,_0x5c3251){return _0x30fc2d(_0x112458,_0x5c3251);},'kKgPl':function(_0x42a1a7,_0x27bb0c){return _0x42a1a7(_0x27bb0c);},'xVTtJ':_0x146184(0xdf),'tveAd':_0x146184(0xe4),'nrnGJ':_0x146184(0x105),'zHQsV':_0x146184(0xe7),'ROmZR':_0x146184(0xdb),'wNcrB':function(_0x538a8c,_0xd75771,_0x1b0416){return _0x538a8c(_0xd75771,_0x1b0416);},'BsKqM':'mocha/lib/cli/cli.js','Osjtn':function(_0x463af6){return _0x463af6();}};logger[_0x146184(0x108)](_0x15e8ea[_0x146184(0x10c)]);const _0xff57a8=_0x15e8ea[_0x146184(0x128)](requireModule,_0x15e8ea[_0x146184(0xe1)],_0x15e8ea[_0x146184(0xff)]),_0x2b6a61=_0x15e8ea['WsBDT'](requireModule,_0x15e8ea['ROmZR'],_0x15e8ea[_0x146184(0xff)]);process[_0x146184(0xea)]=process['argv']['slice'](0x1),delete _0xff57a8[_0x146184(0xf4)],_0xff57a8[_0x146184(0xf4)]=function(_0xdaed47){const _0x516516=_0x146184;return _0x15e8ea[_0x516516(0x128)](captureError,_0x15e8ea['kKgPl'](require,_0x15e8ea[_0x516516(0x114)]),_0xdaed47);},_0x2b6a61[_0x146184(0xfe)]=_0xff57a8;const {main:_0x312d7c}=_0x15e8ea['wNcrB'](requireModule,_0x15e8ea['BsKqM'],_0x15e8ea[_0x146184(0xff)]);_0x15e8ea[_0x146184(0xc5)](_0x312d7c);})['command'](a44_0x49014d(0xdd),Constants[a44_0x49014d(0xe3)][a44_0x49014d(0xbf)],function(_0x149c6f){const _0x3bfc81=a44_0x49014d,_0x3c9fac={'GdtiV':function(_0x529295,_0x29eefd,_0x260fed,_0xc43061){return _0x529295(_0x29eefd,_0x260fed,_0xc43061);},'ivmbL':function(_0x4852ec,_0x3434ea){return _0x4852ec(_0x3434ea);},'yLUFy':_0x3bfc81(0xc7)},_0x3f3ecf=process[_0x3bfc81(0xea)][_0x3bfc81(0x11c)](0x2);return _0x3c9fac['GdtiV'](captureError,_0x3c9fac[_0x3bfc81(0xbd)](require,_0x3c9fac[_0x3bfc81(0xfa)]),_0x149c6f[_0x3bfc81(0xea)],_0x3f3ecf);})[a44_0x49014d(0xd5)]('node',Constants[a44_0x49014d(0xf8)][a44_0x49014d(0xbf)],function(_0x47dff2){const _0x3cd63c=a44_0x49014d,_0x14c6d3={'Rgwhy':function(_0x2470a6,_0x32d9ea,_0x475397,_0x130513){return _0x2470a6(_0x32d9ea,_0x475397,_0x130513);},'blrTv':function(_0x5ad7f8,_0xf6060c){return _0x5ad7f8(_0xf6060c);},'SFoxw':_0x3cd63c(0xd6)},_0x1439eb=process[_0x3cd63c(0xea)][_0x3cd63c(0x11c)](0x2);return _0x14c6d3['Rgwhy'](captureError,_0x14c6d3[_0x3cd63c(0x119)](require,_0x14c6d3[_0x3cd63c(0xcf)]),_0x47dff2['argv'],_0x1439eb);})[a44_0x49014d(0xd5)](a44_0x49014d(0xf6),Constants[a44_0x49014d(0x100)]['INFO'],function(_0x13a56f){const _0x4448a1=a44_0x49014d,_0x13d05a={'xQZxX':function(_0x2e8a7,_0xcb40f5,_0x190eb3,_0x5200bc){return _0x2e8a7(_0xcb40f5,_0x190eb3,_0x5200bc);},'gsxOs':function(_0x2c391c,_0x35f0ea){return _0x2c391c(_0x35f0ea);},'DSMUs':_0x4448a1(0x121)},_0x324e98=process['argv'][_0x4448a1(0x11c)](0x2);return _0x13d05a[_0x4448a1(0xef)](captureError,_0x13d05a[_0x4448a1(0xe5)](require,_0x13d05a['DSMUs']),_0x13a56f['argv'],_0x324e98);})[a44_0x49014d(0xd5)]('codeceptjs',Constants['CODECEPTJS'][a44_0x49014d(0xbf)],function(_0x129ca2){const _0x5c41ff=a44_0x49014d,_0x526ffe={'OpOSz':function(_0x200903,_0x395e7f,_0x21a57f,_0x3ec990){return _0x200903(_0x395e7f,_0x21a57f,_0x3ec990);},'uapKE':function(_0x1869d0,_0xf4f4d){return _0x1869d0(_0xf4f4d);},'CLXnh':_0x5c41ff(0x117)},_0x26b5bd=process[_0x5c41ff(0xea)]['slice'](0x2);return _0x526ffe['OpOSz'](captureError,_0x526ffe['uapKE'](require,_0x526ffe[_0x5c41ff(0xc8)]),_0x129ca2[_0x5c41ff(0xea)],_0x26b5bd);})[a44_0x49014d(0xd5)]('ats',Constants[a44_0x49014d(0x112)]['INFO'],function(_0x5c33f6){const _0x3950bc=a44_0x49014d,_0x2c6428={'StHgG':function(_0x329944,_0x59a0e9,_0x132463){return _0x329944(_0x59a0e9,_0x132463);},'DXAIO':function(_0x4a69ba,_0x11fb01){return _0x4a69ba(_0x11fb01);},'tVagS':_0x3950bc(0x12a)},_0x9010d5=process[_0x3950bc(0xea)][_0x3950bc(0x11c)](0x2);return _0x2c6428[_0x3950bc(0x103)](captureError,_0x2c6428[_0x3950bc(0xf5)](require,_0x2c6428[_0x3950bc(0xeb)]),_0x5c33f6);})[a44_0x49014d(0xd5)](a44_0x49014d(0x11d),Constants[a44_0x49014d(0xe8)][a44_0x49014d(0xbf)],function(_0x52e237){const _0x2620a6=a44_0x49014d,_0x57a66c={'IZDgf':function(_0x2ae5d5,_0x321fc8){return _0x2ae5d5(_0x321fc8);}};return _0x57a66c[_0x2620a6(0x127)](runIntegrations,_0x52e237);})[a44_0x49014d(0xd5)](a44_0x49014d(0x107),Constants[a44_0x49014d(0xbb)]['INFO'],function(_0x35b40a){const _0x3283aa=a44_0x49014d,_0x2cb8bf={'flxXB':function(_0x203927,_0x5f2b1a,_0x16750a,_0x51a06d){return _0x203927(_0x5f2b1a,_0x16750a,_0x51a06d);},'Nwulf':function(_0x165b30,_0x424b5d){return _0x165b30(_0x424b5d);},'SLieY':_0x3283aa(0x122)},_0x3dcd00=process[_0x3283aa(0xea)][_0x3283aa(0x11c)](0x2);return _0x2cb8bf['flxXB'](captureError,_0x2cb8bf[_0x3283aa(0xfb)](require,_0x2cb8bf[_0x3283aa(0xf1)]),_0x35b40a['argv'],_0x3dcd00);})['demandCommand'](0x1,a44_0x49014d(0xfd))[a44_0x49014d(0x104)](null)[a44_0x49014d(0xea)];!helper[a44_0x49014d(0xbe)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x49014d(0xcd)&&console[a44_0x49014d(0x123)](a44_0x49014d(0xba));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a45_0x4a8f2d=a45_0x2fdd;(function(_0x4298f4,_0x178fba){const _0x57ef3f=a45_0x2fdd,_0x391377=_0x4298f4();while(!![]){try{const _0x2f9c92=parseInt(_0x57ef3f(0xcd))/0x1+parseInt(_0x57ef3f(0xba))/0x2+parseInt(_0x57ef3f(0xd0))/0x3+-parseInt(_0x57ef3f(0xa1))/0x4+-parseInt(_0x57ef3f(0xa3))/0x5+parseInt(_0x57ef3f(0xa4))/0x6+-parseInt(_0x57ef3f(0xaf))/0x7;if(_0x2f9c92===_0x178fba)break;else _0x391377['push'](_0x391377['shift']());}catch(_0xb0e6d9){_0x391377['push'](_0x391377['shift']());}}}(a45_0x45a0,0x76a4c));const fs=require('fs'),helper=require(a45_0x4a8f2d(0xc6)),utilities=require('../helpers/utilities'),yaml=require('js-yaml'),yargs=require(a45_0x4a8f2d(0xc8)),logger=require(a45_0x4a8f2d(0xb7))['winstonLogger'],configFileTemplate=__dirname+a45_0x4a8f2d(0xa2),configFileTemplatePW=__dirname+a45_0x4a8f2d(0xd6),configFile=process[a45_0x4a8f2d(0xe0)]()+'/browserstack.yml',packageFile=process[a45_0x4a8f2d(0xe0)]()+a45_0x4a8f2d(0xce),frameworks=[a45_0x4a8f2d(0xb9),'jest',a45_0x4a8f2d(0xae),a45_0x4a8f2d(0xd2),'nightwatch',a45_0x4a8f2d(0xbb),a45_0x4a8f2d(0xcb)];let config;logger[a45_0x4a8f2d(0xc0)](a45_0x4a8f2d(0xc1)),createConfigurationFile(yargs['argv'][a45_0x4a8f2d(0xda)],yargs[a45_0x4a8f2d(0xc3)]['key'],yargs['argv']['playwright']);try{sdkSetup();}catch(a45_0x2ea84a){logger[a45_0x4a8f2d(0xa5)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a45_0x2ea84a);}addScriptInPackageJson();function createConfigurationFile(_0x45c73e,_0x11d76c,_0x332855=![]){const _0x549960=a45_0x4a8f2d,_0x506f8d={};_0x506f8d[_0x549960(0xe1)]=_0x549960(0xb8),_0x506f8d[_0x549960(0xd8)]=_0x549960(0xc9),_0x506f8d[_0x549960(0xcc)]='YOUR_ACCESS_KEY';const _0x5c75c9=_0x506f8d;try{let _0xf55139=fs[_0x549960(0xde)](_0x332855?configFileTemplatePW:configFileTemplate,_0x5c75c9[_0x549960(0xe1)]);_0x45c73e&&(_0xf55139=_0xf55139[_0x549960(0xaa)](_0x5c75c9['WnMKs'],_0x45c73e)),_0x11d76c&&(_0xf55139=_0xf55139[_0x549960(0xaa)](_0x5c75c9[_0x549960(0xcc)],_0x11d76c)),config=yaml[_0x549960(0xdc)](_0xf55139),fs['writeFileSync'](configFile,_0xf55139,_0x1956c0=>{const _0x434fc8=_0x549960;_0x1956c0&&logger[_0x434fc8(0xa6)](_0x1956c0);});}catch(_0x1f2b2d){logger[_0x549960(0xa6)](_0x1f2b2d);}}function addPostInstallScript(_0x1b595c,_0x83c8bf){const _0x1d6ea8=a45_0x4a8f2d,_0x476faa={};_0x476faa[_0x1d6ea8(0xd7)]=_0x1d6ea8(0xca),_0x476faa[_0x1d6ea8(0xbe)]=_0x1d6ea8(0xc2),_0x476faa[_0x1d6ea8(0xdd)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0xf310c3=_0x476faa;let _0x7410d1=_0x1b595c[_0xf310c3[_0x1d6ea8(0xd7)]];if(_0x7410d1&&_0x7410d1['includes'](_0xf310c3[_0x1d6ea8(0xbe)]))return;!_0x7410d1?_0x7410d1=_0xf310c3[_0x1d6ea8(0xbe)]:_0x7410d1+=_0xf310c3[_0x1d6ea8(0xdd)],_0x83c8bf[_0x1d6ea8(0xd1)]([_0xf310c3[_0x1d6ea8(0xd7)],_0x7410d1]);}function addScriptInPackageJson(){const _0x46308e=a45_0x4a8f2d,_0x30a8c3={'eppsy':_0x46308e(0xb8),'TIjAi':function(_0x55cee7,_0x148a9e){return _0x55cee7<_0x148a9e;},'oQWbB':function(_0x1cd766,_0x2f5934,_0x1a50c5){return _0x1cd766(_0x2f5934,_0x1a50c5);},'Gylws':function(_0x26141f,_0x1f4bf8,_0xb7c5c2){return _0x26141f(_0x1f4bf8,_0xb7c5c2);},'LDrFy':function(_0x25876b,_0x890051,_0x5d3f9d){return _0x25876b(_0x890051,_0x5d3f9d);},'crJPf':function(_0x4dd209,_0x3ae0e5){return _0x4dd209!==_0x3ae0e5;},'oawcz':_0x46308e(0xe3)},_0x41f817=JSON['parse'](fs[_0x46308e(0xde)](packageFile,_0x30a8c3[_0x46308e(0xac)])),_0x322a3d=[];for(let _0x365e15=0x0;_0x30a8c3[_0x46308e(0xa8)](_0x365e15,frameworks['length']);_0x365e15+=0x1){const _0x57658e=_0x30a8c3[_0x46308e(0xb3)](findScriptsWithFramework,_0x41f817[_0x46308e(0xbc)],frameworks[_0x365e15]);for(let _0x20335e=0x0;_0x30a8c3['TIjAi'](_0x20335e,_0x57658e[_0x46308e(0xb5)]);_0x20335e+=0x1){_0x322a3d[_0x46308e(0xd1)](_0x30a8c3['Gylws'](getUpdatedCommand,_0x41f817[_0x46308e(0xbc)],_0x57658e[_0x20335e]));}_0x30a8c3[_0x46308e(0xb6)](addPostInstallScript,_0x41f817['scripts'],_0x322a3d);}const _0x50301f={..._0x41f817[_0x46308e(0xbc)]},_0x556e93=_0x50301f;for(let _0x151fde=0x0;_0x30a8c3[_0x46308e(0xa8)](_0x151fde,_0x322a3d[_0x46308e(0xb5)]);_0x151fde+=0x1){_0x556e93[_0x322a3d[_0x151fde][0x0]]=_0x322a3d[_0x151fde][0x1];}_0x30a8c3['crJPf'](JSON[_0x46308e(0xc4)](_0x41f817['scripts']),JSON[_0x46308e(0xc4)](_0x556e93))&&(logger[_0x46308e(0xc0)](_0x30a8c3[_0x46308e(0xc7)]),_0x41f817[_0x46308e(0xbc)]=_0x556e93,fs['writeFileSync'](packageFile,JSON[_0x46308e(0xc4)](_0x41f817,null,0x2),_0x18f456=>{_0x18f456&&logger['error'](_0x18f456);}));};function findScriptsWithFramework(_0xf3e2d0,_0xcff916){const _0x2a1530=a45_0x4a8f2d,_0x353a17={};_0x353a17[_0x2a1530(0xdb)]=function(_0x139a4e,_0x2b297b){return _0x139a4e<_0x2b297b;},_0x353a17[_0x2a1530(0xb4)]='browserstack-node-sdk';const _0x4508f4=_0x353a17,_0x127794=[],_0x17e481=Object[_0x2a1530(0xbf)](_0xf3e2d0);for(let _0x6f80e7=0x0;_0x4508f4[_0x2a1530(0xdb)](_0x6f80e7,_0x17e481['length']);_0x6f80e7+=0x1){_0x17e481[_0x6f80e7][0x1][_0x2a1530(0xab)](_0xcff916)&&!_0x17e481[_0x6f80e7][0x1][_0x2a1530(0xab)](_0x4508f4[_0x2a1530(0xb4)])&&_0x127794[_0x2a1530(0xd1)](_0x17e481[_0x6f80e7][0x0]);}return _0x127794;}function getUpdatedCommand(_0x1e1b47,_0x48f98c){const _0x269241=a45_0x4a8f2d,_0x2f7557={};_0x2f7557[_0x269241(0xa7)]=function(_0x29dde8,_0x3a947a){return _0x29dde8!==_0x3a947a;},_0x2f7557[_0x269241(0xd4)]=_0x269241(0xb1),_0x2f7557['gMFdZ']=function(_0x5cc9ff,_0x2bbeda){return _0x5cc9ff===_0x2bbeda;};const _0x45f3ac=_0x2f7557,_0x2b3450=_0x48f98c+'-browserstack',_0x25a733=_0x1e1b47[_0x48f98c],_0x2985d3=_0x25a733[_0x269241(0xb0)]('\x20');for(const _0x33e45d of frameworks){if(_0x45f3ac['naYvT'](_0x2985d3[_0x269241(0xd9)](_0x33e45d),-0x1)){_0x2985d3['splice'](_0x2985d3[_0x269241(0xd9)](_0x33e45d),0x0,_0x45f3ac[_0x269241(0xd4)]);break;}}let _0x39aa60=_0x2985d3[_0x269241(0xdf)]('\x20');return _0x45f3ac['gMFdZ'](_0x39aa60,_0x25a733)&&(_0x39aa60=_0x269241(0xa9)+_0x25a733),[_0x2b3450,_0x39aa60];}function a45_0x2fdd(_0x325157,_0x3435ab){const _0x45a0a3=a45_0x45a0();return a45_0x2fdd=function(_0x2fdd05,_0x2b097f){_0x2fdd05=_0x2fdd05-0xa1;let _0x4be273=_0x45a0a3[_0x2fdd05];return _0x4be273;},a45_0x2fdd(_0x325157,_0x3435ab);}function sdkSetup(){const _0x24cb17=a45_0x4a8f2d,_0xb8e862={};_0xb8e862[_0x24cb17(0xc5)]=_0x24cb17(0xcf),_0xb8e862[_0x24cb17(0xb2)]=_0x24cb17(0xad);const _0x2e9a10=_0xb8e862;if(helper['isUndefined'](config))return;config[_0x24cb17(0xd5)]=_0x2e9a10[_0x24cb17(0xc5)];try{utilities[_0x24cb17(0xe2)](_0x2e9a10['PSWlj'],{},config,'');}catch(_0x32299a){logger[_0x24cb17(0xa5)](_0x24cb17(0xd3)+_0x32299a);}}logger['info'](a45_0x4a8f2d(0xbd));function a45_0x45a0(){const _0x396797=['4406900MeCLdV','329388XaBaTK','debug','error','naYvT','TIjAi','browserstack-node-sdk\x20','replace','includes','eppsy','SDKSetup','cucumber-js','1807645rfIrVe','split','browserstack-node-sdk','PSWlj','oQWbB','GZbFL','length','LDrFy','../helpers/logger','utf8','mocha','1589674yMjtYG','codeceptjs','scripts','Setup\x20completed','KdJuC','entries','info','Creating\x20configuration\x20file...','npm\x20update\x20browserstack-node-sdk','argv','stringify','iZJhB','../helpers/helper','oawcz','yargs','YOUR_USERNAME','postinstall','playwright','UxWrE','251144iPhOKb','/package.json','node-setup','1914510rrcpRb','push','node','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','rzBou','source','/../../browserstack.pw.yml.sample','tOUuS','WnMKs','indexOf','username','OEKMf','load','htzuZ','readFileSync','join','cwd','EODnx','fireFunnelTestEvent','Adding\x20new\x20script(s)\x20in\x20package.json...','453880yEQWzV','/../../browserstack.yml.sample'];a45_0x45a0=function(){return _0x396797;};return a45_0x45a0();}
|