browserstack-node-sdk 1.34.56 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/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
|
-
function
|
|
1
|
+
function a39_0x3fd1(){const _0x101b34=['256tCClKn','3514182IYefbh','_isWorkerRedundant','prototype','ylOtf','MZWnB','wzWFo','1501700JHHirP','bfTwW','3Oyqdns','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','WwuiS','join','__workerDetails','evaluate','YfGAE','getAccessibilityResultsSummary','8lQvPci','Dispatcher','8233zsuCmu','MNpWh','runner/dispatcher.js','ZocDe','DtgwR','apply','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','fByqp','../../helpers/logger','2133228oyAHmD','410hnSnSJ','BROWSERSTACK_TEST_OBSERVABILITY','client','ZwROK','debug','getAccessibilityResults','aBnQm','EltDm','pwPage','format','../../helpers/performance/constants','annotate','8456841QANisq','util','../../helpers/performance/performance-tester','oiXgT','now','env','browserstack_executor:\x20','XbGtK','mockIsWorkerRedundant','YXFTf','146036FIRcys','../../helpers/helper','1195972oBIWZt','newPage','ENbkZ','BrowserContext','Lfguu','Unable\x20to\x20import\x20context\x20for\x20page','doo11ySync','o11ySyncDone'];a39_0x3fd1=function(){return _0x101b34;};return a39_0x3fd1();}const a39_0x961e5b=a39_0x5814;(function(_0x502e3d,_0x345b53){const _0x131ec7=a39_0x5814,_0x5f0f49=_0x502e3d();while(!![]){try{const _0x37ecc7=parseInt(_0x131ec7(0xb3))/0x1*(-parseInt(_0x131ec7(0xdd))/0x2)+parseInt(_0x131ec7(0xa9))/0x3*(parseInt(_0x131ec7(0xd5))/0x4)+-parseInt(_0x131ec7(0xa7))/0x5+-parseInt(_0x131ec7(0xbc))/0x6+parseInt(_0x131ec7(0xde))/0x7+parseInt(_0x131ec7(0xb1))/0x8*(parseInt(_0x131ec7(0xc9))/0x9)+-parseInt(_0x131ec7(0xbd))/0xa*(-parseInt(_0x131ec7(0xd3))/0xb);if(_0x37ecc7===_0x345b53)break;else _0x5f0f49['push'](_0x5f0f49['shift']());}catch(_0x3fa362){_0x5f0f49['push'](_0x5f0f49['shift']());}}}(a39_0x3fd1,0x8c732));const path=require('path'),util=require(a39_0x961e5b(0xca)),logger=require(a39_0x961e5b(0xbb)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a39_0x961e5b(0xd4)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),AccessibilityHelper=require('./accessibility-helper'),PerformanceTester=require(a39_0x961e5b(0xcb)),{O11y_EVENTS:PerformanceO11yEvents}=require(a39_0x961e5b(0xc7)),doo11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x5e1ef5){const _0x224d92=a39_0x961e5b,_0xcdff50={'WwuiS':function(_0x5e5a51,_0x5a9ef9,_0x568099){return _0x5e5a51(_0x5a9ef9,_0x568099);},'XbGtK':_0x224d92(0xad),'ENbkZ':_0x224d92(0xdc),'oiXgT':_0x224d92(0xc8),'MNpWh':_0x224d92(0xc1)};if(_0xcdff50[_0x224d92(0xab)](nestedKeyValue,global,[_0xcdff50[_0x224d92(0xd0)],_0xcdff50[_0x224d92(0xd7)]]))return;await _0x5e1ef5[_0x224d92(0xae)](_0x39e7ab=>{},_0x224d92(0xcf)+JSON['stringify']({'action':_0xcdff50[_0x224d92(0xcc)],'arguments':{'data':'ObservabilitySync:'+Date[_0x224d92(0xcd)](),'level':_0xcdff50[_0x224d92(0xb4)]}})),global[_0x224d92(0xad)][_0x224d92(0xdc)]=!![];},a39_0x961e5b(0xdb)));function a39_0x5814(_0x581401,_0x2a05c8){const _0x3fd1fa=a39_0x3fd1();return a39_0x5814=function(_0x581429,_0x519a93){_0x581429=_0x581429-0xa7;let _0x1c733b=_0x3fd1fa[_0x581429];return _0x1c733b;},a39_0x5814(_0x581401,_0x2a05c8);}exports['mockContextNewPage']=()=>{const _0x408bf7=a39_0x961e5b,_0x56a8ff={'aBnQm':function(_0x48802c,_0x4fab0e){return _0x48802c(_0x4fab0e);},'ZocDe':function(_0x2dc9e4,_0x425666){return _0x2dc9e4(_0x425666);},'YfGAE':function(_0x5acbfc,_0x2c331a){return _0x5acbfc(_0x2c331a);},'Lfguu':function(_0x4a7e7a,_0x27def6,_0x23e335){return _0x4a7e7a(_0x27def6,_0x23e335);},'EltDm':_0x408bf7(0xad),'ZwROK':'lib','MZWnB':_0x408bf7(0xbf),'VKdBu':'browserContext.js','bfTwW':_0x408bf7(0xda),'fByqp':_0x408bf7(0xd6)},_0xdfc920=path[_0x408bf7(0xac)](_0x56a8ff[_0x408bf7(0xc0)],_0x56a8ff[_0x408bf7(0xe2)],_0x56a8ff['VKdBu']),_0x19ad39=_0x56a8ff[_0x408bf7(0xc3)](importFileFromPWCore,_0xdfc920);if(!_0x19ad39){logger['debug'](_0x56a8ff[_0x408bf7(0xa8)]);return;}const _0xbffda1=_0x19ad39[_0x408bf7(0xd8)],_0x3feabc=_0xbffda1[_0x408bf7(0xe0)],_0x21cb35=_0x3feabc[_0x408bf7(0xd6)];Object['defineProperty'](_0x3feabc,_0x56a8ff[_0x408bf7(0xba)],{'get':function(){return async function _0x2710a5(){const _0x20fe20=a39_0x5814,_0xa77c9e=await _0x21cb35[_0x20fe20(0xb8)](this,arguments);try{!_0x56a8ff[_0x20fe20(0xc3)](isFalse,process[_0x20fe20(0xce)][_0x20fe20(0xbe)])&&await _0x56a8ff[_0x20fe20(0xb6)](doo11ySync,_0xa77c9e),!_0x56a8ff[_0x20fe20(0xaf)](isFalse,process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(_0xa77c9e[_0x20fe20(0xc2)]=async()=>{return await AccessibilityHelper['getAccessibilityResults'](_0xa77c9e);},_0xa77c9e['getAccessibilityResultsSummary']=async()=>{const _0x165c31=_0x20fe20;return await AccessibilityHelper[_0x165c31(0xb0)](_0xa77c9e);},_0xa77c9e['performScan']=async()=>{return await AccessibilityHelper['performScan'](_0xa77c9e);});}catch(_0x1532a7){logger[_0x20fe20(0xc1)](_0x20fe20(0xb9)+util[_0x20fe20(0xc6)](_0x1532a7));}return _0x56a8ff[_0x20fe20(0xd9)](nestedKeyValue,global,[_0x56a8ff[_0x20fe20(0xc4)]])&&(global[_0x20fe20(0xad)][_0x20fe20(0xc5)]=_0xa77c9e),_0xa77c9e;};}});},exports[a39_0x961e5b(0xd1)]=()=>{const _0x19039a=a39_0x961e5b,_0x3e5452={'ylOtf':function(_0x175161,_0x35f3e6){return _0x175161(_0x35f3e6);},'YXFTf':_0x19039a(0xb5),'wzWFo':'Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','DtgwR':_0x19039a(0xdf)};try{const _0x4d33c7=requirePWModule[_0x19039a(0xb8)](null,_0x3e5452[_0x19039a(0xe1)](getPlaywrightLibPath,_0x3e5452[_0x19039a(0xd2)]));if(!_0x4d33c7){logger['debug'](_0x3e5452[_0x19039a(0xe3)]);return;}const _0x3342f3=_0x4d33c7[_0x19039a(0xb2)],_0x5b5a44=_0x3342f3['prototype'],_0x64a4b0=_0x5b5a44[_0x19039a(0xdf)];Object['defineProperty'](_0x5b5a44,_0x3e5452[_0x19039a(0xb7)],{'get':function(){return function _0x4a0c96(){const _0x26a62d=a39_0x5814;return _0x64a4b0[_0x26a62d(0xb8)](this,arguments),!![];};}});}catch(_0x32a18c){logger[_0x19039a(0xc1)](_0x19039a(0xaa)+util[_0x19039a(0xc6)](_0x32a18c));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a40_0x1bf2(){const _0x4be1ae=['doo11ySync','OCsiW','title','xWRrD','oWyma','440UcibEh','tags','./test-details','filter','uvyMl','wdebu','validateFilePath','includes','lAbve','SMmsM','endsWith','edsRg','calculatePerformance','@playwright/test','runner/projectUtils.js','uRdcb','../../../helpers/test-observability/utils','yaplY','createReadStream','McQoO','UlMqk','beforeTestHook','dAoiE','TEST_ATTACHMENT','map','playwright/lib/common/configLoader.js','playwright','getTime','testUId','vpuMm','clcgA','pOeue','slice','2295984OUCmdw','lib','join','\x20bytes','length','PhfnF','statSync','startsWith','filePath','getPlaywrightLibPath','afterTestHook','xFmsL','ZsxkP','JlCxx','winstonLogger','size','message','error','xgyAe','2675502rhqSbH','NhuPr','TaIAY','onTestBegin','Error\x20in\x20sending\x20trace\x20file:\x20%s','XbOyp','ifhyR','Test\x20timeout\x20of','ISePo','onBegin','toString','../../../helpers/test-observability/constants','getFailureData','Rvfhh','../../../helpers/performance/performance-tester','aOXem','addTraceFilePath','\x20in\x20attachments','attachments','START_TIME','../../../helpers/test-observability/sessionHandler','call','yZXZQ','bndsu','stack','BkkIr','Searching\x20for\x20key:\x20','test','performance-reporter.html','process.js','kxMkN','679781IGVbkK','1534416MbtXNJ','TEST_LOG','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','1.35.0','qhdTd','fhbCQ','1.38.0','afterWorkerHook','ERROR','LogCreated','1.42.0','performance-report-worker-','match','PgzrO','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','npHDf','extname','ypONG','sendTestLog','PLAYWRIGHT','Arguments','format','88hOtumF','sendTraceZip','toLowerCase','getForkProcessPath','@playwright/test/lib/common/configLoader.js','vNHqX','Trace\x20enabled','VVRFX','calculateTimesFromMultipleFiles','getConfigLoaderPath','126760mFeeEP','@playwright/test/lib/transform/transform.js','Percentage\x20of\x20increased\x20time\x20is\x20','RGnGV','bJDyO','pjYBk','requestSpyCallback','Tcabj','oUHdq','../../../helpers/helper','XgbTq','ySIDq','ERQXN','common','ZQVvR','Found\x20key:\x20','readdirSync','sendSessionDetails','onStepEnd','yKqZj','142236gCmCGE','AYPhR','DmdCu','FPMFf','FPmPh','trace','pWoxy','env','getLoadUtilsPath','path','iUxxL','compareVersions','name','runner/loadUtils.js','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','ICMAt','debug','prototype','Snyyh','beforeWorkerHook','.zip','6707624qcyvCr','onStepBegin','LUGSF','findNestedKey'];a40_0x1bf2=function(){return _0x4be1ae;};return a40_0x1bf2();}function a40_0x5d0b(_0x32cd32,_0x2e067e){const _0x1bf24a=a40_0x1bf2();return a40_0x5d0b=function(_0x5d0b52,_0x4cf0c4){_0x5d0b52=_0x5d0b52-0xaf;let _0x59ff24=_0x1bf24a[_0x5d0b52];return _0x59ff24;},a40_0x5d0b(_0x32cd32,_0x2e067e);}const a40_0x1a16c5=a40_0x5d0b;(function(_0x43d1,_0x3f927e){const _0x27934b=a40_0x5d0b,_0x5e18b2=_0x43d1();while(!![]){try{const _0x21e814=parseInt(_0x27934b(0x132))/0x1+parseInt(_0x27934b(0x133))/0x2+-parseInt(_0x27934b(0x100))/0x3+-parseInt(_0x27934b(0x149))/0x4*(parseInt(_0x27934b(0x153))/0x5)+parseInt(_0x27934b(0x113))/0x6+-parseInt(_0x27934b(0xd6))/0x7+-parseInt(_0x27934b(0xdf))/0x8*(-parseInt(_0x27934b(0xc1))/0x9);if(_0x21e814===_0x3f927e)break;else _0x5e18b2['push'](_0x5e18b2['shift']());}catch(_0x3913ee){_0x5e18b2['push'](_0x5e18b2['shift']());}}}(a40_0x1bf2,0x75636));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a40_0x1a16c5(0xef)),PerformanceTester=require(a40_0x1a16c5(0x121)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a40_0x1a16c5(0x11e)),helper=require(a40_0x1a16c5(0xb6)),path=require(a40_0x1a16c5(0xca)),logger=require('../../../helpers/logger')[a40_0x1a16c5(0x10e)],SessionHandler=require(a40_0x1a16c5(0x127)),TestDetails=require(a40_0x1a16c5(0xe1)),util=require('util'),getTagsFromTitle=_0x5b5071=>{const _0x57584f=a40_0x1a16c5;return _0x5b5071[_0x57584f(0x13f)](/@(\w+)/g)?.[_0x57584f(0xf7)](_0x11fbda=>_0x11fbda[_0x57584f(0xff)](0x1))||[];};exports['getTestTags']=_0x232bc9=>{const _0x5f54e2=a40_0x1a16c5,_0x234f6a={'kpKuA':function(_0x2eb7da,_0x1e84fa){return _0x2eb7da(_0x1e84fa);}};if(_0x232bc9[_0x5f54e2(0xe0)])return _0x232bc9['tags']['map'](_0x29226e=>_0x29226e[_0x5f54e2(0x107)]('@')?_0x29226e['substr'](0x1):_0x29226e);return _0x234f6a['kpKuA'](getTagsFromTitle,_0x232bc9[_0x5f54e2(0xdc)]);},exports[a40_0x1a16c5(0xeb)]=async()=>{const _0x147e64=a40_0x1a16c5,_0x101d4d={'BkkIr':function(_0x3caa37,_0x5f58cf){return _0x3caa37-_0x5f58cf;},'kxMkN':_0x147e64(0x12f),'FPMFf':_0x147e64(0x11c),'bndsu':'endSession','yKqZj':_0x147e64(0x116),'DmdCu':'onTestEnd','NPlCT':_0x147e64(0xd7),'TaIAY':_0x147e64(0xbf),'fhbCQ':_0x147e64(0xd4),'mnHyL':_0x147e64(0x13a),'dAoiE':_0x147e64(0xf4),'Tcabj':_0x147e64(0x10a),'bJDyO':_0x147e64(0xda),'npHDf':'processPageScreenshot','RGnGV':_0x147e64(0xbe),'SMmsM':'setupBrowserDetails','XbOyp':_0x147e64(0xb3),'aOXem':_0x147e64(0x145),'Rvfhh':function(_0x50d622,_0x43262b){return _0x50d622(_0x43262b);},'ypONG':function(_0xe83918,_0x355d02){return _0xe83918/_0x355d02;},'wdebu':function(_0x3a63dd,_0x2203a6){return _0x3a63dd+_0x2203a6;},'xWRrD':function(_0x36523e,_0x39a37c){return _0x36523e*_0x39a37c;},'LUGSF':function(_0x1bb36c,_0x1a1658){return _0x1bb36c/_0x1a1658;},'vpuMm':function(_0x27bcb8,_0x5612a0){return _0x27bcb8+_0x5612a0;}};if(!process['env'][_0x147e64(0x126)])return;const _0xc07d2e=_0x101d4d[_0x147e64(0x12c)](new Date()[_0x147e64(0xfa)](),new Date(process[_0x147e64(0xc8)][_0x147e64(0x126)])[_0x147e64(0xfa)]()),_0x397c88=await PerformanceTester['stopAndGenerate'](_0x101d4d[_0x147e64(0x131)],[_0x101d4d[_0x147e64(0xc4)],_0x101d4d[_0x147e64(0x12a)],_0x101d4d[_0x147e64(0xc0)],_0x101d4d[_0x147e64(0xc3)],_0x101d4d['NPlCT'],_0x101d4d[_0x147e64(0x115)]]),_0x5d83dd=fs[_0x147e64(0xbd)]('.'),_0x3bfe12=_0x5d83dd[_0x147e64(0xe2)](_0x2d21eb=>_0x2d21eb[_0x147e64(0x107)](_0x147e64(0x13e))&&_0x2d21eb[_0x147e64(0xe9)]('.json')),_0x1959f3=await PerformanceTester[_0x147e64(0x151)](_0x3bfe12,[_0x101d4d[_0x147e64(0x138)],_0x101d4d['mnHyL'],_0x101d4d[_0x147e64(0xf5)],_0x101d4d[_0x147e64(0xb4)],_0x101d4d[_0x147e64(0xb1)],_0x101d4d[_0x147e64(0x142)],_0x101d4d[_0x147e64(0xb0)],_0x101d4d[_0x147e64(0xe8)],_0x101d4d[_0x147e64(0x118)],_0x101d4d[_0x147e64(0x122)]]);_0x101d4d['Rvfhh'](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x101d4d[_0x147e64(0x144)](_0xc07d2e,0x3e8)+'\x20s'),_0x101d4d[_0x147e64(0x120)](debug,_0x147e64(0x135)+_0x101d4d[_0x147e64(0xe4)](_0x1959f3,_0x397c88)),_0x101d4d['Rvfhh'](debug,_0x147e64(0xaf)+_0x101d4d[_0x147e64(0xdd)](_0x101d4d[_0x147e64(0xd8)](_0x101d4d[_0x147e64(0xfc)](_0x1959f3,_0x397c88),_0xc07d2e),0x64));},exports['getTransformPath']=()=>{const _0x38128c=a40_0x1a16c5,_0x310689={'mNFCK':function(_0x24b927,_0x320ecc){return _0x24b927(_0x320ecc);},'pOeue':function(_0x12e53c,_0x13afca){return _0x12e53c>=_0x13afca;},'iUxxL':'1.38.0','ERQXN':'playwright/lib/transform/transform.js','McQoO':_0x38128c(0xf9),'dLmqk':function(_0x2cc9fe,_0x24360b){return _0x2cc9fe>=_0x24360b;},'pIspU':_0x38128c(0x136),'JlCxx':_0x38128c(0x154),'XgbTq':_0x38128c(0xec),'ySIDq':'@playwright/test/lib/common/transform.js'},_0x346a1d=_0x310689['mNFCK'](getFrameworkVersion,FRAMEWORKS[_0x38128c(0x146)]);if(_0x310689[_0x38128c(0xfe)](helper[_0x38128c(0xcc)](_0x346a1d,_0x310689[_0x38128c(0xcb)]),0x0))return[_0x310689[_0x38128c(0xb9)],_0x310689[_0x38128c(0xf2)]];if(_0x310689['dLmqk'](helper[_0x38128c(0xcc)](_0x346a1d,_0x310689['pIspU']),0x0))return[_0x310689[_0x38128c(0x10d)],_0x310689[_0x38128c(0xb7)]];return[_0x310689[_0x38128c(0xb8)],_0x310689['XgbTq']];},exports[a40_0x1a16c5(0x152)]=()=>{const _0x36f0da=a40_0x1a16c5,_0x553ae2={'lAbve':function(_0xe4b327,_0x14320d){return _0xe4b327(_0x14320d);},'jCBTp':function(_0xa9cf4a,_0x3e17c9){return _0xa9cf4a>=_0x3e17c9;},'oWyma':_0x36f0da(0x139),'FPmPh':_0x36f0da(0xf8),'clcgA':'playwright','iLrjo':_0x36f0da(0x14d),'VVRFX':_0x36f0da(0xec)},_0x27f3be=_0x553ae2[_0x36f0da(0xe7)](getFrameworkVersion,FRAMEWORKS[_0x36f0da(0x146)]);if(_0x553ae2['jCBTp'](helper[_0x36f0da(0xcc)](_0x27f3be,_0x553ae2[_0x36f0da(0xde)]),0x0))return[_0x553ae2[_0x36f0da(0xc5)],_0x553ae2[_0x36f0da(0xfd)]];return[_0x553ae2['iLrjo'],_0x553ae2[_0x36f0da(0x150)]];},exports[a40_0x1a16c5(0xc9)]=()=>{const _0x59a86d=a40_0x1a16c5,_0x5a76d5={};_0x5a76d5[_0x59a86d(0xe3)]=_0x59a86d(0xce);const _0x432691=_0x5a76d5;return helper[_0x59a86d(0x109)](_0x432691[_0x59a86d(0xe3)]);},exports['getProjectUtilsPath']=()=>{const _0x31cc39=a40_0x1a16c5,_0x4457d5={};_0x4457d5['PgzrO']=_0x31cc39(0xed);const _0x5a5bc7=_0x4457d5;return helper[_0x31cc39(0x109)](_0x5a5bc7[_0x31cc39(0x140)]);},exports[a40_0x1a16c5(0x14c)]=()=>{const _0x3e05cc=a40_0x1a16c5,_0xeaa4f2={'pjYBk':function(_0x52c1aa,_0x4a62c3){return _0x52c1aa(_0x4a62c3);},'NhuPr':function(_0x584216,_0x586021){return _0x584216>=_0x586021;},'wPyOp':_0x3e05cc(0x139),'edsRg':_0x3e05cc(0x101),'AYPhR':_0x3e05cc(0xba),'wwvPP':_0x3e05cc(0x130),'Snyyh':_0x3e05cc(0x12e)},_0x2183a5=_0xeaa4f2[_0x3e05cc(0xb2)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0xeaa4f2[_0x3e05cc(0x114)](helper['compareVersions'](_0x2183a5,_0xeaa4f2['wPyOp']),0x0))return path[_0x3e05cc(0x102)](_0xeaa4f2[_0x3e05cc(0xea)],_0xeaa4f2[_0x3e05cc(0xc2)],_0xeaa4f2['wwvPP']);return path[_0x3e05cc(0x102)](_0xeaa4f2[_0x3e05cc(0xd3)],_0xeaa4f2[_0x3e05cc(0xea)],_0xeaa4f2[_0x3e05cc(0xc2)],_0xeaa4f2['wwvPP']);},exports[a40_0x1a16c5(0x11f)]=(_0x3e250f,{test_run_uuid:_0x31421e})=>{const _0x4ba635=a40_0x1a16c5,_0x287e13={'qhdTd':_0x4ba635(0x13b),'FXdaM':_0x4ba635(0x134),'ifhyR':function(_0x5e8b49,_0x9bd441){return _0x5e8b49<=_0x9bd441;},'xFmsL':function(_0x4cca51,_0x5e5ff1){return _0x4cca51(_0x5e5ff1);},'oUHdq':_0x4ba635(0x11a),'pWoxy':function(_0x167860,_0x450cb5){return _0x167860>=_0x450cb5;},'eYfuC':_0x4ba635(0x13d),'xgyAe':function(_0x5f0e4f,_0x2e463f){return _0x5f0e4f>_0x2e463f;},'PhfnF':function(_0x12a473,_0x34d58f,_0xe7bdf6){return _0x12a473(_0x34d58f,_0xe7bdf6);},'uRdcb':_0x4ba635(0x12e)};if(!_0x3e250f||_0x287e13[_0x4ba635(0x119)](_0x3e250f[_0x4ba635(0x104)],0x0))return[];const _0xb98764=_0x287e13[_0x4ba635(0x10b)](removeAnsiColors,_0x3e250f[0x0][_0x4ba635(0x110)]);if(_0xb98764[_0x4ba635(0x107)](_0x287e13[_0x4ba635(0xb5)])){const _0x2fa329=_0x3e250f[0x0],_0x2093cc=_0x287e13[_0x4ba635(0x10b)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if((!_0x2fa329[_0x4ba635(0x12b)]||_0x287e13[_0x4ba635(0xc7)](_0x2093cc,_0x287e13['eYfuC']))&&_0x287e13[_0x4ba635(0x112)](_0x3e250f[_0x4ba635(0x104)],0x1))return{'failureData':[{'backtrace':[_0xb98764,_0x287e13[_0x4ba635(0x10b)](removeAnsiColors,_0x3e250f[0x1][_0x4ba635(0x12b)])]}],'logs':_0x3e250f[_0x4ba635(0xff)](0x2)[_0x4ba635(0xf7)](_0x92a352=>{const _0x330da6=_0x4ba635;return{'timestamp':new Date()['toISOString'](),'level':_0x287e13[_0x330da6(0x137)],'message':''+_0x92a352['message'],'kind':_0x287e13['FXdaM'],'http_response':{},'test_run_uuid':_0x31421e};})};}return{'failureData':_0x287e13[_0x4ba635(0x105)](failureData,_0x3e250f,_0x287e13[_0x4ba635(0xee)]),'logs':[]};},exports[a40_0x1a16c5(0xe5)]=_0x4cf217=>{const _0x542958=a40_0x1a16c5,_0x51dbc0={};_0x51dbc0['ISePo']=function(_0x5a1b0b,_0x5037aa){return _0x5a1b0b!==_0x5037aa;},_0x51dbc0[_0x542958(0xbb)]=_0x542958(0xd5),_0x51dbc0[_0x542958(0xd0)]=function(_0x619513,_0x4b6d7e){return _0x619513>_0x4b6d7e;};const _0x2e3b74=_0x51dbc0;if(_0x4cf217&&fs['existsSync'](_0x4cf217)){if(_0x2e3b74[_0x542958(0x11b)](path[_0x542958(0x143)](_0x4cf217)[_0x542958(0x14b)](),_0x2e3b74[_0x542958(0xbb)]))return logger[_0x542958(0x111)]('Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20'+_0x4cf217),![];const _0x5a367c=fs[_0x542958(0x106)](_0x4cf217)[_0x542958(0x10f)];if(_0x2e3b74[_0x542958(0xd0)](_0x5a367c,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x542958(0x111)](_0x542958(0xcf)+_0x5a367c+_0x542958(0x103)),![];return!![];}return![];},exports[a40_0x1a16c5(0xd9)]=(_0x1182e3,_0xc30eaa)=>{const _0x2966f7=a40_0x1a16c5,_0x295e32={};_0x295e32[_0x2966f7(0x10c)]=_0x2966f7(0x147);const _0xb901f6=_0x295e32;logger[_0x2966f7(0xd1)](_0x2966f7(0x12d)+_0xc30eaa);if(_0x1182e3[_0x2966f7(0x125)]){const _0x12a61b=_0x1182e3['attachments']['find'](_0x9ea480=>_0x9ea480[_0x2966f7(0xcd)]===_0x2966f7(0xc6));if(_0x12a61b)return logger[_0x2966f7(0xd1)](_0x2966f7(0xbc)+_0xc30eaa+_0x2966f7(0x124)),_0x12a61b[_0xc30eaa];}else{if(Object[_0x2966f7(0xd2)][_0x2966f7(0x11d)][_0x2966f7(0x128)](_0x1182e3)[_0x2966f7(0xe6)](_0xb901f6[_0x2966f7(0x10c)]))for(const _0x3b971c of _0x1182e3){if(_0x3b971c[_0xc30eaa])return logger[_0x2966f7(0xd1)]('Found\x20key:\x20'+_0xc30eaa+'\x20in\x20arguments'),_0x3b971c[_0xc30eaa];}}return'';},exports['uploadTraceZip']=async(_0x2c8c49,_0x3a0b8c)=>{const _0x27f74b=a40_0x1a16c5,_0x158054={};_0x158054[_0x27f74b(0xf0)]=_0x27f74b(0x13c),_0x158054['yZXZQ']=_0x27f74b(0xf6),_0x158054['oAmRc']=_0x27f74b(0x14a),_0x158054[_0x27f74b(0xdb)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x16f737=_0x158054;try{const _0x49f3e9={'event_type':_0x16f737[_0x27f74b(0xf0)],'logs':[{'data':_0x2c8c49?fs[_0x27f74b(0xf1)](_0x2c8c49):'','test_run_uuid':_0x3a0b8c,'kind':_0x16f737[_0x27f74b(0x129)],'fileName':_0x2c8c49?path['basename'](_0x2c8c49):''}]};return await SessionHandler['sendEventData'](_0x49f3e9,0x0,_0x16f737['oAmRc']);}catch(_0x5237a6){logger['error'](util['format'](_0x16f737[_0x27f74b(0xdb)],_0x5237a6));}},exports[a40_0x1a16c5(0x14a)]=async(_0x5bd988,_0x53d3f8)=>{const _0x1d42cf=a40_0x1a16c5,_0xf95b80={};_0xf95b80['gKrim']=_0x1d42cf(0xca),_0xf95b80['UlMqk']=_0x1d42cf(0x14f),_0xf95b80[_0x1d42cf(0x14e)]=_0x1d42cf(0x117);const _0x146d7b=_0xf95b80;try{logger[_0x1d42cf(0xd1)](_0x1d42cf(0x141)+_0x53d3f8);const _0x4e652d=await exports[_0x1d42cf(0xd9)](_0x5bd988,_0x146d7b['gKrim']);if(exports[_0x1d42cf(0xe5)](_0x4e652d)){logger[_0x1d42cf(0xd1)](_0x146d7b[_0x1d42cf(0xf3)]);const _0x3e5047={};_0x3e5047[_0x1d42cf(0xfb)]=_0x53d3f8,_0x3e5047[_0x1d42cf(0x108)]=_0x4e652d;const _0x5e53f5=_0x3e5047;TestDetails[_0x1d42cf(0x123)](_0x5e53f5);};}catch(_0x3d21c1){logger[_0x1d42cf(0x111)](util[_0x1d42cf(0x148)](_0x146d7b[_0x1d42cf(0x14e)],_0x3d21c1));}};
|
|
1
|
+
const a40_0x450b24=a40_0x132c;(function(_0x49f023,_0x20aedc){const _0x500cb8=a40_0x132c,_0xbbca95=_0x49f023();while(!![]){try{const _0xba479a=-parseInt(_0x500cb8(0x1e9))/0x1*(parseInt(_0x500cb8(0x213))/0x2)+parseInt(_0x500cb8(0x24a))/0x3*(parseInt(_0x500cb8(0x1f9))/0x4)+parseInt(_0x500cb8(0x1c4))/0x5+parseInt(_0x500cb8(0x1cd))/0x6+-parseInt(_0x500cb8(0x1d0))/0x7*(parseInt(_0x500cb8(0x1f3))/0x8)+-parseInt(_0x500cb8(0x265))/0x9+parseInt(_0x500cb8(0x247))/0xa;if(_0xba479a===_0x20aedc)break;else _0xbbca95['push'](_0xbbca95['shift']());}catch(_0x4a509a){_0xbbca95['push'](_0xbbca95['shift']());}}}(a40_0x4208,0x9fb25));function a40_0x4208(){const _0x128492=['1.35.0','hVBKS','extname','IxASi','NDLGW','NNWWi','requestSpyCallback','toString','ZHsKd','1.38.0','TEST_LOG','includes','match','oZGjI','debug','performance-report-worker-','HeWID','slice','KGIcG','getTime','laqiv','compareVersions','34lrCznO','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','CnZvg','umCNF','basename','sendSessionDetails','sendTestLog','stack','IFsAd','format','13672QDqXIK','oaeqj','../../../helpers/logger','wXToX','xLIwV','calculatePerformance','4747076tuhOBE','test','getForkProcessPath','winstonLogger','processPageScreenshot','./test-details','Searching\x20for\x20key:\x20','ehxXe','KAxUc','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','IoaRj','getFailureData','tags','length','rQMLF','ArKVF','playwright','onBegin','onTestBegin','yAmxb','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','jdWte','../../../helpers/test-observability/constants','onTestEnd','\x20bytes','Total\x20duration\x20for\x20whole\x20build\x20is\x20','9852jfoMYt','getTestTags','filter','XwStB','OcYMO','path','cXhZO','performance-reporter.html','uploadTraceZip','Error\x20in\x20sending\x20trace\x20file:\x20%s','toLowerCase','mbymm','YCwaP','attachments','sendTraceZip','vqBop','getTransformPath','DRuCM','findNestedKey','message','TEST_ATTACHMENT','@playwright/test/lib/transform/transform.js','GDJWr','env','DKOLC','YcEqR','kBuZz','orGxz','gbRqK','lib','afterTestHook','afterWorkerHook','getProjectUtilsPath','createReadStream','statSync','xHZVQ','name','gDggh','PLAYWRIGHT','ktpPO','XAxCC','existsSync','map','trace','pkyLx','onStepBegin','beforeWorkerHook','addTraceFilePath','getPlaywrightLibPath','Hehxp','beforeTestHook','getConfigLoaderPath','5557040XlJobl','setupBrowserDetails','vHFoh','3yFAeiC','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','size','../../../helpers/helper','FFAAS','idjsq','ApiNT','Arguments','PfRXU','ecFay','sendEventData','AybSw','error','FoVXB','GMwKs','testUId','runner/loadUtils.js','mfUJU','getLoadUtilsPath','dnKHQ','find','@playwright/test','filePath','bUOVb','../../../helpers/test-observability/utils','process.js','../../../helpers/test-observability/sessionHandler','8664057hqgZCn','LogCreated','playwright/lib/transform/transform.js','2294580FhRdNv','calculateTimesFromMultipleFiles','call','yOqTO','substr','ERROR','\x20in\x20attachments','readdirSync','AWxXQ','2491008KiJtqq','hFBAz','Test\x20timeout\x20of','3409wqHNEj','START_TIME','startsWith'];a40_0x4208=function(){return _0x128492;};return a40_0x4208();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a40_0x450b24(0x262)),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a40_0x450b24(0x20f)),helper=require(a40_0x450b24(0x24d)),path=require('path'),logger=require(a40_0x450b24(0x1f5))[a40_0x450b24(0x1fc)],SessionHandler=require(a40_0x450b24(0x264)),TestDetails=require(a40_0x450b24(0x1fe)),util=require('util'),getTagsFromTitle=_0x386476=>{const _0x53a83b=a40_0x450b24;return _0x386476[_0x53a83b(0x1df)](/@(\w+)/g)?.[_0x53a83b(0x23d)](_0xb70998=>_0xb70998[_0x53a83b(0x1e4)](0x1))||[];};function a40_0x132c(_0x480961,_0x308551){const _0x4208d1=a40_0x4208();return a40_0x132c=function(_0x132cce,_0x5d6722){_0x132cce=_0x132cce-0x1c3;let _0x37de50=_0x4208d1[_0x132cce];return _0x37de50;},a40_0x132c(_0x480961,_0x308551);}exports[a40_0x450b24(0x214)]=_0x5adf9d=>{const _0x5d1e59=a40_0x450b24,_0x115df2={'CnZvg':function(_0x142131,_0x307539){return _0x142131(_0x307539);}};if(_0x5adf9d[_0x5d1e59(0x205)])return _0x5adf9d[_0x5d1e59(0x205)][_0x5d1e59(0x23d)](_0x8cdbf3=>_0x8cdbf3[_0x5d1e59(0x1d2)]('@')?_0x8cdbf3[_0x5d1e59(0x1c8)](0x1):_0x8cdbf3);return _0x115df2[_0x5d1e59(0x1eb)](getTagsFromTitle,_0x5adf9d['title']);},exports[a40_0x450b24(0x1f8)]=async()=>{const _0x1c3b2e=a40_0x450b24,_0xf26e49={'ZATls':function(_0x44d89f,_0x1802e3){return _0x44d89f-_0x1802e3;},'jPggB':_0x1c3b2e(0x21a),'IxASi':_0x1c3b2e(0x20a),'fxbnl':'endSession','laqiv':_0x1c3b2e(0x20b),'PfRXU':_0x1c3b2e(0x210),'xLIwV':_0x1c3b2e(0x240),'uyzWK':'onStepEnd','DKOLC':_0x1c3b2e(0x241),'HeWID':_0x1c3b2e(0x232),'mfUJU':_0x1c3b2e(0x245),'OcNrx':_0x1c3b2e(0x231),'GDJWr':'doo11ySync','ecFay':_0x1c3b2e(0x1fd),'dnKHQ':_0x1c3b2e(0x1ee),'YcEqR':_0x1c3b2e(0x248),'nBsHE':_0x1c3b2e(0x1d9),'ptkbP':_0x1c3b2e(0x1ef),'ehxXe':function(_0x38c5d1,_0x14a1a1){return _0x38c5d1(_0x14a1a1);},'ApiNT':function(_0x2acfa6,_0x4a73b3){return _0x2acfa6/_0x4a73b3;},'ZHsKd':function(_0x56886d,_0x367271){return _0x56886d+_0x367271;},'NDLGW':function(_0x1a6581,_0x26d24d){return _0x1a6581(_0x26d24d);},'ArKVF':function(_0x47a7a5,_0x2aa503){return _0x47a7a5*_0x2aa503;},'YCwaP':function(_0x120213,_0x13cf53){return _0x120213+_0x13cf53;}};if(!process[_0x1c3b2e(0x22a)][_0x1c3b2e(0x1d1)])return;const _0x1cc02f=_0xf26e49['ZATls'](new Date()[_0x1c3b2e(0x1e6)](),new Date(process[_0x1c3b2e(0x22a)][_0x1c3b2e(0x1d1)])['getTime']()),_0x9dffe0=await PerformanceTester['stopAndGenerate'](_0xf26e49['jPggB'],[_0xf26e49[_0x1c3b2e(0x1d6)],_0xf26e49['fxbnl'],_0xf26e49[_0x1c3b2e(0x1e7)],_0xf26e49[_0x1c3b2e(0x252)],_0xf26e49[_0x1c3b2e(0x1f7)],_0xf26e49['uyzWK']]),_0x16bd72=fs[_0x1c3b2e(0x1cb)]('.'),_0x2815a9=_0x16bd72[_0x1c3b2e(0x215)](_0x2815eb=>_0x2815eb['startsWith'](_0x1c3b2e(0x1e2))&&_0x2815eb['endsWith']('.json')),_0x279bde=await PerformanceTester[_0x1c3b2e(0x1c5)](_0x2815a9,[_0xf26e49[_0x1c3b2e(0x22b)],_0xf26e49[_0x1c3b2e(0x1e3)],_0xf26e49[_0x1c3b2e(0x25b)],_0xf26e49['OcNrx'],_0xf26e49[_0x1c3b2e(0x229)],_0xf26e49[_0x1c3b2e(0x253)],_0xf26e49[_0x1c3b2e(0x25d)],_0xf26e49[_0x1c3b2e(0x22c)],_0xf26e49['nBsHE'],_0xf26e49['ptkbP']]);_0xf26e49[_0x1c3b2e(0x200)](debug,_0x1c3b2e(0x212)+_0xf26e49[_0x1c3b2e(0x250)](_0x1cc02f,0x3e8)+'\x20s'),_0xf26e49[_0x1c3b2e(0x200)](debug,_0x1c3b2e(0x24b)+_0xf26e49[_0x1c3b2e(0x1db)](_0x279bde,_0x9dffe0)),_0xf26e49[_0x1c3b2e(0x1d7)](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0xf26e49[_0x1c3b2e(0x208)](_0xf26e49[_0x1c3b2e(0x250)](_0xf26e49[_0x1c3b2e(0x21f)](_0x279bde,_0x9dffe0),_0x1cc02f),0x64));},exports[a40_0x450b24(0x223)]=()=>{const _0x270813=a40_0x450b24,_0x3a9b3e={'AWxXQ':function(_0x2e541d,_0x33e1ae){return _0x2e541d(_0x33e1ae);},'cXhZO':function(_0x452e58,_0x55f017){return _0x452e58>=_0x55f017;},'IFsAd':_0x270813(0x1dc),'pyhvS':_0x270813(0x1c3),'XwStB':_0x270813(0x209),'FoVXB':function(_0x4c9043,_0x1ed2d8){return _0x4c9043>=_0x1ed2d8;},'GMwKs':_0x270813(0x1d3),'FFAAS':_0x270813(0x228),'gbRqK':_0x270813(0x25f),'OcYMO':'@playwright/test/lib/common/transform.js'},_0x402c63=_0x3a9b3e[_0x270813(0x1cc)](getFrameworkVersion,FRAMEWORKS[_0x270813(0x239)]);if(_0x3a9b3e[_0x270813(0x219)](helper[_0x270813(0x1e8)](_0x402c63,_0x3a9b3e[_0x270813(0x1f1)]),0x0))return[_0x3a9b3e['pyhvS'],_0x3a9b3e[_0x270813(0x216)]];if(_0x3a9b3e[_0x270813(0x257)](helper[_0x270813(0x1e8)](_0x402c63,_0x3a9b3e[_0x270813(0x258)]),0x0))return[_0x3a9b3e[_0x270813(0x24e)],_0x3a9b3e[_0x270813(0x22f)]];return[_0x3a9b3e[_0x270813(0x217)],_0x3a9b3e[_0x270813(0x22f)]];},exports[a40_0x450b24(0x246)]=()=>{const _0x3a7c86=a40_0x450b24,_0x4236ab={'vHFoh':function(_0x27c146,_0x173b65){return _0x27c146(_0x173b65);},'Hehxp':function(_0x4ab1fe,_0x440fbd){return _0x4ab1fe>=_0x440fbd;},'umCNF':_0x3a7c86(0x1dc),'txZWs':'playwright/lib/common/configLoader.js','orGxz':'playwright','hVBKS':'@playwright/test/lib/common/configLoader.js','AybSw':_0x3a7c86(0x25f)},_0x24a304=_0x4236ab[_0x3a7c86(0x249)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x4236ab[_0x3a7c86(0x244)](helper['compareVersions'](_0x24a304,_0x4236ab[_0x3a7c86(0x1ec)]),0x0))return[_0x4236ab['txZWs'],_0x4236ab[_0x3a7c86(0x22e)]];return[_0x4236ab[_0x3a7c86(0x1d4)],_0x4236ab[_0x3a7c86(0x255)]];},exports[a40_0x450b24(0x25c)]=()=>{const _0x20eaf9=a40_0x450b24,_0x1674f9={};_0x1674f9[_0x20eaf9(0x1ce)]=_0x20eaf9(0x25a);const _0x12689a=_0x1674f9;return helper['getPlaywrightLibPath'](_0x12689a[_0x20eaf9(0x1ce)]);},exports[a40_0x450b24(0x233)]=()=>{const _0x3e48d4=a40_0x450b24,_0xd146de={};_0xd146de[_0x3e48d4(0x20c)]='runner/projectUtils.js';const _0x160734=_0xd146de;return helper[_0x3e48d4(0x243)](_0x160734[_0x3e48d4(0x20c)]);},exports[a40_0x450b24(0x1fb)]=()=>{const _0x64173c=a40_0x450b24,_0x175c52={'BKIdh':function(_0x56da0a,_0x5e457e){return _0x56da0a(_0x5e457e);},'fffEp':function(_0x70bf3c,_0x4ceff9){return _0x70bf3c>=_0x4ceff9;},'jdWte':_0x64173c(0x1dc),'oaeqj':_0x64173c(0x230),'oZGjI':'common','gDggh':_0x64173c(0x263),'rHXNF':_0x64173c(0x1fa)},_0x848b9d=_0x175c52['BKIdh'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x175c52['fffEp'](helper[_0x64173c(0x1e8)](_0x848b9d,_0x175c52[_0x64173c(0x20e)]),0x0))return path['join'](_0x175c52[_0x64173c(0x1f4)],_0x175c52['oZGjI'],_0x175c52[_0x64173c(0x238)]);return path['join'](_0x175c52['rHXNF'],_0x175c52[_0x64173c(0x1f4)],_0x175c52[_0x64173c(0x1e0)],_0x175c52[_0x64173c(0x238)]);},exports[a40_0x450b24(0x204)]=(_0x28814c,{test_run_uuid:_0x367281})=>{const _0x4e22d2=a40_0x450b24,_0x396bcd={'pynIg':_0x4e22d2(0x1c9),'OuXxd':_0x4e22d2(0x1dd),'yOqTO':function(_0x418490,_0x2fc53e){return _0x418490<=_0x2fc53e;},'rQMLF':function(_0x3fdcc1,_0x37c093){return _0x3fdcc1(_0x37c093);},'DRuCM':_0x4e22d2(0x1cf),'kBuZz':function(_0x50940f,_0x113fbb){return _0x50940f>=_0x113fbb;},'pkyLx':'1.42.0','ETQNN':function(_0x3a19dc,_0x537712){return _0x3a19dc>_0x537712;},'mbymm':function(_0x3d24df,_0x2a17a1,_0x8f4625){return _0x3d24df(_0x2a17a1,_0x8f4625);},'qfLAA':_0x4e22d2(0x1fa)};if(!_0x28814c||_0x396bcd[_0x4e22d2(0x1c7)](_0x28814c[_0x4e22d2(0x206)],0x0))return[];const _0x41db45=_0x396bcd[_0x4e22d2(0x207)](removeAnsiColors,_0x28814c[0x0]['message']);if(_0x41db45['startsWith'](_0x396bcd[_0x4e22d2(0x224)])){const _0x1597ca=_0x28814c[0x0],_0xf6afda=_0x396bcd['rQMLF'](getFrameworkVersion,FRAMEWORKS[_0x4e22d2(0x239)]);if((!_0x1597ca[_0x4e22d2(0x1f0)]||_0x396bcd[_0x4e22d2(0x22d)](_0xf6afda,_0x396bcd[_0x4e22d2(0x23f)]))&&_0x396bcd['ETQNN'](_0x28814c[_0x4e22d2(0x206)],0x1))return{'failureData':[{'backtrace':[_0x41db45,_0x396bcd[_0x4e22d2(0x207)](removeAnsiColors,_0x28814c[0x1][_0x4e22d2(0x1f0)])]}],'logs':_0x28814c[_0x4e22d2(0x1e4)](0x2)['map'](_0xa00ef5=>{const _0x1706b7=_0x4e22d2;return{'timestamp':new Date()['toISOString'](),'level':_0x396bcd['pynIg'],'message':''+_0xa00ef5[_0x1706b7(0x226)],'kind':_0x396bcd['OuXxd'],'http_response':{},'test_run_uuid':_0x367281};})};}return{'failureData':_0x396bcd[_0x4e22d2(0x21e)](failureData,_0x28814c,_0x396bcd['qfLAA']),'logs':[]};},exports['validateFilePath']=_0x4de6e7=>{const _0x37444d=a40_0x450b24,_0x13b440={};_0x13b440[_0x37444d(0x236)]=function(_0x2795ce,_0x2acd61){return _0x2795ce!==_0x2acd61;},_0x13b440[_0x37444d(0x24f)]='.zip',_0x13b440['IoaRj']=function(_0x5bac2d,_0x5d1f9e){return _0x5bac2d>_0x5d1f9e;};const _0x3d1f65=_0x13b440;if(_0x4de6e7&&fs[_0x37444d(0x23c)](_0x4de6e7)){if(_0x3d1f65[_0x37444d(0x236)](path[_0x37444d(0x1d5)](_0x4de6e7)[_0x37444d(0x21d)](),_0x3d1f65[_0x37444d(0x24f)]))return logger[_0x37444d(0x256)](_0x37444d(0x20d)+_0x4de6e7),![];const _0x3dd9eb=fs[_0x37444d(0x235)](_0x4de6e7)[_0x37444d(0x24c)];if(_0x3d1f65[_0x37444d(0x203)](_0x3dd9eb,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x37444d(0x256)](_0x37444d(0x1ea)+_0x3dd9eb+_0x37444d(0x211)),![];return!![];}return![];},exports['findNestedKey']=(_0x3af3af,_0x2e1a44)=>{const _0x4f9f0c=a40_0x450b24,_0x6bbc3a={};_0x6bbc3a[_0x4f9f0c(0x23a)]=_0x4f9f0c(0x251);const _0x4fe0d6=_0x6bbc3a;logger[_0x4f9f0c(0x1e1)](_0x4f9f0c(0x1ff)+_0x2e1a44);if(_0x3af3af[_0x4f9f0c(0x220)]){const _0x48a028=_0x3af3af[_0x4f9f0c(0x220)][_0x4f9f0c(0x25e)](_0x403320=>_0x403320[_0x4f9f0c(0x237)]===_0x4f9f0c(0x23e));if(_0x48a028)return logger[_0x4f9f0c(0x1e1)]('Found\x20key:\x20'+_0x2e1a44+_0x4f9f0c(0x1ca)),_0x48a028[_0x2e1a44];}else{if(Object['prototype'][_0x4f9f0c(0x1da)][_0x4f9f0c(0x1c6)](_0x3af3af)[_0x4f9f0c(0x1de)](_0x4fe0d6[_0x4f9f0c(0x23a)]))for(const _0x301761 of _0x3af3af){if(_0x301761[_0x2e1a44])return logger['debug']('Found\x20key:\x20'+_0x2e1a44+'\x20in\x20arguments'),_0x301761[_0x2e1a44];}}return'';},exports[a40_0x450b24(0x21b)]=async(_0x1b32d7,_0x51ce57)=>{const _0x74f45e=a40_0x450b24,_0x18a2fb={};_0x18a2fb['KAxUc']=_0x74f45e(0x266),_0x18a2fb[_0x74f45e(0x1e5)]=_0x74f45e(0x227),_0x18a2fb[_0x74f45e(0x261)]=_0x74f45e(0x221),_0x18a2fb[_0x74f45e(0x222)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0xc5c5b5=_0x18a2fb;try{const _0x2270db={'event_type':_0xc5c5b5[_0x74f45e(0x201)],'logs':[{'data':_0x1b32d7?fs[_0x74f45e(0x234)](_0x1b32d7):'','test_run_uuid':_0x51ce57,'kind':_0xc5c5b5[_0x74f45e(0x1e5)],'fileName':_0x1b32d7?path[_0x74f45e(0x1ed)](_0x1b32d7):''}]};return await SessionHandler[_0x74f45e(0x254)](_0x2270db,0x0,_0xc5c5b5[_0x74f45e(0x261)]);}catch(_0x7bddf8){logger[_0x74f45e(0x256)](util[_0x74f45e(0x1f2)](_0xc5c5b5['vqBop'],_0x7bddf8));}},exports[a40_0x450b24(0x221)]=async(_0x3ba7c7,_0x1a3514)=>{const _0x48c500=a40_0x450b24,_0x3fc422={};_0x3fc422[_0x48c500(0x1d8)]=_0x48c500(0x218),_0x3fc422[_0x48c500(0x23b)]='Trace\x20enabled',_0x3fc422['wXToX']=_0x48c500(0x21c);const _0x24f1b8=_0x3fc422;try{logger[_0x48c500(0x1e1)](_0x48c500(0x202)+_0x1a3514);const _0x5f4e07=await exports[_0x48c500(0x225)](_0x3ba7c7,_0x24f1b8[_0x48c500(0x1d8)]);if(exports['validateFilePath'](_0x5f4e07)){logger['debug'](_0x24f1b8['XAxCC']);const _0x46ea71={};_0x46ea71[_0x48c500(0x259)]=_0x1a3514,_0x46ea71[_0x48c500(0x260)]=_0x5f4e07;const _0x4c15d8=_0x46ea71;TestDetails[_0x48c500(0x242)](_0x4c15d8);};}catch(_0x10ebf5){logger[_0x48c500(0x256)](util[_0x48c500(0x1f2)](_0x24f1b8[_0x48c500(0x1f6)],_0x10ebf5));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41_0x1bd18f=a41_0x5186;(function(_0x39d502,_0x9e47bc){const _0x2107f8=a41_0x5186,_0x131ae1=_0x39d502();while(!![]){try{const _0x23969e=-parseInt(_0x2107f8(0x242))/0x1*(parseInt(_0x2107f8(0x278))/0x2)+parseInt(_0x2107f8(0x202))/0x3*(-parseInt(_0x2107f8(0x21f))/0x4)+-parseInt(_0x2107f8(0x290))/0x5*(parseInt(_0x2107f8(0x24a))/0x6)+-parseInt(_0x2107f8(0x20b))/0x7*(parseInt(_0x2107f8(0x258))/0x8)+-parseInt(_0x2107f8(0x28c))/0x9+parseInt(_0x2107f8(0x2c7))/0xa+-parseInt(_0x2107f8(0x27d))/0xb*(-parseInt(_0x2107f8(0x244))/0xc);if(_0x23969e===_0x9e47bc)break;else _0x131ae1['push'](_0x131ae1['shift']());}catch(_0x658e0){_0x131ae1['push'](_0x131ae1['shift']());}}}(a41_0x5188,0x93c6f));const RequestQueueHandler=require(a41_0x1bd18f(0x21b)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x1bd18f(0x2bb)),{v4:uuidv4}=require(a41_0x1bd18f(0x22d)),path=require(a41_0x1bd18f(0x294)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x1bd18f(0x2dd)),{getGitMetaData,setLogLevel}=require(a41_0x1bd18f(0x29a)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a41_0x1bd18f(0x2af)),{o11yClassErrorHandler}=require(a41_0x1bd18f(0x280)),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a41_0x1bd18f(0x295)),SessionHandler=require(a41_0x1bd18f(0x2d8)),{appendTesthubParams}=require(a41_0x1bd18f(0x27c)),TestHubHandler=require(a41_0x1bd18f(0x23e)),helper=require(a41_0x1bd18f(0x29a));class MyReporter{constructor(_0x4a510c){const _0x1d6add=a41_0x1bd18f,_0x1cdff9={'tNjgk':_0x1d6add(0x211),'MSHBm':'performance-report-reporter.json','CaHay':function(_0x33ebf5,_0x406b34,_0x4e5ca0,_0x31e193){return _0x33ebf5(_0x406b34,_0x4e5ca0,_0x31e193);}},_0x569f30=_0x1cdff9[_0x1d6add(0x231)][_0x1d6add(0x1ec)]('|');let _0x371056=0x0;while(!![]){switch(_0x569f30[_0x371056++]){case'0':this[_0x1d6add(0x26a)]={};continue;case'1':process[_0x1d6add(0x296)][_0x1d6add(0x205)]&&(PerformanceTester[_0x1d6add(0x2b4)](_0x1cdff9[_0x1d6add(0x284)]),process['env'][_0x1d6add(0x1ff)]=new Date()[_0x1d6add(0x22f)]());continue;case'2':const _0x3c3a6e={};_0x3c3a6e[_0x1d6add(0x24d)]=process[_0x1d6add(0x296)][_0x1d6add(0x1ef)],_0x1cdff9[_0x1d6add(0x2ad)](setLogLevel,_0x3c3a6e,new Map(),new Map());continue;case'3':this[_0x1d6add(0x276)]=![];continue;case'4':this[_0x1d6add(0x219)]=_0x4a510c;continue;case'5':this[_0x1d6add(0x2c1)]={};continue;case'6':this['_gitConfigPath']=null;continue;}break;}}async[a41_0x1bd18f(0x243)](){const _0x31d6d6=a41_0x1bd18f;TestDetails[_0x31d6d6(0x24c)](),await this['configureGit']();}async[a41_0x1bd18f(0x245)](_0x5a00cf,_0xffdea8){const _0x3845d8=a41_0x1bd18f,_0x3d91d6={'gKplm':function(_0x3e28df,_0x3cf299){return _0x3e28df(_0x3cf299);},'hEjrU':'TestRunStarted'},_0x2cb228=this[_0x3845d8(0x213)](_0x5a00cf),_0x1f3906=TestDetails[_0x3845d8(0x246)](this['getTestRunIdentifier'](_0x5a00cf,_0xffdea8['retry']));process['env'][_0x3845d8(0x1f2)]=_0x1f3906;const _0x4cf260={};_0x4cf260[_0x3845d8(0x22d)]=_0x1f3906,_0x4cf260[_0x3845d8(0x267)]=_0xffdea8[_0x3845d8(0x25c)],this['_tests'][_0x2cb228]=_0x4cf260,_0x3d91d6[_0x3845d8(0x286)](trace,_0x3845d8(0x2f1)+_0x2cb228),await this[_0x3845d8(0x232)](_0x5a00cf,_0x3d91d6[_0x3845d8(0x2b5)],_0xffdea8);}async['onStepBegin'](_0x547c4a,_0x27fcc2,_0xe07e1d){const _0x1e465a=a41_0x1bd18f,_0x3a5693={'EULvb':function(_0x3e7f08,_0x214857){return _0x3e7f08(_0x214857);},'fVVnI':_0x1e465a(0x289)};if(!this[_0x1e465a(0x2db)](_0xe07e1d,_0x547c4a))return;const _0x320a11=this[_0x1e465a(0x2c0)](_0x547c4a,_0xe07e1d);this['_tests'][_0x320a11]={'uuid':TestDetails[_0x1e465a(0x246)](_0x320a11),'startedAt':_0xe07e1d[_0x1e465a(0x25c)][_0x1e465a(0x22f)]()};const _0x1e0ea5=this[_0x1e465a(0x26b)](_0x547c4a,_0x27fcc2[_0x1e465a(0x2d2)]);!this[_0x1e465a(0x2c1)][_0x1e0ea5]&&(this[_0x1e465a(0x2c1)][_0x1e0ea5]=[]),this[_0x1e465a(0x2c1)][_0x1e0ea5][_0x1e465a(0x207)](this[_0x1e465a(0x26a)][_0x320a11][_0x1e465a(0x22d)]),_0x3a5693[_0x1e465a(0x2c4)](trace,_0x1e465a(0x1f5)+_0x320a11+'\x20is\x20triggered\x20for\x20test\x20'+_0x1e0ea5),await this[_0x1e465a(0x2bf)](_0x547c4a,_0xe07e1d,_0x3a5693[_0x1e465a(0x253)],_0x27fcc2);}async[a41_0x1bd18f(0x1fd)](_0x36750a,_0x24f5f8,_0x420355){const _0x2d9bf5=a41_0x1bd18f,_0x1600a5={'mfwbg':function(_0x5c00d6,_0x14056b){return _0x5c00d6+_0x14056b;},'WRUtE':function(_0x3c878e,_0x318006){return _0x3c878e(_0x318006);},'fUFYw':_0x2d9bf5(0x2f0)};if(!this['needToReportStep'](_0x420355,_0x36750a))return;const _0x12cb1a=this[_0x2d9bf5(0x1f0)](_0x36750a,_0x420355);this['_tests'][_0x12cb1a]={...this[_0x2d9bf5(0x26a)][_0x12cb1a]||{},'finishedAt':new Date(_0x1600a5[_0x2d9bf5(0x2e7)](_0x420355[_0x2d9bf5(0x25c)][_0x2d9bf5(0x24b)](),_0x420355[_0x2d9bf5(0x2ca)]))},_0x1600a5[_0x2d9bf5(0x2d6)](trace,_0x2d9bf5(0x238)+_0x12cb1a+_0x2d9bf5(0x277)),await this[_0x2d9bf5(0x2bf)](_0x36750a,_0x420355,_0x1600a5[_0x2d9bf5(0x264)],_0x24f5f8);}async[a41_0x1bd18f(0x275)](_0x23b5b4,_0xf3d605){const _0x1c2ffd=a41_0x1bd18f,_0x514127={'grdjS':function(_0x33f7db,_0xf9dbc5){return _0x33f7db===_0xf9dbc5;},'eTmUD':'screenshot','Ibbkn':'TEST_SCREENSHOT','rEjeA':_0x1c2ffd(0x216),'qxHvB':function(_0x1991c8,_0x46e74a){return _0x1991c8(_0x46e74a);},'GfiXe':_0x1c2ffd(0x288),'GpTsI':function(_0x2c327f,_0x1d569c){return _0x2c327f(_0x1d569c);},'Ktnsd':_0x1c2ffd(0x23a),'ooyRp':function(_0x88e38c,_0x5e8ca7){return _0x88e38c(_0x5e8ca7);},'RcOtR':function(_0x26f281,_0x2b00a9,_0x45e505){return _0x26f281(_0x2b00a9,_0x45e505);},'PGlmD':function(_0x266c9d,_0x4a1afa){return _0x266c9d(_0x4a1afa);},'EMhEA':_0x1c2ffd(0x2da),'YXdTG':function(_0x44b04b,_0x21a30d){return _0x44b04b>_0x21a30d;}},_0x27f5c8=this[_0x1c2ffd(0x213)](_0x23b5b4),_0x503305=TestDetails[_0x1c2ffd(0x246)](this[_0x1c2ffd(0x26b)](_0x23b5b4,_0xf3d605[_0x1c2ffd(0x2d2)]));this[_0x1c2ffd(0x26a)][_0x27f5c8]={...this[_0x1c2ffd(0x26a)][_0x27f5c8]||{},'finishedAt':new Date()[_0x1c2ffd(0x22f)]()},_0x514127[_0x1c2ffd(0x2a1)](trace,_0x1c2ffd(0x2ea)+_0x27f5c8);try{await this[_0x1c2ffd(0x232)](_0x23b5b4,_0x514127[_0x1c2ffd(0x2f2)],_0xf3d605);}catch(_0x551a01){_0x514127[_0x1c2ffd(0x28d)](debug,util[_0x1c2ffd(0x25f)](_0x514127['Ktnsd'],_0x551a01[_0x1c2ffd(0x229)]()));}try{_0x514127['ooyRp'](debug,_0x1c2ffd(0x27a)+_0x503305),await _0x514127['RcOtR'](sendTraceZip,_0xf3d605,_0x503305);}catch(_0x5502bd){_0x514127[_0x1c2ffd(0x251)](debug,util[_0x1c2ffd(0x25f)](_0x514127[_0x1c2ffd(0x271)],_0x5502bd[_0x1c2ffd(0x229)]()));}const _0x8fad1b=[];_0xf3d605[_0x1c2ffd(0x2a3)]&&_0xf3d605['attachments']['map'](_0x4451d2=>{const _0x3735b0=_0x1c2ffd;if(_0x514127[_0x3735b0(0x266)](_0x4451d2[_0x3735b0(0x2e0)],_0x514127[_0x3735b0(0x2b3)])){if(!_0x4451d2[_0x3735b0(0x294)]||!fs[_0x3735b0(0x249)](_0x4451d2[_0x3735b0(0x294)]))return;_0x8fad1b[_0x3735b0(0x207)]({'test_run_uuid':_0x503305,'timestamp':fs[_0x3735b0(0x2c6)](_0x4451d2[_0x3735b0(0x294)])[_0x3735b0(0x2d9)],'kind':_0x514127[_0x3735b0(0x234)],'message':fs[_0x3735b0(0x260)](_0x4451d2[_0x3735b0(0x294)],{'encoding':_0x514127[_0x3735b0(0x2be)]})});}}),_0x514127[_0x1c2ffd(0x21a)](_0x8fad1b[_0x1c2ffd(0x297)],0x0)&&await MyReporter[_0x1c2ffd(0x224)](_0x8fad1b);}async['endSession'](){const _0x2f6608=a41_0x1bd18f;await RequestQueueHandler[_0x2f6608(0x2de)]()[_0x2f6608(0x204)]();}async[a41_0x1bd18f(0x210)](_0x521b45){const _0x5d0fd9=a41_0x1bd18f,_0x113552={'kVymz':function(_0xe3f275){return _0xe3f275();},'TbdaF':function(_0x3ceb41,_0x4a0443){return _0x3ceb41(_0x4a0443);}};await this[_0x5d0fd9(0x2c3)]();try{process[_0x5d0fd9(0x296)][_0x5d0fd9(0x205)]&&await _0x113552[_0x5d0fd9(0x248)](calculatePerformance);}catch(_0x1b6862){_0x113552[_0x5d0fd9(0x298)](debug,_0x5d0fd9(0x1eb)+_0x1b6862['toString']());}}static async['addTestUIDAndReportLog'](_0x4b7e30,_0xc070e8){const _0x2fc241=a41_0x1bd18f;_0xc070e8[_0x2fc241(0x29f)]=TestDetails['getTestUUID'](_0x4b7e30),await this[_0x2fc241(0x224)]([_0xc070e8]);}static async[a41_0x1bd18f(0x224)](_0x2461a6){const _0x51cad1=a41_0x1bd18f,_0x2c83ba={};_0x2c83ba['CbYPj']=_0x51cad1(0x257);const _0x180674=_0x2c83ba,_0x27e013={};_0x27e013[_0x51cad1(0x20e)]=_0x180674[_0x51cad1(0x1f6)],_0x27e013[_0x51cad1(0x217)]=_0x2461a6,await SessionHandler[_0x51cad1(0x221)](_0x27e013);}async[a41_0x1bd18f(0x2bf)](_0x2ef9b0,_0x1e9b91,_0x131e29,_0x40a592){const _0x1057f1=a41_0x1bd18f,_0xceb4a9={'CFoIH':_0x1057f1(0x270),'sKNoa':_0x1057f1(0x2e5),'itjRU':'pending','eCrSp':function(_0x577127,_0x3289bf){return _0x577127>=_0x3289bf;},'KUflJ':function(_0x270bd5,_0x3f916b){return _0x270bd5===_0x3f916b;},'gPdop':_0x1057f1(0x2f0),'bVJai':function(_0x209ec4,_0x317772){return _0x209ec4>_0x317772;},'UmQpB':'failed','Ltcjs':function(_0x1348ee,_0x2a9ba1){return _0x1348ee(_0x2a9ba1);},'XSxtL':function(_0x3d315e,_0xc5733,_0x5582d3){return _0x3d315e(_0xc5733,_0x5582d3);},'VdZWg':'err','YakuI':function(_0x5e4288,_0x4caa08){return _0x5e4288===_0x4caa08;},'fGqMz':_0x1057f1(0x226)},_0x16090d=this[_0x1057f1(0x1f0)](_0x2ef9b0,_0x1e9b91),_0x23822f=this[_0x1057f1(0x26a)][_0x16090d],_0x3f6211={'uuid':_0x23822f['uuid'],'type':_0xceb4a9[_0x1057f1(0x261)],'hook_type':this['getHookType'](_0x1e9b91[_0x1057f1(0x208)]),'name':_0x1e9b91['title'],'scope':this['getScope'](_0x1e9b91),'scopes':this[_0x1057f1(0x2b0)](_0x2ef9b0),'body':{'lang':_0xceb4a9[_0x1057f1(0x247)],'code':null},'identifier':_0x16090d,'file_name':path['relative'](process[_0x1057f1(0x236)](),_0x2ef9b0[_0x1057f1(0x256)]['file']),'location':path[_0x1057f1(0x2a0)](process[_0x1057f1(0x236)](),_0x2ef9b0['location'][_0x1057f1(0x22e)]),'result':_0xceb4a9[_0x1057f1(0x225)],'duration_in_ms':_0xceb4a9[_0x1057f1(0x25a)](_0x1e9b91[_0x1057f1(0x2ca)],0x0)?_0x1e9b91[_0x1057f1(0x2ca)]:undefined,'vc_filepath':this[_0x1057f1(0x1fc)]&&_0x2ef9b0['location'][_0x1057f1(0x22e)]?path[_0x1057f1(0x2a0)](this[_0x1057f1(0x1fc)],_0x2ef9b0['location'][_0x1057f1(0x22e)]):undefined,'started_at':_0x23822f['startedAt'],'finished_at':_0x23822f[_0x1057f1(0x268)],'framework':FRAMEWORKS[_0x1057f1(0x20a)]};if(_0xceb4a9['KUflJ'](_0x131e29,_0xceb4a9['gPdop'])){const {steps:_0x1ea08b,logs:_0x4cfdd2}=this[_0x1057f1(0x250)](_0x1e9b91[_0x1057f1(0x272)],_0x23822f[_0x1057f1(0x22d)],_0xceb4a9['CFoIH']);_0x4cfdd2&&_0xceb4a9[_0x1057f1(0x24f)](_0x4cfdd2[_0x1057f1(0x297)],0x0)&&await MyReporter[_0x1057f1(0x224)](_0x4cfdd2);const _0x942de1={};_0x942de1['steps']=_0x1ea08b,_0x3f6211[_0x1057f1(0x212)]=_0x942de1;if(_0x1e9b91[_0x1057f1(0x291)]){_0x3f6211[_0x1057f1(0x2a2)]=_0xceb4a9[_0x1057f1(0x2ee)],_0x3f6211[_0x1057f1(0x2cd)]=_0xceb4a9['Ltcjs'](removeAnsiColors,_0x1e9b91[_0x1057f1(0x291)][_0x1057f1(0x299)]),_0x3f6211['failure_type']=_0xceb4a9['Ltcjs'](getFailureType,_0x1e9b91['error']['message']);const _0x3a87b2=_0xceb4a9[_0x1057f1(0x23f)](failureData,_0x1e9b91[_0x1057f1(0x291)],_0xceb4a9[_0x1057f1(0x2b8)]);if(_0x3a87b2&&_0xceb4a9['YakuI'](_0x3a87b2['length'],0x0)){const _0x36212a={};_0x36212a[_0x1057f1(0x255)]=[_0x3f6211[_0x1057f1(0x2cd)]],_0x36212a[_0x1057f1(0x24e)]=[],_0x3a87b2[_0x1057f1(0x207)](_0x36212a);}_0x3f6211[_0x1057f1(0x287)]=_0x3a87b2;}else _0x3f6211['result']=_0xceb4a9[_0x1057f1(0x235)];}const _0x4aab7b={};_0x4aab7b[_0x1057f1(0x20e)]=_0x131e29,_0x4aab7b[_0x1057f1(0x2c2)]=_0x3f6211;const _0x2ac3bc=_0x4aab7b;await SessionHandler[_0x1057f1(0x221)](_0x2ac3bc);}['getStepsAndLogs'](_0x4ffa48,_0x156a0a,_0xa968f4){const _0x115d5d=a41_0x1bd18f,_0x2235e0={'Kydef':function(_0x230d47,_0x102ab1){return _0x230d47===_0x102ab1;},'RuBkP':'hook','tYbqb':function(_0x1b5435,_0xcf0c28){return _0x1b5435===_0xcf0c28;},'haxew':'After\x20Hooks','vjNON':function(_0x4baf6e,_0x217a15){return _0x4baf6e===_0x217a15;},'qHBsU':_0x115d5d(0x2bd),'OEXPA':function(_0x579def,_0x854741){return _0x579def===_0x854741;},'tTgmm':function(_0x3f9ae6,_0xaf114b){return _0x3f9ae6===_0xaf114b;},'vdRSZ':_0x115d5d(0x2ed),'hWzfw':'test_run_uuid','TRGEd':_0x115d5d(0x2e8),'CoLfn':'TEST_STEP','FLjBX':_0x115d5d(0x2d0),'unzcX':_0x115d5d(0x226),'vVCfJ':function(_0x574738,_0x41c656){return _0x574738(_0x41c656);},'WcFyE':function(_0x46f10a){return _0x46f10a();},'yreXW':function(_0x23307a,_0x3bf85b,_0x5b6d2b){return _0x23307a(_0x3bf85b,_0x5b6d2b);}},_0x3638c4=[],_0x4bdc57=[],_0x18416c=_0x4ffa48[_0x115d5d(0x2b1)](_0x55998c=>{const _0x306da1=_0x115d5d;if(_0x2235e0[_0x306da1(0x2a6)](_0x55998c[_0x306da1(0x25b)],_0x2235e0[_0x306da1(0x1f7)])&&(_0x2235e0[_0x306da1(0x2e6)](_0x55998c[_0x306da1(0x208)],_0x2235e0[_0x306da1(0x227)])||_0x2235e0[_0x306da1(0x239)](_0x55998c[_0x306da1(0x208)],_0x2235e0[_0x306da1(0x237)])))return![];return!![];}),_0x23911f=(_0x4ebb83,_0x258dfe=![])=>{const _0xf27833=_0x115d5d;if(_0x2235e0[_0xf27833(0x2eb)](_0x4ebb83['steps'][_0xf27833(0x297)],0x0)){const _0x5e8683=_0x2235e0[_0xf27833(0x252)](_0xa968f4,_0x2235e0[_0xf27833(0x1f4)])?_0x2235e0['hWzfw']:_0x2235e0[_0xf27833(0x23b)];_0x4bdc57[_0xf27833(0x207)]({'kind':_0x2235e0[_0xf27833(0x21e)],[_0x5e8683]:_0x156a0a,'message':_0x4ebb83[_0xf27833(0x208)],'timestamp':_0x4ebb83['startTime']['toISOString'](),'level':_0x4ebb83[_0xf27833(0x291)]?_0x2235e0['FLjBX']:_0x2235e0[_0xf27833(0x2aa)],'duration':_0x4ebb83[_0xf27833(0x2ca)],'failure':_0x4ebb83['error']&&_0x4ebb83[_0xf27833(0x291)]['message']&&_0x2235e0['vVCfJ'](removeAnsiColors,_0x4ebb83[_0xf27833(0x291)][_0xf27833(0x299)]),'failure_type':_0x2235e0[_0xf27833(0x2d5)](getFailureType,_0x4ebb83[_0xf27833(0x291)]&&_0x4ebb83[_0xf27833(0x291)]['message'])});}else{!_0x258dfe&&_0x3638c4['push']({'id':_0x2235e0[_0xf27833(0x2ba)](uuidv4),'text':_0x4ebb83[_0xf27833(0x208)],'keyword':undefined,'started_at':_0x4ebb83[_0xf27833(0x25c)][_0xf27833(0x22f)](),'duration':_0x4ebb83[_0xf27833(0x2ca)],'result':_0x4ebb83[_0xf27833(0x291)]?_0x2235e0[_0xf27833(0x1ee)]:_0x2235e0[_0xf27833(0x2aa)],'failure':_0x4ebb83['error']&&_0x4ebb83['error'][_0xf27833(0x299)]&&_0x2235e0[_0xf27833(0x2d5)](removeAnsiColors,_0x4ebb83[_0xf27833(0x291)][_0xf27833(0x299)]),'failure_type':_0x2235e0[_0xf27833(0x2d5)](getFailureType,_0x4ebb83[_0xf27833(0x291)]&&_0x4ebb83[_0xf27833(0x291)][_0xf27833(0x299)])});for(const _0xd0dba2 of _0x4ebb83[_0xf27833(0x272)]){_0x2235e0[_0xf27833(0x2b9)](_0x23911f,_0xd0dba2,!![]);}}};for(const _0xd1a9de of _0x18416c){_0x2235e0[_0x115d5d(0x2b9)](_0x23911f,_0xd1a9de,![]);}const _0xca327={};return _0xca327[_0x115d5d(0x272)]=_0x3638c4,_0xca327['logs']=_0x4bdc57,_0xca327;}async[a41_0x1bd18f(0x232)](_0x4e3e14,_0xe8ca10,_0xe4f8c4){const _0x4ef5c0=a41_0x1bd18f,_0x3afd73={'dDZTT':function(_0x270c78,_0x4ba144){return _0x270c78(_0x4ba144);},'mTlVV':'TEST_ATTACHMENT','ktwdy':_0x4ef5c0(0x228),'UlFjB':_0x4ef5c0(0x2ed),'okBUv':_0x4ef5c0(0x2e5),'oKSan':'pending','WxGHO':function(_0x35257a,_0x133e56){return _0x35257a(_0x133e56);},'oybfd':function(_0x19daab,_0x1225b4,_0x3279d9,_0x3b0503,_0x3c2476){return _0x19daab(_0x1225b4,_0x3279d9,_0x3b0503,_0x3c2476);},'Upweg':function(_0x52c0fa,_0x5db66a){return _0x52c0fa>_0x5db66a;},'kAhLA':function(_0x4830cb,_0x53c80e){return _0x4830cb-_0x53c80e;},'USomX':function(_0x1b41ae,_0x4ff6d8){return _0x1b41ae===_0x4ff6d8;},'zMFSk':_0x4ef5c0(0x288),'mhDmt':function(_0x5cd960,_0x3d6eb3){return _0x5cd960===_0x3d6eb3;},'YUGrR':'skipped','THWBm':_0x4ef5c0(0x226),'FuFjo':function(_0x16c370,_0x271e9f){return _0x16c370===_0x271e9f;},'EvvVK':_0x4ef5c0(0x2d0),'HErhC':_0x4ef5c0(0x20f),'QCXAv':function(_0x1a9d30,_0x21d918){return _0x1a9d30===_0x21d918;},'sllCj':'Expected\x20to\x20fail,\x20but\x20passed.','XCVsz':function(_0x23301d,_0x1b15c4){return _0x23301d(_0x1b15c4);},'nQczi':function(_0x3590f7,_0x1d88e3){return _0x3590f7(_0x1d88e3);},'Okhev':function(_0x379050,_0x4290ef,_0x4c46b0){return _0x379050(_0x4290ef,_0x4c46b0);},'TEVjI':function(_0x442333,_0x3d323a){return _0x442333===_0x3d323a;},'rqaCZ':function(_0x49881d,_0xfab5d3,_0x5ae3a1){return _0x49881d(_0xfab5d3,_0x5ae3a1);},'ilvdn':_0x4ef5c0(0x294),'cUPST':'.browserstack','iakJZ':_0x4ef5c0(0x22a),'YcaBc':function(_0x216668,_0x26f7ad){return _0x216668(_0x26f7ad);},'FmNZy':function(_0x3d95a1,_0x2327d2){return _0x3d95a1!==_0x2327d2;}},_0x26e713=this[_0x4ef5c0(0x213)](_0x4e3e14),_0x1b99a3=this[_0x4ef5c0(0x214)](_0x4e3e14),_0x3fc124=this[_0x4ef5c0(0x26a)][_0x26e713],_0xfd129=path['relative'](process[_0x4ef5c0(0x236)](),_0x4e3e14[_0x4ef5c0(0x256)][_0x4ef5c0(0x22e)]);await this[_0x4ef5c0(0x263)]();const _0x1fa886={'uuid':_0x3fc124[_0x4ef5c0(0x22d)],'type':_0x3afd73[_0x4ef5c0(0x29c)],'name':_0x4e3e14[_0x4ef5c0(0x208)],'body':{'lang':_0x3afd73[_0x4ef5c0(0x220)],'code':_0x4e3e14['fn'][_0x4ef5c0(0x229)]()},'scope':_0x1b99a3,'scopes':this[_0x4ef5c0(0x2b0)](_0x4e3e14),'identifier':_0x26e713,'file_name':_0xfd129,'location':_0xfd129,'result':_0x3afd73[_0x4ef5c0(0x2b2)],'duration_in_ms':_0xe4f8c4&&_0xe4f8c4[_0x4ef5c0(0x2ca)]?_0xe4f8c4[_0x4ef5c0(0x2ca)]:null,'vc_filepath':this['_gitConfigPath']&&_0x4e3e14[_0x4ef5c0(0x256)]['file']?path['relative'](this[_0x4ef5c0(0x1fc)],_0x4e3e14['location'][_0x4ef5c0(0x22e)]):undefined,'started_at':_0x3fc124['startedAt'],'finished_at':_0x3fc124[_0x4ef5c0(0x268)],'framework':FRAMEWORKS[_0x4ef5c0(0x20a)],'customRerunParam':{'rerun_name':this[_0x4ef5c0(0x274)](_0x4e3e14)},'tags':_0x3afd73['WxGHO'](getTestTags,_0x4e3e14)};_0x3afd73[_0x4ef5c0(0x2e4)](appendTesthubParams,_0x1fa886,_0xe8ca10,_0x4e3e14,FRAMEWORKS[_0x4ef5c0(0x20a)]);_0xe4f8c4&&_0x3afd73[_0x4ef5c0(0x2a5)](_0xe4f8c4['retry'],0x0)&&(_0x1fa886['retry_of']=TestDetails[_0x4ef5c0(0x246)](this['getTestRunIdentifier'](_0x4e3e14,_0x3afd73[_0x4ef5c0(0x2a4)](_0xe4f8c4[_0x4ef5c0(0x2d2)],0x1))));if(_0x3afd73['USomX'](_0xe8ca10,_0x3afd73[_0x4ef5c0(0x209)])){_0x1fa886[_0x4ef5c0(0x2a2)]=_0xe4f8c4[_0x4ef5c0(0x273)];if(_0x3afd73[_0x4ef5c0(0x29b)](_0xe4f8c4[_0x4ef5c0(0x273)],_0x4e3e14[_0x4ef5c0(0x281)]))_0x1fa886[_0x4ef5c0(0x2a2)]=_0x3afd73[_0x4ef5c0(0x2a8)](_0xe4f8c4['status'],_0x3afd73[_0x4ef5c0(0x1ed)])?_0x3afd73['YUGrR']:_0x3afd73['THWBm'];else{(_0x3afd73['FuFjo'](_0x1fa886['result'],_0x3afd73[_0x4ef5c0(0x2ac)])||_0x3afd73[_0x4ef5c0(0x2e9)](_0x1fa886[_0x4ef5c0(0x2a2)],_0x3afd73[_0x4ef5c0(0x241)])||_0x3afd73[_0x4ef5c0(0x2a8)](_0x1fa886['result'],_0x3afd73['HErhC']))&&(_0x1fa886[_0x4ef5c0(0x2a2)]=_0x3afd73[_0x4ef5c0(0x241)]);if(_0x3afd73[_0x4ef5c0(0x1f1)](_0xe4f8c4['status'],_0x3afd73['THWBm'])&&_0x3afd73[_0x4ef5c0(0x2a8)](_0x4e3e14[_0x4ef5c0(0x281)],_0x3afd73[_0x4ef5c0(0x241)])){const _0x5501a1={};_0x5501a1[_0x4ef5c0(0x299)]=_0x3afd73[_0x4ef5c0(0x25d)],_0x5501a1[_0x4ef5c0(0x2a9)]=_0x3afd73[_0x4ef5c0(0x25d)],_0xe4f8c4[_0x4ef5c0(0x291)]=_0x5501a1,_0xe4f8c4[_0x4ef5c0(0x22b)]=[_0xe4f8c4[_0x4ef5c0(0x291)]];}}const _0x1f138c=this['getTestRunIdentifier'](_0x4e3e14,_0xe4f8c4[_0x4ef5c0(0x2d2)]);_0x1fa886[_0x4ef5c0(0x200)]=this[_0x4ef5c0(0x2c1)][_0x1f138c];const {steps:_0x25c5d8,logs:_0x4e3579}=this['getStepsAndLogs'](_0xe4f8c4[_0x4ef5c0(0x272)],_0x3fc124[_0x4ef5c0(0x22d)],_0x3afd73[_0x4ef5c0(0x29c)]);await MyReporter[_0x4ef5c0(0x224)](_0x4e3579);const _0x28f381={};_0x28f381[_0x4ef5c0(0x272)]=_0x25c5d8,_0x1fa886[_0x4ef5c0(0x212)]=_0x28f381;if(_0xe4f8c4[_0x4ef5c0(0x291)]){_0x1fa886[_0x4ef5c0(0x2cd)]=_0x3afd73[_0x4ef5c0(0x218)](removeAnsiColors,_0xe4f8c4['error'][_0x4ef5c0(0x299)]),_0x1fa886[_0x4ef5c0(0x2ce)]=_0x3afd73[_0x4ef5c0(0x1f9)](getFailureType,_0xe4f8c4[_0x4ef5c0(0x291)]['message']);const _0x255c9c={};_0x255c9c[_0x4ef5c0(0x29f)]=_0x3fc124['uuid'];const {failureData:_0x3fa053,logs:_0x3424b9}=_0x3afd73['Okhev'](getFailureData,_0xe4f8c4[_0x4ef5c0(0x22b)],_0x255c9c);if(_0x3fa053&&_0x3afd73['TEVjI'](_0x3fa053[_0x4ef5c0(0x297)],0x0)){const _0x3c6675={};_0x3c6675[_0x4ef5c0(0x255)]=[_0x1fa886[_0x4ef5c0(0x2cd)]],_0x3c6675[_0x4ef5c0(0x24e)]=[],_0x3fa053['push'](_0x3c6675);}_0x1fa886[_0x4ef5c0(0x287)]=_0x3fa053,_0x3424b9&&_0x3afd73[_0x4ef5c0(0x2a5)](_0x3424b9[_0x4ef5c0(0x297)],0x0)&&await MyReporter[_0x4ef5c0(0x224)](_0x3424b9);}}let _0x17bcbb=_0x3afd73[_0x4ef5c0(0x2ef)](findNestedKey,_0xe4f8c4,_0x3afd73[_0x4ef5c0(0x282)]);if(_0x17bcbb&&_0x3afd73[_0x4ef5c0(0x1f9)](validateFilePath,_0x17bcbb))_0x3afd73[_0x4ef5c0(0x20d)](debug,_0x4ef5c0(0x279)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x269)+_0x17bcbb);else{const _0x59359c=path['join'](helper['homedir'](),_0x3afd73[_0x4ef5c0(0x240)]);!fs['existsSync'](_0x59359c)&&fs[_0x4ef5c0(0x215)](_0x59359c),fs[_0x4ef5c0(0x249)](path[_0x4ef5c0(0x2c8)](_0x59359c,_0x4ef5c0(0x262)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x292)))&&(_0x17bcbb=fs[_0x4ef5c0(0x260)](path[_0x4ef5c0(0x2c8)](_0x59359c,_0x4ef5c0(0x262)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x292)),_0x3afd73[_0x4ef5c0(0x2ec)]),_0x3afd73['YcaBc'](debug,_0x4ef5c0(0x279)+_0x3fc124[_0x4ef5c0(0x22d)]+_0x4ef5c0(0x269)+_0x17bcbb));}const _0x148434={};_0x148434[_0x4ef5c0(0x20e)]=_0xe8ca10,_0x148434[_0x4ef5c0(0x2d4)]=_0x1fa886;const _0x1f9217=_0x148434;_0x17bcbb&&_0x3afd73['FmNZy'](_0x17bcbb,'')&&_0x3afd73[_0x4ef5c0(0x2a8)](_0xe8ca10,_0x3afd73[_0x4ef5c0(0x209)])&&(!_0x1f9217[_0x4ef5c0(0x217)]&&(_0x1f9217[_0x4ef5c0(0x217)]=[]),_0x17bcbb['split']('\x0a')[_0x4ef5c0(0x27b)](_0x1525bf=>{const _0x8fa03c=_0x4ef5c0;_0x1525bf&&_0x3afd73[_0x8fa03c(0x20d)](validateFilePath,_0x1525bf)&&_0x1f9217[_0x8fa03c(0x217)][_0x8fa03c(0x207)]({'kind':_0x3afd73['mTlVV'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x3fc124[_0x8fa03c(0x22d)],'file_name':path[_0x8fa03c(0x2e2)](_0x1525bf),'file_size':fs[_0x8fa03c(0x2c6)](_0x1525bf)['size'],'attachment_type':_0x3afd73[_0x8fa03c(0x259)]});})),await SessionHandler[_0x4ef5c0(0x221)](_0x1f9217);}[a41_0x1bd18f(0x274)](_0x1131ac){const _0x443efc=a41_0x1bd18f,_0x33fd4c={};_0x33fd4c[_0x443efc(0x1ea)]=function(_0x3a0342,_0x396a94){return _0x3a0342===_0x396a94;},_0x33fd4c[_0x443efc(0x2e1)]=function(_0x2e0692,_0x31d4ec){return _0x2e0692>_0x31d4ec;},_0x33fd4c[_0x443efc(0x26d)]=function(_0x310dfe,_0xf2bcc5){return _0x310dfe+_0xf2bcc5;},_0x33fd4c[_0x443efc(0x265)]=function(_0x52a2b8,_0x39c79a){return _0x52a2b8===_0x39c79a;},_0x33fd4c[_0x443efc(0x203)]=function(_0x1df34d,_0x11e957){return _0x1df34d+_0x11e957;};const _0x52f2f3=_0x33fd4c,_0x1c41e1=_0x1131ac[_0x443efc(0x28a)]()[_0x443efc(0x2dc)](_0x416e6b=>{const _0x34eb8f=_0x443efc;if(_0x1131ac['parent']&&_0x52f2f3['biBdm'](_0x416e6b,_0x1131ac[_0x34eb8f(0x2ab)][_0x34eb8f(0x208)])&&_0x1131ac[_0x34eb8f(0x2ab)]['_tags']&&_0x52f2f3[_0x34eb8f(0x2e1)](_0x1131ac[_0x34eb8f(0x2ab)][_0x34eb8f(0x21d)][_0x34eb8f(0x297)],0x0))return _0x52f2f3[_0x34eb8f(0x26d)](_0x52f2f3[_0x34eb8f(0x26d)](_0x416e6b,'\x20'),_0x1131ac['parent'][_0x34eb8f(0x21d)]['join']('\x20'));if(_0x52f2f3['qXsQX'](_0x416e6b,_0x1131ac['title'])&&_0x1131ac[_0x34eb8f(0x21d)]&&_0x52f2f3['QxugF'](_0x1131ac['_tags'][_0x34eb8f(0x297)],0x0))return _0x52f2f3[_0x34eb8f(0x26d)](_0x52f2f3[_0x34eb8f(0x203)](_0x416e6b,'\x20'),_0x1131ac[_0x34eb8f(0x21d)]['join']('\x20'));return _0x416e6b;})[_0x443efc(0x2c8)]('\x20');return _0x1c41e1;}static async['sendSessionDetails'](_0xed2066,_0x3e60e2){const _0x6390b2=a41_0x1bd18f,_0x2c6943={'EHNXP':function(_0x182c26,_0x24b92d){return _0x182c26(_0x24b92d);},'vlVTk':'CBTSessionCreated'},_0x40c1ff={'uuid':TestDetails[_0x6390b2(0x246)](_0xed2066),'integrations':_0x3e60e2},_0x1cefbf={};_0x1cefbf['depth']=null,_0x2c6943['EHNXP'](debug,_0x6390b2(0x2e3)+_0xed2066+',\x20'+util[_0x6390b2(0x222)](_0x3e60e2,_0x1cefbf));const _0x52a7b3={};_0x52a7b3[_0x6390b2(0x20e)]=_0x2c6943[_0x6390b2(0x29e)],_0x52a7b3[_0x6390b2(0x2d4)]=_0x40c1ff,await SessionHandler['uploadEventData'](_0x52a7b3);}async[a41_0x1bd18f(0x263)](){const _0x11d155=a41_0x1bd18f,_0x2cef17={'OxRLW':function(_0x59c0a0){return _0x59c0a0();}};if(this[_0x11d155(0x276)])return;const _0x4befcb=await _0x2cef17[_0x11d155(0x206)](getGitMetaData);_0x4befcb&&(this[_0x11d155(0x1fc)]=_0x4befcb[_0x11d155(0x23c)]),this[_0x11d155(0x276)]=!![];}[a41_0x1bd18f(0x2b0)](_0x5ef48c){const _0x52c2e9=a41_0x1bd18f,_0x425a2c={};_0x425a2c['Bzgym']=function(_0x3e5066,_0x51e40e){return _0x3e5066!==_0x51e40e;};const _0x33125f=_0x425a2c,_0x17a12d=[];if(_0x5ef48c&&_0x5ef48c['parent']){let _0x49c955=_0x5ef48c[_0x52c2e9(0x2ab)];while(_0x49c955&&_0x33125f[_0x52c2e9(0x2cf)](_0x49c955['title'],'')){_0x17a12d[_0x52c2e9(0x207)](_0x49c955[_0x52c2e9(0x208)]),_0x49c955=_0x49c955['parent'];}}return _0x17a12d[_0x52c2e9(0x2d7)]()[_0x52c2e9(0x254)](0x0,0x2),_0x17a12d;}['needToReportStep'](_0x4db65b){const _0xecabfe=a41_0x1bd18f,_0xa8f67d={};_0xa8f67d[_0xecabfe(0x223)]=function(_0x797ef0,_0xcc266f){return _0x797ef0!==_0xcc266f;},_0xa8f67d[_0xecabfe(0x2d1)]=_0xecabfe(0x270),_0xa8f67d[_0xecabfe(0x27e)]=function(_0x1b96ac,_0x3a7ac1){return _0x1b96ac===_0x3a7ac1;},_0xa8f67d[_0xecabfe(0x293)]='beforeEach\x20hook',_0xa8f67d[_0xecabfe(0x2bc)]=_0xecabfe(0x2b6),_0xa8f67d['KllHx']=_0xecabfe(0x26e),_0xa8f67d[_0xecabfe(0x283)]=_0xecabfe(0x1fa);const _0x4ba71f=_0xa8f67d;if(_0x4ba71f[_0xecabfe(0x223)](_0x4db65b[_0xecabfe(0x25b)],_0x4ba71f[_0xecabfe(0x2d1)]))return![];if(_0x4ba71f[_0xecabfe(0x27e)]([_0x4ba71f[_0xecabfe(0x293)],_0x4ba71f[_0xecabfe(0x2bc)],_0x4ba71f['KllHx'],_0x4ba71f['xgpEk']][_0xecabfe(0x2cb)](_0x4db65b['title']),-0x1))return![];return!![];}[a41_0x1bd18f(0x1f0)](_0x48d0e6,_0x544f8c){const _0x5abe45=a41_0x1bd18f,_0x4cf105=_0x544f8c[_0x5abe45(0x26f)];if(_0x4cf105)return _0x4cf105;return _0x544f8c[_0x5abe45(0x208)]+_0x5abe45(0x1f3)+this[_0x5abe45(0x213)](_0x48d0e6);}['setStepIdentifier'](_0x53fb8a,_0x419946){const _0x26a431=a41_0x1bd18f,_0x1b3584={'ZiaTJ':function(_0x5b26ab){return _0x5b26ab();}};let _0x5a0b02=_0x419946[_0x26a431(0x208)]+_0x26a431(0x1f3)+this['getTestIdentifier'](_0x53fb8a);return this[_0x26a431(0x26a)][_0x5a0b02]&&(_0x5a0b02=_0x5a0b02+'\x20-\x20'+_0x1b3584[_0x26a431(0x2c9)](uuidv4)),_0x419946[_0x26a431(0x26f)]=_0x5a0b02,_0x5a0b02;}[a41_0x1bd18f(0x213)]=_0x33a3bf=>{const _0x10b5f9=a41_0x1bd18f,_0x3eeede={};_0x3eeede['FOHIX']=function(_0x1bf9a3,_0x5e82a1){return _0x1bf9a3+_0x5e82a1;},_0x3eeede[_0x10b5f9(0x230)]=function(_0x583b35,_0x32dd4b){return _0x583b35+_0x32dd4b;};const _0x199fa0=_0x3eeede;return _0x199fa0[_0x10b5f9(0x1fe)](_0x199fa0['Ujvxq'](_0x33a3bf[_0x10b5f9(0x27f)],'-'),_0x33a3bf['id']);};[a41_0x1bd18f(0x26b)]=(_0x7c9964,_0x3659f3)=>{const _0x3f044e=a41_0x1bd18f,_0x574d52={};_0x574d52[_0x3f044e(0x21c)]=function(_0x5ced39,_0x11fcdd){return _0x5ced39+_0x11fcdd;},_0x574d52[_0x3f044e(0x28b)]=function(_0x51080d,_0x18bdf2){return _0x51080d+_0x18bdf2;};const _0x1f6ae4=_0x574d52;return _0x1f6ae4[_0x3f044e(0x21c)](_0x1f6ae4['kCPoJ'](this[_0x3f044e(0x213)](_0x7c9964),'-'),_0x3659f3);};[a41_0x1bd18f(0x1fb)]=_0x5fbefd=>{const _0x5394c1=a41_0x1bd18f,_0x415137={};_0x415137[_0x5394c1(0x28f)]=_0x5394c1(0x201),_0x415137[_0x5394c1(0x2a7)]=_0x5394c1(0x20c),_0x415137['mMOKs']=_0x5394c1(0x2b6),_0x415137[_0x5394c1(0x285)]=_0x5394c1(0x22c),_0x415137[_0x5394c1(0x2cc)]=_0x5394c1(0x1fa),_0x415137[_0x5394c1(0x1f8)]=_0x5394c1(0x26c),_0x415137[_0x5394c1(0x2ae)]='afterAll\x20hook',_0x415137[_0x5394c1(0x233)]=_0x5394c1(0x2df),_0x415137['JQHPs']=_0x5394c1(0x23d);const _0x4c6a1=_0x415137;if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1[_0x5394c1(0x28f)]))return _0x4c6a1[_0x5394c1(0x2a7)];else{if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1['mMOKs']))return _0x4c6a1['fmXVi'];else{if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1[_0x5394c1(0x2cc)]))return _0x4c6a1[_0x5394c1(0x1f8)];else{if(_0x5fbefd[_0x5394c1(0x2c5)](_0x4c6a1[_0x5394c1(0x2ae)]))return _0x4c6a1['yodCn'];}}}return _0x4c6a1['JQHPs'];};[a41_0x1bd18f(0x214)]=_0x13950f=>{const _0x5c1e44=a41_0x1bd18f,_0x5d6fdf={};_0x5d6fdf['vZiRk']=function(_0x19a7b7,_0x3bb613){return _0x19a7b7===_0x3bb613;},_0x5d6fdf[_0x5c1e44(0x2d3)]='object';const _0x12adc1=_0x5d6fdf;let _0xc00991=_0x13950f[_0x5c1e44(0x2ab)];return _0x12adc1['vZiRk'](typeof _0x13950f['parent'],_0x12adc1['NTdpc'])&&(_0xc00991=_0xc00991[_0x5c1e44(0x208)]),_0xc00991+'\x20-\x20'+_0x13950f[_0x5c1e44(0x208)];};[a41_0x1bd18f(0x2b7)](){return![];}}function a41_0x5188(){const _0x179576=['getCustomRerunParam','onTestEnd','_gitConfigured','\x20is\x20triggered','19402OspNjo','Trace\x20file\x20found\x20for\x20test:\x20','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','forEach','../../../helpers/testhub/utils','804023gphRff','kZTRB','_projectId','../../../helpers/test-observability/error-handler','expectedStatus','ilvdn','xgpEk','MSHBm','fmXVi','gKplm','failure','TestRunFinished','HookRunStarted','titlePath','kCPoJ','9800775JJbvvb','GpTsI','onStepBegin','lzMWa','20sTZzCm','error','.txt','OBTuL','path','../../../helpers/test-observability/constants','env','length','TbdaF','message','../../../helpers/helper','USomX','UlFjB','exports','vlVTk','test_run_uuid','relative','qxHvB','result','attachments','kAhLA','Upweg','Kydef','xECzP','mhDmt','stack','unzcX','parent','THWBm','CaHay','qRFan','util','getHierarchy','filter','oKSan','eTmUD','startMonitoring','hEjrU','beforeAll\x20hook','printsToStdio','VdZWg','yreXW','WcFyE','./pwUtils','IHijS','Before\x20Hooks','rEjeA','sendHookRunEvent','setStepIdentifier','_testHooksMap','hook_run','endSession','EULvb','startsWith','statSync','400530FbNCZW','join','ZiaTJ','duration','indexOf','dwjiX','failure_reason','failure_type','Bzgym','failed','bUymF','retry','NTdpc','test_run','vVCfJ','WRUtE','reverse','../../../helpers/test-observability/sessionHandler','mtime','Error\x20in\x20sending\x20trace\x20zip:\x20%s','needToReportStep','map','../../../helpers/test-observability/utils','getInstance','AFTER_ALL','name','QxugF','basename','Sending\x20session\x20details\x20for\x20','oybfd','javascript','tYbqb','mfwbg','hook_run_uuid','FuFjo','Test\x20Finished\x20with\x20unique\x20id\x20','OEXPA','iakJZ','test','UmQpB','rqaCZ','HookRunFinished','Test\x20Started\x20with\x20unique\x20id\x20','GfiXe','biBdm','Error\x20in\x20calculating\x20performance:\x20','split','YUGrR','FLjBX','BROWSERSTACK_LOG_LEVEL','getStepIdentifier','QCXAv','BROWSERSTACK_TEST_RUN_ID','\x20for\x20','vdRSZ','Hook\x20Started\x20with\x20unique\x20id\x20','CbYPj','RuBkP','RvbCj','nQczi','afterEach\x20hook','getHookType','_gitConfigPath','onStepEnd','FOHIX','START_TIME','hooks','beforeEach\x20hook','1068XTMPAl','LDWTc','shutdown','BROWSERSTACK_O11Y_PERF_MEASUREMENT','OxRLW','push','title','zMFSk','PLAYWRIGHT','3049242ttHtOk','BEFORE_EACH','dDZTT','event_type','timedOut','onEnd','2|1|0|5|4|3|6','meta','getTestIdentifier','getScope','mkdirSync','base64','logs','XCVsz','options','YXdTG','../../../helpers/test-observability/requestQueueHandler','ttpwT','_tags','CoLfn','716oSYzjN','okBUv','uploadEventData','inspect','npbwq','reportLogs','itjRU','passed','haxew','PLAYWRIGHT_TRACE_LOGS','toString','utf8','errors','BEFORE_ALL','uuid','file','toISOString','Ujvxq','tNjgk','sendTestRunEvent','yodCn','Ibbkn','fGqMz','cwd','qHBsU','Hook\x20Finished\x20with\x20unique\x20id\x20','vjNON','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','TRGEd','root','unknown','../../../helpers/testhub/testhubHandler','XSxtL','cUPST','EvvVK','78rqReMW','onBegin','708uiGQMG','onTestBegin','getTestUUID','sKNoa','kVymz','existsSync','1449984YvGORv','getTime','setup','logLevel','expanded','bVJai','getStepsAndLogs','PGlmD','tTgmm','fVVnI','splice','backtrace','location','LogCreated','16DPLQjX','ktwdy','eCrSp','category','startTime','sllCj','sendSessionDetails','format','readFileSync','CFoIH','trace_','configureGit','fUFYw','qXsQX','grdjS','startedAt','finishedAt','\x20at\x20','_tests','getTestRunIdentifier','AFTER_EACH','WekRx','afterAll\x20hook','_bs_hookIdentifier','hook','EMhEA','steps','status'];a41_0x5188=function(){return _0x179576;};return a41_0x5188();}function a41_0x5186(_0xb1efdf,_0x485380){const _0x5188cc=a41_0x5188();return a41_0x5186=function(_0x5186d5,_0x57b88b){_0x5186d5=_0x5186d5-0x1ea;let _0x2ea6e4=_0x5188cc[_0x5186d5];return _0x2ea6e4;},a41_0x5186(_0xb1efdf,_0x485380);}module[a41_0x1bd18f(0x29d)]=o11yClassErrorHandler(MyReporter,[a41_0x1bd18f(0x243),a41_0x1bd18f(0x2c3),'onTestBegin',a41_0x1bd18f(0x275),a41_0x1bd18f(0x28e),a41_0x1bd18f(0x1fd),a41_0x1bd18f(0x25e)],'MyReporter');
|
|
1
|
+
const a41_0x59b999=a41_0x4c30;function a41_0x4c30(_0x2c2818,_0x557bd7){const _0x110314=a41_0x1103();return a41_0x4c30=function(_0x4c30f9,_0x54fc95){_0x4c30f9=_0x4c30f9-0xcd;let _0x836d7d=_0x110314[_0x4c30f9];return _0x836d7d;},a41_0x4c30(_0x2c2818,_0x557bd7);}(function(_0x53541e,_0x39766a){const _0x6f1463=a41_0x4c30,_0x40677c=_0x53541e();while(!![]){try{const _0x357aea=-parseInt(_0x6f1463(0x15c))/0x1*(-parseInt(_0x6f1463(0x12b))/0x2)+-parseInt(_0x6f1463(0x19b))/0x3*(parseInt(_0x6f1463(0x11a))/0x4)+-parseInt(_0x6f1463(0x146))/0x5+-parseInt(_0x6f1463(0x111))/0x6*(-parseInt(_0x6f1463(0x176))/0x7)+-parseInt(_0x6f1463(0xee))/0x8+parseInt(_0x6f1463(0x104))/0x9*(-parseInt(_0x6f1463(0x123))/0xa)+parseInt(_0x6f1463(0x1bf))/0xb;if(_0x357aea===_0x39766a)break;else _0x40677c['push'](_0x40677c['shift']());}catch(_0x2be567){_0x40677c['push'](_0x40677c['shift']());}}}(a41_0x1103,0xd1046));const RequestQueueHandler=require(a41_0x59b999(0x197)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require('./pwUtils'),{v4:uuidv4}=require(a41_0x59b999(0x1cb)),path=require(a41_0x59b999(0x1c6)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x59b999(0x18d)),{getGitMetaData,setLogLevel}=require(a41_0x59b999(0xd0)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a41_0x59b999(0xe5)),{o11yClassErrorHandler}=require(a41_0x59b999(0x188)),PerformanceTester=require(a41_0x59b999(0xd9)),{FRAMEWORKS}=require(a41_0x59b999(0x1a7)),SessionHandler=require(a41_0x59b999(0x128)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x59b999(0x17c)),helper=require(a41_0x59b999(0xd0));class MyReporter{constructor(_0x40a107){const _0x3a5cbd=a41_0x59b999,_0x5f3a05={'bbZjJ':_0x3a5cbd(0x12c),'orpIZ':function(_0xf160e7,_0x467e44,_0x58b800,_0x1dceba){return _0xf160e7(_0x467e44,_0x58b800,_0x1dceba);},'zFHsB':_0x3a5cbd(0xf8)},_0x332057=_0x5f3a05['bbZjJ']['split']('|');let _0x2bf58b=0x0;while(!![]){switch(_0x332057[_0x2bf58b++]){case'0':const _0xc415df={};_0xc415df[_0x3a5cbd(0x16f)]=process['env'][_0x3a5cbd(0x17b)],_0x5f3a05['orpIZ'](setLogLevel,_0xc415df,new Map(),new Map());continue;case'1':this[_0x3a5cbd(0x143)]={};continue;case'2':process[_0x3a5cbd(0x19e)][_0x3a5cbd(0x10b)]&&(PerformanceTester['startMonitoring'](_0x5f3a05[_0x3a5cbd(0x106)]),process['env'][_0x3a5cbd(0x1c0)]=new Date()[_0x3a5cbd(0x164)]());continue;case'3':this[_0x3a5cbd(0x115)]=null;continue;case'4':this['_gitConfigured']=![];continue;case'5':this[_0x3a5cbd(0x13e)]=_0x40a107;continue;case'6':this[_0x3a5cbd(0x192)]={};continue;}break;}}async[a41_0x59b999(0x107)](){const _0x19629c=a41_0x59b999;TestDetails['setup'](),await this[_0x19629c(0x121)]();}async[a41_0x59b999(0x14d)](_0x4bc691,_0x3bcb4b){const _0x42271d=a41_0x59b999,_0x1f4646={'qfsty':function(_0x3c4a37,_0x510dbf){return _0x3c4a37(_0x510dbf);},'FrRsv':_0x42271d(0xf0)},_0x3f7638=this[_0x42271d(0x181)](_0x4bc691),_0x101012=TestDetails[_0x42271d(0x141)](this['getTestRunIdentifier'](_0x4bc691,_0x3bcb4b['retry']));process['env'][_0x42271d(0x174)]=_0x101012;const _0x5e94d7={};_0x5e94d7['uuid']=_0x101012,_0x5e94d7['startedAt']=_0x3bcb4b['startTime'],this[_0x42271d(0x192)][_0x3f7638]=_0x5e94d7,_0x1f4646[_0x42271d(0x14b)](trace,_0x42271d(0x15b)+_0x3f7638),await this[_0x42271d(0x139)](_0x4bc691,_0x1f4646['FrRsv'],_0x3bcb4b);}async[a41_0x59b999(0x180)](_0x44a9cb,_0x2d8bde,_0x4f1473){const _0x124d2e=a41_0x59b999,_0x1e7029={'AohDJ':function(_0x246bc9,_0x14a281){return _0x246bc9(_0x14a281);},'GJmHz':'HookRunStarted'};if(!this['needToReportStep'](_0x4f1473,_0x44a9cb))return;const _0x1fe8fc=this[_0x124d2e(0x1cd)](_0x44a9cb,_0x4f1473);this[_0x124d2e(0x192)][_0x1fe8fc]={'uuid':TestDetails[_0x124d2e(0x141)](_0x1fe8fc),'startedAt':_0x4f1473['startTime'][_0x124d2e(0x164)]()};const _0x8328d6=this['getTestRunIdentifier'](_0x44a9cb,_0x2d8bde[_0x124d2e(0x1ce)]);!this['_testHooksMap'][_0x8328d6]&&(this[_0x124d2e(0x143)][_0x8328d6]=[]),this[_0x124d2e(0x143)][_0x8328d6][_0x124d2e(0x1d2)](this[_0x124d2e(0x192)][_0x1fe8fc][_0x124d2e(0x1cb)]),_0x1e7029[_0x124d2e(0xf6)](trace,_0x124d2e(0x1a6)+_0x1fe8fc+_0x124d2e(0x1a5)+_0x8328d6),await this[_0x124d2e(0x12e)](_0x44a9cb,_0x4f1473,_0x1e7029[_0x124d2e(0xdd)],_0x2d8bde);}async['onStepEnd'](_0x507be4,_0x2eed78,_0x316112){const _0x34f9c0=a41_0x59b999,_0x4abb73={'OwLpM':function(_0x40f14b,_0x5dd96c){return _0x40f14b+_0x5dd96c;},'oTtxH':function(_0x4e3054,_0x1b9fbb){return _0x4e3054(_0x1b9fbb);},'gxnzf':_0x34f9c0(0x142)};if(!this['needToReportStep'](_0x316112,_0x507be4))return;const _0x177cbc=this[_0x34f9c0(0xd7)](_0x507be4,_0x316112);this[_0x34f9c0(0x192)][_0x177cbc]={...this[_0x34f9c0(0x192)][_0x177cbc]||{},'finishedAt':new Date(_0x4abb73[_0x34f9c0(0x18a)](_0x316112[_0x34f9c0(0x157)]['getTime'](),_0x316112['duration']))},_0x4abb73['oTtxH'](trace,_0x34f9c0(0x1b3)+_0x177cbc+_0x34f9c0(0x1b9)),await this[_0x34f9c0(0x12e)](_0x507be4,_0x316112,_0x4abb73[_0x34f9c0(0x166)],_0x2eed78);}async['onTestEnd'](_0x4ff29c,_0x4d38cc){const _0x6a2902=a41_0x59b999,_0x2096fd={'Hivno':function(_0x26ccb9,_0x404fe3){return _0x26ccb9===_0x404fe3;},'ztMvq':_0x6a2902(0xf3),'KkGna':'TEST_SCREENSHOT','YPfFS':_0x6a2902(0xfc),'VaJRa':function(_0x197d23,_0x37eeaa){return _0x197d23(_0x37eeaa);},'bXppL':'TestRunFinished','lEXoN':function(_0x55f0ab,_0x15faf2){return _0x55f0ab(_0x15faf2);},'TIEHI':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','DBZiJ':function(_0x2dfff4,_0x36a395,_0x24cb85){return _0x2dfff4(_0x36a395,_0x24cb85);},'bOSyz':_0x6a2902(0x187),'dmYqh':function(_0x5c07cb,_0x449737){return _0x5c07cb>_0x449737;}},_0x4b1b9c=this['getTestIdentifier'](_0x4ff29c),_0x4b0caa=TestDetails[_0x6a2902(0x141)](this['getTestRunIdentifier'](_0x4ff29c,_0x4d38cc['retry']));this[_0x6a2902(0x192)][_0x4b1b9c]={...this['_tests'][_0x4b1b9c]||{},'finishedAt':new Date()['toISOString']()},_0x2096fd['VaJRa'](trace,_0x6a2902(0x122)+_0x4b1b9c);try{await this[_0x6a2902(0x139)](_0x4ff29c,_0x2096fd[_0x6a2902(0x15e)],_0x4d38cc);}catch(_0x1023a7){_0x2096fd[_0x6a2902(0x11c)](debug,util[_0x6a2902(0x129)](_0x2096fd[_0x6a2902(0x167)],_0x1023a7[_0x6a2902(0x124)]()));}try{_0x2096fd[_0x6a2902(0xe3)](debug,_0x6a2902(0x19c)+_0x4b0caa),await _0x2096fd['DBZiJ'](sendTraceZip,_0x4d38cc,_0x4b0caa);}catch(_0x1774d0){_0x2096fd['lEXoN'](debug,util[_0x6a2902(0x129)](_0x2096fd['bOSyz'],_0x1774d0[_0x6a2902(0x124)]()));}const _0x22f86e=[];_0x4d38cc[_0x6a2902(0x17e)]&&_0x4d38cc[_0x6a2902(0x17e)]['map'](_0x28adc1=>{const _0x556551=_0x6a2902;if(_0x2096fd[_0x556551(0x127)](_0x28adc1['name'],_0x2096fd[_0x556551(0x1ab)])){if(!_0x28adc1[_0x556551(0x1c6)]||!fs['existsSync'](_0x28adc1['path']))return;_0x22f86e[_0x556551(0x1d2)]({'test_run_uuid':_0x4b0caa,'timestamp':fs[_0x556551(0x1af)](_0x28adc1['path'])[_0x556551(0x18f)],'kind':_0x2096fd[_0x556551(0xed)],'message':fs['readFileSync'](_0x28adc1['path'],{'encoding':_0x2096fd['YPfFS']})});}}),_0x2096fd[_0x6a2902(0x170)](_0x22f86e[_0x6a2902(0x169)],0x0)&&await MyReporter[_0x6a2902(0x160)](_0x22f86e);}async[a41_0x59b999(0x149)](){const _0x4e8e10=a41_0x59b999;await RequestQueueHandler[_0x4e8e10(0x1bb)]()[_0x4e8e10(0x1b4)]();}async['onEnd'](_0x47db14){const _0x2730e0=a41_0x59b999,_0x329c24={'dfeek':function(_0x24ce77){return _0x24ce77();},'QuFwr':function(_0x2f3989,_0x11d3fd){return _0x2f3989(_0x11d3fd);}};await this[_0x2730e0(0x149)]();try{process[_0x2730e0(0x19e)][_0x2730e0(0x10b)]&&await _0x329c24[_0x2730e0(0x1c5)](calculatePerformance);}catch(_0x9e428d){_0x329c24[_0x2730e0(0xfa)](debug,_0x2730e0(0x14c)+_0x9e428d[_0x2730e0(0x124)]());}}static async[a41_0x59b999(0x161)](_0x342a47,_0xa11da2){const _0x496192=a41_0x59b999;_0xa11da2['test_run_uuid']=TestDetails['getTestUUID'](_0x342a47),await this[_0x496192(0x160)]([_0xa11da2]);}static async[a41_0x59b999(0x160)](_0x438070){const _0x301a51=a41_0x59b999,_0x59d92f={};_0x59d92f['tRPoA']='LogCreated';const _0x41b2d1=_0x59d92f,_0x306712={};_0x306712[_0x301a51(0x19f)]=_0x41b2d1[_0x301a51(0xf4)],_0x306712['logs']=_0x438070,await SessionHandler[_0x301a51(0x12f)](_0x306712);}async[a41_0x59b999(0x12e)](_0x295583,_0x586b9d,_0xf89832,_0x52172d){const _0x54834b=a41_0x59b999,_0x3bbf55={'OAqeP':'hook','AIIzo':'javascript','KQlCS':_0x54834b(0x1c1),'BZpNu':function(_0x25465d,_0x294a7f){return _0x25465d>=_0x294a7f;},'wQIgh':function(_0x225250,_0x2f7839){return _0x225250===_0x2f7839;},'TEqTy':'HookRunFinished','LDqIA':function(_0x3405e8,_0x45bd26){return _0x3405e8>_0x45bd26;},'fZACj':_0x54834b(0x199),'TfwMl':function(_0x56f107,_0x400473){return _0x56f107(_0x400473);},'gtufU':function(_0x4801ef,_0x16d986,_0x225fdb){return _0x4801ef(_0x16d986,_0x225fdb);},'KbnGD':'err','UiDtK':'passed'},_0x5a20ff=this[_0x54834b(0xd7)](_0x295583,_0x586b9d),_0xef2224=this[_0x54834b(0x192)][_0x5a20ff],_0x184cfb={'uuid':_0xef2224[_0x54834b(0x1cb)],'type':_0x3bbf55[_0x54834b(0x132)],'hook_type':this['getHookType'](_0x586b9d[_0x54834b(0xeb)]),'name':_0x586b9d['title'],'scope':this['getScope'](_0x586b9d),'scopes':this[_0x54834b(0xf1)](_0x295583),'body':{'lang':_0x3bbf55[_0x54834b(0x137)],'code':null},'identifier':_0x5a20ff,'file_name':path[_0x54834b(0x133)](process[_0x54834b(0x109)](),_0x295583[_0x54834b(0x14a)]['file']),'location':path[_0x54834b(0x133)](process[_0x54834b(0x109)](),_0x295583['location'][_0x54834b(0xd2)]),'result':_0x3bbf55[_0x54834b(0x1b0)],'duration_in_ms':_0x3bbf55['BZpNu'](_0x586b9d[_0x54834b(0x147)],0x0)?_0x586b9d[_0x54834b(0x147)]:undefined,'vc_filepath':this[_0x54834b(0x115)]&&_0x295583[_0x54834b(0x14a)][_0x54834b(0xd2)]?path[_0x54834b(0x133)](this[_0x54834b(0x115)],_0x295583['location'][_0x54834b(0xd2)]):undefined,'started_at':_0xef2224[_0x54834b(0x1ad)],'finished_at':_0xef2224[_0x54834b(0x17d)],'framework':FRAMEWORKS[_0x54834b(0xcd)]};if(_0x3bbf55['wQIgh'](_0xf89832,_0x3bbf55[_0x54834b(0x14f)])){const {steps:_0x451f4c,logs:_0xc1c3c6}=this['getStepsAndLogs'](_0x586b9d[_0x54834b(0x1b7)],_0xef2224[_0x54834b(0x1cb)],_0x3bbf55['OAqeP']);_0xc1c3c6&&_0x3bbf55['LDqIA'](_0xc1c3c6[_0x54834b(0x169)],0x0)&&await MyReporter[_0x54834b(0x160)](_0xc1c3c6);const _0x1f86af={};_0x1f86af[_0x54834b(0x1b7)]=_0x451f4c,_0x184cfb['meta']=_0x1f86af;if(_0x586b9d[_0x54834b(0x112)]){_0x184cfb[_0x54834b(0xf7)]=_0x3bbf55[_0x54834b(0x108)],_0x184cfb[_0x54834b(0xe4)]=_0x3bbf55[_0x54834b(0x195)](removeAnsiColors,_0x586b9d[_0x54834b(0x112)][_0x54834b(0x19a)]),_0x184cfb['failure_type']=_0x3bbf55['TfwMl'](getFailureType,_0x586b9d['error'][_0x54834b(0x19a)]);const _0xf07e6e=_0x3bbf55[_0x54834b(0x1ac)](failureData,_0x586b9d[_0x54834b(0x112)],_0x3bbf55[_0x54834b(0x13b)]);if(_0xf07e6e&&_0x3bbf55[_0x54834b(0x11f)](_0xf07e6e['length'],0x0)){const _0x36cbba={};_0x36cbba[_0x54834b(0xd5)]=[_0x184cfb[_0x54834b(0xe4)]],_0x36cbba['expanded']=[],_0xf07e6e[_0x54834b(0x1d2)](_0x36cbba);}_0x184cfb[_0x54834b(0x18e)]=_0xf07e6e;}else _0x184cfb[_0x54834b(0xf7)]=_0x3bbf55[_0x54834b(0x198)];}const _0x4c8e17={};_0x4c8e17['event_type']=_0xf89832,_0x4c8e17[_0x54834b(0x191)]=_0x184cfb;const _0x16eee8=_0x4c8e17;await SessionHandler[_0x54834b(0x12f)](_0x16eee8);}[a41_0x59b999(0xdb)](_0x431e8a,_0x5f2526,_0xb6087){const _0x401f48=a41_0x59b999,_0x1946ac={'gaWfL':function(_0x1fb22d,_0x1e0052){return _0x1fb22d===_0x1e0052;},'ihZcD':_0x401f48(0x183),'oHMUK':'After\x20Hooks','MoMJX':_0x401f48(0x10a),'wPSGj':function(_0x3a3f74,_0x3f0f8b){return _0x3a3f74===_0x3f0f8b;},'aqVYE':_0x401f48(0xde),'HymZY':_0x401f48(0x1bc),'eqPtq':_0x401f48(0x119),'nMGkx':'TEST_STEP','gMfZG':_0x401f48(0x199),'cpKJI':_0x401f48(0x153),'zyepd':function(_0x20ca1d,_0x556824){return _0x20ca1d(_0x556824);},'YCVeN':function(_0x5e4c9b,_0x1d2c5c){return _0x5e4c9b(_0x1d2c5c);},'AfFCz':function(_0x23b53d){return _0x23b53d();},'Cgjyq':function(_0x409705,_0x31263f){return _0x409705(_0x31263f);},'DnRhy':function(_0x427e9f,_0x87d7e6,_0x167be8){return _0x427e9f(_0x87d7e6,_0x167be8);},'BcyJt':function(_0x38dded,_0x4aa58a,_0x13eb99){return _0x38dded(_0x4aa58a,_0x13eb99);}},_0x2a6a18=[],_0xea39e8=[],_0x3e48f7=_0x431e8a[_0x401f48(0xd8)](_0x2f28bf=>{const _0x435ea1=_0x401f48;if(_0x1946ac[_0x435ea1(0x12a)](_0x2f28bf['category'],_0x1946ac[_0x435ea1(0x10e)])&&(_0x1946ac['gaWfL'](_0x2f28bf[_0x435ea1(0xeb)],_0x1946ac['oHMUK'])||_0x1946ac[_0x435ea1(0x12a)](_0x2f28bf['title'],_0x1946ac[_0x435ea1(0x16a)])))return![];return!![];}),_0x443dfe=(_0x1daa63,_0xe9a6c2=![])=>{const _0x1b4d89=_0x401f48;if(_0x1946ac[_0x1b4d89(0xd6)](_0x1daa63[_0x1b4d89(0x1b7)][_0x1b4d89(0x169)],0x0)){const _0x231a79=_0x1946ac['wPSGj'](_0xb6087,_0x1946ac[_0x1b4d89(0x15d)])?_0x1946ac[_0x1b4d89(0x134)]:_0x1946ac[_0x1b4d89(0x1c8)];_0xea39e8['push']({'kind':_0x1946ac[_0x1b4d89(0x1a9)],[_0x231a79]:_0x5f2526,'message':_0x1daa63[_0x1b4d89(0xeb)],'timestamp':_0x1daa63[_0x1b4d89(0x157)]['toISOString'](),'level':_0x1daa63[_0x1b4d89(0x112)]?_0x1946ac[_0x1b4d89(0x11d)]:_0x1946ac[_0x1b4d89(0x148)],'duration':_0x1daa63['duration'],'failure':_0x1daa63[_0x1b4d89(0x112)]&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]&&_0x1946ac['zyepd'](removeAnsiColors,_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]),'failure_type':_0x1946ac['YCVeN'](getFailureType,_0x1daa63['error']&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)])});}else{!_0xe9a6c2&&_0x2a6a18[_0x1b4d89(0x1d2)]({'id':_0x1946ac[_0x1b4d89(0x140)](uuidv4),'text':_0x1daa63['title'],'keyword':undefined,'started_at':_0x1daa63[_0x1b4d89(0x157)][_0x1b4d89(0x164)](),'duration':_0x1daa63['duration'],'result':_0x1daa63['error']?_0x1946ac[_0x1b4d89(0x11d)]:_0x1946ac[_0x1b4d89(0x148)],'failure':_0x1daa63[_0x1b4d89(0x112)]&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]&&_0x1946ac[_0x1b4d89(0x1c3)](removeAnsiColors,_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]),'failure_type':_0x1946ac[_0x1b4d89(0x13a)](getFailureType,_0x1daa63[_0x1b4d89(0x112)]&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)])});for(const _0x28d78c of _0x1daa63[_0x1b4d89(0x1b7)]){_0x1946ac[_0x1b4d89(0x1bd)](_0x443dfe,_0x28d78c,!![]);}}};for(const _0xbde360 of _0x3e48f7){_0x1946ac[_0x401f48(0x1aa)](_0x443dfe,_0xbde360,![]);}const _0x2e2131={};return _0x2e2131['steps']=_0x2a6a18,_0x2e2131[_0x401f48(0x136)]=_0xea39e8,_0x2e2131;}async[a41_0x59b999(0x139)](_0x458046,_0x45812a,_0x4ab801){const _0x34be72=a41_0x59b999,_0x3d32a7={'BhlMh':function(_0x1d1b31,_0x5866e4){return _0x1d1b31(_0x5866e4);},'kpcYu':_0x34be72(0xec),'LAJaS':_0x34be72(0xf5),'jsHyP':_0x34be72(0xde),'SXJCO':_0x34be72(0x116),'zHRNX':_0x34be72(0x1c1),'RwJQb':function(_0x2f8a68,_0x35cfda){return _0x2f8a68(_0x35cfda);},'vhUkG':function(_0xae2191,_0x4fe2d5,_0x15d80b,_0x453ff8,_0x50be75){return _0xae2191(_0x4fe2d5,_0x15d80b,_0x453ff8,_0x50be75);},'eOGVG':function(_0x509160,_0x124cfe){return _0x509160>_0x124cfe;},'DGfPY':function(_0x56733a,_0x4b6209){return _0x56733a-_0x4b6209;},'gIimj':function(_0x2b87d2,_0x199970){return _0x2b87d2===_0x199970;},'KyTpr':_0x34be72(0xd4),'RukNw':function(_0x1bf68f,_0x47f432){return _0x1bf68f===_0x47f432;},'AYgPW':function(_0x69dfe0,_0x55f645){return _0x69dfe0===_0x55f645;},'NoyoP':_0x34be72(0x13c),'wEcpq':_0x34be72(0x153),'gTpyc':function(_0x1fa9f4,_0xc589ab){return _0x1fa9f4===_0xc589ab;},'vrkMM':function(_0x4fbd06,_0x3c1b41){return _0x4fbd06===_0x3c1b41;},'GrQBl':_0x34be72(0x199),'ThMLV':function(_0x106f39,_0x13cecc){return _0x106f39===_0x13cecc;},'EDICw':_0x34be72(0x131),'qgXRO':function(_0x535899,_0x394951){return _0x535899===_0x394951;},'CfgAM':function(_0x303ed1,_0x4a8cfb){return _0x303ed1===_0x4a8cfb;},'yrDZD':_0x34be72(0x126),'WNbUJ':function(_0x5ca1ab,_0x53d39b){return _0x5ca1ab(_0x53d39b);},'mYAed':function(_0x3719af,_0x43e6f1,_0x8cbae2){return _0x3719af(_0x43e6f1,_0x8cbae2);},'zKwtx':function(_0x3be1a6,_0x313c87){return _0x3be1a6===_0x313c87;},'jrEET':_0x34be72(0x1c6),'nhfEV':function(_0x52670,_0x1b2a26){return _0x52670(_0x1b2a26);},'CPpDx':function(_0x2e9fd9,_0xaad3e1){return _0x2e9fd9(_0xaad3e1);},'eIGNS':_0x34be72(0x194),'TVRpO':_0x34be72(0xe9),'oQPWj':function(_0x5b7b85,_0x40590e){return _0x5b7b85!==_0x40590e;},'BPVMZ':function(_0x5a6cb0,_0x4d31fb){return _0x5a6cb0===_0x4d31fb;}},_0x4be231=this[_0x34be72(0x181)](_0x458046),_0x304825=this[_0x34be72(0x19d)](_0x458046),_0x4d73b8=this[_0x34be72(0x192)][_0x4be231],_0x2ac986=path[_0x34be72(0x133)](process[_0x34be72(0x109)](),_0x458046['location'][_0x34be72(0xd2)]);await this[_0x34be72(0x121)]();const _0x25d78d={'uuid':_0x4d73b8[_0x34be72(0x1cb)],'type':_0x3d32a7[_0x34be72(0x163)],'name':_0x458046[_0x34be72(0xeb)],'body':{'lang':_0x3d32a7['SXJCO'],'code':_0x458046['fn']['toString']()},'scope':_0x304825,'scopes':this['getHierarchy'](_0x458046),'identifier':_0x4be231,'file_name':_0x2ac986,'location':_0x2ac986,'result':_0x3d32a7[_0x34be72(0x1b2)],'duration_in_ms':_0x4ab801&&_0x4ab801[_0x34be72(0x147)]?_0x4ab801[_0x34be72(0x147)]:null,'vc_filepath':this[_0x34be72(0x115)]&&_0x458046[_0x34be72(0x14a)]['file']?path[_0x34be72(0x133)](this[_0x34be72(0x115)],_0x458046[_0x34be72(0x14a)][_0x34be72(0xd2)]):undefined,'started_at':_0x4d73b8[_0x34be72(0x1ad)],'finished_at':_0x4d73b8[_0x34be72(0x17d)],'framework':FRAMEWORKS[_0x34be72(0xcd)],'customRerunParam':{'rerun_name':this[_0x34be72(0x1b8)](_0x458046)},'tags':_0x3d32a7[_0x34be72(0x12d)](getTestTags,_0x458046)};_0x3d32a7[_0x34be72(0x152)](appendTesthubParams,_0x25d78d,_0x45812a,_0x458046,FRAMEWORKS[_0x34be72(0xcd)]);_0x4ab801&&_0x3d32a7['eOGVG'](_0x4ab801[_0x34be72(0x1ce)],0x0)&&(_0x25d78d[_0x34be72(0x1b5)]=TestDetails['getTestUUID'](this[_0x34be72(0x155)](_0x458046,_0x3d32a7['DGfPY'](_0x4ab801[_0x34be72(0x1ce)],0x1))));if(_0x3d32a7[_0x34be72(0x14e)](_0x45812a,_0x3d32a7[_0x34be72(0x1be)])){_0x25d78d['result']=_0x4ab801['status'];if(_0x3d32a7[_0x34be72(0xf2)](_0x4ab801[_0x34be72(0x159)],_0x458046[_0x34be72(0x193)]))_0x25d78d[_0x34be72(0xf7)]=_0x3d32a7[_0x34be72(0xe7)](_0x4ab801[_0x34be72(0x159)],_0x3d32a7[_0x34be72(0x1c4)])?_0x3d32a7[_0x34be72(0x1c4)]:_0x3d32a7[_0x34be72(0x196)];else{(_0x3d32a7['gTpyc'](_0x25d78d['result'],_0x3d32a7['wEcpq'])||_0x3d32a7[_0x34be72(0xda)](_0x25d78d[_0x34be72(0xf7)],_0x3d32a7[_0x34be72(0x105)])||_0x3d32a7[_0x34be72(0x13f)](_0x25d78d[_0x34be72(0xf7)],_0x3d32a7[_0x34be72(0x1b6)]))&&(_0x25d78d[_0x34be72(0xf7)]=_0x3d32a7['GrQBl']);if(_0x3d32a7['qgXRO'](_0x4ab801[_0x34be72(0x159)],_0x3d32a7['wEcpq'])&&_0x3d32a7['CfgAM'](_0x458046[_0x34be72(0x193)],_0x3d32a7['GrQBl'])){const _0x2e2a04={};_0x2e2a04['message']=_0x3d32a7[_0x34be72(0x100)],_0x2e2a04['stack']=_0x3d32a7['yrDZD'],_0x4ab801[_0x34be72(0x112)]=_0x2e2a04,_0x4ab801[_0x34be72(0x1a8)]=[_0x4ab801[_0x34be72(0x112)]];}}const _0x2fb89=this[_0x34be72(0x155)](_0x458046,_0x4ab801[_0x34be72(0x1ce)]);_0x25d78d[_0x34be72(0xfb)]=this[_0x34be72(0x143)][_0x2fb89];const {steps:_0x197d1d,logs:_0x5de15f}=this['getStepsAndLogs'](_0x4ab801[_0x34be72(0x1b7)],_0x4d73b8[_0x34be72(0x1cb)],_0x3d32a7[_0x34be72(0x163)]);await MyReporter['reportLogs'](_0x5de15f);const _0x2bc75f={};_0x2bc75f[_0x34be72(0x1b7)]=_0x197d1d,_0x25d78d['meta']=_0x2bc75f;if(_0x4ab801[_0x34be72(0x112)]){_0x25d78d['failure_reason']=_0x3d32a7['BhlMh'](removeAnsiColors,_0x4ab801[_0x34be72(0x112)]['message']),_0x25d78d[_0x34be72(0x150)]=_0x3d32a7[_0x34be72(0xea)](getFailureType,_0x4ab801[_0x34be72(0x112)][_0x34be72(0x19a)]);const _0x342fca={};_0x342fca[_0x34be72(0x1bc)]=_0x4d73b8[_0x34be72(0x1cb)];const {failureData:_0x956241,logs:_0x1a411b}=_0x3d32a7[_0x34be72(0x1d0)](getFailureData,_0x4ab801[_0x34be72(0x1a8)],_0x342fca);if(_0x956241&&_0x3d32a7[_0x34be72(0x15f)](_0x956241[_0x34be72(0x169)],0x0)){const _0xa28ae3={};_0xa28ae3['backtrace']=[_0x25d78d['failure_reason']],_0xa28ae3[_0x34be72(0x113)]=[],_0x956241['push'](_0xa28ae3);}_0x25d78d[_0x34be72(0x18e)]=_0x956241,_0x1a411b&&_0x3d32a7[_0x34be72(0xdc)](_0x1a411b[_0x34be72(0x169)],0x0)&&await MyReporter[_0x34be72(0x160)](_0x1a411b);}}let _0x4160a2=_0x3d32a7[_0x34be72(0x1d0)](findNestedKey,_0x4ab801,_0x3d32a7[_0x34be72(0xf9)]);if(_0x4160a2&&_0x3d32a7['nhfEV'](validateFilePath,_0x4160a2))_0x3d32a7['CPpDx'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x4d73b8['uuid']+'\x20at\x20'+_0x4160a2);else{const _0x5e7bfb=path[_0x34be72(0x182)](helper['homedir'](),_0x3d32a7['eIGNS']);!fs[_0x34be72(0x11e)](_0x5e7bfb)&&fs[_0x34be72(0x173)](_0x5e7bfb),fs[_0x34be72(0x11e)](path[_0x34be72(0x182)](_0x5e7bfb,'trace_'+_0x4d73b8[_0x34be72(0x1cb)]+'.txt'))&&(_0x4160a2=fs[_0x34be72(0x154)](path[_0x34be72(0x182)](_0x5e7bfb,_0x34be72(0xdf)+_0x4d73b8['uuid']+_0x34be72(0x16d)),_0x3d32a7[_0x34be72(0x145)]),_0x3d32a7[_0x34be72(0x1cc)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x4d73b8['uuid']+_0x34be72(0x17a)+_0x4160a2));}const _0x4721b8={};_0x4721b8['event_type']=_0x45812a,_0x4721b8[_0x34be72(0x138)]=_0x25d78d;const _0x2328bd=_0x4721b8;_0x4160a2&&_0x3d32a7[_0x34be72(0x10f)](_0x4160a2,'')&&_0x3d32a7[_0x34be72(0x162)](_0x45812a,_0x3d32a7['KyTpr'])&&(!_0x2328bd[_0x34be72(0x136)]&&(_0x2328bd[_0x34be72(0x136)]=[]),_0x4160a2['split']('\x0a')['forEach'](_0x5d0c56=>{const _0xd0b874=_0x34be72;_0x5d0c56&&_0x3d32a7['BhlMh'](validateFilePath,_0x5d0c56)&&_0x2328bd[_0xd0b874(0x136)][_0xd0b874(0x1d2)]({'kind':_0x3d32a7[_0xd0b874(0x172)],'timestamp':new Date()[_0xd0b874(0x164)](),'test_run_uuid':_0x4d73b8['uuid'],'file_name':path[_0xd0b874(0x1b1)](_0x5d0c56),'file_size':fs[_0xd0b874(0x1af)](_0x5d0c56)[_0xd0b874(0x1a1)],'attachment_type':_0x3d32a7[_0xd0b874(0xcf)]});})),await SessionHandler[_0x34be72(0x12f)](_0x2328bd);}[a41_0x59b999(0x1b8)](_0x2b779e){const _0x19e05d=a41_0x59b999,_0x213482={};_0x213482[_0x19e05d(0x178)]=function(_0x31c3b6,_0x2e56ac){return _0x31c3b6===_0x2e56ac;},_0x213482['dUHds']=function(_0x3fb625,_0x4e89ab){return _0x3fb625>_0x4e89ab;},_0x213482['jRmLK']=function(_0x441047,_0x595f7d){return _0x441047+_0x595f7d;},_0x213482[_0x19e05d(0x16c)]=function(_0x34a942,_0x386023){return _0x34a942+_0x386023;},_0x213482[_0x19e05d(0x17f)]=function(_0x15382b,_0x1bb094){return _0x15382b>_0x1bb094;},_0x213482['txAdn']=function(_0x54ee82,_0xe38300){return _0x54ee82+_0xe38300;},_0x213482[_0x19e05d(0x1a2)]=function(_0x5eed05,_0x127ff7){return _0x5eed05+_0x127ff7;};const _0x16a970=_0x213482,_0x2ca59e=_0x2b779e[_0x19e05d(0x16b)]()[_0x19e05d(0x10d)](_0x1dd040=>{const _0x437d65=_0x19e05d;if(_0x2b779e[_0x437d65(0x125)]&&_0x16a970[_0x437d65(0x178)](_0x1dd040,_0x2b779e[_0x437d65(0x125)][_0x437d65(0xeb)])&&_0x2b779e[_0x437d65(0x125)][_0x437d65(0xe2)]&&_0x16a970[_0x437d65(0x18b)](_0x2b779e[_0x437d65(0x125)][_0x437d65(0xe2)]['length'],0x0))return _0x16a970[_0x437d65(0x177)](_0x16a970[_0x437d65(0x16c)](_0x1dd040,'\x20'),_0x2b779e[_0x437d65(0x125)][_0x437d65(0xe2)]['join']('\x20'));if(_0x16a970[_0x437d65(0x178)](_0x1dd040,_0x2b779e['title'])&&_0x2b779e['_tags']&&_0x16a970[_0x437d65(0x17f)](_0x2b779e[_0x437d65(0xe2)][_0x437d65(0x169)],0x0))return _0x16a970[_0x437d65(0x168)](_0x16a970[_0x437d65(0x1a2)](_0x1dd040,'\x20'),_0x2b779e[_0x437d65(0xe2)][_0x437d65(0x182)]('\x20'));return _0x1dd040;})[_0x19e05d(0x182)]('\x20');return _0x2ca59e;}static async['sendSessionDetails'](_0x55024c,_0xcb8fc2){const _0x5aad4d=a41_0x59b999,_0x594fac={'eOkQX':function(_0x1ede5c,_0x42eed3){return _0x1ede5c(_0x42eed3);},'HrAfV':'CBTSessionCreated'},_0x251db7={'uuid':TestDetails['getTestUUID'](_0x55024c),'integrations':_0xcb8fc2},_0x25a621={};_0x25a621['depth']=null,_0x594fac[_0x5aad4d(0x1ba)](debug,_0x5aad4d(0xff)+_0x55024c+',\x20'+util['inspect'](_0xcb8fc2,_0x25a621));const _0x59b0f2={};_0x59b0f2[_0x5aad4d(0x19f)]=_0x594fac['HrAfV'],_0x59b0f2[_0x5aad4d(0x138)]=_0x251db7,await SessionHandler['uploadEventData'](_0x59b0f2);}async['configureGit'](){const _0x3dfe58=a41_0x59b999,_0x43bf21={'diYTN':function(_0x3ed722){return _0x3ed722();}};if(this[_0x3dfe58(0x18c)])return;const _0x53eefb=await _0x43bf21[_0x3dfe58(0x1ca)](getGitMetaData);_0x53eefb&&(this['_gitConfigPath']=_0x53eefb[_0x3dfe58(0x15a)]),this[_0x3dfe58(0x18c)]=!![];}[a41_0x59b999(0xf1)](_0x443c0c){const _0x380f35=a41_0x59b999,_0x2f3710={};_0x2f3710[_0x380f35(0x117)]=function(_0x2997ca,_0x3216ff){return _0x2997ca!==_0x3216ff;};const _0x444a2c=_0x2f3710,_0x35591e=[];if(_0x443c0c&&_0x443c0c[_0x380f35(0x125)]){let _0x3bedde=_0x443c0c[_0x380f35(0x125)];while(_0x3bedde&&_0x444a2c[_0x380f35(0x117)](_0x3bedde[_0x380f35(0xeb)],'')){_0x35591e[_0x380f35(0x1d2)](_0x3bedde[_0x380f35(0xeb)]),_0x3bedde=_0x3bedde[_0x380f35(0x125)];}}return _0x35591e['reverse']()[_0x380f35(0xe6)](0x0,0x2),_0x35591e;}['needToReportStep'](_0x293650){const _0x365a2=a41_0x59b999,_0x3d7ed9={};_0x3d7ed9[_0x365a2(0xfd)]=function(_0x4e0cf9,_0x7bb913){return _0x4e0cf9!==_0x7bb913;},_0x3d7ed9[_0x365a2(0x1c2)]=_0x365a2(0x183),_0x3d7ed9[_0x365a2(0x101)]=function(_0x41681c,_0x36f6ba){return _0x41681c===_0x36f6ba;},_0x3d7ed9[_0x365a2(0xe1)]=_0x365a2(0x151),_0x3d7ed9[_0x365a2(0xe0)]=_0x365a2(0x120),_0x3d7ed9[_0x365a2(0x135)]=_0x365a2(0x102),_0x3d7ed9[_0x365a2(0x189)]=_0x365a2(0x1ae);const _0x2cb9d5=_0x3d7ed9;if(_0x2cb9d5[_0x365a2(0xfd)](_0x293650[_0x365a2(0x1a4)],_0x2cb9d5[_0x365a2(0x1c2)]))return![];if(_0x2cb9d5[_0x365a2(0x101)]([_0x2cb9d5['LOSuQ'],_0x2cb9d5[_0x365a2(0xe0)],_0x2cb9d5[_0x365a2(0x135)],_0x2cb9d5[_0x365a2(0x189)]]['indexOf'](_0x293650[_0x365a2(0xeb)]),-0x1))return![];return!![];}[a41_0x59b999(0xd7)](_0x1e1c8f,_0x4f6074){const _0x11e380=a41_0x59b999,_0x39478b=_0x4f6074['_bs_hookIdentifier'];if(_0x39478b)return _0x39478b;return _0x4f6074['title']+_0x11e380(0x118)+this[_0x11e380(0x181)](_0x1e1c8f);}[a41_0x59b999(0x1cd)](_0x55e22b,_0x277ea4){const _0x441ff7=a41_0x59b999,_0x30507f={'uCYpz':function(_0x320b0a){return _0x320b0a();}};let _0x35f4a4=_0x277ea4['title']+_0x441ff7(0x118)+this['getTestIdentifier'](_0x55e22b);return this[_0x441ff7(0x192)][_0x35f4a4]&&(_0x35f4a4=_0x35f4a4+_0x441ff7(0x11b)+_0x30507f[_0x441ff7(0x144)](uuidv4)),_0x277ea4['_bs_hookIdentifier']=_0x35f4a4,_0x35f4a4;}[a41_0x59b999(0x181)]=_0x55143f=>{const _0x17f39d=a41_0x59b999,_0x51e89a={};_0x51e89a[_0x17f39d(0x10c)]=function(_0x18abd3,_0x5f0970){return _0x18abd3+_0x5f0970;},_0x51e89a[_0x17f39d(0x158)]=function(_0x4aaea8,_0xea826f){return _0x4aaea8+_0xea826f;};const _0x1ac486=_0x51e89a;return _0x1ac486['kNcsI'](_0x1ac486['dafLB'](_0x55143f[_0x17f39d(0x13d)],'-'),_0x55143f['id']);};[a41_0x59b999(0x155)]=(_0xc9b246,_0x57323e)=>{const _0x5c8230=a41_0x59b999,_0x1a786c={};_0x1a786c[_0x5c8230(0x114)]=function(_0x19f3c8,_0x41b9db){return _0x19f3c8+_0x41b9db;},_0x1a786c[_0x5c8230(0x16e)]=function(_0x251fa4,_0xaf6ff7){return _0x251fa4+_0xaf6ff7;};const _0x1756c9=_0x1a786c;return _0x1756c9['bEKxw'](_0x1756c9[_0x5c8230(0x16e)](this['getTestIdentifier'](_0xc9b246),'-'),_0x57323e);};[a41_0x59b999(0x165)]=_0x172a59=>{const _0x2f3cb3=a41_0x59b999,_0x3c0e55={};_0x3c0e55['MedPZ']=_0x2f3cb3(0x151),_0x3c0e55[_0x2f3cb3(0xef)]=_0x2f3cb3(0xfe),_0x3c0e55['wEolS']='beforeAll\x20hook',_0x3c0e55[_0x2f3cb3(0xd1)]=_0x2f3cb3(0xd3),_0x3c0e55[_0x2f3cb3(0x186)]='afterEach\x20hook',_0x3c0e55[_0x2f3cb3(0xce)]=_0x2f3cb3(0x171),_0x3c0e55['ObbAl']=_0x2f3cb3(0x102),_0x3c0e55[_0x2f3cb3(0x156)]=_0x2f3cb3(0xe8),_0x3c0e55[_0x2f3cb3(0x130)]=_0x2f3cb3(0x185);const _0x3febf2=_0x3c0e55;if(_0x172a59['startsWith'](_0x3febf2[_0x2f3cb3(0x1c7)]))return _0x3febf2[_0x2f3cb3(0xef)];else{if(_0x172a59[_0x2f3cb3(0x103)](_0x3febf2[_0x2f3cb3(0x1c9)]))return _0x3febf2[_0x2f3cb3(0xd1)];else{if(_0x172a59[_0x2f3cb3(0x103)](_0x3febf2[_0x2f3cb3(0x186)]))return _0x3febf2[_0x2f3cb3(0xce)];else{if(_0x172a59['startsWith'](_0x3febf2[_0x2f3cb3(0x1a0)]))return _0x3febf2[_0x2f3cb3(0x156)];}}}return _0x3febf2[_0x2f3cb3(0x130)];};[a41_0x59b999(0x19d)]=_0x370273=>{const _0x4fc539=a41_0x59b999,_0x5f5c78={};_0x5f5c78[_0x4fc539(0x1a3)]=function(_0x10922e,_0x291ca2){return _0x10922e===_0x291ca2;},_0x5f5c78[_0x4fc539(0x175)]=_0x4fc539(0x190);const _0x3e5224=_0x5f5c78;let _0x16bd2c=_0x370273[_0x4fc539(0x125)];return _0x3e5224[_0x4fc539(0x1a3)](typeof _0x370273[_0x4fc539(0x125)],_0x3e5224[_0x4fc539(0x175)])&&(_0x16bd2c=_0x16bd2c[_0x4fc539(0xeb)]),_0x16bd2c+_0x4fc539(0x11b)+_0x370273[_0x4fc539(0xeb)];};[a41_0x59b999(0x1d1)](){return![];}}module[a41_0x59b999(0x110)]=o11yClassErrorHandler(MyReporter,[a41_0x59b999(0x107),a41_0x59b999(0x149),a41_0x59b999(0x14d),a41_0x59b999(0x1cf),a41_0x59b999(0x180),'onStepEnd',a41_0x59b999(0x179)],a41_0x59b999(0x184));function a41_0x1103(){const _0x167041=['gxnzf','TIEHI','txAdn','length','MoMJX','titlePath','OgjIR','.txt','XmKnv','logLevel','dmYqh','AFTER_EACH','kpcYu','mkdirSync','BROWSERSTACK_TEST_RUN_ID','PMudB','1561rnwfNU','jRmLK','Kyvxn','sendSessionDetails','\x20at\x20','BROWSERSTACK_LOG_LEVEL','../../../helpers/testhub/testhubHandler','finishedAt','attachments','XyOtH','onStepBegin','getTestIdentifier','join','hook','MyReporter','unknown','AAwbr','Error\x20in\x20sending\x20trace\x20zip:\x20%s','../../../helpers/test-observability/error-handler','LDWEc','OwLpM','dUHds','_gitConfigured','../../../helpers/test-observability/utils','failure','mtime','object','hook_run','_tests','expectedStatus','.browserstack','TfwMl','wEcpq','../../../helpers/test-observability/requestQueueHandler','UiDtK','failed','message','223287FSQwWZ','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','getScope','env','event_type','ObbAl','size','uKiLy','LxFdC','category','\x20is\x20triggered\x20for\x20test\x20','Hook\x20Started\x20with\x20unique\x20id\x20','../../../helpers/test-observability/constants','errors','nMGkx','BcyJt','ztMvq','gtufU','startedAt','afterEach\x20hook','statSync','KQlCS','basename','zHRNX','Hook\x20Finished\x20with\x20unique\x20id\x20','shutdown','retry_of','EDICw','steps','getCustomRerunParam','\x20is\x20triggered','eOkQX','getInstance','test_run_uuid','DnRhy','KyTpr','17581685LUIbkc','START_TIME','pending','fErZL','YCVeN','NoyoP','dfeek','path','MedPZ','eqPtq','wEolS','diYTN','uuid','CPpDx','setStepIdentifier','retry','onTestEnd','mYAed','printsToStdio','push','PLAYWRIGHT','FwoIN','LAJaS','../../../helpers/helper','gpNQh','file','BEFORE_ALL','TestRunFinished','backtrace','wPSGj','getStepIdentifier','filter','../../../helpers/performance/performance-tester','vrkMM','getStepsAndLogs','eOGVG','GJmHz','test','trace_','lzITA','LOSuQ','_tags','VaJRa','failure_reason','util','splice','AYgPW','AFTER_ALL','utf8','WNbUJ','title','TEST_ATTACHMENT','KkGna','10515224JJlBJn','qUxws','TestRunStarted','getHierarchy','RukNw','screenshot','tRPoA','PLAYWRIGHT_TRACE_LOGS','AohDJ','result','performance-report-reporter.json','jrEET','QuFwr','hooks','base64','oSAqY','BEFORE_EACH','Sending\x20session\x20details\x20for\x20','yrDZD','YAlqs','afterAll\x20hook','startsWith','3651138ZRhKRT','GrQBl','zFHsB','onBegin','fZACj','cwd','Before\x20Hooks','BROWSERSTACK_O11Y_PERF_MEASUREMENT','kNcsI','map','ihZcD','oQPWj','exports','40512RAjtZo','error','expanded','bEKxw','_gitConfigPath','javascript','faAMl','\x20for\x20','hook_run_uuid','8bCqBwV','\x20-\x20','lEXoN','gMfZG','existsSync','wQIgh','beforeAll\x20hook','configureGit','Test\x20Finished\x20with\x20unique\x20id\x20','30dyGfbQ','toString','parent','Expected\x20to\x20fail,\x20but\x20passed.','Hivno','../../../helpers/test-observability/sessionHandler','format','gaWfL','58ATyTgj','0|2|6|1|5|4|3','RwJQb','sendHookRunEvent','uploadEventData','lnzwE','timedOut','OAqeP','relative','HymZY','DnLJr','logs','AIIzo','test_run','sendTestRunEvent','Cgjyq','KbnGD','skipped','_projectId','options','ThMLV','AfFCz','getTestUUID','HookRunFinished','_testHooksMap','uCYpz','TVRpO','1100740qINDVD','duration','cpKJI','endSession','location','qfsty','Error\x20in\x20calculating\x20performance:\x20','onTestBegin','gIimj','TEqTy','failure_type','beforeEach\x20hook','vhUkG','passed','readFileSync','getTestRunIdentifier','Pxdhu','startTime','dafLB','status','root','Test\x20Started\x20with\x20unique\x20id\x20','22502Mjnykl','aqVYE','bXppL','zKwtx','reportLogs','addTestUIDAndReportLog','BPVMZ','jsHyP','toISOString','getHookType'];a41_0x1103=function(){return _0x167041;};return a41_0x1103();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a42_0x3f58(_0x230eb1,_0x2883ae){const _0x17450f=a42_0x1745();return a42_0x3f58=function(_0x3f58d6,_0x171ae4){_0x3f58d6=_0x3f58d6-0x18b;let _0x35e3b3=_0x17450f[_0x3f58d6];return _0x35e3b3;},a42_0x3f58(_0x230eb1,_0x2883ae);}function a42_0x1745(){const _0x20ec28=['shutdown','getTraceZipDir','hupDx','readFileSync','nHzOE','homedir','getTestUUID','Error\x20reading\x20trace\x20file\x20paths:\x20%s','jdafw','1|0|2|3|4','964952PgAJGH','RfLBY','7430CjDZRZ','LCSCx','MZdWn','.txt','exports','_projectId','_platformDetails.json','_test','../../../helpers/test-observability/constants','BS_TESTOPS_BUILD_HASHED_ID','appendFileSync','cwd','mkdirSync','getProjectIdFromTestInfo','LmNQi','setAccessibilityPlatformValidation','Qwtyx','DIVYm','BBGJX','_traceZipPaths.json','Error\x20handling\x20trace\x20file\x20paths:\x20','getStoreDirName','join','bAKzh','forEach','UsVLu','split','jmWko','dirPath','yDWgK','error','54YJHNtw','2143855IwEtJS','32021PIIUPR','endsWith','toString','ilPNV','addTraceFilePath','traceZipDir','env','getTestIdFromTestInfo','trace_','tests','ICYvl','1020FoQhRu','getTestRunIdFromTestInfo','../../../helpers/helper','values','testId','9866YvbGyJ','writeFileSync','getTestDetails','171269MoWErL','qRsSe','ypLMR','2700IhpcfF','MMiqG','retry','stringify','setup','VkTDm','filePath','pcuDW','51ukhUSI','jBYkJ','readdirSync','recursive','2556696nJnblh','getFilePath','getStoreDirPath','push','existsSync','parse','getAccessibilityPlatformValidation','../../../helpers/logger','format','Error\x20writing\x20trace\x20file:\x20','uuid','getTraceFilePaths','project','traceZipPaths','pid','iOFbd','__projectId','vAryd','nzhBm','oAWJY'];a42_0x1745=function(){return _0x20ec28;};return a42_0x1745();}const a42_0x22a91c=a42_0x3f58;(function(_0x1f4e64,_0x39b207){const _0x2a8b19=a42_0x3f58,_0x437255=_0x1f4e64();while(!![]){try{const _0x23d2f5=-parseInt(_0x2a8b19(0x1b5))/0x1*(parseInt(_0x2a8b19(0x1a7))/0x2)+parseInt(_0x2a8b19(0x1ad))/0x3*(parseInt(_0x2a8b19(0x1a2))/0x4)+-parseInt(_0x2a8b19(0x196))/0x5+-parseInt(_0x2a8b19(0x1b9))/0x6+-parseInt(_0x2a8b19(0x1aa))/0x7+parseInt(_0x2a8b19(0x1d7))/0x8*(-parseInt(_0x2a8b19(0x195))/0x9)+parseInt(_0x2a8b19(0x1d9))/0xa*(parseInt(_0x2a8b19(0x197))/0xb);if(_0x23d2f5===_0x39b207)break;else _0x437255['push'](_0x437255['shift']());}catch(_0x4cf31d){_0x437255['push'](_0x437255['shift']());}}}(a42_0x1745,0x8347a));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a42_0x22a91c(0x1c3)),{TEMP_STORE_DIR_NAME}=require(a42_0x22a91c(0x1e1)),{nestedKeyValue}=require(a42_0x22a91c(0x1a4)),logger=require(a42_0x22a91c(0x1c0))['winstonLogger'],util=require('util'),helper=require(a42_0x22a91c(0x1a4));class TestDetails{static ['tests']={};static [a42_0x22a91c(0x192)]=path[a42_0x22a91c(0x18c)](process[a42_0x22a91c(0x1e4)](),TestDetails[a42_0x22a91c(0x18b)]());static [a42_0x22a91c(0x19c)]=path[a42_0x22a91c(0x18c)](TestDetails[a42_0x22a91c(0x192)],a42_0x22a91c(0x1c6));static[a42_0x22a91c(0x1b1)](){const _0x695230=a42_0x22a91c,_0x18fb4a={};_0x18fb4a[_0x695230(0x1e7)]=_0x695230(0x1d6),_0x18fb4a[_0x695230(0x1d1)]='traceZipPaths';const _0x31f94=_0x18fb4a,_0x52d740=_0x31f94['LmNQi'][_0x695230(0x190)]('|');let _0x48ad62=0x0;while(!![]){switch(_0x52d740[_0x48ad62++]){case'0':this[_0x695230(0x19c)]=path[_0x695230(0x18c)](this[_0x695230(0x192)],_0x31f94[_0x695230(0x1d1)]);continue;case'1':this[_0x695230(0x192)]=path[_0x695230(0x18c)](process['cwd'](),TestDetails[_0x695230(0x18b)]());continue;case'2':this[_0x695230(0x1cd)]();continue;case'3':const _0x5f1838={};_0x5f1838[_0x695230(0x1b8)]=!![],fs['mkdirSync'](this[_0x695230(0x192)],_0x5f1838);continue;case'4':const _0x1f0590={};_0x1f0590['recursive']=!![],fs[_0x695230(0x1e5)](this[_0x695230(0x19c)],_0x1f0590);continue;}break;}}static['getStoreDirName'](){const _0x5d5144=a42_0x22a91c,_0x5149e9={};_0x5149e9[_0x5d5144(0x1e9)]=function(_0x3f9e87,_0x13c919){return _0x3f9e87+_0x13c919;},_0x5149e9[_0x5d5144(0x1ea)]=function(_0x553b2e,_0x33ad93){return _0x553b2e+_0x33ad93;};const _0xea505f=_0x5149e9;return _0xea505f[_0x5d5144(0x1e9)](_0xea505f[_0x5d5144(0x1ea)](TEMP_STORE_DIR_NAME,'-'),process[_0x5d5144(0x19d)][_0x5d5144(0x1e2)]);}static[a42_0x22a91c(0x1bb)](){const _0x33e928=a42_0x22a91c,_0x56a894={};_0x56a894[_0x33e928(0x191)]=function(_0x5ac996,_0x28b473){return _0x5ac996+_0x28b473;},_0x56a894[_0x33e928(0x1cb)]='default';const _0x44cc8d=_0x56a894;return path[_0x33e928(0x18c)](process[_0x33e928(0x1e4)](),_0x44cc8d[_0x33e928(0x191)](_0x44cc8d[_0x33e928(0x191)](TEMP_STORE_DIR_NAME,'-'),process[_0x33e928(0x19d)][_0x33e928(0x1e2)]||_0x44cc8d['nzhBm']));}static[a42_0x22a91c(0x1ce)](){const _0x1b778d=a42_0x22a91c,_0x38c2a0={};_0x38c2a0[_0x1b778d(0x1ab)]=_0x1b778d(0x1c6);const _0x202035=_0x38c2a0;return path[_0x1b778d(0x18c)](this[_0x1b778d(0x1bb)](),_0x202035['qRsSe']);}static[a42_0x22a91c(0x1ba)](_0x4fdcb5){const _0x24a25f=a42_0x22a91c,_0x13806b={};_0x13806b[_0x24a25f(0x18f)]=function(_0x2f1a4c,_0x2cf10f){return _0x2f1a4c+_0x2cf10f;},_0x13806b[_0x24a25f(0x193)]='.json';const _0x2871a6=_0x13806b;return path[_0x24a25f(0x18c)](this[_0x24a25f(0x192)],_0x2871a6[_0x24a25f(0x18f)](_0x4fdcb5,_0x2871a6[_0x24a25f(0x193)]));}static[a42_0x22a91c(0x1a3)](_0x1d2762){const _0x49a8fe=a42_0x22a91c,_0x16ae41={};_0x16ae41[_0x49a8fe(0x18d)]=function(_0x225ad7,_0x35627d){return _0x225ad7+_0x35627d;},_0x16ae41['BBGJX']=function(_0x3affe7,_0x430ed3){return _0x3affe7+_0x430ed3;},_0x16ae41[_0x49a8fe(0x1ac)]=function(_0x4d543a,_0x570f56){return _0x4d543a+_0x570f56;};const _0xd52138=_0x16ae41;return _0xd52138['bAKzh'](_0xd52138[_0x49a8fe(0x1eb)](_0xd52138['bAKzh'](_0xd52138['ypLMR'](this[_0x49a8fe(0x1e6)](_0x1d2762),'-'),this[_0x49a8fe(0x19e)](_0x1d2762)),'-'),_0x1d2762[_0x49a8fe(0x1af)]);}static['getProjectIdFromTestInfo'](_0x22b0f0){const _0x38ad13=a42_0x22a91c,_0x1bd2e0={'ilPNV':function(_0x323b9e,_0x3340d7,_0x55f5d3){return _0x323b9e(_0x3340d7,_0x55f5d3);},'pcuDW':_0x38ad13(0x1e0),'jdafw':_0x38ad13(0x1de),'MZdWn':_0x38ad13(0x1c5),'QmUeJ':_0x38ad13(0x1c9)};return _0x1bd2e0['ilPNV'](nestedKeyValue,_0x22b0f0,[_0x1bd2e0[_0x38ad13(0x1b4)],_0x1bd2e0[_0x38ad13(0x1d5)]])||_0x1bd2e0[_0x38ad13(0x19a)](nestedKeyValue,_0x22b0f0,[_0x1bd2e0[_0x38ad13(0x1db)],_0x1bd2e0['QmUeJ']]);}static[a42_0x22a91c(0x19e)](_0x5ce931){const _0x2143c7=a42_0x22a91c,_0x1556e3={'jBYkJ':function(_0x3cfcc4,_0x1a0790,_0x1f9fae){return _0x3cfcc4(_0x1a0790,_0x1f9fae);},'RfLBY':'_test'};return _0x1556e3[_0x2143c7(0x1b6)](nestedKeyValue,_0x5ce931,[_0x1556e3[_0x2143c7(0x1d8)],'id'])||_0x5ce931[_0x2143c7(0x1a6)];}static[a42_0x22a91c(0x1d3)](_0x190431){const _0x2c6d76=a42_0x22a91c,_0x5dd961={'oAWJY':function(_0x5e0fe8,_0x1fa8e7){return _0x5e0fe8===_0x1fa8e7;},'vAryd':'string','iOFbd':function(_0x466965){return _0x466965();}};if(this['tests'][_0x190431]&&_0x5dd961[_0x2c6d76(0x1cc)](typeof this['tests'][_0x190431][_0x2c6d76(0x1c3)],_0x5dd961[_0x2c6d76(0x1ca)]))return this[_0x2c6d76(0x1a0)][_0x190431]['uuid'];const _0x27cbad=this[_0x2c6d76(0x1ba)](_0x190431);if(_0x27cbad&&fs[_0x2c6d76(0x1bd)](_0x27cbad)){const _0x39e6c9=JSON[_0x2c6d76(0x1be)](fs[_0x2c6d76(0x1d0)](_0x27cbad)[_0x2c6d76(0x199)]());return this[_0x2c6d76(0x1a0)][_0x190431]=_0x39e6c9,this[_0x2c6d76(0x1a0)][_0x190431][_0x2c6d76(0x1c3)];}return this['tests'][_0x190431]={'uuid':_0x5dd961[_0x2c6d76(0x1c8)](uuidv4)},fs[_0x2c6d76(0x1a8)](_0x27cbad,JSON[_0x2c6d76(0x1b0)](this['tests'][_0x190431])),this[_0x2c6d76(0x1a0)][_0x190431][_0x2c6d76(0x1c3)];}static[a42_0x22a91c(0x1bf)](_0x6abd19){const _0x1dc8e2=a42_0x22a91c,_0x424c5d=path['join'](this[_0x1dc8e2(0x192)],_0x6abd19+_0x1dc8e2(0x1df));if(_0x424c5d&&fs['existsSync'](_0x424c5d))return fs[_0x1dc8e2(0x1d0)](_0x424c5d)[_0x1dc8e2(0x199)]();}static[a42_0x22a91c(0x1e8)](_0x32b65b,_0x3c5391){const _0x45c429=a42_0x22a91c,_0x36548a=path['join'](this[_0x45c429(0x192)],_0x3c5391+_0x45c429(0x1df));fs[_0x45c429(0x1a8)](_0x36548a,_0x32b65b[_0x45c429(0x199)]());}static['shutdown'](){const _0x1b0c01=a42_0x22a91c,_0x36db97={};_0x36db97['recursive']=!![],_0x36db97['force']=!![],fs['rmSync'](this[_0x1b0c01(0x192)],_0x36db97);}static[a42_0x22a91c(0x1a9)](_0x3d198a){const _0x5af64c=a42_0x22a91c;if(this['tests'][_0x3d198a])return this[_0x5af64c(0x1a0)][_0x3d198a];const _0xc09961=this[_0x5af64c(0x1ba)](_0x3d198a);if(_0xc09961&&fs['existsSync'](_0xc09961)){const _0x459397=JSON[_0x5af64c(0x1be)](fs['readFileSync'](_0xc09961)[_0x5af64c(0x199)]());return this[_0x5af64c(0x1a0)][_0x3d198a]=_0x459397,_0x459397;}return{};}static['setTestDetails'](_0x17cc8e,_0x2390a9){const _0x52f4d5=a42_0x22a91c,_0x6c8a3c=this[_0x52f4d5(0x1ba)](_0x17cc8e);if(_0x6c8a3c&&fs[_0x52f4d5(0x1bd)](_0x6c8a3c)){const _0x41a8b0=JSON[_0x52f4d5(0x1be)](fs[_0x52f4d5(0x1d0)](_0x6c8a3c)[_0x52f4d5(0x199)]()),_0x4599fb={..._0x41a8b0,..._0x2390a9};this[_0x52f4d5(0x1a0)][_0x17cc8e]=_0x4599fb;}else this[_0x52f4d5(0x1a0)][_0x17cc8e]=_0x2390a9;fs['writeFileSync'](_0x6c8a3c,this['tests'][_0x17cc8e]);}static[a42_0x22a91c(0x19b)](_0x5c321e){const _0x59e02b=a42_0x22a91c,_0x215624={};_0x215624[_0x59e02b(0x1cf)]=_0x59e02b(0x1ed);const _0x5e16a5=_0x215624;try{const _0x14c179=process[_0x59e02b(0x1c7)],_0x3cbd2f=path[_0x59e02b(0x18c)](TestDetails[_0x59e02b(0x1ce)](),_0x14c179+_0x59e02b(0x1ec));let _0x489979=[];_0x3cbd2f&&fs['existsSync'](_0x3cbd2f)&&(_0x489979=JSON[_0x59e02b(0x1be)](fs[_0x59e02b(0x1d0)](_0x3cbd2f)[_0x59e02b(0x199)]())),!_0x489979['some'](_0x28199d=>_0x28199d['filePath']===_0x5c321e['filePath'])&&(_0x489979[_0x59e02b(0x1bc)](_0x5c321e),fs[_0x59e02b(0x1a8)](_0x3cbd2f,JSON['stringify'](_0x489979)));}catch(_0x80eb5a){logger[_0x59e02b(0x194)](_0x5e16a5[_0x59e02b(0x1cf)],_0x80eb5a);}}static[a42_0x22a91c(0x1c4)](){const _0x2b13a8=a42_0x22a91c,_0x489d28={};_0x489d28[_0x2b13a8(0x1ae)]=_0x2b13a8(0x1ec),_0x489d28[_0x2b13a8(0x1a1)]=_0x2b13a8(0x1d4);const _0x1e468b=_0x489d28,_0x37154b=[];try{const _0x388ecb=TestDetails[_0x2b13a8(0x1ce)]();if(_0x388ecb&&!fs['existsSync'](_0x388ecb))return _0x37154b;const _0x23c982=fs[_0x2b13a8(0x1b7)](_0x388ecb);_0x23c982['forEach'](_0x277bbd=>{const _0x3a3e58=_0x2b13a8;if(_0x277bbd&&_0x277bbd[_0x3a3e58(0x198)](_0x1e468b[_0x3a3e58(0x1ae)])){const _0x4f6c54=JSON[_0x3a3e58(0x1be)](fs['readFileSync'](path['join'](_0x388ecb,_0x277bbd))[_0x3a3e58(0x199)]());_0x37154b[_0x3a3e58(0x1bc)](..._0x4f6c54);}});}catch(_0x39b815){logger[_0x2b13a8(0x194)](util[_0x2b13a8(0x1c1)](_0x1e468b[_0x2b13a8(0x1a1)],_0x39b815));}const _0x1f848a={};return _0x37154b[_0x2b13a8(0x18e)](_0x102d6d=>{const _0x53e439=_0x2b13a8;_0x1f848a[_0x102d6d[_0x53e439(0x1b3)]]=_0x102d6d;}),Object[_0x2b13a8(0x1a5)](_0x1f848a);}static['appendToTracePaths'](_0x390210,_0xe4f182){const _0x168261=a42_0x22a91c,_0x36c233={};_0x36c233[_0x168261(0x1da)]='.browserstack',_0x36c233[_0x168261(0x1b2)]='utf8';const _0x3fa1cb=_0x36c233;try{const _0x75ff95=path[_0x168261(0x18c)](helper[_0x168261(0x1d2)](),_0x3fa1cb[_0x168261(0x1da)]);if(!fs[_0x168261(0x1bd)](_0x75ff95)){const _0x28c03a={};_0x28c03a['recursive']=!![],fs['mkdirSync'](_0x75ff95,_0x28c03a);}fs[_0x168261(0x1e3)](path[_0x168261(0x18c)](_0x75ff95,_0x168261(0x19f)+_0xe4f182+_0x168261(0x1dc)),_0x390210+'\x0a',_0x3fa1cb['VkTDm']);}catch(_0x4a0682){console[_0x168261(0x194)](_0x168261(0x1c2)+_0x4a0682['message']);}}}module[a42_0x22a91c(0x1dd)]=TestDetails;
|
|
1
|
+
const a42_0x2f9e61=a42_0x5cbb;(function(_0x498c3f,_0x29fdde){const _0x2dacbd=a42_0x5cbb,_0x2aa95f=_0x498c3f();while(!![]){try{const _0x35b4b0=parseInt(_0x2dacbd(0x8b))/0x1+-parseInt(_0x2dacbd(0x87))/0x2+-parseInt(_0x2dacbd(0xb3))/0x3+parseInt(_0x2dacbd(0xa8))/0x4+parseInt(_0x2dacbd(0xdb))/0x5+-parseInt(_0x2dacbd(0x9f))/0x6+parseInt(_0x2dacbd(0xbd))/0x7;if(_0x35b4b0===_0x29fdde)break;else _0x2aa95f['push'](_0x2aa95f['shift']());}catch(_0x2b8222){_0x2aa95f['push'](_0x2aa95f['shift']());}}}(a42_0x15bc,0x5599c));function a42_0x5cbb(_0x2456c1,_0x136c5a){const _0x15bcfd=a42_0x15bc();return a42_0x5cbb=function(_0x5cbbfb,_0x52563d){_0x5cbbfb=_0x5cbbfb-0x86;let _0x4f68db=_0x15bcfd[_0x5cbbfb];return _0x4f68db;},a42_0x5cbb(_0x2456c1,_0x136c5a);}function a42_0x15bc(){const _0x2cefd0=['getProjectIdFromTestInfo','pkpXs','SoKFh','setup','_projectId','RsMMg','testId','trace_','appendToTracePaths','setAccessibilityPlatformValidation','.txt','qKpDU','RLqNa','../../../helpers/helper','_test','getStoreDirName','recursive','BTark','existsSync','dirPath','atRhr','tests','2475680IqaxSa','NPHTn','fbyVV','.browserstack','HxIMV','path','Error\x20reading\x20trace\x20file\x20paths:\x20%s','getTestUUID','../../../helpers/logger','util','setTestDetails','pid','lvuCA','eItmT','message','782760NTwOTx','join','_platformDetails.json','traceZipPaths','166627MDSwVv','split','getAccessibilityPlatformValidation','uwMHW','uuid','some','format','traceZipDir','getTestDetails','filePath','retry','values','pjoJN','cwd','stringify','forEach','vgnwD','getTraceFilePaths','getStoreDirPath','parse','944424qSqTZC','exports','KZgLY','winstonLogger','shutdown','.json','xBwiZ','vQsrm','_traceZipPaths.json','2503288amirKl','readFileSync','mkdirSync','endsWith','toString','dBkha','BgtoH','BS_TESTOPS_BUILD_HASHED_ID','__projectId','getTestIdFromTestInfo','getTestRunIdFromTestInfo','1891188wfczFf','axxWK','addTraceFilePath','writeFileSync','push','env','default','error','GGvvr','sErui','1695505DBtPnS','getTraceZipDir','rmSync','3|2|0|1|4','force','Error\x20writing\x20trace\x20file:\x20','getFilePath','../../../helpers/test-observability/constants'];a42_0x15bc=function(){return _0x2cefd0;};return a42_0x15bc();}const fs=require('fs'),path=require(a42_0x2f9e61(0xe0)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x2f9e61(0xc4)),{nestedKeyValue}=require(a42_0x2f9e61(0xd2)),logger=require(a42_0x2f9e61(0xe3))[a42_0x2f9e61(0xa2)],util=require(a42_0x2f9e61(0xe4)),helper=require(a42_0x2f9e61(0xd2));class TestDetails{static [a42_0x2f9e61(0xda)]={};static [a42_0x2f9e61(0xd8)]=path[a42_0x2f9e61(0x88)](process[a42_0x2f9e61(0x98)](),TestDetails[a42_0x2f9e61(0xd4)]());static [a42_0x2f9e61(0x92)]=path[a42_0x2f9e61(0x88)](TestDetails['dirPath'],'traceZipPaths');static[a42_0x2f9e61(0xc8)](){const _0x150498=a42_0x2f9e61,_0x4b7961={};_0x4b7961[_0x150498(0xa1)]=_0x150498(0xc0),_0x4b7961[_0x150498(0x8e)]='traceZipPaths';const _0x316cc7=_0x4b7961,_0x4ac4a8=_0x316cc7['KZgLY'][_0x150498(0x8c)]('|');let _0x20ce40=0x0;while(!![]){switch(_0x4ac4a8[_0x20ce40++]){case'0':this[_0x150498(0xa3)]();continue;case'1':const _0x2ad19c={};_0x2ad19c[_0x150498(0xd5)]=!![],fs[_0x150498(0xaa)](this[_0x150498(0xd8)],_0x2ad19c);continue;case'2':this[_0x150498(0x92)]=path[_0x150498(0x88)](this['dirPath'],_0x316cc7['uwMHW']);continue;case'3':this[_0x150498(0xd8)]=path[_0x150498(0x88)](process[_0x150498(0x98)](),TestDetails['getStoreDirName']());continue;case'4':const _0x409216={};_0x409216[_0x150498(0xd5)]=!![],fs[_0x150498(0xaa)](this[_0x150498(0x92)],_0x409216);continue;}break;}}static[a42_0x2f9e61(0xd4)](){const _0x4c524c=a42_0x2f9e61,_0x15c7c4={};_0x15c7c4[_0x4c524c(0xdd)]=function(_0x139c2b,_0x381632){return _0x139c2b+_0x381632;},_0x15c7c4['lvuCA']=function(_0x445aa8,_0x3835f6){return _0x445aa8+_0x3835f6;};const _0x231f18=_0x15c7c4;return _0x231f18['fbyVV'](_0x231f18[_0x4c524c(0xe7)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x4c524c(0xaf)]);}static[a42_0x2f9e61(0x9d)](){const _0x4d3133=a42_0x2f9e61,_0x1f4ba4={};_0x1f4ba4[_0x4d3133(0xdf)]=function(_0x5eafa8,_0x2bda24){return _0x5eafa8+_0x2bda24;},_0x1f4ba4[_0x4d3133(0xbb)]=function(_0xf1c880,_0x96d531){return _0xf1c880+_0x96d531;},_0x1f4ba4['ZzyqR']=_0x4d3133(0xb9);const _0x19ac52=_0x1f4ba4;return path[_0x4d3133(0x88)](process[_0x4d3133(0x98)](),_0x19ac52[_0x4d3133(0xdf)](_0x19ac52[_0x4d3133(0xbb)](TEMP_STORE_DIR_NAME,'-'),process[_0x4d3133(0xb8)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x19ac52['ZzyqR']));}static['getTraceZipDir'](){const _0x58a204=a42_0x2f9e61,_0x4702a6={};_0x4702a6['eItmT']=_0x58a204(0x8a);const _0xee39fb=_0x4702a6;return path['join'](this[_0x58a204(0x9d)](),_0xee39fb[_0x58a204(0xe8)]);}static[a42_0x2f9e61(0xc3)](_0xf30d41){const _0x4caf71=a42_0x2f9e61,_0x40d229={};_0x40d229[_0x4caf71(0xd6)]=function(_0x304d89,_0x3d74a9){return _0x304d89+_0x3d74a9;},_0x40d229['pkpXs']=_0x4caf71(0xa4);const _0x4bf0ce=_0x40d229;return path[_0x4caf71(0x88)](this[_0x4caf71(0xd8)],_0x4bf0ce['BTark'](_0xf30d41,_0x4bf0ce[_0x4caf71(0xc6)]));}static[a42_0x2f9e61(0xb2)](_0x14b9c8){const _0xcd7297=a42_0x2f9e61,_0x2b0b49={};_0x2b0b49['sErui']=function(_0x110e41,_0x524e85){return _0x110e41+_0x524e85;};const _0x1907c3=_0x2b0b49;return _0x1907c3[_0xcd7297(0xbc)](_0x1907c3[_0xcd7297(0xbc)](_0x1907c3['sErui'](_0x1907c3[_0xcd7297(0xbc)](this[_0xcd7297(0xc5)](_0x14b9c8),'-'),this[_0xcd7297(0xb1)](_0x14b9c8)),'-'),_0x14b9c8[_0xcd7297(0x95)]);}static['getProjectIdFromTestInfo'](_0x52531b){const _0x4bb612=a42_0x2f9e61,_0x53fe4a={'Wotqp':function(_0x2db2db,_0x1352d1,_0xc8cbe8){return _0x2db2db(_0x1352d1,_0xc8cbe8);},'BgtoH':'_test','SoKFh':_0x4bb612(0xc9),'xBwiZ':'project','vgnwD':_0x4bb612(0xb0)};return _0x53fe4a['Wotqp'](nestedKeyValue,_0x52531b,[_0x53fe4a[_0x4bb612(0xae)],_0x53fe4a[_0x4bb612(0xc7)]])||_0x53fe4a['Wotqp'](nestedKeyValue,_0x52531b,[_0x53fe4a[_0x4bb612(0xa5)],_0x53fe4a[_0x4bb612(0x9b)]]);}static[a42_0x2f9e61(0xb1)](_0x1052ba){const _0x2a7043=a42_0x2f9e61,_0x8b443e={'qKpDU':function(_0x322a6c,_0x167890,_0x15ec28){return _0x322a6c(_0x167890,_0x15ec28);},'RLqNa':_0x2a7043(0xd3)};return _0x8b443e[_0x2a7043(0xd0)](nestedKeyValue,_0x1052ba,[_0x8b443e[_0x2a7043(0xd1)],'id'])||_0x1052ba[_0x2a7043(0xcb)];}static[a42_0x2f9e61(0xe2)](_0x40611d){const _0x29258f=a42_0x2f9e61,_0x532ca5={'axxWK':function(_0x3e7431,_0xa378d2){return _0x3e7431===_0xa378d2;},'AjEWd':'string','dBkha':function(_0x40f031){return _0x40f031();}};if(this[_0x29258f(0xda)][_0x40611d]&&_0x532ca5[_0x29258f(0xb4)](typeof this[_0x29258f(0xda)][_0x40611d][_0x29258f(0x8f)],_0x532ca5['AjEWd']))return this[_0x29258f(0xda)][_0x40611d]['uuid'];const _0x47b9d4=this[_0x29258f(0xc3)](_0x40611d);if(_0x47b9d4&&fs[_0x29258f(0xd7)](_0x47b9d4)){const _0x225e2c=JSON[_0x29258f(0x9e)](fs[_0x29258f(0xa9)](_0x47b9d4)['toString']());return this[_0x29258f(0xda)][_0x40611d]=_0x225e2c,this['tests'][_0x40611d][_0x29258f(0x8f)];}return this[_0x29258f(0xda)][_0x40611d]={'uuid':_0x532ca5[_0x29258f(0xad)](uuidv4)},fs[_0x29258f(0xb6)](_0x47b9d4,JSON[_0x29258f(0x99)](this[_0x29258f(0xda)][_0x40611d])),this[_0x29258f(0xda)][_0x40611d][_0x29258f(0x8f)];}static[a42_0x2f9e61(0x8d)](_0x462c13){const _0x35bacc=a42_0x2f9e61,_0x2ccc6d=path[_0x35bacc(0x88)](this[_0x35bacc(0xd8)],_0x462c13+'_platformDetails.json');if(_0x2ccc6d&&fs['existsSync'](_0x2ccc6d))return fs[_0x35bacc(0xa9)](_0x2ccc6d)[_0x35bacc(0xac)]();}static[a42_0x2f9e61(0xce)](_0x272279,_0x3aa997){const _0x196419=a42_0x2f9e61,_0x557107=path[_0x196419(0x88)](this['dirPath'],_0x3aa997+_0x196419(0x89));fs[_0x196419(0xb6)](_0x557107,_0x272279[_0x196419(0xac)]());}static[a42_0x2f9e61(0xa3)](){const _0x28fc1b=a42_0x2f9e61,_0x10d01d={};_0x10d01d[_0x28fc1b(0xd5)]=!![],_0x10d01d[_0x28fc1b(0xc1)]=!![],fs[_0x28fc1b(0xbf)](this[_0x28fc1b(0xd8)],_0x10d01d);}static[a42_0x2f9e61(0x93)](_0x5e58f8){const _0x28ad0b=a42_0x2f9e61;if(this[_0x28ad0b(0xda)][_0x5e58f8])return this[_0x28ad0b(0xda)][_0x5e58f8];const _0x16b887=this['getFilePath'](_0x5e58f8);if(_0x16b887&&fs[_0x28ad0b(0xd7)](_0x16b887)){const _0x12150b=JSON[_0x28ad0b(0x9e)](fs['readFileSync'](_0x16b887)[_0x28ad0b(0xac)]());return this['tests'][_0x5e58f8]=_0x12150b,_0x12150b;}return{};}static[a42_0x2f9e61(0xe5)](_0x4018de,_0x23f3cc){const _0x5773e2=a42_0x2f9e61,_0x28b2c8=this[_0x5773e2(0xc3)](_0x4018de);if(_0x28b2c8&&fs[_0x5773e2(0xd7)](_0x28b2c8)){const _0xa85f3e=JSON[_0x5773e2(0x9e)](fs[_0x5773e2(0xa9)](_0x28b2c8)[_0x5773e2(0xac)]()),_0x4a1c4c={..._0xa85f3e,..._0x23f3cc};this[_0x5773e2(0xda)][_0x4018de]=_0x4a1c4c;}else this['tests'][_0x4018de]=_0x23f3cc;fs[_0x5773e2(0xb6)](_0x28b2c8,this[_0x5773e2(0xda)][_0x4018de]);}static[a42_0x2f9e61(0xb5)](_0x541e34){const _0x4d7470=a42_0x2f9e61,_0x3ac404={};_0x3ac404[_0x4d7470(0xca)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x5bbf18=_0x3ac404;try{const _0x1c52b3=process[_0x4d7470(0xe6)],_0x4c71ac=path[_0x4d7470(0x88)](TestDetails[_0x4d7470(0xbe)](),_0x1c52b3+_0x4d7470(0xa7));let _0x4623ad=[];_0x4c71ac&&fs['existsSync'](_0x4c71ac)&&(_0x4623ad=JSON[_0x4d7470(0x9e)](fs['readFileSync'](_0x4c71ac)[_0x4d7470(0xac)]())),!_0x4623ad[_0x4d7470(0x90)](_0x4c8617=>_0x4c8617[_0x4d7470(0x94)]===_0x541e34[_0x4d7470(0x94)])&&(_0x4623ad['push'](_0x541e34),fs['writeFileSync'](_0x4c71ac,JSON[_0x4d7470(0x99)](_0x4623ad)));}catch(_0x598797){logger[_0x4d7470(0xba)](_0x5bbf18[_0x4d7470(0xca)],_0x598797);}}static[a42_0x2f9e61(0x9c)](){const _0x52f6b5=a42_0x2f9e61,_0x2d5b70={};_0x2d5b70[_0x52f6b5(0xa6)]='_traceZipPaths.json',_0x2d5b70[_0x52f6b5(0x97)]=_0x52f6b5(0xe1);const _0x39d278=_0x2d5b70,_0x4fb302=[];try{const _0x139887=TestDetails[_0x52f6b5(0xbe)]();if(_0x139887&&!fs[_0x52f6b5(0xd7)](_0x139887))return _0x4fb302;const _0x1639b8=fs['readdirSync'](_0x139887);_0x1639b8[_0x52f6b5(0x9a)](_0x1a0ed4=>{const _0x554fc4=_0x52f6b5;if(_0x1a0ed4&&_0x1a0ed4[_0x554fc4(0xab)](_0x39d278[_0x554fc4(0xa6)])){const _0x2d4d8e=JSON[_0x554fc4(0x9e)](fs['readFileSync'](path[_0x554fc4(0x88)](_0x139887,_0x1a0ed4))[_0x554fc4(0xac)]());_0x4fb302[_0x554fc4(0xb7)](..._0x2d4d8e);}});}catch(_0x5057bb){logger[_0x52f6b5(0xba)](util[_0x52f6b5(0x91)](_0x39d278[_0x52f6b5(0x97)],_0x5057bb));}const _0x5ba11a={};return _0x4fb302[_0x52f6b5(0x9a)](_0x51ab8c=>{const _0x50784b=_0x52f6b5;_0x5ba11a[_0x51ab8c[_0x50784b(0x94)]]=_0x51ab8c;}),Object[_0x52f6b5(0x96)](_0x5ba11a);}static[a42_0x2f9e61(0xcd)](_0x2108b3,_0x34d519){const _0x4337b4=a42_0x2f9e61,_0x10b099={};_0x10b099[_0x4337b4(0xdc)]=_0x4337b4(0xde),_0x10b099['atRhr']='utf8';const _0x3bebf1=_0x10b099;try{const _0x44d42e=path[_0x4337b4(0x88)](helper['homedir'](),_0x3bebf1[_0x4337b4(0xdc)]);if(!fs[_0x4337b4(0xd7)](_0x44d42e)){const _0xb3f450={};_0xb3f450['recursive']=!![],fs['mkdirSync'](_0x44d42e,_0xb3f450);}fs['appendFileSync'](path[_0x4337b4(0x88)](_0x44d42e,_0x4337b4(0xcc)+_0x34d519+_0x4337b4(0xcf)),_0x2108b3+'\x0a',_0x3bebf1[_0x4337b4(0xd9)]);}catch(_0x2ada49){console[_0x4337b4(0xba)](_0x4337b4(0xc2)+_0x2ada49[_0x4337b4(0x86)]);}}}module[a42_0x2f9e61(0xa0)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0xb04031=a43_0x57ec;(function(_0x34c865,_0x3c25f3){const _0x964ffe=a43_0x57ec,_0x1db24c=_0x34c865();while(!![]){try{const _0x3250d1=parseInt(_0x964ffe(0x1c9))/0x1*(-parseInt(_0x964ffe(0x1d1))/0x2)+parseInt(_0x964ffe(0x1b1))/0x3+parseInt(_0x964ffe(0x172))/0x4+-parseInt(_0x964ffe(0x1a1))/0x5+-parseInt(_0x964ffe(0x1e6))/0x6*(-parseInt(_0x964ffe(0x17a))/0x7)+parseInt(_0x964ffe(0x191))/0x8+parseInt(_0x964ffe(0x1c7))/0x9;if(_0x3250d1===_0x3c25f3)break;else _0x1db24c['push'](_0x1db24c['shift']());}catch(_0x548bfc){_0x1db24c['push'](_0x1db24c['shift']());}}}(a43_0x40cb,0xebfa9));function a43_0x40cb(){const _0xe95d24=['PtzrD','kgfpo','fKniY','browser','_defaultConnectOptions','Pcwdr','HFiIK','parse','params','GOBDe','NcoBH','AiqVp','url','ATS_WSS_URL_REGEX','project','qypyD','apply','winstonLogger','ydYvW','testInfo','currentSessionDetails','client','browserstack.com','XcnWu','vQMIL','format','unknown_grid','pwPage','_connection','../../helpers/accessibility-automation/scripts','function','VQYum','JGEIi','server','RBJrU','Ogkpl','platformDetails','browser_version','Error\x20in\x20importing\x20crConnection','../../helpers/helper','uKrll','zTbSw','RfoMU','platform_version','7094336nKLTgO','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','bsParams','platform','Error\x20in\x20finding\x20platform\x20details\x20','env','performScan','automate','42574KEAxvN','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','edge','platformVersion','nFhvr','local_grid','ujttx','query','product','debug','util','turboscale','exports','boCPs','connectOptions','giCNj','join','shouldWrapCommand','accessibilityPlatform','aoBdK','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/test-observability/utils','__driver','3412224UCjSls','ouwLe','zfhIu','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','titlePath','bStackParams','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','QVRKD','./accessibility-helper','bstackPerformA11yScan','browserName','cloudProvider','DWAkS','platformName','ercuU','setupBrowserDetails','8895125EWkAoM','getDetails','kNThP','Gteft','browserstack-ats.com','caps','_browserType','test','Efnqs','toString','xPpiL','ToCCq','bsSessionId','iDSnC','nCFgZ','ZmPsT','992829xzgglp','includes','dispatch','YSuSV','use','patch','FOqGU','DROkV','isRemote','Error\x20in\x20importing\x20connection\x20','__workerDetails','../utils/constants','QGEJe','method','sessionError','mvrjv','Device\x20Model\x20is\x20not\x20available','defineProperty','Not\x20able\x20to\x20import\x20crConnection','version','path','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','7684236SYvEus','qaSIi','925119YMuHKc','xbkzb','lib','channel','prototype','model','WNuvL','Connection','2rxVHUv','jeuYj','AUgdv','../../helpers/logger','_name','LFcuX','sessionId','browserstack','mxKKH','DEYIr','sendMessageToServer','OxDTR','MEEWN','chrome','_type','eRyBx','YqdWX','AOxqJ','PqvTY','_onMessage','Failed\x20to\x20perform\x20scan\x20','282abxEpO','capabilities','deviceModel','kpyVg','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','patchCRConnection','CRConnection','patchConnection'];a43_0x40cb=function(){return _0xe95d24;};return a43_0x40cb();}function a43_0x57ec(_0x433950,_0x1ac22e){const _0x40cb05=a43_0x40cb();return a43_0x57ec=function(_0x57ec7f,_0x37dae1){_0x57ec7f=_0x57ec7f-0x16f;let _0x121bf6=_0x40cb05[_0x57ec7f];return _0x121bf6;},a43_0x57ec(_0x433950,_0x1ac22e);}const path=require(a43_0xb04031(0x1c5)),url=require(a43_0xb04031(0x1fa)),util=require(a43_0xb04031(0x184)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0xb04031(0x215)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a43_0xb04031(0x18f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a43_0xb04031(0x1d4))[a43_0xb04031(0x1ff)],scripts=require(a43_0xb04031(0x20b)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a43_0xb04031(0x199)),constants=require(a43_0xb04031(0x1bc)),getBrowserNameFromChannel=_0x4ee454=>{const _0x41d9d5=a43_0xb04031,_0x462d80={};_0x462d80[_0x41d9d5(0x19d)]=_0x41d9d5(0x1de),_0x462d80['nCFgZ']=_0x41d9d5(0x17c),_0x462d80[_0x41d9d5(0x1b4)]='firefox',_0x462d80[_0x41d9d5(0x1dd)]='safari';const _0x374a6e=_0x462d80;if(_0x4ee454['includes'](_0x374a6e[_0x41d9d5(0x19d)]))return _0x374a6e[_0x41d9d5(0x19d)];if(_0x4ee454[_0x41d9d5(0x1b2)](_0x374a6e[_0x41d9d5(0x1af)]))return _0x374a6e[_0x41d9d5(0x1af)];if(_0x4ee454[_0x41d9d5(0x1b2)](_0x374a6e[_0x41d9d5(0x1b4)]))return _0x374a6e[_0x41d9d5(0x1b4)];if(_0x4ee454[_0x41d9d5(0x1b2)](_0x374a6e['MEEWN']))return _0x374a6e[_0x41d9d5(0x1dd)];},getBrowserFromWSEndpoint=_0x482cbe=>{const _0x535abb=a43_0xb04031,_0x97997={'lwupt':_0x535abb(0x1de),'zRUpg':function(_0x291301,_0xdc37e2){return _0x291301(_0xdc37e2);}};try{const _0x3af1e2=url[_0x535abb(0x1f5)](_0x482cbe),_0x11c0db=new URLSearchParams(_0x3af1e2[_0x535abb(0x181)]),_0x46ce4a=Object['fromEntries'](_0x11c0db['entries']()),_0x10827c=JSON[_0x535abb(0x1f5)](_0x46ce4a[_0x535abb(0x1a6)]);if(_0x10827c&&(_0x10827c[_0x535abb(0x1f1)]||_0x10827c[_0x535abb(0x19b)]))return _0x10827c[_0x535abb(0x1f1)]||_0x10827c[_0x535abb(0x19b)];return _0x97997['lwupt'];}catch(_0x3e4756){_0x97997['zRUpg'](debug,_0x535abb(0x1ea)+_0x3e4756[_0x535abb(0x1aa)]());}},getCloudProviderFromWsEndpoint=_0x3b8b6c=>{const _0x118fa8=a43_0xb04031,_0xa1d406={};_0xa1d406['AOxqJ']=_0x118fa8(0x204),_0xa1d406[_0x118fa8(0x206)]=_0x118fa8(0x1a5),_0xa1d406['WYPsw']=_0x118fa8(0x1d8),_0xa1d406[_0x118fa8(0x1bd)]=_0x118fa8(0x208);const _0x1e22b0=_0xa1d406;if(_0x3b8b6c[_0x118fa8(0x1b2)](_0x1e22b0[_0x118fa8(0x1e2)])||_0x3b8b6c[_0x118fa8(0x1b2)](_0x1e22b0[_0x118fa8(0x206)]))return _0x1e22b0['WYPsw'];return _0x1e22b0[_0x118fa8(0x1bd)];},a43_0x1d54c7={};a43_0x1d54c7[a43_0xb04031(0x19c)]=undefined,a43_0x1d54c7['bsSessionId']=undefined,a43_0x1d54c7[a43_0xb04031(0x1f1)]=undefined,a43_0x1d54c7[a43_0xb04031(0x213)]=undefined,a43_0x1d54c7[a43_0xb04031(0x175)]=undefined,a43_0x1d54c7['platform_version']=undefined,a43_0x1d54c7['product']=undefined,a43_0x1d54c7['capabilities']={};class PlaywrightSessionDetails{static [a43_0xb04031(0x202)]=a43_0x1d54c7;constructor(){const _0x1a295c=a43_0xb04031,_0x39b242={};_0x39b242[_0x1a295c(0x216)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x31cbd9=_0x39b242;throw new Error(_0x31cbd9[_0x1a295c(0x216)]);}static ['sessionError']=null;static['setupBrowserDetails'](_0x32f4f4,_0x59694b,_0xa9d33a=null){const _0x18db03=a43_0xb04031,_0x22e920={'EPQHu':function(_0x5e5422,_0x1d429c){return _0x5e5422===_0x1d429c;},'Pcwdr':_0x18db03(0x20c),'fKniY':_0x18db03(0x173),'giCNj':function(_0x4dd1e6,_0x13431f){return _0x4dd1e6===_0x13431f;},'XcnWu':_0x18db03(0x1c1),'IVScj':_0x18db03(0x17f),'PqvTY':function(_0x3aa848,_0x183893,_0x424d97){return _0x3aa848(_0x183893,_0x424d97);},'DROkV':_0x18db03(0x1a7),'NubJo':'_defaultConnectOptions','lRqsv':_0x18db03(0x1fc),'HFiIK':'use','OxDTR':_0x18db03(0x188),'YqdWX':function(_0x2b9bbc,_0x566db4){return _0x2b9bbc(_0x566db4);},'oIKLr':function(_0x360841,_0x348906){return _0x360841===_0x348906;},'CFtZu':'browserstack','iDSnC':_0x18db03(0x185),'NcoBH':_0x18db03(0x179),'LFcuX':function(_0x3898ea,_0x57e0e5){return _0x3898ea(_0x57e0e5);},'boCPs':function(_0x54439a,_0x2737f4){return _0x54439a+_0x2737f4;},'kpyVg':'playwright-','nFhvr':function(_0x1c308c){return _0x1c308c();},'VQYum':_0x18db03(0x1a0)},_0x143217=this;return _0x22e920[_0x18db03(0x1e3)](o11yErrorHandler,async function _0x5acb29(_0xfe098b,_0x45ae2f,_0x5a39d1=null){const _0x1e4f41=_0x18db03;let _0xcc17a6=_0xfe098b[_0x1e4f41(0x1d5)],_0x1c56fc=null;_0xfe098b&&_0x22e920['EPQHu'](typeof _0xfe098b[_0x1e4f41(0x1c4)],_0x22e920[_0x1e4f41(0x1f3)])?_0x1c56fc=_0xfe098b['version']():logger[_0x1e4f41(0x183)](_0x22e920[_0x1e4f41(0x1f0)]);let _0x3b79f2=null;_0xfe098b&&_0x22e920[_0x1e4f41(0x189)](typeof _0xfe098b['model'],_0x22e920[_0x1e4f41(0x1f3)])?_0x3b79f2=_0xfe098b[_0x1e4f41(0x1ce)]():logger['debug'](_0x22e920[_0x1e4f41(0x205)]);let _0x2ee69b=null,_0x3db110=null,_0x5a309e=null,_0x22745e=_0x22e920['IVScj'];if(_0xfe098b[_0x1e4f41(0x20a)][_0x1e4f41(0x1b9)]()||global[_0x1e4f41(0x18c)]){let _0x4a33de=null;_0x22e920[_0x1e4f41(0x1e3)](nestedKeyValue,_0xfe098b,[_0x22e920[_0x1e4f41(0x1b8)],_0x22e920['NubJo']])?_0x4a33de=_0xfe098b[_0x1e4f41(0x1a7)][_0x1e4f41(0x1f2)]:_0x4a33de=_0x22e920[_0x1e4f41(0x1e3)](nestedKeyValue,_0x45ae2f,[_0x22e920['lRqsv'],_0x22e920[_0x1e4f41(0x1f4)],_0x22e920[_0x1e4f41(0x1dc)]]);const _0x2f069c=_0x5a39d1||_0x4a33de&&_0x4a33de['wsEndpoint'];_0x2f069c&&(_0x22745e=_0x22e920['YqdWX'](getCloudProviderFromWsEndpoint,_0x2f069c),_0x22e920['oIKLr'](_0x22745e,_0x22e920['CFtZu'])&&(_0x5a309e=constants[_0x1e4f41(0x1fb)][_0x1e4f41(0x1a8)](_0x2f069c)?_0x22e920[_0x1e4f41(0x1ae)]:_0x22e920[_0x1e4f41(0x1f8)],_0xcc17a6=_0x22e920[_0x1e4f41(0x1d6)](getBrowserFromWSEndpoint,_0x2f069c)||_0xcc17a6,_0x2ee69b=_0x143217[_0x1e4f41(0x202)][_0x1e4f41(0x175)],_0x3db110=_0x143217[_0x1e4f41(0x202)][_0x1e4f41(0x171)]));}else{_0x45ae2f&&_0x45ae2f[_0x1e4f41(0x1fc)][_0x1e4f41(0x1b5)][_0x1e4f41(0x1cc)]?_0xcc17a6=_0x22e920[_0x1e4f41(0x1e1)](getBrowserNameFromChannel,_0x45ae2f[_0x1e4f41(0x1fc)][_0x1e4f41(0x1b5)]['channel']):_0xcc17a6=_0x22e920[_0x1e4f41(0x187)](_0x22e920[_0x1e4f41(0x1e9)],_0xcc17a6['toLowerCase']());const _0x517012=await _0x22e920[_0x1e4f41(0x17e)](getPlatformDetails);_0x2ee69b=_0x517012[_0x1e4f41(0x19e)],_0x3db110=_0x517012[_0x1e4f41(0x17d)];}const _0x1787ac={};_0x1787ac['browser']=_0xcc17a6,_0x1787ac[_0x1e4f41(0x213)]=_0x1c56fc,_0x1787ac[_0x1e4f41(0x1e7)]={},_0x1787ac['platform']=_0x2ee69b,_0x1787ac[_0x1e4f41(0x171)]=_0x3db110,_0x1787ac[_0x1e4f41(0x182)]=_0x5a309e;const _0x20d288=_0x1787ac;_0x3b79f2&&(_0x20d288[_0x1e4f41(0x1e7)][_0x1e4f41(0x1e8)]=_0x3b79f2);const _0x4e4b76={};_0x4e4b76[_0x1e4f41(0x19c)]=_0x22745e,_0x143217[_0x1e4f41(0x202)]=Object['assign']({},_0x143217[_0x1e4f41(0x202)],_0x4e4b76,_0x20d288);},_0x22e920[_0x18db03(0x20d)])(_0x32f4f4,_0x59694b,_0xa9d33a);}static[a43_0xb04031(0x1b6)](){const _0xa51e85=a43_0xb04031;this[_0xa51e85(0x1ed)](),this[_0xa51e85(0x1eb)]();}static[a43_0xb04031(0x1ed)](){const _0x4e4d6c=a43_0xb04031,_0xe495dc={'ercuU':function(_0x366eab,_0x2951d9,_0x196658){return _0x366eab(_0x2951d9,_0x196658);},'ydYvW':'currentTest','lOuWV':_0x4e4d6c(0x201),'Efnqs':_0x4e4d6c(0x195),'aoBdK':'__workerDetails','xbkzb':_0x4e4d6c(0x209),'FOqGU':function(_0x5266d1,_0x12b998){return _0x5266d1===_0x12b998;},'kgfpo':'Page','DEYIr':function(_0x6f5c96,_0x3f9b9c,_0x49c6a5,_0x5e7f4d){return _0x6f5c96(_0x3f9b9c,_0x49c6a5,_0x5e7f4d);},'RfoMU':function(_0x4381d3,_0x47e531){return _0x4381d3(_0x47e531);},'JGEIi':'lib','ToCCq':_0x4e4d6c(0x203),'PtzrD':'connection.js','ihBpy':'Not\x20able\x20to\x20import\x20Connection','ouwLe':function(_0x45731b,_0x375fc4){return _0x45731b!=_0x375fc4;},'jeuYj':function(_0x1ec278){return _0x1ec278();},'RBJrU':_0x4e4d6c(0x1db),'GOBDe':function(_0x4bf8ed,_0x12811a){return _0x4bf8ed(_0x12811a);},'kNThP':'dispatch','MuhNS':function(_0x497089,_0x1ca4da){return _0x497089(_0x1ca4da);}},_0x358061=this;if(!this['Connection'])try{const _0x51d408=path[_0x4e4d6c(0x18a)](_0xe495dc[_0x4e4d6c(0x20e)],_0xe495dc[_0x4e4d6c(0x1ac)],_0xe495dc[_0x4e4d6c(0x1ee)]),_0x22c531=_0xe495dc[_0x4e4d6c(0x170)](importFileFromPWCore,_0x51d408);!_0x22c531?_0xe495dc['RfoMU'](debug,_0xe495dc['ihBpy']):this['Connection']=_0x22c531[_0x4e4d6c(0x1d0)];}catch(_0xdc1de7){_0xe495dc[_0x4e4d6c(0x170)](debug,_0x4e4d6c(0x1ba)+_0xdc1de7['toString']());}const _0x18e314=this[_0x4e4d6c(0x1d0)];try{if(_0xe495dc[_0x4e4d6c(0x192)](_0x18e314,null)){const _0x3df506=_0x18e314['prototype'][_0x4e4d6c(0x1b3)],_0x29c916=_0x18e314['prototype'][_0x4e4d6c(0x1db)];_0xe495dc[_0x4e4d6c(0x1d2)](isAccessibilityAutomationSession)&&Object[_0x4e4d6c(0x1c2)](_0x18e314[_0x4e4d6c(0x1cd)],_0xe495dc[_0x4e4d6c(0x210)],{'get':function(){const _0x1dd9f7=_0x4e4d6c,_0x523869={'eRyBx':function(_0x13a7b3,_0x38acb2,_0x47ac18){const _0x271a72=a43_0x57ec;return _0xe495dc[_0x271a72(0x19f)](_0x13a7b3,_0x38acb2,_0x47ac18);},'Ogkpl':_0xe495dc[_0x1dd9f7(0x200)],'zfhIu':_0xe495dc['lOuWV'],'wSjGs':_0xe495dc[_0x1dd9f7(0x1a9)],'mvrjv':function(_0x539a57,_0x1e2b4b,_0x5308dc){const _0x9e64bf=_0x1dd9f7;return _0xe495dc[_0x9e64bf(0x19f)](_0x539a57,_0x1e2b4b,_0x5308dc);},'QVRKD':_0xe495dc[_0x1dd9f7(0x18d)],'xPpiL':_0xe495dc[_0x1dd9f7(0x1ca)],'zTbSw':function(_0x336b40,_0x41dc0f){const _0x2dc168=_0x1dd9f7;return _0xe495dc[_0x2dc168(0x1b7)](_0x336b40,_0x41dc0f);},'ZmPsT':_0xe495dc[_0x1dd9f7(0x1ef)],'qaSIi':function(_0x37f50a,_0x456ecf,_0x52ee2e,_0x247082){const _0x1d266d=_0x1dd9f7;return _0xe495dc[_0x1d266d(0x1da)](_0x37f50a,_0x456ecf,_0x52ee2e,_0x247082);}};return async function(){const _0x24edf6=_0x1dd9f7;try{if(!global[_0x24edf6(0x19a)]&&global[_0x24edf6(0x18c)]&&_0x523869[_0x24edf6(0x1e0)](nestedKeyValue,global[_0x24edf6(0x1bb)],[_0x523869[_0x24edf6(0x211)],_0x523869[_0x24edf6(0x193)],_0x523869['wSjGs']])&&_0x523869[_0x24edf6(0x1c0)](shouldScanTestForAccessibility,global[_0x24edf6(0x1bb)]['currentTest']['testInfo']['titlePath'],!![])&&scripts[_0x24edf6(0x18b)](arguments[0x1])){logger['debug']('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x24edf6(0x19a)]=!![];const _0x215b41=_0x523869[_0x24edf6(0x1e0)](nestedKeyValue,global,[_0x523869[_0x24edf6(0x198)],_0x523869[_0x24edf6(0x1ab)]]),_0x28a8a8={};_0x28a8a8[_0x24edf6(0x1be)]=arguments[0x1],_0x215b41&&logger[_0x24edf6(0x183)](util[_0x24edf6(0x207)](await AccessibilityHelper['performScan'](_0x215b41,_0x28a8a8)));if(_0x523869[_0x24edf6(0x16f)](arguments[0x0][_0x24edf6(0x1df)],_0x523869[_0x24edf6(0x1b0)])&&global[_0x24edf6(0x190)]){const _0x3171a2={};_0x3171a2[_0x24edf6(0x1be)]=arguments[0x1],await _0x523869[_0x24edf6(0x1c8)](browserStackExecuteDriver,global['__driver'],scripts[_0x24edf6(0x178)],_0x3171a2);}}}catch(_0x4d2176){logger[_0x24edf6(0x183)](_0x24edf6(0x1e5)+util[_0x24edf6(0x207)](_0x4d2176));}return global['bstackPerformA11yScan']=![],_0x29c916[_0x24edf6(0x1fe)](this,arguments);};}}),!_0xe495dc[_0x4e4d6c(0x1f7)](isFalse,process[_0x4e4d6c(0x177)][_0x4e4d6c(0x18e)])&&Object[_0x4e4d6c(0x1c2)](_0x18e314[_0x4e4d6c(0x1cd)],_0xe495dc[_0x4e4d6c(0x1a3)],{'get':function(){const _0x10468f={'BEpfZ':function(_0x11653f,_0x51ec09){const _0xe92bab=a43_0x57ec;return _0xe495dc[_0xe92bab(0x170)](_0x11653f,_0x51ec09);},'COAyt':function(_0x32bcdc,_0x497d4b){const _0x4f42e5=a43_0x57ec;return _0xe495dc[_0x4f42e5(0x170)](_0x32bcdc,_0x497d4b);}};return function _0x2aac61(_0x58e788){const _0x2902d9=a43_0x57ec,_0x1e75bd=_0x58e788&&_0x58e788[_0x2902d9(0x1f6)]&&_0x58e788[_0x2902d9(0x1f6)][_0x2902d9(0x174)];if(_0x1e75bd){const _0x2c9b82=_0x1e75bd['sessionId'],_0x28d44c=_0x1e75bd[_0x2902d9(0x212)];_0x28d44c&&(_0x10468f['BEpfZ'](debug,_0x2902d9(0x194)+_0x28d44c[_0x2902d9(0x1aa)]()),_0x358061[_0x2902d9(0x202)][_0x2902d9(0x175)]=_0x28d44c[_0x2902d9(0x19e)],_0x358061[_0x2902d9(0x202)][_0x2902d9(0x171)]=_0x28d44c[_0x2902d9(0x17d)]),_0x2c9b82&&(_0x10468f['COAyt'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x2c9b82),_0x358061[_0x2902d9(0x202)][_0x2902d9(0x1ad)]=_0x2c9b82);}return _0x3df506['apply'](this,arguments);};}});}}catch(_0x3ac7c7){_0xe495dc['MuhNS'](debug,_0x4e4d6c(0x17b)+_0x3ac7c7),_0x358061[_0x4e4d6c(0x1bf)]=_0x3ac7c7[_0x4e4d6c(0x1aa)]();}}static['patchCRConnection'](){const _0x2c1c7a=a43_0xb04031,_0xd439d8={'mxKKH':function(_0x2afc68,_0x31b318){return _0x2afc68(_0x31b318);},'RRtji':function(_0x2dc38c){return _0x2dc38c();},'ujttx':_0x2c1c7a(0x1cb),'qypyD':_0x2c1c7a(0x20f),'VBMXT':'chromium','NOiZb':'crConnection.js','AUgdv':_0x2c1c7a(0x1c3),'pLPZq':_0x2c1c7a(0x214),'WNuvL':function(_0x1c0dab,_0x2ebfac){return _0x1c0dab!=_0x2ebfac;},'AiqVp':_0x2c1c7a(0x1e4),'GHRNS':function(_0x560206,_0x416583){return _0x560206(_0x416583);}},_0x448a2a=this;if(_0xd439d8['RRtji'](isAccessibilityAutomationSession)){let _0x447c7c=null;try{const _0x2c0061=path['join'](_0xd439d8[_0x2c1c7a(0x180)],_0xd439d8[_0x2c1c7a(0x1fd)],_0xd439d8['VBMXT'],_0xd439d8['NOiZb']),_0x2c04c4=_0xd439d8[_0x2c1c7a(0x1d9)](importFileFromPWCore,_0x2c0061);!_0x2c04c4?_0xd439d8[_0x2c1c7a(0x1d9)](debug,_0xd439d8[_0x2c1c7a(0x1d3)]):_0x447c7c=_0x2c04c4[_0x2c1c7a(0x1ec)];}catch(_0xfbb673){_0xd439d8[_0x2c1c7a(0x1d9)](debug,_0xd439d8['pLPZq']);}try{if(_0xd439d8[_0x2c1c7a(0x1cf)](_0x447c7c,null)){const _0x311470=_0x447c7c[_0x2c1c7a(0x1cd)]['_onMessage'];Object[_0x2c1c7a(0x1c2)](_0x447c7c[_0x2c1c7a(0x1cd)],_0xd439d8[_0x2c1c7a(0x1f9)],{'get':function(){const _0x42d3fc={'Gteft':function(_0x556ced,_0x13bdf7){return _0xd439d8['mxKKH'](_0x556ced,_0x13bdf7);}};return function _0x2a2599(_0x29eee8){const _0x5505db=a43_0x57ec;try{const _0x4f08e4=_0x29eee8[_0x5505db(0x196)];if(_0x4f08e4){delete _0x29eee8[_0x5505db(0x196)];const _0x53354f=_0x4f08e4[_0x5505db(0x1d7)],_0x4632cc=_0x4f08e4['platformDetails'];_0x4632cc&&(_0x42d3fc[_0x5505db(0x1a4)](debug,_0x5505db(0x197)+_0x4632cc[_0x5505db(0x1aa)]()),_0x448a2a[_0x5505db(0x202)][_0x5505db(0x175)]=_0x4632cc[_0x5505db(0x19e)],_0x448a2a[_0x5505db(0x202)][_0x5505db(0x171)]=_0x4632cc[_0x5505db(0x17d)]),_0x53354f&&(_0x42d3fc[_0x5505db(0x1a4)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x53354f),_0x448a2a[_0x5505db(0x202)][_0x5505db(0x1ad)]=_0x53354f);}}catch(_0x40791f){_0x42d3fc['Gteft'](debug,_0x5505db(0x176)+_0x40791f[_0x5505db(0x1aa)]());}return _0x311470[_0x5505db(0x1fe)](this,arguments);};}});}}catch(_0x13a65c){_0xd439d8['GHRNS'](debug,_0x2c1c7a(0x1c6)+_0x13a65c),_0x448a2a[_0x2c1c7a(0x1bf)]=_0x13a65c[_0x2c1c7a(0x1aa)]();}}}static[a43_0xb04031(0x1a2)](){const _0x10a561=a43_0xb04031;return this[_0x10a561(0x202)];}}module[a43_0xb04031(0x186)]=PlaywrightSessionDetails;
|
|
1
|
+
const a43_0x273b47=a43_0x2e67;function a43_0x2e67(_0x5e3fb7,_0x2ddfa1){const _0x4031c8=a43_0x4031();return a43_0x2e67=function(_0x2e6741,_0x542c56){_0x2e6741=_0x2e6741-0x10a;let _0x1356e1=_0x4031c8[_0x2e6741];return _0x1356e1;},a43_0x2e67(_0x5e3fb7,_0x2ddfa1);}(function(_0x2fbcac,_0x1cf04d){const _0x91f069=a43_0x2e67,_0x44bcfb=_0x2fbcac();while(!![]){try{const _0xc43397=-parseInt(_0x91f069(0x11c))/0x1+-parseInt(_0x91f069(0x16a))/0x2*(-parseInt(_0x91f069(0x132))/0x3)+-parseInt(_0x91f069(0x17b))/0x4+parseInt(_0x91f069(0x164))/0x5+-parseInt(_0x91f069(0x174))/0x6*(-parseInt(_0x91f069(0x1ac))/0x7)+-parseInt(_0x91f069(0x167))/0x8*(parseInt(_0x91f069(0x12b))/0x9)+parseInt(_0x91f069(0x195))/0xa*(-parseInt(_0x91f069(0x154))/0xb);if(_0xc43397===_0x1cf04d)break;else _0x44bcfb['push'](_0x44bcfb['shift']());}catch(_0xf309fa){_0x44bcfb['push'](_0x44bcfb['shift']());}}}(a43_0x4031,0xb9ca4));const path=require(a43_0x273b47(0x113)),url=require('url'),util=require(a43_0x273b47(0x137)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x273b47(0x13f)),{o11yErrorHandler}=require(a43_0x273b47(0x1a7)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a43_0x273b47(0x110))['winstonLogger'],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a43_0x273b47(0x138)),AccessibilityHelper=require(a43_0x273b47(0x18e)),constants=require(a43_0x273b47(0x194)),getBrowserNameFromChannel=_0x4c0bfc=>{const _0x8d2e50=a43_0x273b47,_0x3d2f9b={};_0x3d2f9b[_0x8d2e50(0x11e)]=_0x8d2e50(0x18d),_0x3d2f9b[_0x8d2e50(0x1a9)]=_0x8d2e50(0x131),_0x3d2f9b['CkunT']='firefox',_0x3d2f9b['yryji']=_0x8d2e50(0x121);const _0x470b8e=_0x3d2f9b;if(_0x4c0bfc['includes'](_0x470b8e[_0x8d2e50(0x11e)]))return _0x470b8e[_0x8d2e50(0x11e)];if(_0x4c0bfc[_0x8d2e50(0x189)](_0x470b8e['PcMPO']))return _0x470b8e['PcMPO'];if(_0x4c0bfc[_0x8d2e50(0x189)](_0x470b8e[_0x8d2e50(0x146)]))return _0x470b8e[_0x8d2e50(0x146)];if(_0x4c0bfc[_0x8d2e50(0x189)](_0x470b8e[_0x8d2e50(0x161)]))return _0x470b8e[_0x8d2e50(0x161)];},getBrowserFromWSEndpoint=_0xbdb1c3=>{const _0x502f00=a43_0x273b47,_0x28c0ed={'ACnqC':_0x502f00(0x18d),'XbeuY':function(_0x41fd14,_0x52553b){return _0x41fd14(_0x52553b);}};try{const _0x33c3d6=url[_0x502f00(0x10a)](_0xbdb1c3),_0x38c85e=new URLSearchParams(_0x33c3d6[_0x502f00(0x185)]),_0x19acac=Object[_0x502f00(0x172)](_0x38c85e[_0x502f00(0x170)]()),_0x366e55=JSON['parse'](_0x19acac[_0x502f00(0x16b)]);if(_0x366e55&&(_0x366e55[_0x502f00(0x143)]||_0x366e55[_0x502f00(0x168)]))return _0x366e55['browser']||_0x366e55[_0x502f00(0x168)];return _0x28c0ed['ACnqC'];}catch(_0x49b340){_0x28c0ed[_0x502f00(0x12e)](debug,_0x502f00(0x13b)+_0x49b340['toString']());}},getCloudProviderFromWsEndpoint=_0x27b340=>{const _0x194ddf=a43_0x273b47,_0x3665bb={};_0x3665bb[_0x194ddf(0x190)]=_0x194ddf(0x15b),_0x3665bb[_0x194ddf(0x16f)]=_0x194ddf(0x136),_0x3665bb[_0x194ddf(0x14e)]=_0x194ddf(0x17c),_0x3665bb[_0x194ddf(0x151)]=_0x194ddf(0x16c);const _0x5cf643=_0x3665bb;if(_0x27b340[_0x194ddf(0x189)](_0x5cf643[_0x194ddf(0x190)])||_0x27b340[_0x194ddf(0x189)](_0x5cf643[_0x194ddf(0x16f)]))return _0x5cf643['zbLuU'];return _0x5cf643[_0x194ddf(0x151)];},a43_0xe34b74={};a43_0xe34b74[a43_0x273b47(0x173)]=undefined,a43_0xe34b74[a43_0x273b47(0x191)]=undefined,a43_0xe34b74['browser']=undefined,a43_0xe34b74[a43_0x273b47(0x1ae)]=undefined,a43_0xe34b74[a43_0x273b47(0x133)]=undefined,a43_0xe34b74[a43_0x273b47(0x156)]=undefined,a43_0xe34b74['product']=undefined,a43_0xe34b74[a43_0x273b47(0x17e)]={};class PlaywrightSessionDetails{static [a43_0x273b47(0x169)]=a43_0xe34b74;constructor(){const _0x47027c=a43_0x273b47,_0x29e4d0={};_0x29e4d0[_0x47027c(0x18b)]=_0x47027c(0x152);const _0x43b94b=_0x29e4d0;throw new Error(_0x43b94b[_0x47027c(0x18b)]);}static ['sessionError']=null;static[a43_0x273b47(0x120)](_0x17bb81,_0x3dd758,_0x2b4c8e=null){const _0x2a69be=a43_0x273b47,_0x4a687c={'XpDgN':function(_0x1b832f,_0xe1117f){return _0x1b832f===_0xe1117f;},'PgdMW':_0x2a69be(0x183),'JfnQI':_0x2a69be(0x17f),'sqMfe':_0x2a69be(0x175),'sNWDt':_0x2a69be(0x1a0),'anVbQ':function(_0x335edc,_0x12a5a0,_0x389a10){return _0x335edc(_0x12a5a0,_0x389a10);},'FWsTc':'_browserType','zFviW':_0x2a69be(0x157),'TSbBv':function(_0x3063b8,_0x176917,_0x172fdb){return _0x3063b8(_0x176917,_0x172fdb);},'kVKUu':_0x2a69be(0x159),'ketVf':_0x2a69be(0x162),'bnEqS':_0x2a69be(0x148),'irvsG':function(_0x10ae1a,_0x4dc862){return _0x10ae1a(_0x4dc862);},'CEJPl':_0x2a69be(0x17c),'relFA':_0x2a69be(0x14f),'HLTAH':_0x2a69be(0x123),'nXDXy':function(_0x3a13c6,_0x49f93c){return _0x3a13c6(_0x49f93c);},'xUhTV':function(_0x31e7d7,_0x32a7ff){return _0x31e7d7(_0x32a7ff);},'AsLJp':function(_0x1edc66,_0x1ded77){return _0x1edc66+_0x1ded77;},'yPSWV':'playwright-','tAacl':function(_0xb40e4b){return _0xb40e4b();},'TeFBb':'setupBrowserDetails'},_0x310dc9=this;return _0x4a687c[_0x2a69be(0x153)](o11yErrorHandler,async function _0xb6f63e(_0x3e6958,_0x22bf67,_0x91d040=null){const _0x40166a=_0x2a69be;let _0x57cfdb=_0x3e6958[_0x40166a(0x124)],_0x11c561=null;_0x3e6958&&_0x4a687c['XpDgN'](typeof _0x3e6958[_0x40166a(0x126)],_0x4a687c['PgdMW'])?_0x11c561=_0x3e6958['version']():logger[_0x40166a(0x145)](_0x4a687c[_0x40166a(0x119)]);let _0x188075=null;_0x3e6958&&_0x4a687c[_0x40166a(0x149)](typeof _0x3e6958[_0x40166a(0x176)],_0x4a687c[_0x40166a(0x11b)])?_0x188075=_0x3e6958[_0x40166a(0x176)]():logger[_0x40166a(0x145)](_0x4a687c[_0x40166a(0x187)]);let _0xb34cb7=null,_0x57c609=null,_0xe26225=null,_0x2611cc=_0x4a687c[_0x40166a(0x141)];if(_0x3e6958[_0x40166a(0x116)][_0x40166a(0x1a8)]()||global[_0x40166a(0x1ad)]){let _0x14247d=null;_0x4a687c[_0x40166a(0x153)](nestedKeyValue,_0x3e6958,[_0x4a687c[_0x40166a(0x15e)],_0x4a687c[_0x40166a(0x118)]])?_0x14247d=_0x3e6958[_0x40166a(0x19c)][_0x40166a(0x157)]:_0x14247d=_0x4a687c[_0x40166a(0x178)](nestedKeyValue,_0x22bf67,[_0x4a687c[_0x40166a(0x18f)],_0x4a687c[_0x40166a(0x114)],_0x4a687c[_0x40166a(0x180)]]);const _0x385882=_0x91d040||_0x14247d&&_0x14247d[_0x40166a(0x11d)];_0x385882&&(_0x2611cc=_0x4a687c[_0x40166a(0x19d)](getCloudProviderFromWsEndpoint,_0x385882),_0x4a687c[_0x40166a(0x149)](_0x2611cc,_0x4a687c[_0x40166a(0x117)])&&(_0xe26225=constants[_0x40166a(0x163)]['test'](_0x385882)?_0x4a687c[_0x40166a(0x1b0)]:_0x4a687c[_0x40166a(0x1b1)],_0x57cfdb=_0x4a687c['nXDXy'](getBrowserFromWSEndpoint,_0x385882)||_0x57cfdb,_0xb34cb7=_0x310dc9['currentSessionDetails'][_0x40166a(0x133)],_0x57c609=_0x310dc9[_0x40166a(0x169)][_0x40166a(0x156)]));}else{_0x22bf67&&_0x22bf67[_0x40166a(0x159)]['use'][_0x40166a(0x196)]?_0x57cfdb=_0x4a687c[_0x40166a(0x199)](getBrowserNameFromChannel,_0x22bf67[_0x40166a(0x159)][_0x40166a(0x162)][_0x40166a(0x196)]):_0x57cfdb=_0x4a687c[_0x40166a(0x14c)](_0x4a687c['yPSWV'],_0x57cfdb[_0x40166a(0x18a)]());const _0x43ab6f=await _0x4a687c[_0x40166a(0x144)](getPlatformDetails);_0xb34cb7=_0x43ab6f['platformName'],_0x57c609=_0x43ab6f['platformVersion'];}const _0x460eae={};_0x460eae[_0x40166a(0x143)]=_0x57cfdb,_0x460eae[_0x40166a(0x1ae)]=_0x11c561,_0x460eae['capabilities']={},_0x460eae['platform']=_0xb34cb7,_0x460eae[_0x40166a(0x156)]=_0x57c609,_0x460eae['product']=_0xe26225;const _0x1166ce=_0x460eae;_0x188075&&(_0x1166ce[_0x40166a(0x17e)][_0x40166a(0x166)]=_0x188075);const _0x21212f={};_0x21212f[_0x40166a(0x173)]=_0x2611cc,_0x310dc9[_0x40166a(0x169)]=Object['assign']({},_0x310dc9[_0x40166a(0x169)],_0x21212f,_0x1166ce);},_0x4a687c[_0x2a69be(0x115)])(_0x17bb81,_0x3dd758,_0x2b4c8e);}static[a43_0x273b47(0x19a)](){const _0x3c81d6=a43_0x273b47;this[_0x3c81d6(0x140)](),this[_0x3c81d6(0x15f)]();}static[a43_0x273b47(0x140)](){const _0x459b94=a43_0x273b47,_0x47d931={'Rwbgh':function(_0x4820c2,_0x9657a0,_0x4f119a){return _0x4820c2(_0x9657a0,_0x4f119a);},'BiOio':_0x459b94(0x160),'hfevp':'testInfo','FmMcb':_0x459b94(0x182),'LpZKZ':function(_0x51fd99,_0x4c9a33,_0x12a671){return _0x51fd99(_0x4c9a33,_0x12a671);},'RtbBJ':_0x459b94(0x112),'dMOCW':'pwPage','yoGwf':function(_0x544171,_0x260056){return _0x544171===_0x260056;},'AJMqW':_0x459b94(0x15c),'OlwrW':function(_0x13b8a8,_0x3f7161,_0x254a88,_0x2e9245){return _0x13b8a8(_0x3f7161,_0x254a88,_0x2e9245);},'AQCrf':function(_0x5a5360,_0x44390f){return _0x5a5360(_0x44390f);},'zQrxv':function(_0x494b60,_0x5b7bbc){return _0x494b60(_0x5b7bbc);},'jqxep':_0x459b94(0x10e),'FUZiC':_0x459b94(0x14b),'nsbaO':'connection.js','FkXap':function(_0x2426e2,_0x362641){return _0x2426e2(_0x362641);},'MvngX':_0x459b94(0x142),'uaOBu':function(_0x2ee350,_0x466dd1){return _0x2ee350!=_0x466dd1;},'muZko':function(_0x1aab5c){return _0x1aab5c();},'kPJRS':_0x459b94(0x147),'amUbP':function(_0x2c1fa2,_0x33ff21){return _0x2c1fa2(_0x33ff21);},'qyydL':_0x459b94(0x111),'WhLMO':function(_0xc58039,_0x4c35ef){return _0xc58039(_0x4c35ef);}},_0xe64f7=this;if(!this['Connection'])try{const _0x20af0a=path[_0x459b94(0x10b)](_0x47d931[_0x459b94(0x11a)],_0x47d931['FUZiC'],_0x47d931[_0x459b94(0x1a3)]),_0x282bc4=_0x47d931[_0x459b94(0x135)](importFileFromPWCore,_0x20af0a);!_0x282bc4?_0x47d931[_0x459b94(0x135)](debug,_0x47d931['MvngX']):this['Connection']=_0x282bc4['Connection'];}catch(_0x2e9ad3){_0x47d931[_0x459b94(0x19b)](debug,_0x459b94(0x188)+_0x2e9ad3[_0x459b94(0x14d)]());}const _0x5bf768=this[_0x459b94(0x128)];try{if(_0x47d931[_0x459b94(0x129)](_0x5bf768,null)){const _0x42a444=_0x5bf768[_0x459b94(0x158)]['dispatch'],_0xc98541=_0x5bf768[_0x459b94(0x158)]['sendMessageToServer'];_0x47d931[_0x459b94(0x1a1)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x5bf768[_0x459b94(0x158)],_0x47d931[_0x459b94(0x12a)],{'get':function(){return async function(){const _0x26d281=a43_0x2e67;try{if(!global[_0x26d281(0x197)]&&global[_0x26d281(0x1ad)]&&_0x47d931[_0x26d281(0x150)](nestedKeyValue,global[_0x26d281(0x112)],[_0x47d931['BiOio'],_0x47d931[_0x26d281(0x17d)],_0x47d931[_0x26d281(0x1a4)]])&&_0x47d931[_0x26d281(0x15a)](shouldScanTestForAccessibility,global[_0x26d281(0x112)][_0x26d281(0x160)]['testInfo']['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x26d281(0x145)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x55ddc1=_0x47d931[_0x26d281(0x150)](nestedKeyValue,global,[_0x47d931[_0x26d281(0x198)],_0x47d931[_0x26d281(0x16d)]]),_0x2bbbe2={};_0x2bbbe2['method']=arguments[0x1],_0x55ddc1&&logger['debug'](util['format'](await AccessibilityHelper['performScan'](_0x55ddc1,_0x2bbbe2)));if(_0x47d931[_0x26d281(0x186)](arguments[0x0][_0x26d281(0x193)],_0x47d931['AJMqW'])&&global[_0x26d281(0x16e)]){const _0x322a8e={};_0x322a8e[_0x26d281(0x1aa)]=arguments[0x1],await _0x47d931['OlwrW'](browserStackExecuteDriver,global[_0x26d281(0x16e)],scripts[_0x26d281(0x139)],_0x322a8e);}}}catch(_0x58226e){logger[_0x26d281(0x145)](_0x26d281(0x192)+util[_0x26d281(0x165)](_0x58226e));}return global[_0x26d281(0x197)]=![],_0xc98541['apply'](this,arguments);};}}),!_0x47d931[_0x459b94(0x171)](isFalse,process[_0x459b94(0x10c)][_0x459b94(0x19f)])&&Object[_0x459b94(0x179)](_0x5bf768[_0x459b94(0x158)],_0x47d931[_0x459b94(0x15d)],{'get':function(){return function _0xda9d71(_0x112460){const _0x260a39=a43_0x2e67,_0x49812a=_0x112460&&_0x112460['params']&&_0x112460[_0x260a39(0x12f)][_0x260a39(0x127)];if(_0x49812a){const _0x4423c0=_0x49812a[_0x260a39(0x1b5)],_0x495320=_0x49812a[_0x260a39(0x12c)];_0x495320&&(_0x47d931[_0x260a39(0x1b2)](debug,_0x260a39(0x13c)+_0x495320[_0x260a39(0x14d)]()),_0xe64f7[_0x260a39(0x169)][_0x260a39(0x133)]=_0x495320[_0x260a39(0x14a)],_0xe64f7['currentSessionDetails'][_0x260a39(0x156)]=_0x495320['platformVersion']),_0x4423c0&&(_0x47d931[_0x260a39(0x19b)](debug,_0x260a39(0x13a)+_0x4423c0),_0xe64f7[_0x260a39(0x169)][_0x260a39(0x191)]=_0x4423c0);}return _0x42a444[_0x260a39(0x1a5)](this,arguments);};}});}}catch(_0x28ac53){_0x47d931[_0x459b94(0x1b4)](debug,_0x459b94(0x13e)+_0x28ac53),_0xe64f7[_0x459b94(0x1b3)]=_0x28ac53[_0x459b94(0x14d)]();}}static[a43_0x273b47(0x15f)](){const _0x3be22e=a43_0x273b47,_0x44b065={'MLPbZ':function(_0x4f50f5,_0x59cdcd){return _0x4f50f5(_0x59cdcd);},'BAQwh':function(_0x129fb2,_0x247dfa){return _0x129fb2(_0x247dfa);},'tYFrh':function(_0x4e1607){return _0x4e1607();},'ZPwti':_0x3be22e(0x10e),'DOARh':_0x3be22e(0x181),'JlGoc':_0x3be22e(0x10f),'CLnnf':_0x3be22e(0x1b6),'JkVID':_0x3be22e(0x13d),'vujjN':function(_0x5ee198,_0x54676e){return _0x5ee198(_0x54676e);},'XvXZN':_0x3be22e(0x130),'PeVdI':function(_0x2d0d30,_0x356d5b){return _0x2d0d30!=_0x356d5b;},'Dszgk':_0x3be22e(0x177)},_0x564e1d=this;if(_0x44b065['tYFrh'](isAccessibilityAutomationSession)){let _0x4e6f05=null;try{const _0x7123bd=path[_0x3be22e(0x10b)](_0x44b065[_0x3be22e(0x125)],_0x44b065[_0x3be22e(0x1af)],_0x44b065['JlGoc'],_0x44b065[_0x3be22e(0x184)]),_0x31e884=_0x44b065['MLPbZ'](importFileFromPWCore,_0x7123bd);!_0x31e884?_0x44b065[_0x3be22e(0x1ab)](debug,_0x44b065[_0x3be22e(0x122)]):_0x4e6f05=_0x31e884[_0x3be22e(0x10d)];}catch(_0x130ae3){_0x44b065[_0x3be22e(0x1a2)](debug,_0x44b065['XvXZN']);}try{if(_0x44b065[_0x3be22e(0x155)](_0x4e6f05,null)){const _0x281688=_0x4e6f05[_0x3be22e(0x158)][_0x3be22e(0x177)];Object[_0x3be22e(0x179)](_0x4e6f05[_0x3be22e(0x158)],_0x44b065['Dszgk'],{'get':function(){return function _0x796afd(_0x13a625){const _0x2804f8=a43_0x2e67;try{const _0x408ad1=_0x13a625[_0x2804f8(0x19e)];if(_0x408ad1){delete _0x13a625[_0x2804f8(0x19e)];const _0x478ca2=_0x408ad1[_0x2804f8(0x1b5)],_0x59a084=_0x408ad1['platformDetails'];_0x59a084&&(_0x44b065[_0x2804f8(0x134)](debug,_0x2804f8(0x17a)+_0x59a084[_0x2804f8(0x14d)]()),_0x564e1d['currentSessionDetails'][_0x2804f8(0x133)]=_0x59a084[_0x2804f8(0x14a)],_0x564e1d[_0x2804f8(0x169)][_0x2804f8(0x156)]=_0x59a084[_0x2804f8(0x11f)]),_0x478ca2&&(_0x44b065[_0x2804f8(0x134)](debug,_0x2804f8(0x18c)+_0x478ca2),_0x564e1d[_0x2804f8(0x169)]['bsSessionId']=_0x478ca2);}}catch(_0x5d65e2){_0x44b065[_0x2804f8(0x1ab)](debug,_0x2804f8(0x1a6)+_0x5d65e2[_0x2804f8(0x14d)]());}return _0x281688[_0x2804f8(0x1a5)](this,arguments);};}});}}catch(_0x1141c7){_0x44b065['vujjN'](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x1141c7),_0x564e1d[_0x3be22e(0x1b3)]=_0x1141c7[_0x3be22e(0x14d)]();}}}static['getDetails'](){const _0x45b067=a43_0x273b47;return this[_0x45b067(0x169)];}}function a43_0x4031(){const _0x5a0da8=['uaOBu','kPJRS','477FFGyhQ','platformDetails','exports','XbeuY','params','Error\x20in\x20importing\x20crConnection','edge','285912TJRdkD','platform','MLPbZ','FkXap','browserstack-ats.com','util','../../bin/playwright/accessibility-helper','performScan','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','Not\x20able\x20to\x20import\x20crConnection','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','../../helpers/helper','patchConnection','sNWDt','Not\x20able\x20to\x20import\x20Connection','browser','tAacl','debug','CkunT','sendMessageToServer','connectOptions','XpDgN','platformName','client','AsLJp','toString','zbLuU','turboscale','Rwbgh','QWtFx','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','anVbQ','121rdDbLA','PeVdI','platform_version','_defaultConnectOptions','prototype','project','LpZKZ','browserstack.com','Page','qyydL','FWsTc','patchCRConnection','currentTest','yryji','use','ATS_WSS_URL_REGEX','6034935ZzcsMy','format','deviceModel','10968bqUhuu','browserName','currentSessionDetails','30oglqgQ','caps','unknown_grid','dMOCW','__driver','NWMrU','entries','amUbP','fromEntries','cloudProvider','822skeqWt','Device\x20Model\x20is\x20not\x20available','model','_onMessage','TSbBv','defineProperty','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','1669496zCauuh','browserstack','hfevp','capabilities','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','bnEqS','server','titlePath','function','CLnnf','query','yoGwf','sqMfe','Error\x20in\x20importing\x20connection\x20','includes','toLowerCase','zgHUT','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','chrome','./accessibility-helper','kVKUu','CTWOp','bsSessionId','Failed\x20to\x20perform\x20scan\x20','_type','../utils/constants','784120Lljdjr','channel','bstackPerformA11yScan','RtbBJ','xUhTV','patch','zQrxv','_browserType','irvsG','bStackParams','BROWSERSTACK_TEST_OBSERVABILITY','local_grid','muZko','vujjN','nsbaO','FmMcb','apply','Error\x20in\x20finding\x20platform\x20details\x20','../../helpers/test-observability/error-handler','isRemote','PcMPO','method','BAQwh','48069KgpsYe','accessibilityPlatform','browser_version','DOARh','relFA','HLTAH','AQCrf','sessionError','WhLMO','sessionId','crConnection.js','parse','join','env','CRConnection','lib','chromium','../../helpers/logger','dispatch','__workerDetails','path','ketVf','TeFBb','_connection','CEJPl','zFviW','JfnQI','jqxep','PgdMW','1463761EWwnsb','wsEndpoint','XPuDi','platformVersion','setupBrowserDetails','safari','JkVID','automate','_name','ZPwti','version','bsParams','Connection'];a43_0x4031=function(){return _0x5a0da8;};return a43_0x4031();}module[a43_0x273b47(0x12d)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a44_0x2ae1ed=a44_0x486b;(function(_0x57c096,_0x5365b3){const _0x138fa4=a44_0x486b,_0x15298f=_0x57c096();while(!![]){try{const _0x420ce2=parseInt(_0x138fa4(0x189))/0x1*(parseInt(_0x138fa4(0x1df))/0x2)+-parseInt(_0x138fa4(0x1a3))/0x3+-parseInt(_0x138fa4(0x16c))/0x4*(parseInt(_0x138fa4(0x183))/0x5)+-parseInt(_0x138fa4(0x1ab))/0x6*(parseInt(_0x138fa4(0x174))/0x7)+parseInt(_0x138fa4(0x18f))/0x8+-parseInt(_0x138fa4(0x195))/0x9*(parseInt(_0x138fa4(0x1e3))/0xa)+parseInt(_0x138fa4(0x1c9))/0xb*(parseInt(_0x138fa4(0x1cd))/0xc);if(_0x420ce2===_0x5365b3)break;else _0x15298f['push'](_0x15298f['shift']());}catch(_0x1e011e){_0x15298f['push'](_0x15298f['shift']());}}}(a44_0x3bc4,0x1dee3));function a44_0x486b(_0x496ef3,_0x2bee53){const _0x3bc443=a44_0x3bc4();return a44_0x486b=function(_0x486b34,_0x5e75ae){_0x486b34=_0x486b34-0x16a;let _0x44a76e=_0x3bc443[_0x486b34];return _0x44a76e;},a44_0x486b(_0x496ef3,_0x2bee53);}const fs=require('fs'),path=require(a44_0x2ae1ed(0x1c8)),util=require(a44_0x2ae1ed(0x1b4)),{requireModule}=require(a44_0x2ae1ed(0x171)),PerformanceTester=require(a44_0x2ae1ed(0x199)),PerformanceEvents=require('../helpers/performance/constants')[a44_0x2ae1ed(0x1b9)],helper=require(a44_0x2ae1ed(0x171)),utilities=require(a44_0x2ae1ed(0x1b2)),runIntegrations=require(a44_0x2ae1ed(0x184)),yargs=require(a44_0x2ae1ed(0x19d)),Constants=require('./utils/constants'),logger=require('../helpers/logger')[a44_0x2ae1ed(0x180)],origArgs=Object[a44_0x2ae1ed(0x1da)]([],process[a44_0x2ae1ed(0x1bd)]),captureError=async(_0x1b50c6,_0x2b8956,_0x177ac1=null)=>{const _0xbe2af3=a44_0x2ae1ed,_0xed2cf={'gkYky':function(_0xdbfc9c,_0x113051,_0x2f2656){return _0xdbfc9c(_0x113051,_0x2f2656);},'TGcNS':'SDKTestSuccessful'};try{logger[_0xbe2af3(0x16f)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0xbe2af3(0x192)]('\x20')),await _0xed2cf[_0xbe2af3(0x175)](_0x1b50c6,_0x2b8956,_0x177ac1);}catch(_0x3e1f44){process[_0xbe2af3(0x17a)]=0x1,logger[_0xbe2af3(0x1b8)](util['format'](_0x3e1f44));const _0x3ff984={};_0x3ff984['globalException']=_0x3e1f44[_0xbe2af3(0x1d4)];const _0x19fd9c=_0x3ff984;PerformanceTester[_0xbe2af3(0x1a2)](PerformanceEvents[_0xbe2af3(0x1af)],![],util[_0xbe2af3(0x1d0)](_0x3e1f44));if(helper[_0xbe2af3(0x187)](global['config'])&&helper['isUndefined'](global['framework']))return;try{utilities[_0xbe2af3(0x186)](_0xed2cf['TGcNS'],_0x19fd9c,global[_0xbe2af3(0x1db)],global[_0xbe2af3(0x19a)]);}catch(_0x572f70){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x572f70[_0xbe2af3(0x1d7)]);}PerformanceTester[_0xbe2af3(0x1a2)](PerformanceEvents[_0xbe2af3(0x1af)],![],util[_0xbe2af3(0x1d0)](_0x3e1f44));}finally{PerformanceTester[_0xbe2af3(0x1a9)](PerformanceEvents[_0xbe2af3(0x1dc)]);}};try{const browserstackFolderPath=path[a44_0x2ae1ed(0x192)](helper[a44_0x2ae1ed(0x1ba)](),a44_0x2ae1ed(0x1e1));if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a44_0x2ae1ed(0x192)](browserstackFolderPath,a44_0x2ae1ed(0x197));fs[a44_0x2ae1ed(0x1a6)](filePath)&&fs['unlinkSync'](filePath);}}catch(a44_0x460970){logger[a44_0x2ae1ed(0x1aa)](a44_0x2ae1ed(0x16e)+a44_0x460970['message']);}process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x1ca)](a44_0x2ae1ed(0x188))&&(!process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x1ca)](a44_0x2ae1ed(0x1c5))&&process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x190)](a44_0x2ae1ed(0x1a4)),!process[a44_0x2ae1ed(0x1bd)][a44_0x2ae1ed(0x1dd)](_0x41a9c0=>_0x41a9c0[a44_0x2ae1ed(0x1ca)]('--config'))&&process[a44_0x2ae1ed(0x1bd)]['push'](a44_0x2ae1ed(0x1e6)),!process['argv'][a44_0x2ae1ed(0x1ca)](a44_0x2ae1ed(0x1a7))&&process['argv'][a44_0x2ae1ed(0x190)](a44_0x2ae1ed(0x178)),helper[a44_0x2ae1ed(0x1e7)](process[a44_0x2ae1ed(0x1bd)],a44_0x2ae1ed(0x1d1),a44_0x2ae1ed(0x19c)));PerformanceTester[a44_0x2ae1ed(0x1b1)](),PerformanceTester[a44_0x2ae1ed(0x1a9)](PerformanceEvents[a44_0x2ae1ed(0x1af)]);const a44_0x57c245={};function a44_0x3bc4(){const _0x999920=['QWRQf','.browserstack','../../ats/src/index','210lJnxwz','cucumber-js','setBrowserStackAutomationDisable','--no-config','findAndReplace','xxYFU','CTqdR','12GRIKsl','usage','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','info','./playwright/command','../helpers/helper','VANILLA','ats','105inqAdt','gkYky','version','ZJCtH','--no-package','WxFjb','exitCode','command','jXmTm','slice','demandCommand','eWPpR','winstonLogger','xmWri','SNSDd','348295huZElF','./integrations/command','mocha/lib/cli/run.js','fireFunnelTestEvent','isUndefined','mocha','6yNTJiL','integrations','lvouB','handler','./vanilla-js/command','SZCBj','73496TMOIcf','push','help','join','oZjXK','run','8406vXiVVk','CODECEPTJS','.local-not-set.json','describe','../helpers/performance/performance-tester','framework','PLAYWRIGHT','--mochaRequire','yargs','alias','./cucumber-js/command','INFO','./mocha/command','end','325320nXkkAA','--no-opts','parserConfiguration','existsSync','--package','./jest/command','start','debug','51396CEGKPC','XLHbe','mocha/lib/cli/cli.js','KzMci','SDK_SETUP','lsRkU','startMonitoring','../helpers/utilities','HST','util','DBeyW','rLyFF','showHelpOnFail','error','EVENTS','homedir','rnVZz','CUCUMBER','argv','mocha/lib/cli/commands.js','cidCo','playwright','NIGHTWATCH','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','IaygV','GaoVS','--opts','VERSION','node','path','488345XbjBIU','includes','jest','codeceptjs','156oFHJca','setTestObservabilityDisable','JEST','format','--require','ruCfW','vkoYr','message','DyAnN','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','stack','INTEGRATIONS','qxbCS','assign','config','SDK_CLEANUP','find','dot-notation','598WgXKvu'];a44_0x3bc4=function(){return _0x999920;};return a44_0x3bc4();}a44_0x57c245[a44_0x2ae1ed(0x1de)]=![];const argv=yargs[a44_0x2ae1ed(0x1a5)](a44_0x57c245)[a44_0x2ae1ed(0x16d)]('usage:\x20$0\x20<command>\x20[args]')[a44_0x2ae1ed(0x19e)]('v',a44_0x2ae1ed(0x176))[a44_0x2ae1ed(0x198)]('v')[a44_0x2ae1ed(0x19e)]('h',a44_0x2ae1ed(0x191))['help'](a44_0x2ae1ed(0x191))[a44_0x2ae1ed(0x1b7)](!![],Constants[a44_0x2ae1ed(0x1c6)]['HELP'])[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1cb),Constants[a44_0x2ae1ed(0x1cf)][a44_0x2ae1ed(0x1a0)],function(_0x25f19d){const _0x1f05f5=a44_0x2ae1ed,_0x196272={'PuUnJ':function(_0x1c2c9e,_0x4c254b,_0xb630f6,_0x2b1ef2){return _0x1c2c9e(_0x4c254b,_0xb630f6,_0x2b1ef2);},'rLyFF':function(_0x1d3f26,_0x35698f){return _0x1d3f26(_0x35698f);},'cidCo':_0x1f05f5(0x1a8)};helper[_0x1f05f5(0x1ce)](),helper[_0x1f05f5(0x1e5)]();const _0x26390f=process['argv'][_0x1f05f5(0x17d)](0x2);return _0x196272['PuUnJ'](captureError,_0x196272[_0x1f05f5(0x1b6)](require,_0x196272[_0x1f05f5(0x1bf)]),_0x25f19d[_0x1f05f5(0x1bd)],_0x26390f);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x188),Constants['MOCHA']['INFO'],_0x4badab=>{const _0x3eb46e=a44_0x2ae1ed,_0x42af54={'ZJCtH':function(_0x593c99,_0xedb2ab,_0x3aae4d){return _0x593c99(_0xedb2ab,_0x3aae4d);},'xxYFU':function(_0x38b73d,_0x4afc13){return _0x38b73d(_0x4afc13);},'vQpGs':_0x3eb46e(0x1a1),'IaygV':'Parsing\x20command\x20line\x20arguements','lsRkU':_0x3eb46e(0x185),'SNSDd':_0x3eb46e(0x188),'DyAnN':function(_0x29c43e,_0x3a47d5,_0x5d17a4){return _0x29c43e(_0x3a47d5,_0x5d17a4);},'PMAXd':_0x3eb46e(0x1be),'lvouB':function(_0x26ccf1,_0x59f3df,_0x2d0458){return _0x26ccf1(_0x59f3df,_0x2d0458);},'GaoVS':_0x3eb46e(0x1ad),'qPzqM':function(_0x11b998){return _0x11b998();}};logger[_0x3eb46e(0x1aa)](_0x42af54[_0x3eb46e(0x1c3)]);const _0x3617bd=_0x42af54[_0x3eb46e(0x177)](requireModule,_0x42af54[_0x3eb46e(0x1b0)],_0x42af54[_0x3eb46e(0x182)]),_0x613b94=_0x42af54[_0x3eb46e(0x1d5)](requireModule,_0x42af54['PMAXd'],_0x42af54[_0x3eb46e(0x182)]);process[_0x3eb46e(0x1bd)]=process[_0x3eb46e(0x1bd)]['slice'](0x1),delete _0x3617bd[_0x3eb46e(0x18c)],_0x3617bd[_0x3eb46e(0x18c)]=function(_0x2551e0){const _0x5ef7da=_0x3eb46e;return _0x42af54[_0x5ef7da(0x177)](captureError,_0x42af54[_0x5ef7da(0x16a)](require,_0x42af54['vQpGs']),_0x2551e0);},_0x613b94[_0x3eb46e(0x194)]=_0x3617bd;const {main:_0x46ee6d}=_0x42af54[_0x3eb46e(0x18b)](requireModule,_0x42af54[_0x3eb46e(0x1c4)],_0x42af54['SNSDd']);_0x42af54['qPzqM'](_0x46ee6d);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1e4),Constants[a44_0x2ae1ed(0x1bc)]['INFO'],function(_0xeb13f4){const _0xebe815=a44_0x2ae1ed,_0x5df896={'jXmTm':function(_0x20edcd,_0x5a813,_0x3f39e0,_0x1ceb8f){return _0x20edcd(_0x5a813,_0x3f39e0,_0x1ceb8f);},'rnVZz':function(_0x2bec55,_0x481ef5){return _0x2bec55(_0x481ef5);},'MQIdT':_0xebe815(0x19f)},_0x178f71=process[_0xebe815(0x1bd)][_0xebe815(0x17d)](0x2);return _0x5df896[_0xebe815(0x17c)](captureError,_0x5df896[_0xebe815(0x1bb)](require,_0x5df896['MQIdT']),_0xeb13f4[_0xebe815(0x1bd)],_0x178f71);})['command'](a44_0x2ae1ed(0x1c7),Constants[a44_0x2ae1ed(0x172)][a44_0x2ae1ed(0x1a0)],function(_0x500760){const _0x59a99e=a44_0x2ae1ed,_0x315ffe={'QWRQf':function(_0x376e1b,_0x2b28ca,_0x17d7df,_0x5cf875){return _0x376e1b(_0x2b28ca,_0x17d7df,_0x5cf875);},'KzMci':function(_0xa19b39,_0x39fc6c){return _0xa19b39(_0x39fc6c);},'XLHbe':_0x59a99e(0x18d)},_0x19e745=process['argv'][_0x59a99e(0x17d)](0x2);return _0x315ffe[_0x59a99e(0x1e0)](captureError,_0x315ffe[_0x59a99e(0x1ae)](require,_0x315ffe[_0x59a99e(0x1ac)]),_0x500760[_0x59a99e(0x1bd)],_0x19e745);})['command']('nightwatch',Constants[a44_0x2ae1ed(0x1c1)][a44_0x2ae1ed(0x1a0)],function(_0x4e8bde){const _0xfa9a36=a44_0x2ae1ed,_0x33d0f6={'oZjXK':function(_0x415e14,_0x3410e6,_0x1a17e3,_0x1917a5){return _0x415e14(_0x3410e6,_0x1a17e3,_0x1917a5);},'eWPpR':function(_0x2c28af,_0x50ecab){return _0x2c28af(_0x50ecab);},'LPBzh':'./nightwatch/command'},_0x379f5a=process[_0xfa9a36(0x1bd)][_0xfa9a36(0x17d)](0x2);return _0x33d0f6[_0xfa9a36(0x193)](captureError,_0x33d0f6[_0xfa9a36(0x17f)](require,_0x33d0f6['LPBzh']),_0x4e8bde['argv'],_0x379f5a);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1cc),Constants[a44_0x2ae1ed(0x196)]['INFO'],function(_0x331fa7){const _0x4e1972=a44_0x2ae1ed,_0xe4bf8e={'qxbCS':function(_0x469fb1,_0x59037b,_0xa5f261,_0x327017){return _0x469fb1(_0x59037b,_0xa5f261,_0x327017);},'VzAzp':function(_0x1d9dd1,_0x1fdf6b){return _0x1d9dd1(_0x1fdf6b);},'KbDIj':'./codeceptjs/command'},_0x2d3b4e=process[_0x4e1972(0x1bd)][_0x4e1972(0x17d)](0x2);return _0xe4bf8e[_0x4e1972(0x1d9)](captureError,_0xe4bf8e['VzAzp'](require,_0xe4bf8e['KbDIj']),_0x331fa7['argv'],_0x2d3b4e);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x173),Constants[a44_0x2ae1ed(0x1b3)]['INFO'],function(_0x424cea){const _0x1d8632=a44_0x2ae1ed,_0x513216={'WxFjb':function(_0x3d4f85,_0x36e167,_0x3098d5){return _0x3d4f85(_0x36e167,_0x3098d5);},'vkoYr':function(_0x1e13ad,_0xdbfffa){return _0x1e13ad(_0xdbfffa);},'DBeyW':_0x1d8632(0x1e2)},_0x325d5e=process[_0x1d8632(0x1bd)][_0x1d8632(0x17d)](0x2);return _0x513216[_0x1d8632(0x179)](captureError,_0x513216[_0x1d8632(0x1d3)](require,_0x513216[_0x1d8632(0x1b5)]),_0x424cea);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x18a),Constants[a44_0x2ae1ed(0x1d8)][a44_0x2ae1ed(0x1a0)],function(_0x3a2eda){const _0x5f3703=a44_0x2ae1ed,_0x560bca={'CTqdR':function(_0x3d44ff,_0x4818a0){return _0x3d44ff(_0x4818a0);}};return _0x560bca[_0x5f3703(0x16b)](runIntegrations,_0x3a2eda);})[a44_0x2ae1ed(0x17b)](a44_0x2ae1ed(0x1c0),Constants[a44_0x2ae1ed(0x19b)][a44_0x2ae1ed(0x1a0)],function(_0x4088d4){const _0x2400c9=a44_0x2ae1ed,_0x29458b={'ruCfW':function(_0x3860a8,_0x1980ae,_0x5525df,_0x42f2b8){return _0x3860a8(_0x1980ae,_0x5525df,_0x42f2b8);},'xmWri':function(_0x17817e,_0x17d608){return _0x17817e(_0x17d608);},'SZCBj':_0x2400c9(0x170)},_0x2ccd95=process[_0x2400c9(0x1bd)]['slice'](0x2);return _0x29458b[_0x2400c9(0x1d2)](captureError,_0x29458b[_0x2400c9(0x181)](require,_0x29458b[_0x2400c9(0x18e)]),_0x4088d4[_0x2400c9(0x1bd)],_0x2ccd95);})[a44_0x2ae1ed(0x17e)](0x1,a44_0x2ae1ed(0x1c2))['wrap'](null)['argv'];!helper[a44_0x2ae1ed(0x187)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x2ae1ed(0x173)&&console[a44_0x2ae1ed(0x1b8)](a44_0x2ae1ed(0x1d6));
|
|
2
|
+
'use strict';const a44_0x2a922f=a44_0x3d61;(function(_0x5667ee,_0x44d579){const _0x1e5bee=a44_0x3d61,_0x5bc679=_0x5667ee();while(!![]){try{const _0x3227a7=-parseInt(_0x1e5bee(0xf7))/0x1+-parseInt(_0x1e5bee(0xeb))/0x2*(parseInt(_0x1e5bee(0xf5))/0x3)+-parseInt(_0x1e5bee(0xe0))/0x4+-parseInt(_0x1e5bee(0xb6))/0x5+parseInt(_0x1e5bee(0xaf))/0x6*(-parseInt(_0x1e5bee(0xa6))/0x7)+-parseInt(_0x1e5bee(0xcd))/0x8*(-parseInt(_0x1e5bee(0x92))/0x9)+parseInt(_0x1e5bee(0xca))/0xa;if(_0x3227a7===_0x44d579)break;else _0x5bc679['push'](_0x5bc679['shift']());}catch(_0x5c204f){_0x5bc679['push'](_0x5bc679['shift']());}}}(a44_0x48ef,0xd022a));const fs=require('fs'),path=require(a44_0x2a922f(0xb3)),util=require(a44_0x2a922f(0xbb)),{requireModule}=require(a44_0x2a922f(0xb0)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a44_0x2a922f(0xdf))[a44_0x2a922f(0x94)],helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),runIntegrations=require(a44_0x2a922f(0xf4)),yargs=require(a44_0x2a922f(0xe3)),Constants=require(a44_0x2a922f(0xbc)),logger=require('../helpers/logger')[a44_0x2a922f(0xd5)],origArgs=Object['assign']([],process['argv']),captureError=async(_0x22f066,_0x2b1fc7,_0x5e74b4=null)=>{const _0x444502=a44_0x2a922f,_0x5369ef={'UmpZq':function(_0x4e30ac,_0x15d770,_0x58989b){return _0x4e30ac(_0x15d770,_0x58989b);},'QAnnZ':'SDKTestSuccessful'};try{logger['info'](_0x444502(0xb7)+origArgs[_0x444502(0xd2)]('\x20')),await _0x5369ef['UmpZq'](_0x22f066,_0x2b1fc7,_0x5e74b4);}catch(_0x23ce64){process[_0x444502(0xc2)]=0x1,logger[_0x444502(0xda)](util[_0x444502(0xf2)](_0x23ce64));const _0x3cd934={};_0x3cd934[_0x444502(0xab)]=_0x23ce64[_0x444502(0x9b)];const _0x36b571=_0x3cd934;PerformanceTester[_0x444502(0xf6)](PerformanceEvents[_0x444502(0xbf)],![],util[_0x444502(0xf2)](_0x23ce64));if(helper[_0x444502(0xff)](global['config'])&&helper[_0x444502(0xff)](global[_0x444502(0xdc)]))return;try{utilities[_0x444502(0x93)](_0x5369ef['QAnnZ'],_0x36b571,global['config'],global[_0x444502(0xdc)]);}catch(_0x18ce1b){logger[_0x444502(0xfb)](_0x444502(0xb2)+_0x18ce1b[_0x444502(0x99)]);}PerformanceTester[_0x444502(0xf6)](PerformanceEvents['SDK_SETUP'],![],util[_0x444502(0xf2)](_0x23ce64));}finally{PerformanceTester[_0x444502(0xf8)](PerformanceEvents[_0x444502(0xf0)]);}};function a44_0x3d61(_0x40aebb,_0x355973){const _0x48efdb=a44_0x48ef();return a44_0x3d61=function(_0x3d61e4,_0x3755be){_0x3d61e4=_0x3d61e4-0x90;let _0x3b56a0=_0x48efdb[_0x3d61e4];return _0x3b56a0;},a44_0x3d61(_0x40aebb,_0x355973);}try{const browserstackFolderPath=path[a44_0x2a922f(0xd2)](helper[a44_0x2a922f(0xf1)](),a44_0x2a922f(0xac));if(fs[a44_0x2a922f(0xec)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a44_0x2a922f(0x98));fs[a44_0x2a922f(0xec)](filePath)&&fs[a44_0x2a922f(0xa3)](filePath);}}catch(a44_0x181c55){logger['debug']('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a44_0x181c55[a44_0x2a922f(0x9b)]);}process[a44_0x2a922f(0x95)][a44_0x2a922f(0xdb)](a44_0x2a922f(0xb9))&&(!process[a44_0x2a922f(0x95)]['includes'](a44_0x2a922f(0xa2))&&process['argv']['push'](a44_0x2a922f(0xc3)),!process[a44_0x2a922f(0x95)][a44_0x2a922f(0xfc)](_0x501246=>_0x501246[a44_0x2a922f(0xdb)](a44_0x2a922f(0xb1)))&&process[a44_0x2a922f(0x95)][a44_0x2a922f(0x97)](a44_0x2a922f(0xe4)),!process[a44_0x2a922f(0x95)][a44_0x2a922f(0xdb)](a44_0x2a922f(0xf3))&&process[a44_0x2a922f(0x95)]['push']('--no-package'),helper[a44_0x2a922f(0xe7)](process[a44_0x2a922f(0x95)],a44_0x2a922f(0x9f),a44_0x2a922f(0xe2)));PerformanceTester['startMonitoring'](),PerformanceTester[a44_0x2a922f(0xf8)](PerformanceEvents['SDK_SETUP']);const a44_0x271ef5={};a44_0x271ef5['dot-notation']=![];const argv=yargs[a44_0x2a922f(0xd3)](a44_0x271ef5)[a44_0x2a922f(0xc7)](a44_0x2a922f(0xa7))[a44_0x2a922f(0xbe)]('v',a44_0x2a922f(0xae))['describe']('v')[a44_0x2a922f(0xbe)]('h',a44_0x2a922f(0xc5))['help'](a44_0x2a922f(0xc5))[a44_0x2a922f(0xe9)](!![],Constants['VERSION'][a44_0x2a922f(0xf9)])[a44_0x2a922f(0xb4)]('jest',Constants[a44_0x2a922f(0x9e)][a44_0x2a922f(0xa5)],function(_0xb27d8f){const _0x4763d4=a44_0x2a922f,_0x4b4734={'nREdQ':function(_0x286c3e,_0x1598e0,_0x23e182,_0x2bd400){return _0x286c3e(_0x1598e0,_0x23e182,_0x2bd400);},'kiiwJ':function(_0x4a52d3,_0x1638cd){return _0x4a52d3(_0x1638cd);},'gtWyp':'./jest/command'};helper[_0x4763d4(0xfd)](),helper['setBrowserStackAutomationDisable']();const _0x2a7e64=process[_0x4763d4(0x95)]['slice'](0x2);return _0x4b4734['nREdQ'](captureError,_0x4b4734[_0x4763d4(0xad)](require,_0x4b4734[_0x4763d4(0xd1)]),_0xb27d8f['argv'],_0x2a7e64);})['command']('mocha',Constants[a44_0x2a922f(0xe6)][a44_0x2a922f(0xa5)],_0x52697c=>{const _0x2f68bd=a44_0x2a922f,_0xf0b04d={'HOrNf':function(_0x3160e9,_0x4a0695,_0x571b5c){return _0x3160e9(_0x4a0695,_0x571b5c);},'ZGfoV':function(_0x27187c,_0x46c68b){return _0x27187c(_0x46c68b);},'XCHVC':_0x2f68bd(0x100),'Kazeo':'Parsing\x20command\x20line\x20arguements','dCZYf':function(_0x489bfd,_0x1c4db7,_0x242d47){return _0x489bfd(_0x1c4db7,_0x242d47);},'DZUNO':'mocha/lib/cli/run.js','nJScY':_0x2f68bd(0xb9),'BZDyb':_0x2f68bd(0xc8),'lLuud':'mocha/lib/cli/cli.js','UmUXG':function(_0xa9606d){return _0xa9606d();}};logger[_0x2f68bd(0xfb)](_0xf0b04d[_0x2f68bd(0xe8)]);const _0x1e167a=_0xf0b04d[_0x2f68bd(0x90)](requireModule,_0xf0b04d[_0x2f68bd(0xa4)],_0xf0b04d[_0x2f68bd(0xd9)]),_0x4c6602=_0xf0b04d[_0x2f68bd(0x90)](requireModule,_0xf0b04d['BZDyb'],_0xf0b04d[_0x2f68bd(0xd9)]);process['argv']=process[_0x2f68bd(0x95)][_0x2f68bd(0x9c)](0x1),delete _0x1e167a['handler'],_0x1e167a['handler']=function(_0x483e35){const _0x2d9c27=_0x2f68bd;return _0xf0b04d[_0x2d9c27(0xba)](captureError,_0xf0b04d[_0x2d9c27(0x91)](require,_0xf0b04d['XCHVC']),_0x483e35);},_0x4c6602[_0x2f68bd(0xd6)]=_0x1e167a;const {main:_0x1de259}=_0xf0b04d['HOrNf'](requireModule,_0xf0b04d[_0x2f68bd(0xc6)],_0xf0b04d[_0x2f68bd(0xd9)]);_0xf0b04d['UmUXG'](_0x1de259);})[a44_0x2a922f(0xb4)](a44_0x2a922f(0xe5),Constants[a44_0x2a922f(0xb5)]['INFO'],function(_0x184c52){const _0x1230dd=a44_0x2a922f,_0x595f90={'KlYro':function(_0x422b63,_0x2c5428,_0x4b879a,_0x10c82f){return _0x422b63(_0x2c5428,_0x4b879a,_0x10c82f);},'VgKID':function(_0x34fc91,_0x3fcf46){return _0x34fc91(_0x3fcf46);},'YTcGQ':_0x1230dd(0xa8)},_0x3265a0=process['argv']['slice'](0x2);return _0x595f90[_0x1230dd(0xde)](captureError,_0x595f90['VgKID'](require,_0x595f90[_0x1230dd(0xd0)]),_0x184c52[_0x1230dd(0x95)],_0x3265a0);})[a44_0x2a922f(0xb4)](a44_0x2a922f(0xc0),Constants[a44_0x2a922f(0xc4)][a44_0x2a922f(0xa5)],function(_0x35ca4a){const _0x328edf=a44_0x2a922f,_0xdafbb9={'ZOQHu':function(_0x54a8ee,_0x256717,_0x3fcea5,_0x4ede61){return _0x54a8ee(_0x256717,_0x3fcea5,_0x4ede61);},'QLgxb':function(_0x47fbab,_0x446b5e){return _0x47fbab(_0x446b5e);},'MEFko':_0x328edf(0xfe)},_0x74b519=process[_0x328edf(0x95)][_0x328edf(0x9c)](0x2);return _0xdafbb9[_0x328edf(0xcb)](captureError,_0xdafbb9[_0x328edf(0xd7)](require,_0xdafbb9[_0x328edf(0xcf)]),_0x35ca4a['argv'],_0x74b519);})[a44_0x2a922f(0xb4)]('nightwatch',Constants[a44_0x2a922f(0xa9)]['INFO'],function(_0x4c44c8){const _0x2ca86f=a44_0x2a922f,_0x129e72={'DVUob':function(_0xc38340,_0x3f5a93,_0x261902,_0x1d2977){return _0xc38340(_0x3f5a93,_0x261902,_0x1d2977);},'Frjkg':function(_0x1d2177,_0x387e10){return _0x1d2177(_0x387e10);},'gcUQi':_0x2ca86f(0xe1)},_0x1046c4=process[_0x2ca86f(0x95)][_0x2ca86f(0x9c)](0x2);return _0x129e72[_0x2ca86f(0xa0)](captureError,_0x129e72[_0x2ca86f(0xd8)](require,_0x129e72[_0x2ca86f(0xee)]),_0x4c44c8[_0x2ca86f(0x95)],_0x1046c4);})[a44_0x2a922f(0xb4)]('codeceptjs',Constants[a44_0x2a922f(0xdd)][a44_0x2a922f(0xa5)],function(_0x9b00a4){const _0x5f266d=a44_0x2a922f,_0x45fca0={'rcdPq':function(_0x102a19,_0x1a41f9,_0x776003,_0x519c05){return _0x102a19(_0x1a41f9,_0x776003,_0x519c05);},'yDJqG':function(_0x254ed0,_0x2b90ff){return _0x254ed0(_0x2b90ff);},'dRYtO':'./codeceptjs/command'},_0x192298=process[_0x5f266d(0x95)]['slice'](0x2);return _0x45fca0[_0x5f266d(0xc1)](captureError,_0x45fca0[_0x5f266d(0xcc)](require,_0x45fca0[_0x5f266d(0x9a)]),_0x9b00a4[_0x5f266d(0x95)],_0x192298);})['command']('ats',Constants['HST']['INFO'],function(_0x3bcf0c){const _0x2e0901=a44_0x2a922f,_0x3a9ccb={'klepT':function(_0x12c1ca,_0x41140b,_0x15a7d4){return _0x12c1ca(_0x41140b,_0x15a7d4);},'dDyNi':function(_0x27cad3,_0x3df5dd){return _0x27cad3(_0x3df5dd);},'RDpnz':_0x2e0901(0xed)},_0x3d223e=process[_0x2e0901(0x95)][_0x2e0901(0x9c)](0x2);return _0x3a9ccb[_0x2e0901(0xce)](captureError,_0x3a9ccb[_0x2e0901(0xbd)](require,_0x3a9ccb['RDpnz']),_0x3bcf0c);})[a44_0x2a922f(0xb4)](a44_0x2a922f(0xc9),Constants['INTEGRATIONS']['INFO'],function(_0x37cd6f){const _0x21a27e=a44_0x2a922f,_0x687235={'keFYx':function(_0x3fe7e2,_0x43478c){return _0x3fe7e2(_0x43478c);}};return _0x687235[_0x21a27e(0xa1)](runIntegrations,_0x37cd6f);})[a44_0x2a922f(0xb4)]('playwright',Constants[a44_0x2a922f(0xef)][a44_0x2a922f(0xa5)],function(_0x592a48){const _0x10a572=a44_0x2a922f,_0x457fa7={'UzmXr':function(_0x28731d,_0x487412,_0x29d28c,_0x13f563){return _0x28731d(_0x487412,_0x29d28c,_0x13f563);},'aAdaA':function(_0xb9c041,_0x2ed64b){return _0xb9c041(_0x2ed64b);},'gFnar':_0x10a572(0xfa)},_0x2a91a7=process[_0x10a572(0x95)][_0x10a572(0x9c)](0x2);return _0x457fa7[_0x10a572(0x9d)](captureError,_0x457fa7[_0x10a572(0x101)](require,_0x457fa7[_0x10a572(0xea)]),_0x592a48[_0x10a572(0x95)],_0x2a91a7);})[a44_0x2a922f(0xb8)](0x1,a44_0x2a922f(0x96))[a44_0x2a922f(0xd4)](null)[a44_0x2a922f(0x95)];!helper[a44_0x2a922f(0xff)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a44_0x2a922f(0xda)](a44_0x2a922f(0xaa));function a44_0x48ef(){const _0x262f9c=['start','HELP','./playwright/command','debug','find','setTestObservabilityDisable','./vanilla-js/command','isUndefined','./mocha/command','aAdaA','dCZYf','ZGfoV','5571jyRWWO','fireFunnelTestEvent','EVENTS','argv','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','push','.local-not-set.json','stack','dRYtO','message','slice','UzmXr','JEST','--require','DVUob','keFYx','--opts','unlinkSync','DZUNO','INFO','5175646yCokIx','usage:\x20$0\x20<command>\x20[args]','./cucumber-js/command','NIGHTWATCH','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','globalException','.browserstack','kiiwJ','version','12wjooNe','../helpers/helper','--config','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','path','command','CUCUMBER','7633350cZSqMk','Running\x20SDK\x20with\x20args\x20','demandCommand','mocha','HOrNf','util','./utils/constants','dDyNi','alias','SDK_SETUP','node','rcdPq','exitCode','--no-opts','VANILLA','help','lLuud','usage','mocha/lib/cli/commands.js','integrations','59429170phDZlC','ZOQHu','yDJqG','3256OLycSz','klepT','MEFko','YTcGQ','gtWyp','join','parserConfiguration','wrap','winstonLogger','run','QLgxb','Frjkg','nJScY','error','includes','framework','CODECEPTJS','KlYro','../helpers/performance/constants','4372748KycrYS','./nightwatch/command','--mochaRequire','yargs','--no-config','cucumber-js','MOCHA','findAndReplace','Kazeo','showHelpOnFail','gFnar','22wyYtoK','existsSync','../../ats/src/index','gcUQi','PLAYWRIGHT','SDK_CLEANUP','homedir','format','--package','./integrations/command','210801woRqna','end','470778YGEJgR'];a44_0x48ef=function(){return _0x262f9c;};return a44_0x48ef();}
|