browserstack-node-sdk 1.33.1 → 1.33.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/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.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a39_0x3d1039=a39_0x5803;(function(_0x4e4231,_0x557e0c){const _0x5539e5=a39_0x5803,_0x471566=_0x4e4231();while(!![]){try{const _0x354755=-parseInt(_0x5539e5(0x1f0))/0x1*(parseInt(_0x5539e5(0x1c3))/0x2)+parseInt(_0x5539e5(0x1c4))/0x3+parseInt(_0x5539e5(0x214))/0x4+parseInt(_0x5539e5(0x23d))/0x5*(parseInt(_0x5539e5(0x1db))/0x6)+-parseInt(_0x5539e5(0x217))/0x7+parseInt(_0x5539e5(0x219))/0x8*(parseInt(_0x5539e5(0x19c))/0x9)+parseInt(_0x5539e5(0x1b1))/0xa*(parseInt(_0x5539e5(0x206))/0xb);if(_0x354755===_0x557e0c)break;else _0x471566['push'](_0x471566['shift']());}catch(_0x404975){_0x471566['push'](_0x471566['shift']());}}}(a39_0x4c13,0xf3e25));function a39_0x4c13(){const _0x5a2e04=['getInstance','../../../helpers/testhub/testhubHandler','startedAt','SaMOi','JtKZg','startsWith','finishedAt','parent','message','GHuqd','title','getTestUUID','getTestRunIdentifier','After\x20Hooks','PLAYWRIGHT','Expected\x20to\x20fail,\x20but\x20passed.','BHbER','CfzGT','passed','getStepIdentifier','HaXoD','VCQnF','name','stop','vBCZH','logs','CBTSessionCreated','thqXF','sendTestRunEvent','gvIVD','eCvUu','afterEach\x20hook','4|1|0|3|2|5','Error\x20in\x20calculating\x20performance:\x20','onStepEnd','addTestUIDAndReportLog','ZqYcP','env','root','unknown','TEST_SCREENSHOT','../../../helpers/test-observability/error-handler','event_type','steps','60363ASeSWJ','IEyBD','\x20for\x20','uploadEventData','TEST_STEP','KvloX','meta','sHarI','vFcDm','oPfeC','WNDFp','jTaQa','retry_of','getStepsAndLogs','Obrjv','Before\x20Hooks','CncPx','inspect','START_TIME','HookRunFinished','backtrace','10BWSyKc','hook','WOpYt','path','TestRunStarted','CnBoo','_gitConfigPath','test_run','LogCreated','BROWSERSTACK_O11Y_PERF_MEASUREMENT','uqEGm','onBegin','onEnd','\x20-\x20','mUJRI','UTZOG','getScope','HookRunStarted','1311736pfyAYE','458355IjESJS','SUkvn','TWtPT','XOTtZ','FVcSh','faVJO','base64','onTestBegin','INqli','sendSessionDetails','qVeXq','TuopN','retry','jhBYw','gkRdU','status','IlWfo','readFileSync','startMonitoring','FCpZF','beforeAll\x20hook','HWKzK','../../../helpers/test-observability/sessionHandler','6wAQmRN','file','YZWxm','YAVlg','mtime','zisoC','TJvhW','hook_run_uuid','wniON','qRYBC','split','test_run_uuid','jCNra','tlgsi','JYgJs','screenshot','_tests','qVHPt','toISOString','setup','javascript','2xJDJXE','jkUOP','cwd','AFTER_EACH','SigQX','test','hKYrL','onStepBegin','biVBn','errors','_projectId','_bs_hookIdentifier','printsToStdio','result','MZzCB','duration','getHierarchy','existsSync','oOfdb','WWPlP','./test-details','failure_type','11451594zjzPQz','mQxWk','QBwua','EQbis','performance-report-reporter.json','delME','FzFpn','shutdown','getTestIdentifier','lDNYF','Sending\x20session\x20details\x20for\x20','_gitConfigured','error','toString','645880EcFBiR','err','WsdEL','4671954Nkyqxl','endSession','312sFYRAy','needToReportStep','GQkLv','../../../helpers/test-observability/requestQueueHandler','push','uuid','location','hook_run','timedOut','attachments','plQtw','VfLNW','KKGMp','IhDUB','../../../helpers/test-observability/constants','reportLogs','exports','setStepIdentifier','object','_testHooksMap','configureGit','afterAll\x20hook','Fgnam','IvQVi','TQcLg','indexOf','stack','getHookType','sendHookRunEvent','TyOXO','bVYLp','length','util','WSojd','CXdwy','hiOMB','6806125gtARHE','join','zYeBi','../../../helpers/testhub/utils','failure','JhRxe','onTestEnd','AFTER_ALL','./pwUtils','viDTb','zqGtZ','relative','IjuJU','failed','startTime','expanded','expectedStatus','UueQE','failure_reason','category'];a39_0x4c13=function(){return _0x5a2e04;};return a39_0x4c13();}const RequestQueueHandler=require(a39_0x3d1039(0x21c)),{calculatePerformance,getTagsFromTitle,getFailureData}=require(a39_0x3d1039(0x164)),{v4:uuidv4}=require(a39_0x3d1039(0x21e)),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getGitMetaData}=require('../../../helpers/helper'),TestDetails=require(a39_0x3d1039(0x204)),fs=require('fs'),util=require(a39_0x3d1039(0x239)),{o11yClassErrorHandler}=require(a39_0x3d1039(0x199)),PerformanceTester=require('../../../helpers/performance-tester'),{FRAMEWORKS}=require(a39_0x3d1039(0x227)),SessionHandler=require(a39_0x3d1039(0x1da)),{appendTesthubParams}=require(a39_0x3d1039(0x15f)),TestHubHandler=require(a39_0x3d1039(0x171));function a39_0x5803(_0x3e19c7,_0x36329b){const _0x4c1353=a39_0x4c13();return a39_0x5803=function(_0x5803af,_0x346d69){_0x5803af=_0x5803af-0x15e;let _0x25a0cb=_0x4c1353[_0x5803af];return _0x25a0cb;},a39_0x5803(_0x3e19c7,_0x36329b);}class MyReporter{constructor(_0x36efd2){const _0x2d51fd=a39_0x3d1039,_0x5cbe2a={};_0x5cbe2a[_0x2d51fd(0x225)]=_0x2d51fd(0x190),_0x5cbe2a[_0x2d51fd(0x1bb)]=_0x2d51fd(0x20a);const _0x3ed36b=_0x5cbe2a,_0x9c08f7=_0x3ed36b[_0x2d51fd(0x225)][_0x2d51fd(0x1e5)]('|');let _0x123d44=0x0;while(!![]){switch(_0x9c08f7[_0x123d44++]){case'0':this['_testHooksMap']={};continue;case'1':this[_0x2d51fd(0x1eb)]={};continue;case'2':this[_0x2d51fd(0x211)]=![];continue;case'3':this['options']=_0x36efd2;continue;case'4':process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x2d51fd(0x1d6)](_0x3ed36b['uqEGm']),process[_0x2d51fd(0x195)][_0x2d51fd(0x1ae)]=new Date()['toISOString']());continue;case'5':this['_gitConfigPath']=null;continue;}break;}}async['onBegin'](){const _0x474358=a39_0x3d1039;TestDetails[_0x474358(0x1ee)](),await this['configureGit']();}async[a39_0x3d1039(0x1cb)](_0x4e2ba4,_0x51ac34){const _0x4f977a=a39_0x3d1039,_0x32a724={};_0x32a724['MciMl']=_0x4f977a(0x1b5);const _0x5e1243=_0x32a724,_0x2cca1b=this[_0x4f977a(0x20e)](_0x4e2ba4);this[_0x4f977a(0x1eb)][_0x2cca1b]={'uuid':TestDetails[_0x4f977a(0x17b)](this[_0x4f977a(0x17c)](_0x4e2ba4,_0x51ac34[_0x4f977a(0x1d0)])),'startedAt':_0x51ac34[_0x4f977a(0x16a)]},await this['sendTestRunEvent'](_0x4e2ba4,_0x5e1243['MciMl'],_0x51ac34);}async[a39_0x3d1039(0x1f7)](_0x31740e,_0x8c5123,_0x2a44d7){const _0x4a5b7b=a39_0x3d1039,_0x43634e={};_0x43634e['hKYrL']=_0x4a5b7b(0x1c2);const _0x4eb938=_0x43634e;if(!this[_0x4a5b7b(0x21a)](_0x2a44d7,_0x31740e))return;const _0x16ccd7=this[_0x4a5b7b(0x22a)](_0x31740e,_0x2a44d7);this[_0x4a5b7b(0x1eb)][_0x16ccd7]={'uuid':TestDetails[_0x4a5b7b(0x17b)](_0x16ccd7),'startedAt':_0x2a44d7[_0x4a5b7b(0x16a)]['toISOString']()};const _0x5d324f=this[_0x4a5b7b(0x17c)](_0x31740e,_0x8c5123['retry']);!this[_0x4a5b7b(0x22c)][_0x5d324f]&&(this[_0x4a5b7b(0x22c)][_0x5d324f]=[]),this['_testHooksMap'][_0x5d324f][_0x4a5b7b(0x21d)](this[_0x4a5b7b(0x1eb)][_0x16ccd7][_0x4a5b7b(0x21e)]),await this[_0x4a5b7b(0x235)](_0x31740e,_0x2a44d7,_0x4eb938[_0x4a5b7b(0x1f6)],_0x8c5123);}async[a39_0x3d1039(0x192)](_0x13e92d,_0x349832,_0x3b1930){const _0x1628cc=a39_0x3d1039,_0x386153={};_0x386153['bVYLp']=function(_0x5ae2db,_0x528dd5){return _0x5ae2db+_0x528dd5;},_0x386153[_0x1628cc(0x1a7)]='HookRunFinished';const _0x392e62=_0x386153;if(!this[_0x1628cc(0x21a)](_0x3b1930,_0x13e92d))return;const _0x5be68b=this[_0x1628cc(0x183)](_0x13e92d,_0x3b1930);this[_0x1628cc(0x1eb)][_0x5be68b]={...this[_0x1628cc(0x1eb)][_0x5be68b]||{},'finishedAt':new Date(_0x392e62[_0x1628cc(0x237)](_0x3b1930[_0x1628cc(0x16a)]['getTime'](),_0x3b1930['duration']))},await this[_0x1628cc(0x235)](_0x13e92d,_0x3b1930,_0x392e62[_0x1628cc(0x1a7)],_0x349832);}async[a39_0x3d1039(0x162)](_0x1f7aee,_0x1645b9){const _0x3b1309=a39_0x3d1039,_0x6f9393={};_0x6f9393[_0x3b1309(0x1f1)]=function(_0xfe2e7e,_0x26ea1f){return _0xfe2e7e===_0x26ea1f;},_0x6f9393['mUJRI']=_0x3b1309(0x1ea),_0x6f9393[_0x3b1309(0x185)]=_0x3b1309(0x198),_0x6f9393[_0x3b1309(0x179)]=_0x3b1309(0x1ca),_0x6f9393[_0x3b1309(0x21b)]='TestRunFinished',_0x6f9393[_0x3b1309(0x1b6)]=function(_0x36f16d,_0x2dfd34){return _0x36f16d>_0x2dfd34;};const _0x49e03c=_0x6f9393,_0x57f520=this[_0x3b1309(0x20e)](_0x1f7aee),_0xb53886=TestDetails[_0x3b1309(0x17b)](this['getTestRunIdentifier'](_0x1f7aee,_0x1645b9[_0x3b1309(0x1d0)]));this[_0x3b1309(0x1eb)][_0x57f520]={...this[_0x3b1309(0x1eb)][_0x57f520]||{},'finishedAt':new Date()['toISOString']()},await this[_0x3b1309(0x18c)](_0x1f7aee,_0x49e03c['GQkLv'],_0x1645b9);const _0x1f3a30=[];_0x1645b9[_0x3b1309(0x222)]&&_0x1645b9[_0x3b1309(0x222)]['map'](_0x1bfa54=>{const _0x557b69=_0x3b1309;if(_0x49e03c['jkUOP'](_0x1bfa54[_0x557b69(0x186)],_0x49e03c[_0x557b69(0x1bf)])){if(!fs[_0x557b69(0x201)](_0x1bfa54[_0x557b69(0x1b4)]))return;_0x1f3a30[_0x557b69(0x21d)]({'test_run_uuid':_0xb53886,'timestamp':fs['statSync'](_0x1bfa54[_0x557b69(0x1b4)])[_0x557b69(0x1df)],'kind':_0x49e03c['VCQnF'],'message':fs[_0x557b69(0x1d5)](_0x1bfa54[_0x557b69(0x1b4)],{'encoding':_0x49e03c[_0x557b69(0x179)]})});}}),_0x49e03c[_0x3b1309(0x1b6)](_0x1f3a30[_0x3b1309(0x238)],0x0)&&await MyReporter['reportLogs'](_0x1f3a30);}async[a39_0x3d1039(0x218)](){const _0x2ee3f0=a39_0x3d1039;await RequestQueueHandler[_0x2ee3f0(0x170)]()[_0x2ee3f0(0x20d)](),await TestHubHandler[_0x2ee3f0(0x187)](),TestDetails['shutdown']();}async[a39_0x3d1039(0x1bd)](_0x4ffc91){const _0x185077=a39_0x3d1039,_0x4a9775={'QBwua':function(_0x544072){return _0x544072();},'UwMwm':function(_0x354d87,_0x54c174){return _0x354d87(_0x54c174);}};await this[_0x185077(0x218)](),_0x4a9775[_0x185077(0x208)](printBuildLink);try{process['env'][_0x185077(0x1ba)]&&await _0x4a9775[_0x185077(0x208)](calculatePerformance);}catch(_0x6bb278){_0x4a9775['UwMwm'](debug,_0x185077(0x191)+_0x6bb278[_0x185077(0x213)]());}}static async[a39_0x3d1039(0x193)](_0x3ff540,_0x870a92){const _0x5bf94d=a39_0x3d1039;_0x870a92[_0x5bf94d(0x1e6)]=TestDetails[_0x5bf94d(0x17b)](_0x3ff540),await this[_0x5bf94d(0x228)]([_0x870a92]);}static async[a39_0x3d1039(0x228)](_0x4603bb){const _0x3ef696=a39_0x3d1039,_0x19838c={};_0x19838c[_0x3ef696(0x174)]=_0x3ef696(0x1b9);const _0x3819f2=_0x19838c,_0x3a1c86={};_0x3a1c86[_0x3ef696(0x19a)]=_0x3819f2['JtKZg'],_0x3a1c86[_0x3ef696(0x189)]=_0x4603bb,await SessionHandler[_0x3ef696(0x19f)](_0x3a1c86);}async['sendHookRunEvent'](_0x28e2a4,_0x599d00,_0x526e88,_0x3832a1){const _0x5ecd75=a39_0x3d1039,_0x277ebd={'wniON':_0x5ecd75(0x1b2),'oOfdb':_0x5ecd75(0x1ef),'sHarI':'pending','faVJO':function(_0x32b21d,_0x193f10){return _0x32b21d>=_0x193f10;},'TrxPQ':function(_0x15359b,_0x3152f8){return _0x15359b===_0x3152f8;},'TyOXO':_0x5ecd75(0x1af),'eCvUu':function(_0x5d5213,_0x4da7bb){return _0x5d5213>_0x4da7bb;},'lDNYF':_0x5ecd75(0x169),'zqGtZ':function(_0x1b1f76,_0x965e50){return _0x1b1f76(_0x965e50);},'biVBn':function(_0x1f6e5e,_0x4a64b9,_0x1a8f2e){return _0x1f6e5e(_0x4a64b9,_0x1a8f2e);},'IuQhw':_0x5ecd75(0x215),'thqXF':_0x5ecd75(0x182)},_0x4ca18d=this[_0x5ecd75(0x183)](_0x28e2a4,_0x599d00),_0x4a970b=this[_0x5ecd75(0x1eb)][_0x4ca18d],_0x30a09f={'uuid':_0x4a970b[_0x5ecd75(0x21e)],'type':_0x277ebd[_0x5ecd75(0x1e3)],'hook_type':this[_0x5ecd75(0x234)](_0x599d00[_0x5ecd75(0x17a)]),'name':_0x599d00[_0x5ecd75(0x17a)],'scope':this['getScope'](_0x599d00),'scopes':this[_0x5ecd75(0x200)](_0x28e2a4),'body':{'lang':_0x277ebd[_0x5ecd75(0x202)],'code':null},'identifier':_0x4ca18d,'file_name':path[_0x5ecd75(0x167)](process['cwd'](),_0x28e2a4[_0x5ecd75(0x21f)][_0x5ecd75(0x1dc)]),'location':path[_0x5ecd75(0x167)](process[_0x5ecd75(0x1f2)](),_0x28e2a4[_0x5ecd75(0x21f)][_0x5ecd75(0x1dc)]),'result':_0x277ebd[_0x5ecd75(0x1a3)],'duration_in_ms':_0x277ebd[_0x5ecd75(0x1c9)](_0x599d00[_0x5ecd75(0x1ff)],0x0)?_0x599d00[_0x5ecd75(0x1ff)]:undefined,'vc_filepath':this[_0x5ecd75(0x1b7)]&&_0x28e2a4['location'][_0x5ecd75(0x1dc)]?path['relative'](this[_0x5ecd75(0x1b7)],_0x28e2a4[_0x5ecd75(0x21f)][_0x5ecd75(0x1dc)]):undefined,'started_at':_0x4a970b[_0x5ecd75(0x172)],'finished_at':_0x4a970b['finishedAt'],'framework':FRAMEWORKS[_0x5ecd75(0x17e)]};if(_0x277ebd['TrxPQ'](_0x526e88,_0x277ebd[_0x5ecd75(0x236)])){const {steps:_0x8937a4,logs:_0x18ea20}=this['getStepsAndLogs'](_0x599d00[_0x5ecd75(0x19b)],_0x4a970b[_0x5ecd75(0x21e)],_0x277ebd[_0x5ecd75(0x1e3)]);_0x18ea20&&_0x277ebd[_0x5ecd75(0x18e)](_0x18ea20[_0x5ecd75(0x238)],0x0)&&await MyReporter[_0x5ecd75(0x228)](_0x18ea20);const _0x23fb49={};_0x23fb49[_0x5ecd75(0x19b)]=_0x8937a4,_0x30a09f[_0x5ecd75(0x1a2)]=_0x23fb49;if(_0x599d00[_0x5ecd75(0x212)]){_0x30a09f['result']=_0x277ebd[_0x5ecd75(0x20f)],_0x30a09f[_0x5ecd75(0x16e)]=_0x277ebd[_0x5ecd75(0x166)](removeAnsiColors,_0x599d00[_0x5ecd75(0x212)][_0x5ecd75(0x178)]),_0x30a09f[_0x5ecd75(0x205)]=_0x277ebd[_0x5ecd75(0x166)](getFailureType,_0x599d00[_0x5ecd75(0x212)]['message']);const _0x42b25e=_0x277ebd[_0x5ecd75(0x1f8)](failureData,_0x599d00['error'],_0x277ebd['IuQhw']);if(_0x42b25e&&_0x277ebd['TrxPQ'](_0x42b25e['length'],0x0)){const _0x464e6e={};_0x464e6e['backtrace']=[_0x30a09f[_0x5ecd75(0x16e)]],_0x464e6e['expanded']=[],_0x42b25e[_0x5ecd75(0x21d)](_0x464e6e);}_0x30a09f[_0x5ecd75(0x160)]=_0x42b25e;}else _0x30a09f['result']=_0x277ebd[_0x5ecd75(0x18b)];}const _0xf21e19={};_0xf21e19[_0x5ecd75(0x19a)]=_0x526e88,_0xf21e19[_0x5ecd75(0x220)]=_0x30a09f;const _0x6b5d3f=_0xf21e19;await SessionHandler[_0x5ecd75(0x19f)](_0x6b5d3f);}[a39_0x3d1039(0x1a9)](_0x4d1c35,_0x22152b,_0x2cbeaf){const _0x582be1=a39_0x3d1039,_0x389745={'SigQX':function(_0x2a423d,_0x364d6d){return _0x2a423d===_0x364d6d;},'MZzCB':_0x582be1(0x1b2),'viDTb':_0x582be1(0x17d),'SUkvn':function(_0x3ee993,_0x413340){return _0x3ee993===_0x413340;},'WmikG':_0x582be1(0x1ab),'FVcSh':_0x582be1(0x1f5),'Fgnam':'test_run_uuid','FzFpn':_0x582be1(0x1e2),'TuopN':_0x582be1(0x1a0),'tlgsi':_0x582be1(0x169),'qRYBC':'passed','CfzGT':function(_0xe0f737,_0x58e735){return _0xe0f737(_0x58e735);},'dCPXA':function(_0x520f35){return _0x520f35();},'XOTtZ':function(_0xc8a65f,_0x222555){return _0xc8a65f(_0x222555);},'delME':function(_0x514486,_0x52a5bb){return _0x514486(_0x52a5bb);},'IhDUB':function(_0xe3b0c8,_0x39297f,_0x298f31){return _0xe3b0c8(_0x39297f,_0x298f31);}},_0x496b4c=[],_0x87d572=[],_0x3f06fa=_0x4d1c35['filter'](_0xc3d8e3=>{const _0x2b31c5=_0x582be1;if(_0x389745['SigQX'](_0xc3d8e3[_0x2b31c5(0x16f)],_0x389745[_0x2b31c5(0x1fe)])&&(_0x389745[_0x2b31c5(0x1f4)](_0xc3d8e3[_0x2b31c5(0x17a)],_0x389745[_0x2b31c5(0x165)])||_0x389745[_0x2b31c5(0x1c5)](_0xc3d8e3[_0x2b31c5(0x17a)],_0x389745['WmikG'])))return![];return!![];}),_0x14ea74=(_0x49e418,_0x1745f9=![])=>{const _0x451774=_0x582be1;if(_0x389745['SUkvn'](_0x49e418[_0x451774(0x19b)][_0x451774(0x238)],0x0)){const _0x13a978=_0x389745[_0x451774(0x1f4)](_0x2cbeaf,_0x389745[_0x451774(0x1c8)])?_0x389745[_0x451774(0x22f)]:_0x389745[_0x451774(0x20c)];_0x87d572[_0x451774(0x21d)]({'kind':_0x389745[_0x451774(0x1cf)],[_0x13a978]:_0x22152b,'message':_0x49e418[_0x451774(0x17a)],'timestamp':_0x49e418['startTime'][_0x451774(0x1ed)](),'level':_0x49e418['error']?_0x389745[_0x451774(0x1e8)]:_0x389745[_0x451774(0x1e4)],'duration':_0x49e418[_0x451774(0x1ff)],'failure':_0x49e418['error']&&_0x49e418[_0x451774(0x212)][_0x451774(0x178)]&&_0x389745[_0x451774(0x181)](removeAnsiColors,_0x49e418[_0x451774(0x212)][_0x451774(0x178)]),'failure_type':_0x389745[_0x451774(0x181)](getFailureType,_0x49e418[_0x451774(0x212)]&&_0x49e418['error'][_0x451774(0x178)])});}else{!_0x1745f9&&_0x496b4c[_0x451774(0x21d)]({'id':_0x389745['dCPXA'](uuidv4),'text':_0x49e418['title'],'keyword':undefined,'started_at':_0x49e418['startTime'][_0x451774(0x1ed)](),'duration':_0x49e418[_0x451774(0x1ff)],'result':_0x49e418[_0x451774(0x212)]?_0x389745[_0x451774(0x1e8)]:_0x389745[_0x451774(0x1e4)],'failure':_0x49e418['error']&&_0x49e418['error'][_0x451774(0x178)]&&_0x389745[_0x451774(0x1c7)](removeAnsiColors,_0x49e418['error'][_0x451774(0x178)]),'failure_type':_0x389745[_0x451774(0x20b)](getFailureType,_0x49e418[_0x451774(0x212)]&&_0x49e418['error']['message'])});for(const _0x44866e of _0x49e418[_0x451774(0x19b)]){_0x389745[_0x451774(0x226)](_0x14ea74,_0x44866e,!![]);}}};for(const _0x373df6 of _0x3f06fa){_0x389745[_0x582be1(0x226)](_0x14ea74,_0x373df6,![]);}const _0x385802={};return _0x385802[_0x582be1(0x19b)]=_0x496b4c,_0x385802[_0x582be1(0x189)]=_0x87d572,_0x385802;}async[a39_0x3d1039(0x18c)](_0xfefee6,_0x35a206,_0x59af1a){const _0x4beb7d=a39_0x3d1039,_0x34280a={'WOpYt':'test','HaXoD':_0x4beb7d(0x1ef),'YZWxm':'pending','CXdwy':function(_0x3ab3d1,_0x1a9f5f){return _0x3ab3d1(_0x1a9f5f);},'TWtPT':function(_0x3b2171,_0x269d83,_0x2668a7,_0x4343c6,_0x7f9f04){return _0x3b2171(_0x269d83,_0x2668a7,_0x4343c6,_0x7f9f04);},'IlWfo':function(_0x52ebfd,_0x3f7293){return _0x52ebfd>_0x3f7293;},'zYeBi':function(_0x2dc902,_0x5b6e4c){return _0x2dc902-_0x5b6e4c;},'IEyBD':function(_0x4b69f8,_0x421535){return _0x4b69f8===_0x421535;},'TQcLg':'TestRunFinished','gvIVD':function(_0x56a8a4,_0x66a54e){return _0x56a8a4===_0x66a54e;},'ZqYcP':'skipped','oPfeC':'passed','LqUhS':function(_0x266142,_0x5d1aae){return _0x266142===_0x5d1aae;},'HWKzK':function(_0x3b7aa5,_0x1d7071){return _0x3b7aa5===_0x1d7071;},'FCpZF':_0x4beb7d(0x169),'bcKiC':function(_0x2f8fc1,_0x4f2bfe){return _0x2f8fc1===_0x4f2bfe;},'WsdEL':_0x4beb7d(0x221),'UueQE':function(_0x3c87fe,_0x3caa42){return _0x3c87fe===_0x3caa42;},'INqli':function(_0xa1f7a2,_0x369f2c){return _0xa1f7a2===_0x369f2c;},'WSojd':_0x4beb7d(0x17f),'plQtw':function(_0x13bab8,_0x27a7be){return _0x13bab8(_0x27a7be);},'VfLNW':function(_0x1da917,_0x47673a,_0x46db41){return _0x1da917(_0x47673a,_0x46db41);}},_0x5b18ff=this['getTestIdentifier'](_0xfefee6),_0x10a964=this[_0x4beb7d(0x1c1)](_0xfefee6),_0x5ee807=this[_0x4beb7d(0x1eb)][_0x5b18ff],_0x3f0174=path['relative'](process['cwd'](),_0xfefee6[_0x4beb7d(0x21f)]['file']);await this[_0x4beb7d(0x22d)]();const _0x629d7={'uuid':_0x5ee807['uuid'],'type':_0x34280a['WOpYt'],'name':_0xfefee6['title'],'body':{'lang':_0x34280a[_0x4beb7d(0x184)],'code':_0xfefee6['fn'][_0x4beb7d(0x213)]()},'scope':_0x10a964,'scopes':this['getHierarchy'](_0xfefee6),'identifier':_0x5b18ff,'file_name':_0x3f0174,'location':_0x3f0174,'result':_0x34280a[_0x4beb7d(0x1dd)],'duration_in_ms':_0x59af1a&&_0x59af1a[_0x4beb7d(0x1ff)]?_0x59af1a[_0x4beb7d(0x1ff)]:null,'vc_filepath':this[_0x4beb7d(0x1b7)]&&_0xfefee6[_0x4beb7d(0x21f)][_0x4beb7d(0x1dc)]?path[_0x4beb7d(0x167)](this[_0x4beb7d(0x1b7)],_0xfefee6[_0x4beb7d(0x21f)]['file']):undefined,'started_at':_0x5ee807[_0x4beb7d(0x172)],'finished_at':_0x5ee807[_0x4beb7d(0x176)],'framework':FRAMEWORKS[_0x4beb7d(0x17e)],'customRerunParam':{'rerun_name':_0xfefee6['titlePath']()[_0x4beb7d(0x23e)]('\x20')},'tags':_0x34280a[_0x4beb7d(0x23b)](getTagsFromTitle,_0xfefee6['title'])};_0x34280a[_0x4beb7d(0x1c6)](appendTesthubParams,_0x629d7,_0x35a206,_0xfefee6,FRAMEWORKS[_0x4beb7d(0x17e)]);_0x59af1a&&_0x34280a[_0x4beb7d(0x1d4)](_0x59af1a[_0x4beb7d(0x1d0)],0x0)&&(_0x629d7[_0x4beb7d(0x1a8)]=TestDetails[_0x4beb7d(0x17b)](this['getTestRunIdentifier'](_0xfefee6,_0x34280a[_0x4beb7d(0x15e)](_0x59af1a[_0x4beb7d(0x1d0)],0x1))));if(_0x34280a[_0x4beb7d(0x19d)](_0x35a206,_0x34280a[_0x4beb7d(0x231)])){_0x629d7[_0x4beb7d(0x1fd)]=_0x59af1a[_0x4beb7d(0x1d3)];if(_0x34280a[_0x4beb7d(0x19d)](_0x59af1a[_0x4beb7d(0x1d3)],_0xfefee6[_0x4beb7d(0x16c)]))_0x629d7[_0x4beb7d(0x1fd)]=_0x34280a[_0x4beb7d(0x18d)](_0x59af1a['status'],_0x34280a[_0x4beb7d(0x194)])?_0x34280a[_0x4beb7d(0x194)]:_0x34280a['oPfeC'];else{(_0x34280a['LqUhS'](_0x629d7[_0x4beb7d(0x1fd)],_0x34280a[_0x4beb7d(0x1a5)])||_0x34280a[_0x4beb7d(0x1d9)](_0x629d7['result'],_0x34280a[_0x4beb7d(0x1d7)])||_0x34280a['bcKiC'](_0x629d7[_0x4beb7d(0x1fd)],_0x34280a[_0x4beb7d(0x216)]))&&(_0x629d7[_0x4beb7d(0x1fd)]=_0x34280a[_0x4beb7d(0x1d7)]);if(_0x34280a[_0x4beb7d(0x16d)](_0x59af1a[_0x4beb7d(0x1d3)],_0x34280a[_0x4beb7d(0x1a5)])&&_0x34280a[_0x4beb7d(0x1cc)](_0xfefee6[_0x4beb7d(0x16c)],_0x34280a[_0x4beb7d(0x1d7)])){const _0x467148={};_0x467148['message']=_0x34280a[_0x4beb7d(0x23a)],_0x467148[_0x4beb7d(0x233)]=_0x34280a['WSojd'],_0x59af1a[_0x4beb7d(0x212)]=_0x467148,_0x59af1a['errors']=[_0x59af1a[_0x4beb7d(0x212)]];}}const _0x1ac296=this[_0x4beb7d(0x17c)](_0xfefee6,_0x59af1a[_0x4beb7d(0x1d0)]);_0x629d7['hooks']=this[_0x4beb7d(0x22c)][_0x1ac296];const {steps:_0x38fefa,logs:_0x212471}=this[_0x4beb7d(0x1a9)](_0x59af1a[_0x4beb7d(0x19b)],_0x5ee807['uuid'],_0x34280a[_0x4beb7d(0x1b3)]);await MyReporter[_0x4beb7d(0x228)](_0x212471);const _0x28d018={};_0x28d018[_0x4beb7d(0x19b)]=_0x38fefa,_0x629d7[_0x4beb7d(0x1a2)]=_0x28d018;if(_0x59af1a['error']){_0x629d7['failure_reason']=_0x34280a[_0x4beb7d(0x23b)](removeAnsiColors,_0x59af1a[_0x4beb7d(0x212)][_0x4beb7d(0x178)]),_0x629d7['failure_type']=_0x34280a[_0x4beb7d(0x223)](getFailureType,_0x59af1a[_0x4beb7d(0x212)][_0x4beb7d(0x178)]);const _0x14c631={};_0x14c631[_0x4beb7d(0x1e6)]=_0x5ee807[_0x4beb7d(0x21e)];const {failureData:_0x247aef,logs:_0x1de2d7}=_0x34280a[_0x4beb7d(0x224)](getFailureData,_0x59af1a[_0x4beb7d(0x1f9)],_0x14c631);if(_0x247aef&&_0x34280a[_0x4beb7d(0x1d9)](_0x247aef[_0x4beb7d(0x238)],0x0)){const _0x443884={};_0x443884[_0x4beb7d(0x1b0)]=[_0x629d7[_0x4beb7d(0x16e)]],_0x443884[_0x4beb7d(0x16b)]=[],_0x247aef[_0x4beb7d(0x21d)](_0x443884);}_0x629d7[_0x4beb7d(0x160)]=_0x247aef,_0x1de2d7&&_0x34280a['IlWfo'](_0x1de2d7[_0x4beb7d(0x238)],0x0)&&await MyReporter[_0x4beb7d(0x228)](_0x1de2d7);}}const _0x53823a={};_0x53823a[_0x4beb7d(0x19a)]=_0x35a206,_0x53823a[_0x4beb7d(0x1b8)]=_0x629d7;const _0x17bda9=_0x53823a;await SessionHandler[_0x4beb7d(0x19f)](_0x17bda9);}static async[a39_0x3d1039(0x1cd)](_0x209781,_0x35bb2c){const _0x325981=a39_0x3d1039,_0x5e2a12={'zisoC':function(_0x4cfde5,_0x1a428){return _0x4cfde5(_0x1a428);},'CncPx':_0x325981(0x18a)},_0x384e2c={'uuid':TestDetails[_0x325981(0x17b)](_0x209781),'integrations':_0x35bb2c},_0x3a1f1f={};_0x3a1f1f['depth']=null,_0x5e2a12[_0x325981(0x1e0)](debug,_0x325981(0x210)+_0x209781+',\x20'+util[_0x325981(0x1ad)](_0x35bb2c,_0x3a1f1f));const _0x44cc41={};_0x44cc41[_0x325981(0x19a)]=_0x5e2a12[_0x325981(0x1ac)],_0x44cc41[_0x325981(0x1b8)]=_0x384e2c,await SessionHandler[_0x325981(0x19f)](_0x44cc41);}async['configureGit'](){const _0x2c1e83=a39_0x3d1039,_0x4e8dbd={'jCNra':function(_0xd18701){return _0xd18701();}};if(this[_0x2c1e83(0x211)])return;const _0x95c697=await _0x4e8dbd[_0x2c1e83(0x1e7)](getGitMetaData);_0x95c697&&(this[_0x2c1e83(0x1b7)]=_0x95c697[_0x2c1e83(0x196)]),this['_gitConfigured']=!![];}[a39_0x3d1039(0x200)](_0x33dc01){const _0x408247=a39_0x3d1039,_0x2e6d5f={};_0x2e6d5f[_0x408247(0x180)]=function(_0x5c75ea,_0x54f7ee){return _0x5c75ea!==_0x54f7ee;};const _0x4ffee4=_0x2e6d5f,_0x583976=[];if(_0x33dc01&&_0x33dc01[_0x408247(0x177)]){let _0x42fcad=_0x33dc01[_0x408247(0x177)];while(_0x42fcad&&_0x4ffee4[_0x408247(0x180)](_0x42fcad[_0x408247(0x17a)],'')){_0x583976['push'](_0x42fcad[_0x408247(0x17a)]),_0x42fcad=_0x42fcad[_0x408247(0x177)];}}return _0x583976['reverse']()['splice'](0x0,0x2),_0x583976;}[a39_0x3d1039(0x21a)](_0x45352f){const _0x21a52b=a39_0x3d1039,_0x17fb07={};_0x17fb07[_0x21a52b(0x1a6)]=function(_0x5a5ecb,_0xe687a1){return _0x5a5ecb!==_0xe687a1;},_0x17fb07['dScvb']=_0x21a52b(0x1b2),_0x17fb07[_0x21a52b(0x1aa)]=function(_0x2de39a,_0x566a27){return _0x2de39a===_0x566a27;},_0x17fb07[_0x21a52b(0x161)]='beforeEach\x20hook',_0x17fb07[_0x21a52b(0x23c)]=_0x21a52b(0x1d8),_0x17fb07['YAVlg']=_0x21a52b(0x22e),_0x17fb07[_0x21a52b(0x1ce)]=_0x21a52b(0x18f);const _0x1f8fd5=_0x17fb07;if(_0x1f8fd5[_0x21a52b(0x1a6)](_0x45352f[_0x21a52b(0x16f)],_0x1f8fd5['dScvb']))return![];if(_0x1f8fd5[_0x21a52b(0x1aa)]([_0x1f8fd5[_0x21a52b(0x161)],_0x1f8fd5[_0x21a52b(0x23c)],_0x1f8fd5[_0x21a52b(0x1de)],_0x1f8fd5[_0x21a52b(0x1ce)]][_0x21a52b(0x232)](_0x45352f[_0x21a52b(0x17a)]),-0x1))return![];return!![];}[a39_0x3d1039(0x183)](_0x32d92f,_0x57528b){const _0x443800=a39_0x3d1039,_0x44c4a8=_0x57528b[_0x443800(0x1fb)];if(_0x44c4a8)return _0x44c4a8;return _0x57528b[_0x443800(0x17a)]+_0x443800(0x19e)+this[_0x443800(0x20e)](_0x32d92f);}[a39_0x3d1039(0x22a)](_0x107083,_0xd502ff){const _0x14437f=a39_0x3d1039,_0x89f466={'TJvhW':function(_0x4b7c79){return _0x4b7c79();}};let _0x5d66da=_0xd502ff[_0x14437f(0x17a)]+_0x14437f(0x19e)+this[_0x14437f(0x20e)](_0x107083);return this[_0x14437f(0x1eb)][_0x5d66da]&&(_0x5d66da=_0x5d66da+'\x20-\x20'+_0x89f466[_0x14437f(0x1e1)](uuidv4)),_0xd502ff['_bs_hookIdentifier']=_0x5d66da,_0x5d66da;}[a39_0x3d1039(0x20e)]=_0x293e53=>{const _0xddec28=a39_0x3d1039,_0xd63870={};_0xd63870[_0xddec28(0x168)]=function(_0x35dd18,_0x280fba){return _0x35dd18+_0x280fba;},_0xd63870[_0xddec28(0x1a1)]=function(_0x14013c,_0x443a4c){return _0x14013c+_0x443a4c;};const _0x54d64f=_0xd63870;return _0x54d64f[_0xddec28(0x168)](_0x54d64f[_0xddec28(0x1a1)](_0x293e53[_0xddec28(0x1fa)],'-'),_0x293e53['id']);};[a39_0x3d1039(0x17c)]=(_0x204a12,_0x353ae7)=>{const _0x56bbb2=a39_0x3d1039,_0x3c032d={};_0x3c032d[_0x56bbb2(0x188)]=function(_0x4bcb11,_0x4465f0){return _0x4bcb11+_0x4465f0;};const _0x51df21=_0x3c032d;return _0x51df21[_0x56bbb2(0x188)](_0x51df21[_0x56bbb2(0x188)](this[_0x56bbb2(0x20e)](_0x204a12),'-'),_0x353ae7);};[a39_0x3d1039(0x234)]=_0x5c26a6=>{const _0x5d0284=a39_0x3d1039,_0x310b59={};_0x310b59['WWPlP']='beforeEach\x20hook',_0x310b59[_0x5d0284(0x173)]='BEFORE_EACH',_0x310b59[_0x5d0284(0x1d1)]='beforeAll\x20hook',_0x310b59[_0x5d0284(0x207)]='BEFORE_ALL',_0x310b59[_0x5d0284(0x1c0)]=_0x5d0284(0x18f),_0x310b59[_0x5d0284(0x209)]=_0x5d0284(0x1f3),_0x310b59[_0x5d0284(0x230)]=_0x5d0284(0x22e),_0x310b59[_0x5d0284(0x1d2)]=_0x5d0284(0x163),_0x310b59[_0x5d0284(0x1ec)]=_0x5d0284(0x197);const _0xdcb9d0=_0x310b59;if(_0x5c26a6[_0x5d0284(0x175)](_0xdcb9d0[_0x5d0284(0x203)]))return _0xdcb9d0['SaMOi'];else{if(_0x5c26a6[_0x5d0284(0x175)](_0xdcb9d0[_0x5d0284(0x1d1)]))return _0xdcb9d0[_0x5d0284(0x207)];else{if(_0x5c26a6['startsWith'](_0xdcb9d0[_0x5d0284(0x1c0)]))return _0xdcb9d0[_0x5d0284(0x209)];else{if(_0x5c26a6['startsWith'](_0xdcb9d0[_0x5d0284(0x230)]))return _0xdcb9d0[_0x5d0284(0x1d2)];}}}return _0xdcb9d0['qVHPt'];};[a39_0x3d1039(0x1c1)]=_0x1268e1=>{const _0x5339d2=a39_0x3d1039,_0x442d66={};_0x442d66[_0x5339d2(0x1a4)]=function(_0x2848ca,_0x38e6a0){return _0x2848ca===_0x38e6a0;},_0x442d66[_0x5339d2(0x1e9)]=_0x5339d2(0x22b);const _0x12883d=_0x442d66;let _0x536670=_0x1268e1[_0x5339d2(0x177)];return _0x12883d[_0x5339d2(0x1a4)](typeof _0x1268e1[_0x5339d2(0x177)],_0x12883d[_0x5339d2(0x1e9)])&&(_0x536670=_0x536670[_0x5339d2(0x17a)]),_0x536670+_0x5339d2(0x1be)+_0x1268e1['title'];};[a39_0x3d1039(0x1fc)](){return![];}}module[a39_0x3d1039(0x229)]=o11yClassErrorHandler(MyReporter,[a39_0x3d1039(0x1bc),a39_0x3d1039(0x218),'onTestBegin',a39_0x3d1039(0x162),'onStepBegin','onStepEnd',a39_0x3d1039(0x1cd)]);
|
|
1
|
+
function a39_0x5409(){const _0x117cb8=['../../../helpers/test-observability/sessionHandler','START_TIME','toISOString','_tests','statSync','mUfIU','kDtgC','HZejE','status','Expected\x20to\x20fail,\x20but\x20passed.','onTestEnd','UPUeS','1025YvrRra','EuPEt','indexOf','FGsjU','../../../helpers/helper','_bs_hookIdentifier','pending','backtrace','startTime','BJOZb','onStepBegin','WQfuG','base64','getTestRunIdentifier','YvBtu','javascript','_gitConfigured','ewMgg','duration','beforeEach\x20hook','../../../helpers/test-observability/utils','getStepsAndLogs','TEST_SCREENSHOT','err','After\x20Hooks','oQHLe','timedOut','wOGJg','parent','pKhwS','RUrup','GBKDV','WaVvT','VqycL','passed','endSession','Hook\x20Started\x20with\x20unique\x20id\x20','exports','test_run','expanded','getStepIdentifier','../../../helpers/performance-tester','AWZrQ','split','RhMUr','qTpnQ','hooks','ikApg','\x20is\x20triggered','_testHooksMap','hRGjy','OuDGy','BEFORE_EACH','glRRt','meta','5667832wXLbOF','_projectId','zHFpF','BSiKs','depth','onBegin','oNDem','CBTSessionCreated','yhFJS','MEjIW','getTestIdentifier','dDPsN','rbJSY','uuid','RuhqZ','wLRDL','9QaqbFB','result','byzZl','join','options','tPvnJ','../../../helpers/test-observability/requestQueueHandler','GMqPO','../../../helpers/test-observability/error-handler','getScope','onStepEnd','eNeMy','../../../helpers/test-observability/constants','JCnfS','message','_gitConfigPath','HlDMj','qVDwO','5974610jiHKWO','expectedStatus','FJmmN','2744436smypFJ','onTestBegin','ufzFN','Tyzmp','Sending\x20session\x20details\x20for\x20','Hook\x20Finished\x20with\x20unique\x20id\x20','OmGtq','finishedAt','nSwmh','MCnnS','KrhXH','EykzI','Test\x20Finished\x20with\x20unique\x20id\x20','VVKlZ','printsToStdio','path','Ehdqx','failure_reason','needToReportStep','performance-report-reporter.json','\x20for\x20','setup','../../../helpers/testhub/utils','screenshot','./pwUtils','location','bEUDK','sendHookRunEvent','getHierarchy','env','hook_run_uuid','setStepIdentifier','map','afterEach\x20hook','filter','TRJMq','test_run_uuid','startsWith','afterAll\x20hook','kvnGX','cwd','event_type','MvsPE','JBgWm','qsjqE','AFTER_ALL','SLdOy','rGHWK','../../../helpers/testhub/testhubHandler','27822sCfMpT','onEnd','getHookType','SqGQK','uploadEventData','774hlDzUN','SJMOO','WpLjX','retry','viYSM','mtime','TestRunStarted','AFTER_EACH','push','beforeAll\x20hook','file','BROWSERSTACK_LOG_LEVEL','LfCJO','LogCreated','inspect','attachments','BEFORE_ALL','55ZWLBxj','splice','qTUbR','sZURi','length','CWqTE','configureGit','3662oGenlK','QaHwh','sendSessionDetails','PXAjw','title','ftSVi','sendTestRunEvent','nrrQf','failed','HookRunFinished','readFileSync','SBXVD','vGxOh','hook','category','failure_type','Before\x20Hooks','toString','xmdfU','startedAt','qTHEo','0|4|5|6|1|2|3','reportLogs','getTestUUID','Nqabp','shutdown','KaahN','skipped','steps','BSwtk','zPHxE','901924hSLutk','getInstance','\x20-\x20','errors','error','TestRunFinished','test','PLAYWRIGHT','ZiDwm','relative','4224199yHIeSn','LAfeB','AeipY','Error\x20in\x20calculating\x20performance:\x20','PboQF','titlePath','failure'];a39_0x5409=function(){return _0x117cb8;};return a39_0x5409();}const a39_0x3f5406=a39_0x5cf3;(function(_0x5647a7,_0x42de30){const _0x321d7d=a39_0x5cf3,_0x40d848=_0x5647a7();while(!![]){try{const _0x37b963=-parseInt(_0x321d7d(0x258))/0x1+-parseInt(_0x321d7d(0x239))/0x2*(parseInt(_0x321d7d(0x221))/0x3)+-parseInt(_0x321d7d(0x1eb))/0x4+-parseInt(_0x321d7d(0x275))/0x5*(-parseInt(_0x321d7d(0x21c))/0x6)+-parseInt(_0x321d7d(0x262))/0x7+parseInt(_0x321d7d(0x1c6))/0x8*(-parseInt(_0x321d7d(0x1d6))/0x9)+parseInt(_0x321d7d(0x1e8))/0xa*(parseInt(_0x321d7d(0x232))/0xb);if(_0x37b963===_0x42de30)break;else _0x40d848['push'](_0x40d848['shift']());}catch(_0x3386ad){_0x40d848['push'](_0x40d848['shift']());}}}(a39_0x5409,0x8a113));function a39_0x5cf3(_0x27799e,_0x552f29){const _0x5409cb=a39_0x5409();return a39_0x5cf3=function(_0x5cf32e,_0x3dadbc){_0x5cf32e=_0x5cf32e-0x192;let _0x5b3cd0=_0x5409cb[_0x5cf32e];return _0x5b3cd0;},a39_0x5cf3(_0x27799e,_0x552f29);}const RequestQueueHandler=require(a39_0x3f5406(0x1dc)),{calculatePerformance,getTagsFromTitle,getFailureData}=require(a39_0x3f5406(0x203)),{v4:uuidv4}=require('uuid'),path=require(a39_0x3f5406(0x1fa)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a39_0x3f5406(0x1a3)),{getGitMetaData,setLogLevel}=require(a39_0x3f5406(0x193)),TestDetails=require('./test-details'),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a39_0x3f5406(0x1de)),PerformanceTester=require(a39_0x3f5406(0x1b8)),{FRAMEWORKS}=require(a39_0x3f5406(0x1e2)),SessionHandler=require(a39_0x3f5406(0x269)),{appendTesthubParams}=require(a39_0x3f5406(0x201)),TestHubHandler=require(a39_0x3f5406(0x21b));class MyReporter{constructor(_0x47f90b){const _0x4be963=a39_0x3f5406,_0x48aa46={'dWHdF':_0x4be963(0x24e),'OuDGy':function(_0x898567,_0x51d120,_0x27730a,_0x4f5df2){return _0x898567(_0x51d120,_0x27730a,_0x4f5df2);},'tudsa':_0x4be963(0x1fe)},_0x4b117b=_0x48aa46['dWHdF'][_0x4be963(0x1ba)]('|');let _0x57627f=0x0;while(!![]){switch(_0x4b117b[_0x57627f++]){case'0':const _0x24f212={};_0x24f212['logLevel']=process['env'][_0x4be963(0x22c)],_0x48aa46[_0x4be963(0x1c2)](setLogLevel,_0x24f212,new Map(),new Map());continue;case'1':this[_0x4be963(0x1da)]=_0x47f90b;continue;case'2':this[_0x4be963(0x19f)]=![];continue;case'3':this[_0x4be963(0x1e5)]=null;continue;case'4':process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester['startMonitoring'](_0x48aa46['tudsa']),process[_0x4be963(0x208)][_0x4be963(0x26a)]=new Date()[_0x4be963(0x26b)]());continue;case'5':this[_0x4be963(0x26c)]={};continue;case'6':this[_0x4be963(0x1c0)]={};continue;}break;}}async[a39_0x3f5406(0x1cb)](){const _0x4b3d56=a39_0x3f5406;TestDetails[_0x4b3d56(0x200)](),await this['configureGit']();}async[a39_0x3f5406(0x1ec)](_0x592092,_0x2e72c2){const _0x318788=a39_0x3f5406,_0x9a6b23={'WpLjX':function(_0x1837cd,_0x3fa9a5){return _0x1837cd(_0x3fa9a5);},'qTHEo':_0x318788(0x227)},_0x2198ef=this['getTestIdentifier'](_0x592092);this[_0x318788(0x26c)][_0x2198ef]={'uuid':TestDetails['getTestUUID'](this['getTestRunIdentifier'](_0x592092,_0x2e72c2[_0x318788(0x224)])),'startedAt':_0x2e72c2['startTime']},_0x9a6b23[_0x318788(0x223)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x2198ef),await this['sendTestRunEvent'](_0x592092,_0x9a6b23[_0x318788(0x24d)],_0x2e72c2);}async[a39_0x3f5406(0x199)](_0x3b6609,_0x400b9e,_0x3f3748){const _0x2d4a3b=a39_0x3f5406,_0x4cd649={'SBXVD':function(_0x3468ae,_0x4f75a2){return _0x3468ae(_0x4f75a2);},'ufzFN':'HookRunStarted'};if(!this[_0x2d4a3b(0x1fd)](_0x3f3748,_0x3b6609))return;const _0xfe4e6a=this[_0x2d4a3b(0x20a)](_0x3b6609,_0x3f3748);this['_tests'][_0xfe4e6a]={'uuid':TestDetails['getTestUUID'](_0xfe4e6a),'startedAt':_0x3f3748['startTime'][_0x2d4a3b(0x26b)]()};const _0x2fd92f=this[_0x2d4a3b(0x19c)](_0x3b6609,_0x400b9e[_0x2d4a3b(0x224)]);!this[_0x2d4a3b(0x1c0)][_0x2fd92f]&&(this[_0x2d4a3b(0x1c0)][_0x2fd92f]=[]),this[_0x2d4a3b(0x1c0)][_0x2fd92f][_0x2d4a3b(0x229)](this[_0x2d4a3b(0x26c)][_0xfe4e6a]['uuid']),_0x4cd649[_0x2d4a3b(0x244)](trace,_0x2d4a3b(0x1b3)+_0xfe4e6a+'\x20is\x20triggered\x20for\x20test\x20'+_0x2fd92f),await this[_0x2d4a3b(0x206)](_0x3b6609,_0x3f3748,_0x4cd649[_0x2d4a3b(0x1ed)],_0x400b9e);}async['onStepEnd'](_0x583409,_0x4724a8,_0x1442c2){const _0x4c594a=a39_0x3f5406,_0x3ab89c={'QaHwh':function(_0x4dba57,_0x2f00d3){return _0x4dba57+_0x2f00d3;},'viYSM':function(_0x5cffa4,_0x509021){return _0x5cffa4(_0x509021);},'kDtgC':_0x4c594a(0x242)};if(!this[_0x4c594a(0x1fd)](_0x1442c2,_0x583409))return;const _0x49e240=this[_0x4c594a(0x1b7)](_0x583409,_0x1442c2);this[_0x4c594a(0x26c)][_0x49e240]={...this[_0x4c594a(0x26c)][_0x49e240]||{},'finishedAt':new Date(_0x3ab89c[_0x4c594a(0x23a)](_0x1442c2[_0x4c594a(0x197)]['getTime'](),_0x1442c2['duration']))},_0x3ab89c[_0x4c594a(0x225)](trace,_0x4c594a(0x1f0)+_0x49e240+_0x4c594a(0x1bf)),await this[_0x4c594a(0x206)](_0x583409,_0x1442c2,_0x3ab89c[_0x4c594a(0x26f)],_0x4724a8);}async[a39_0x3f5406(0x273)](_0x44c95b,_0x359c8a){const _0x4eb269=a39_0x3f5406,_0x2a1833={'VzYUX':function(_0x380734,_0x3295df){return _0x380734===_0x3295df;},'ewMgg':_0x4eb269(0x202),'KaahN':_0x4eb269(0x1a5),'eNeMy':_0x4eb269(0x19b),'LAfeB':function(_0x4b1842,_0x53cdee){return _0x4b1842(_0x53cdee);},'PXAjw':'TestRunFinished','tPvnJ':function(_0x444155,_0x5abcc5){return _0x444155>_0x5abcc5;}},_0xba7688=this[_0x4eb269(0x1d0)](_0x44c95b),_0x45f0aa=TestDetails[_0x4eb269(0x250)](this['getTestRunIdentifier'](_0x44c95b,_0x359c8a[_0x4eb269(0x224)]));this[_0x4eb269(0x26c)][_0xba7688]={...this[_0x4eb269(0x26c)][_0xba7688]||{},'finishedAt':new Date()[_0x4eb269(0x26b)]()},_0x2a1833[_0x4eb269(0x263)](trace,_0x4eb269(0x1f7)+_0xba7688),await this[_0x4eb269(0x23f)](_0x44c95b,_0x2a1833[_0x4eb269(0x23c)],_0x359c8a);const _0x27425c=[];_0x359c8a[_0x4eb269(0x230)]&&_0x359c8a[_0x4eb269(0x230)][_0x4eb269(0x20b)](_0x4c2b05=>{const _0x6bfa26=_0x4eb269;if(_0x2a1833['VzYUX'](_0x4c2b05['name'],_0x2a1833[_0x6bfa26(0x1a0)])){if(!fs['existsSync'](_0x4c2b05[_0x6bfa26(0x1fa)]))return;_0x27425c['push']({'test_run_uuid':_0x45f0aa,'timestamp':fs[_0x6bfa26(0x26d)](_0x4c2b05['path'])[_0x6bfa26(0x226)],'kind':_0x2a1833[_0x6bfa26(0x253)],'message':fs[_0x6bfa26(0x243)](_0x4c2b05[_0x6bfa26(0x1fa)],{'encoding':_0x2a1833[_0x6bfa26(0x1e1)]})});}}),_0x2a1833[_0x4eb269(0x1db)](_0x27425c[_0x4eb269(0x236)],0x0)&&await MyReporter['reportLogs'](_0x27425c);}async['endSession'](){const _0x13c33a=a39_0x3f5406;await RequestQueueHandler[_0x13c33a(0x259)]()[_0x13c33a(0x252)](),TestDetails[_0x13c33a(0x252)]();}async[a39_0x3f5406(0x21d)](_0x590596){const _0x2285db=a39_0x3f5406,_0x494252={'PGmHB':function(_0x2a5eaa){return _0x2a5eaa();},'GMqPO':function(_0x3d0205){return _0x3d0205();},'LfCJO':function(_0xc8d498,_0x40d604){return _0xc8d498(_0x40d604);}};await this[_0x2285db(0x1b2)](),_0x494252['PGmHB'](printBuildLink);try{process[_0x2285db(0x208)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x494252[_0x2285db(0x1dd)](calculatePerformance);}catch(_0xf42b0e){_0x494252[_0x2285db(0x22d)](debug,_0x2285db(0x265)+_0xf42b0e[_0x2285db(0x24a)]());}}static async['addTestUIDAndReportLog'](_0x1eb928,_0x3afd63){const _0x459017=a39_0x3f5406;_0x3afd63[_0x459017(0x20f)]=TestDetails[_0x459017(0x250)](_0x1eb928),await this[_0x459017(0x24f)]([_0x3afd63]);}static async[a39_0x3f5406(0x24f)](_0x33507b){const _0x3b5dbb=a39_0x3f5406,_0xd726bf={};_0xd726bf[_0x3b5dbb(0x1d1)]=_0x3b5dbb(0x22e);const _0x1cf096=_0xd726bf,_0x26be32={};_0x26be32[_0x3b5dbb(0x214)]=_0x1cf096[_0x3b5dbb(0x1d1)],_0x26be32['logs']=_0x33507b,await SessionHandler[_0x3b5dbb(0x220)](_0x26be32);}async[a39_0x3f5406(0x206)](_0x474b78,_0x102b6c,_0x4835c5,_0x188709){const _0x528abe=a39_0x3f5406,_0x2391f={'qsjqE':_0x528abe(0x246),'SJMOO':_0x528abe(0x19e),'nrrQf':_0x528abe(0x195),'wOGJg':function(_0x473d6e,_0x1048aa){return _0x473d6e>=_0x1048aa;},'CWqTE':function(_0xf87146,_0x547e90){return _0xf87146===_0x547e90;},'HlDMj':'HookRunFinished','sZURi':function(_0x3451ec,_0xd22927){return _0x3451ec>_0xd22927;},'yhFJS':_0x528abe(0x241),'ikApg':function(_0x1437aa,_0x28082f){return _0x1437aa(_0x28082f);},'RuhqZ':function(_0x155cf4,_0x515c17,_0x5770c1){return _0x155cf4(_0x515c17,_0x5770c1);},'TgpBn':_0x528abe(0x1a6),'MvsPE':function(_0x10bce6,_0x842df5){return _0x10bce6===_0x842df5;},'FFdmo':_0x528abe(0x1b1)},_0x3c0e15=this['getStepIdentifier'](_0x474b78,_0x102b6c),_0x5f3cae=this[_0x528abe(0x26c)][_0x3c0e15],_0x262b39={'uuid':_0x5f3cae[_0x528abe(0x1d3)],'type':_0x2391f['qsjqE'],'hook_type':this[_0x528abe(0x21e)](_0x102b6c['title']),'name':_0x102b6c[_0x528abe(0x23d)],'scope':this[_0x528abe(0x1df)](_0x102b6c),'scopes':this[_0x528abe(0x207)](_0x474b78),'body':{'lang':_0x2391f[_0x528abe(0x222)],'code':null},'identifier':_0x3c0e15,'file_name':path[_0x528abe(0x261)](process[_0x528abe(0x213)](),_0x474b78['location'][_0x528abe(0x22b)]),'location':path['relative'](process['cwd'](),_0x474b78[_0x528abe(0x204)][_0x528abe(0x22b)]),'result':_0x2391f[_0x528abe(0x240)],'duration_in_ms':_0x2391f[_0x528abe(0x1aa)](_0x102b6c['duration'],0x0)?_0x102b6c['duration']:undefined,'vc_filepath':this[_0x528abe(0x1e5)]&&_0x474b78['location'][_0x528abe(0x22b)]?path[_0x528abe(0x261)](this[_0x528abe(0x1e5)],_0x474b78[_0x528abe(0x204)][_0x528abe(0x22b)]):undefined,'started_at':_0x5f3cae[_0x528abe(0x24c)],'finished_at':_0x5f3cae[_0x528abe(0x1f2)],'framework':FRAMEWORKS[_0x528abe(0x25f)]};if(_0x2391f[_0x528abe(0x237)](_0x4835c5,_0x2391f[_0x528abe(0x1e6)])){const {steps:_0x1b7254,logs:_0x497faf}=this[_0x528abe(0x1a4)](_0x102b6c[_0x528abe(0x255)],_0x5f3cae['uuid'],_0x2391f[_0x528abe(0x217)]);_0x497faf&&_0x2391f[_0x528abe(0x235)](_0x497faf[_0x528abe(0x236)],0x0)&&await MyReporter[_0x528abe(0x24f)](_0x497faf);const _0x4b7e9c={};_0x4b7e9c[_0x528abe(0x255)]=_0x1b7254,_0x262b39[_0x528abe(0x1c5)]=_0x4b7e9c;if(_0x102b6c['error']){_0x262b39[_0x528abe(0x1d7)]=_0x2391f[_0x528abe(0x1ce)],_0x262b39['failure_reason']=_0x2391f[_0x528abe(0x1be)](removeAnsiColors,_0x102b6c[_0x528abe(0x25c)][_0x528abe(0x1e4)]),_0x262b39['failure_type']=_0x2391f['ikApg'](getFailureType,_0x102b6c[_0x528abe(0x25c)][_0x528abe(0x1e4)]);const _0xbb0136=_0x2391f[_0x528abe(0x1d4)](failureData,_0x102b6c[_0x528abe(0x25c)],_0x2391f['TgpBn']);if(_0xbb0136&&_0x2391f[_0x528abe(0x215)](_0xbb0136[_0x528abe(0x236)],0x0)){const _0x5715ae={};_0x5715ae[_0x528abe(0x196)]=[_0x262b39[_0x528abe(0x1fc)]],_0x5715ae[_0x528abe(0x1b6)]=[],_0xbb0136[_0x528abe(0x229)](_0x5715ae);}_0x262b39[_0x528abe(0x268)]=_0xbb0136;}else _0x262b39[_0x528abe(0x1d7)]=_0x2391f['FFdmo'];}const _0x24f27f={};_0x24f27f[_0x528abe(0x214)]=_0x4835c5,_0x24f27f['hook_run']=_0x262b39;const _0x36cd7a=_0x24f27f;await SessionHandler[_0x528abe(0x220)](_0x36cd7a);}[a39_0x3f5406(0x1a4)](_0x33e899,_0x146baf,_0x4156e1){const _0x25e8af=a39_0x3f5406,_0x31c8ac={'HZejE':function(_0x3bbba0,_0x14fc47){return _0x3bbba0===_0x14fc47;},'vGxOh':'hook','SLdOy':function(_0x59d9c8,_0x3dd6f5){return _0x59d9c8===_0x3dd6f5;},'MCnnS':_0x25e8af(0x1a7),'ZQHhQ':_0x25e8af(0x249),'MEjIW':function(_0x3a64d4,_0x37acb1){return _0x3a64d4===_0x37acb1;},'mUfIU':_0x25e8af(0x25e),'Baoie':'test_run_uuid','PwcJI':_0x25e8af(0x209),'xmdfU':'TEST_STEP','AWZrQ':_0x25e8af(0x241),'PboQF':'passed','glRRt':function(_0x21ebf7,_0x2747e4){return _0x21ebf7(_0x2747e4);},'smopU':function(_0x10c9ae){return _0x10c9ae();},'oNDem':function(_0x13b7a3,_0x4c2453){return _0x13b7a3(_0x4c2453);},'hRGjy':function(_0x3f9308,_0x29e05c,_0x238fbb){return _0x3f9308(_0x29e05c,_0x238fbb);}},_0x1129b5=[],_0x570476=[],_0x12d5de=_0x33e899[_0x25e8af(0x20d)](_0x5d2cd0=>{const _0xb4291f=_0x25e8af;if(_0x31c8ac[_0xb4291f(0x270)](_0x5d2cd0[_0xb4291f(0x247)],_0x31c8ac[_0xb4291f(0x245)])&&(_0x31c8ac[_0xb4291f(0x219)](_0x5d2cd0[_0xb4291f(0x23d)],_0x31c8ac[_0xb4291f(0x1f4)])||_0x31c8ac[_0xb4291f(0x270)](_0x5d2cd0[_0xb4291f(0x23d)],_0x31c8ac['ZQHhQ'])))return![];return!![];}),_0x3b6416=(_0x24cd52,_0x2bd0c2=![])=>{const _0xf59a58=_0x25e8af;if(_0x31c8ac[_0xf59a58(0x219)](_0x24cd52['steps'][_0xf59a58(0x236)],0x0)){const _0xf5b9f4=_0x31c8ac[_0xf59a58(0x1cf)](_0x4156e1,_0x31c8ac[_0xf59a58(0x26e)])?_0x31c8ac['Baoie']:_0x31c8ac['PwcJI'];_0x570476[_0xf59a58(0x229)]({'kind':_0x31c8ac[_0xf59a58(0x24b)],[_0xf5b9f4]:_0x146baf,'message':_0x24cd52[_0xf59a58(0x23d)],'timestamp':_0x24cd52['startTime'][_0xf59a58(0x26b)](),'level':_0x24cd52['error']?_0x31c8ac[_0xf59a58(0x1b9)]:_0x31c8ac[_0xf59a58(0x266)],'duration':_0x24cd52[_0xf59a58(0x1a1)],'failure':_0x24cd52[_0xf59a58(0x25c)]&&_0x24cd52['error'][_0xf59a58(0x1e4)]&&_0x31c8ac[_0xf59a58(0x1c4)](removeAnsiColors,_0x24cd52[_0xf59a58(0x25c)][_0xf59a58(0x1e4)]),'failure_type':_0x31c8ac[_0xf59a58(0x1c4)](getFailureType,_0x24cd52['error']&&_0x24cd52['error'][_0xf59a58(0x1e4)])});}else{!_0x2bd0c2&&_0x1129b5[_0xf59a58(0x229)]({'id':_0x31c8ac['smopU'](uuidv4),'text':_0x24cd52[_0xf59a58(0x23d)],'keyword':undefined,'started_at':_0x24cd52['startTime'][_0xf59a58(0x26b)](),'duration':_0x24cd52['duration'],'result':_0x24cd52['error']?_0x31c8ac[_0xf59a58(0x1b9)]:_0x31c8ac['PboQF'],'failure':_0x24cd52['error']&&_0x24cd52[_0xf59a58(0x25c)]['message']&&_0x31c8ac[_0xf59a58(0x1c4)](removeAnsiColors,_0x24cd52[_0xf59a58(0x25c)][_0xf59a58(0x1e4)]),'failure_type':_0x31c8ac[_0xf59a58(0x1cc)](getFailureType,_0x24cd52[_0xf59a58(0x25c)]&&_0x24cd52['error'][_0xf59a58(0x1e4)])});for(const _0x16b86d of _0x24cd52['steps']){_0x31c8ac[_0xf59a58(0x1c1)](_0x3b6416,_0x16b86d,!![]);}}};for(const _0x1c969d of _0x12d5de){_0x31c8ac[_0x25e8af(0x1c1)](_0x3b6416,_0x1c969d,![]);}const _0x1c3319={};return _0x1c3319['steps']=_0x1129b5,_0x1c3319['logs']=_0x570476,_0x1c3319;}async[a39_0x3f5406(0x23f)](_0x115b21,_0xcec32a,_0xaf8365){const _0x3e91eb=a39_0x3f5406,_0x5cbba5={'AeipY':_0x3e91eb(0x25e),'rqmZf':_0x3e91eb(0x19e),'byzZl':'pending','SqGQK':function(_0x67f92d,_0x62d8ed){return _0x67f92d(_0x62d8ed);},'VqycL':function(_0x227c2f,_0x19b4e8,_0x484106,_0x316e5b,_0x420568){return _0x227c2f(_0x19b4e8,_0x484106,_0x316e5b,_0x420568);},'wYyug':function(_0x2c11c6,_0xa248c4){return _0x2c11c6>_0xa248c4;},'RUrup':function(_0x41759e,_0x13e26d){return _0x41759e-_0x13e26d;},'wLRDL':function(_0x4411ea,_0x465d82){return _0x4411ea===_0x465d82;},'BSwtk':_0x3e91eb(0x25d),'FJmmN':function(_0x5074df,_0x50b38b){return _0x5074df===_0x50b38b;},'BJOZb':_0x3e91eb(0x254),'OmGtq':_0x3e91eb(0x1b1),'Nqabp':_0x3e91eb(0x241),'Ehdqx':_0x3e91eb(0x1a9),'TRJMq':function(_0x26faca,_0x55ac3e){return _0x26faca===_0x55ac3e;},'fnhCD':function(_0x59a432,_0x3f32c0){return _0x59a432===_0x3f32c0;},'ftSVi':_0x3e91eb(0x272),'JCnfS':function(_0xa6c7fd,_0x70cb50){return _0xa6c7fd(_0x70cb50);},'ZiDwm':function(_0x21754a,_0x4f90be,_0x4dd848){return _0x21754a(_0x4f90be,_0x4dd848);},'qTpnQ':function(_0x241bb5,_0x5edf14){return _0x241bb5===_0x5edf14;},'BqeIk':function(_0x5e3906,_0x5ef65a){return _0x5e3906>_0x5ef65a;}},_0x1732b4=this[_0x3e91eb(0x1d0)](_0x115b21),_0x392d36=this['getScope'](_0x115b21),_0x383905=this[_0x3e91eb(0x26c)][_0x1732b4],_0x3c485f=path[_0x3e91eb(0x261)](process[_0x3e91eb(0x213)](),_0x115b21[_0x3e91eb(0x204)][_0x3e91eb(0x22b)]);await this['configureGit']();const _0x1dd519={'uuid':_0x383905[_0x3e91eb(0x1d3)],'type':_0x5cbba5['AeipY'],'name':_0x115b21['title'],'body':{'lang':_0x5cbba5['rqmZf'],'code':_0x115b21['fn'][_0x3e91eb(0x24a)]()},'scope':_0x392d36,'scopes':this['getHierarchy'](_0x115b21),'identifier':_0x1732b4,'file_name':_0x3c485f,'location':_0x3c485f,'result':_0x5cbba5[_0x3e91eb(0x1d8)],'duration_in_ms':_0xaf8365&&_0xaf8365[_0x3e91eb(0x1a1)]?_0xaf8365[_0x3e91eb(0x1a1)]:null,'vc_filepath':this[_0x3e91eb(0x1e5)]&&_0x115b21[_0x3e91eb(0x204)][_0x3e91eb(0x22b)]?path[_0x3e91eb(0x261)](this[_0x3e91eb(0x1e5)],_0x115b21[_0x3e91eb(0x204)][_0x3e91eb(0x22b)]):undefined,'started_at':_0x383905[_0x3e91eb(0x24c)],'finished_at':_0x383905[_0x3e91eb(0x1f2)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':_0x115b21[_0x3e91eb(0x267)]()[_0x3e91eb(0x1d9)]('\x20')},'tags':_0x5cbba5[_0x3e91eb(0x21f)](getTagsFromTitle,_0x115b21[_0x3e91eb(0x23d)])};_0x5cbba5[_0x3e91eb(0x1b0)](appendTesthubParams,_0x1dd519,_0xcec32a,_0x115b21,FRAMEWORKS[_0x3e91eb(0x25f)]);_0xaf8365&&_0x5cbba5['wYyug'](_0xaf8365[_0x3e91eb(0x224)],0x0)&&(_0x1dd519['retry_of']=TestDetails[_0x3e91eb(0x250)](this[_0x3e91eb(0x19c)](_0x115b21,_0x5cbba5[_0x3e91eb(0x1ad)](_0xaf8365[_0x3e91eb(0x224)],0x1))));if(_0x5cbba5[_0x3e91eb(0x1d5)](_0xcec32a,_0x5cbba5[_0x3e91eb(0x256)])){_0x1dd519['result']=_0xaf8365[_0x3e91eb(0x271)];if(_0x5cbba5[_0x3e91eb(0x1d5)](_0xaf8365[_0x3e91eb(0x271)],_0x115b21['expectedStatus']))_0x1dd519[_0x3e91eb(0x1d7)]=_0x5cbba5[_0x3e91eb(0x1ea)](_0xaf8365[_0x3e91eb(0x271)],_0x5cbba5[_0x3e91eb(0x198)])?_0x5cbba5['BJOZb']:_0x5cbba5['OmGtq'];else{(_0x5cbba5[_0x3e91eb(0x1ea)](_0x1dd519[_0x3e91eb(0x1d7)],_0x5cbba5['OmGtq'])||_0x5cbba5['FJmmN'](_0x1dd519[_0x3e91eb(0x1d7)],_0x5cbba5[_0x3e91eb(0x251)])||_0x5cbba5['wLRDL'](_0x1dd519[_0x3e91eb(0x1d7)],_0x5cbba5[_0x3e91eb(0x1fb)]))&&(_0x1dd519[_0x3e91eb(0x1d7)]=_0x5cbba5[_0x3e91eb(0x251)]);if(_0x5cbba5[_0x3e91eb(0x20e)](_0xaf8365['status'],_0x5cbba5[_0x3e91eb(0x1f1)])&&_0x5cbba5['fnhCD'](_0x115b21[_0x3e91eb(0x1e9)],_0x5cbba5[_0x3e91eb(0x251)])){const _0x3a4514={};_0x3a4514[_0x3e91eb(0x1e4)]=_0x5cbba5[_0x3e91eb(0x23e)],_0x3a4514['stack']=_0x5cbba5[_0x3e91eb(0x23e)],_0xaf8365[_0x3e91eb(0x25c)]=_0x3a4514,_0xaf8365[_0x3e91eb(0x25b)]=[_0xaf8365[_0x3e91eb(0x25c)]];}}const _0x4ec74d=this['getTestRunIdentifier'](_0x115b21,_0xaf8365[_0x3e91eb(0x224)]);_0x1dd519[_0x3e91eb(0x1bd)]=this['_testHooksMap'][_0x4ec74d];const {steps:_0x406faf,logs:_0x5c087c}=this[_0x3e91eb(0x1a4)](_0xaf8365[_0x3e91eb(0x255)],_0x383905[_0x3e91eb(0x1d3)],_0x5cbba5[_0x3e91eb(0x264)]);await MyReporter['reportLogs'](_0x5c087c);const _0x11d5c0={};_0x11d5c0[_0x3e91eb(0x255)]=_0x406faf,_0x1dd519['meta']=_0x11d5c0;if(_0xaf8365[_0x3e91eb(0x25c)]){_0x1dd519[_0x3e91eb(0x1fc)]=_0x5cbba5[_0x3e91eb(0x1e3)](removeAnsiColors,_0xaf8365[_0x3e91eb(0x25c)][_0x3e91eb(0x1e4)]),_0x1dd519[_0x3e91eb(0x248)]=_0x5cbba5[_0x3e91eb(0x1e3)](getFailureType,_0xaf8365['error']['message']);const _0x3a9764={};_0x3a9764[_0x3e91eb(0x20f)]=_0x383905[_0x3e91eb(0x1d3)];const {failureData:_0x3511a0,logs:_0x3e4404}=_0x5cbba5[_0x3e91eb(0x260)](getFailureData,_0xaf8365[_0x3e91eb(0x25b)],_0x3a9764);if(_0x3511a0&&_0x5cbba5[_0x3e91eb(0x1bc)](_0x3511a0[_0x3e91eb(0x236)],0x0)){const _0xa48428={};_0xa48428[_0x3e91eb(0x196)]=[_0x1dd519[_0x3e91eb(0x1fc)]],_0xa48428[_0x3e91eb(0x1b6)]=[],_0x3511a0[_0x3e91eb(0x229)](_0xa48428);}_0x1dd519['failure']=_0x3511a0,_0x3e4404&&_0x5cbba5['BqeIk'](_0x3e4404['length'],0x0)&&await MyReporter['reportLogs'](_0x3e4404);}}const _0x59e4ad={};_0x59e4ad[_0x3e91eb(0x214)]=_0xcec32a,_0x59e4ad[_0x3e91eb(0x1b5)]=_0x1dd519;const _0x4508f1=_0x59e4ad;await SessionHandler[_0x3e91eb(0x220)](_0x4508f1);}static async[a39_0x3f5406(0x23b)](_0x6eef60,_0x4ec97a){const _0x4aaa71=a39_0x3f5406,_0x2d127c={'WaVvT':function(_0x1f0de2,_0x4e3fe6){return _0x1f0de2(_0x4e3fe6);},'hYlic':_0x4aaa71(0x1cd)},_0xfd0c1={'uuid':TestDetails[_0x4aaa71(0x250)](_0x6eef60),'integrations':_0x4ec97a},_0x523e81={};_0x523e81[_0x4aaa71(0x1ca)]=null,_0x2d127c[_0x4aaa71(0x1af)](debug,_0x4aaa71(0x1ef)+_0x6eef60+',\x20'+util[_0x4aaa71(0x22f)](_0x4ec97a,_0x523e81));const _0x1280c7={};_0x1280c7[_0x4aaa71(0x214)]=_0x2d127c['hYlic'],_0x1280c7['test_run']=_0xfd0c1,await SessionHandler[_0x4aaa71(0x220)](_0x1280c7);}async[a39_0x3f5406(0x238)](){const _0x5edb4d=a39_0x3f5406,_0x4c4863={'FGsjU':function(_0x90211d){return _0x90211d();}};if(this['_gitConfigured'])return;const _0x29a91e=await _0x4c4863[_0x5edb4d(0x192)](getGitMetaData);_0x29a91e&&(this[_0x5edb4d(0x1e5)]=_0x29a91e['root']),this['_gitConfigured']=!![];}[a39_0x3f5406(0x207)](_0x45cc11){const _0x497633=a39_0x3f5406,_0x1cb3b9={};_0x1cb3b9[_0x497633(0x1f3)]=function(_0x1741a6,_0x9c03c6){return _0x1741a6!==_0x9c03c6;};const _0x58ba35=_0x1cb3b9,_0x14579e=[];if(_0x45cc11&&_0x45cc11[_0x497633(0x1ab)]){let _0x4ac3f9=_0x45cc11[_0x497633(0x1ab)];while(_0x4ac3f9&&_0x58ba35['nSwmh'](_0x4ac3f9[_0x497633(0x23d)],'')){_0x14579e[_0x497633(0x229)](_0x4ac3f9[_0x497633(0x23d)]),_0x4ac3f9=_0x4ac3f9['parent'];}}return _0x14579e['reverse']()[_0x497633(0x233)](0x0,0x2),_0x14579e;}['needToReportStep'](_0xe8a9cf){const _0x1bbbd4=a39_0x3f5406,_0x40454b={};_0x40454b['UPUeS']=function(_0x35d97f,_0xe3b113){return _0x35d97f!==_0xe3b113;},_0x40454b['qVDwO']='hook',_0x40454b[_0x1bbbd4(0x1bb)]=function(_0xfb9764,_0x4d5006){return _0xfb9764===_0x4d5006;},_0x40454b['kvnGX']=_0x1bbbd4(0x1a2),_0x40454b[_0x1bbbd4(0x216)]=_0x1bbbd4(0x22a),_0x40454b[_0x1bbbd4(0x276)]='afterAll\x20hook',_0x40454b[_0x1bbbd4(0x234)]=_0x1bbbd4(0x20c);const _0x53a9ba=_0x40454b;if(_0x53a9ba[_0x1bbbd4(0x274)](_0xe8a9cf[_0x1bbbd4(0x247)],_0x53a9ba[_0x1bbbd4(0x1e7)]))return![];if(_0x53a9ba[_0x1bbbd4(0x1bb)]([_0x53a9ba[_0x1bbbd4(0x212)],_0x53a9ba[_0x1bbbd4(0x216)],_0x53a9ba['EuPEt'],_0x53a9ba[_0x1bbbd4(0x234)]][_0x1bbbd4(0x277)](_0xe8a9cf['title']),-0x1))return![];return!![];}[a39_0x3f5406(0x1b7)](_0x18f29e,_0x493947){const _0x37cc2a=a39_0x3f5406,_0x5a2e33=_0x493947[_0x37cc2a(0x194)];if(_0x5a2e33)return _0x5a2e33;return _0x493947['title']+_0x37cc2a(0x1ff)+this['getTestIdentifier'](_0x18f29e);}['setStepIdentifier'](_0xd763a9,_0x34e938){const _0x2a46f5=a39_0x3f5406,_0x23272b={'rbJSY':function(_0x417cb9){return _0x417cb9();}};let _0x148d9f=_0x34e938['title']+_0x2a46f5(0x1ff)+this[_0x2a46f5(0x1d0)](_0xd763a9);return this[_0x2a46f5(0x26c)][_0x148d9f]&&(_0x148d9f=_0x148d9f+_0x2a46f5(0x25a)+_0x23272b[_0x2a46f5(0x1d2)](uuidv4)),_0x34e938['_bs_hookIdentifier']=_0x148d9f,_0x148d9f;}[a39_0x3f5406(0x1d0)]=_0x4c79ff=>{const _0x3044c2=a39_0x3f5406,_0x5d394a={};_0x5d394a[_0x3044c2(0x1f8)]=function(_0x491a3d,_0x461149){return _0x491a3d+_0x461149;},_0x5d394a['zHFpF']=function(_0x3da329,_0x2c2b18){return _0x3da329+_0x2c2b18;};const _0x4a1051=_0x5d394a;return _0x4a1051[_0x3044c2(0x1f8)](_0x4a1051[_0x3044c2(0x1c8)](_0x4c79ff[_0x3044c2(0x1c7)],'-'),_0x4c79ff['id']);};[a39_0x3f5406(0x19c)]=(_0x2cf966,_0x46939e)=>{const _0x8b602a=a39_0x3f5406,_0x247a87={};_0x247a87[_0x8b602a(0x19d)]=function(_0x416ad1,_0x4e11ce){return _0x416ad1+_0x4e11ce;};const _0x4094ff=_0x247a87;return _0x4094ff[_0x8b602a(0x19d)](_0x4094ff[_0x8b602a(0x19d)](this[_0x8b602a(0x1d0)](_0x2cf966),'-'),_0x46939e);};[a39_0x3f5406(0x21e)]=_0x5c0e47=>{const _0x250fb3=a39_0x3f5406,_0x427f44={};_0x427f44[_0x250fb3(0x1ac)]=_0x250fb3(0x1a2),_0x427f44[_0x250fb3(0x1c9)]=_0x250fb3(0x1c3),_0x427f44[_0x250fb3(0x21a)]=_0x250fb3(0x22a),_0x427f44['bEUDK']=_0x250fb3(0x231),_0x427f44[_0x250fb3(0x19a)]=_0x250fb3(0x20c),_0x427f44['oQHLe']=_0x250fb3(0x228),_0x427f44['Tyzmp']=_0x250fb3(0x211),_0x427f44[_0x250fb3(0x1f5)]=_0x250fb3(0x218),_0x427f44[_0x250fb3(0x1ae)]='unknown';const _0x1ddffe=_0x427f44;if(_0x5c0e47[_0x250fb3(0x210)](_0x1ddffe['pKhwS']))return _0x1ddffe[_0x250fb3(0x1c9)];else{if(_0x5c0e47[_0x250fb3(0x210)](_0x1ddffe[_0x250fb3(0x21a)]))return _0x1ddffe[_0x250fb3(0x205)];else{if(_0x5c0e47['startsWith'](_0x1ddffe[_0x250fb3(0x19a)]))return _0x1ddffe[_0x250fb3(0x1a8)];else{if(_0x5c0e47['startsWith'](_0x1ddffe[_0x250fb3(0x1ee)]))return _0x1ddffe[_0x250fb3(0x1f5)];}}}return _0x1ddffe['GBKDV'];};['getScope']=_0x3a82c2=>{const _0x5787a3=a39_0x3f5406,_0x392f9={};_0x392f9[_0x5787a3(0x1f6)]=function(_0xbe83fe,_0x1cc545){return _0xbe83fe===_0x1cc545;},_0x392f9['zPHxE']='object';const _0x2d850e=_0x392f9;let _0x4b8f42=_0x3a82c2[_0x5787a3(0x1ab)];return _0x2d850e['EykzI'](typeof _0x3a82c2[_0x5787a3(0x1ab)],_0x2d850e[_0x5787a3(0x257)])&&(_0x4b8f42=_0x4b8f42[_0x5787a3(0x23d)]),_0x4b8f42+_0x5787a3(0x25a)+_0x3a82c2[_0x5787a3(0x23d)];};[a39_0x3f5406(0x1f9)](){return![];}}module[a39_0x3f5406(0x1b4)]=o11yClassErrorHandler(MyReporter,['onBegin','endSession',a39_0x3f5406(0x1ec),a39_0x3f5406(0x273),a39_0x3f5406(0x199),a39_0x3f5406(0x1e0),a39_0x3f5406(0x23b)],'MyReporter');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a40_0x52291a=a40_0x27d9;(function(_0x9ca546,_0x2c0c97){const _0x26abbd=a40_0x27d9,_0xfbaeee=_0x9ca546();while(!![]){try{const _0x94cd6=parseInt(_0x26abbd(0x1df))/0x1+-parseInt(_0x26abbd(0x1c9))/0x2*(parseInt(_0x26abbd(0x1c7))/0x3)+-parseInt(_0x26abbd(0x1d8))/0x4*(-parseInt(_0x26abbd(0x1bf))/0x5)+parseInt(_0x26abbd(0x1c4))/0x6+parseInt(_0x26abbd(0x1d0))/0x7+-parseInt(_0x26abbd(0x1e4))/0x8*(parseInt(_0x26abbd(0x1db))/0x9)+-parseInt(_0x26abbd(0x1bd))/0xa;if(_0x94cd6===_0x2c0c97)break;else _0xfbaeee['push'](_0xfbaeee['shift']());}catch(_0x5c610a){_0xfbaeee['push'](_0xfbaeee['shift']());}}}(a40_0x1c19,0x7c4e6));const fs=require('fs'),path=require(a40_0x52291a(0x1d7)),{v4:uuidv4}=require(a40_0x52291a(0x1af)),{TEMP_STORE_DIR_NAME}=require(a40_0x52291a(0x1ad)),{nestedKeyValue}=require(a40_0x52291a(0x1d3));function a40_0x1c19(){const _0x377989=['getFilePath','getStoreDirName','parse','existsSync','47224GYLIcu','__projectId','.json','string','rjRZk','HyzET','GtvQW','cwd','Xtprg','../../../helpers/test-observability/constants','recursive','uuid','env','writeFileSync','xnhbF','shutdown','force','DNpNg','dirPath','_test','testId','rmSync','toString','getTestRunIdFromTestInfo','setup','5092890HcPEbn','setTestDetails','145YeFJni','_projectId','zJwdg','BS_TESTOPS_BUILD_HASHED_ID','setAccessibilityPlatformValidation','2286990ZioyEs','readFileSync','mqQQJ','33puWlGU','mkdirSync','18822qRncbM','retry','_platformDetails.json','aXVuh','exports','gJUWr','WXHOx','3882620kuYgiG','BmfsQ','getTestDetails','../../../helpers/helper','getProjectIdFromTestInfo','getTestIdFromTestInfo','bMsmt','path','10004fsgzLT','ilyfC','join','747XKAejB','tests','getAccessibilityPlatformValidation','pilUr','603563vcBugV'];a40_0x1c19=function(){return _0x377989;};return a40_0x1c19();}function a40_0x27d9(_0x4e0bc5,_0x2cd12b){const _0x1c19c3=a40_0x1c19();return a40_0x27d9=function(_0x27d908,_0x38bba2){_0x27d908=_0x27d908-0x1a5;let _0x461130=_0x1c19c3[_0x27d908];return _0x461130;},a40_0x27d9(_0x4e0bc5,_0x2cd12b);}class TestDetails{static [a40_0x52291a(0x1dc)]={};static [a40_0x52291a(0x1b6)]=path[a40_0x52291a(0x1da)](process[a40_0x52291a(0x1ab)](),TestDetails[a40_0x52291a(0x1e1)]());static[a40_0x52291a(0x1bc)](){const _0x3d61d6=a40_0x52291a;this[_0x3d61d6(0x1b3)]();const _0x4b8a20={};_0x4b8a20[_0x3d61d6(0x1ae)]=!![],fs[_0x3d61d6(0x1c8)](this['dirPath'],_0x4b8a20);}static[a40_0x52291a(0x1e1)](){const _0x6cbbd1=a40_0x52291a,_0x35a1d8={};_0x35a1d8[_0x6cbbd1(0x1cc)]=function(_0xbb8324,_0xa15fdb){return _0xbb8324+_0xa15fdb;},_0x35a1d8[_0x6cbbd1(0x1a9)]=function(_0x11e01a,_0x24b660){return _0x11e01a+_0x24b660;};const _0xb8082f=_0x35a1d8;return _0xb8082f[_0x6cbbd1(0x1cc)](_0xb8082f[_0x6cbbd1(0x1a9)](TEMP_STORE_DIR_NAME,'-'),process[_0x6cbbd1(0x1b0)][_0x6cbbd1(0x1c2)]);}static[a40_0x52291a(0x1e0)](_0x377ffd){const _0x24bbc1=a40_0x52291a,_0x48db53={};_0x48db53[_0x24bbc1(0x1b2)]=function(_0x362569,_0x5547fd){return _0x362569+_0x5547fd;},_0x48db53[_0x24bbc1(0x1ac)]=_0x24bbc1(0x1a6);const _0x390038=_0x48db53;return path[_0x24bbc1(0x1da)](this['dirPath'],_0x390038[_0x24bbc1(0x1b2)](_0x377ffd,_0x390038[_0x24bbc1(0x1ac)]));}static[a40_0x52291a(0x1bb)](_0x5e41d1){const _0x4244a8=a40_0x52291a,_0x14f06b={};_0x14f06b[_0x4244a8(0x1a8)]=function(_0x119b36,_0x579ec0){return _0x119b36+_0x579ec0;},_0x14f06b[_0x4244a8(0x1cf)]=function(_0x29aae5,_0x40f6ab){return _0x29aae5+_0x40f6ab;},_0x14f06b[_0x4244a8(0x1ce)]=function(_0xf3ac07,_0x3bbd3e){return _0xf3ac07+_0x3bbd3e;};const _0x48e379=_0x14f06b;return _0x48e379[_0x4244a8(0x1a8)](_0x48e379['WXHOx'](_0x48e379['rjRZk'](_0x48e379[_0x4244a8(0x1ce)](this[_0x4244a8(0x1d4)](_0x5e41d1),'-'),this[_0x4244a8(0x1d5)](_0x5e41d1)),'-'),_0x5e41d1[_0x4244a8(0x1ca)]);}static['getProjectIdFromTestInfo'](_0x51192b){const _0xac7069=a40_0x52291a,_0x5fad95={'ilyfC':function(_0x4a19b2,_0x37d5f1,_0x5af5e9){return _0x4a19b2(_0x37d5f1,_0x5af5e9);},'GtvQW':_0xac7069(0x1b7),'pilUr':_0xac7069(0x1c0),'bMsmt':'project','mqQQJ':_0xac7069(0x1a5)};return _0x5fad95[_0xac7069(0x1d9)](nestedKeyValue,_0x51192b,[_0x5fad95[_0xac7069(0x1aa)],_0x5fad95[_0xac7069(0x1de)]])||_0x5fad95[_0xac7069(0x1d9)](nestedKeyValue,_0x51192b,[_0x5fad95[_0xac7069(0x1d6)],_0x5fad95[_0xac7069(0x1c6)]]);}static['getTestIdFromTestInfo'](_0x2ce922){const _0x2f96ce=a40_0x52291a,_0x4a3e20={'zJwdg':function(_0x4be93a,_0x2bc441,_0x28a4d3){return _0x4be93a(_0x2bc441,_0x28a4d3);},'RUWez':_0x2f96ce(0x1b7)};return _0x4a3e20[_0x2f96ce(0x1c1)](nestedKeyValue,_0x2ce922,[_0x4a3e20['RUWez'],'id'])||_0x2ce922[_0x2f96ce(0x1b8)];}static['getTestUUID'](_0xdee3e2){const _0x3dfb2f=a40_0x52291a,_0x48061f={'BmfsQ':function(_0x4b5737,_0x3e31a3){return _0x4b5737===_0x3e31a3;},'DNpNg':_0x3dfb2f(0x1a7),'jTZQI':function(_0x1dba09){return _0x1dba09();}};if(this[_0x3dfb2f(0x1dc)][_0xdee3e2]&&_0x48061f[_0x3dfb2f(0x1d1)](typeof this[_0x3dfb2f(0x1dc)][_0xdee3e2][_0x3dfb2f(0x1af)],_0x48061f[_0x3dfb2f(0x1b5)]))return this[_0x3dfb2f(0x1dc)][_0xdee3e2][_0x3dfb2f(0x1af)];const _0x4a0f7e=this[_0x3dfb2f(0x1e0)](_0xdee3e2);if(fs['existsSync'](_0x4a0f7e)){const _0x1d4f61=JSON[_0x3dfb2f(0x1e2)](fs[_0x3dfb2f(0x1c5)](_0x4a0f7e)[_0x3dfb2f(0x1ba)]());return this[_0x3dfb2f(0x1dc)][_0xdee3e2]=_0x1d4f61,this[_0x3dfb2f(0x1dc)][_0xdee3e2][_0x3dfb2f(0x1af)];}return this[_0x3dfb2f(0x1dc)][_0xdee3e2]={'uuid':_0x48061f['jTZQI'](uuidv4)},fs['writeFileSync'](_0x4a0f7e,JSON['stringify'](this['tests'][_0xdee3e2])),this[_0x3dfb2f(0x1dc)][_0xdee3e2][_0x3dfb2f(0x1af)];}static[a40_0x52291a(0x1dd)](_0x3288a3){const _0x33d3ff=a40_0x52291a,_0x4deba2=path[_0x33d3ff(0x1da)](this[_0x33d3ff(0x1b6)],_0x3288a3+_0x33d3ff(0x1cb));if(fs[_0x33d3ff(0x1e3)](_0x4deba2))return fs['readFileSync'](_0x4deba2)['toString']();}static[a40_0x52291a(0x1c3)](_0x282050,_0x33d268){const _0x504694=a40_0x52291a,_0x2d7df=path[_0x504694(0x1da)](this[_0x504694(0x1b6)],_0x33d268+'_platformDetails.json');fs[_0x504694(0x1b1)](_0x2d7df,_0x282050[_0x504694(0x1ba)]());}static[a40_0x52291a(0x1b3)](){const _0x4a0cca=a40_0x52291a,_0x47372b={};_0x47372b['recursive']=!![],_0x47372b[_0x4a0cca(0x1b4)]=!![],fs[_0x4a0cca(0x1b9)](this[_0x4a0cca(0x1b6)],_0x47372b);}static[a40_0x52291a(0x1d2)](_0x3b5791){const _0x22b2fc=a40_0x52291a;if(this[_0x22b2fc(0x1dc)][_0x3b5791])return this['tests'][_0x3b5791];const _0x59621c=this[_0x22b2fc(0x1e0)](_0x3b5791);if(fs[_0x22b2fc(0x1e3)](_0x59621c)){const _0x1facc1=JSON[_0x22b2fc(0x1e2)](fs['readFileSync'](_0x59621c)[_0x22b2fc(0x1ba)]());return this[_0x22b2fc(0x1dc)][_0x3b5791]=_0x1facc1,_0x1facc1;}return{};}static[a40_0x52291a(0x1be)](_0x7b1a1a,_0xa23d85){const _0x3270b7=a40_0x52291a,_0x2402bc=this[_0x3270b7(0x1e0)](_0x7b1a1a);if(fs[_0x3270b7(0x1e3)](_0x2402bc)){const _0x438c31=JSON[_0x3270b7(0x1e2)](fs['readFileSync'](_0x2402bc)['toString']()),_0x194a4e={..._0x438c31,..._0xa23d85};this[_0x3270b7(0x1dc)][_0x7b1a1a]=_0x194a4e;}else this[_0x3270b7(0x1dc)][_0x7b1a1a]=_0xa23d85;fs['writeFileSync'](_0x2402bc,this[_0x3270b7(0x1dc)][_0x7b1a1a]);}}module[a40_0x52291a(0x1cd)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41_0x5dd6f7=a41_0x4575;(function(_0x1a7639,_0x54c817){const _0x540da3=a41_0x4575,_0x2f75a9=_0x1a7639();while(!![]){try{const _0x37dbf5=-parseInt(_0x540da3(0x125))/0x1+parseInt(_0x540da3(0x10c))/0x2+-parseInt(_0x540da3(0x177))/0x3+-parseInt(_0x540da3(0x12a))/0x4+parseInt(_0x540da3(0x107))/0x5+-parseInt(_0x540da3(0x187))/0x6+-parseInt(_0x540da3(0x147))/0x7*(-parseInt(_0x540da3(0x14e))/0x8);if(_0x37dbf5===_0x54c817)break;else _0x2f75a9['push'](_0x2f75a9['shift']());}catch(_0x5a519d){_0x2f75a9['push'](_0x2f75a9['shift']());}}}(a41_0x7e52,0x78244));const path=require(a41_0x5dd6f7(0x145)),url=require(a41_0x5dd6f7(0x178)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a41_0x5dd6f7(0x13a)),{o11yErrorHandler}=require(a41_0x5dd6f7(0x189)),{debug,getPlatformDetails}=require(a41_0x5dd6f7(0x182)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0x5dd6f7(0x16d)),logger=require(a41_0x5dd6f7(0x11b))[a41_0x5dd6f7(0x173)],scripts=require(a41_0x5dd6f7(0x174)),{browserStackExecuteDriver}=require(a41_0x5dd6f7(0x12b)),AccessibilityHelper=require(a41_0x5dd6f7(0x15a)),getBrowserNameFromChannel=_0x5934c9=>{const _0x3c7993=a41_0x5dd6f7,_0x2c3dfb={};_0x2c3dfb[_0x3c7993(0x16e)]=_0x3c7993(0x119),_0x2c3dfb[_0x3c7993(0x127)]=_0x3c7993(0x13c),_0x2c3dfb[_0x3c7993(0x110)]=_0x3c7993(0x120),_0x2c3dfb[_0x3c7993(0x12e)]=_0x3c7993(0x192);const _0x4ba3d1=_0x2c3dfb;if(_0x5934c9[_0x3c7993(0x102)](_0x4ba3d1['fvlcS']))return _0x4ba3d1[_0x3c7993(0x16e)];if(_0x5934c9[_0x3c7993(0x102)](_0x4ba3d1[_0x3c7993(0x127)]))return _0x4ba3d1[_0x3c7993(0x127)];if(_0x5934c9[_0x3c7993(0x102)](_0x4ba3d1[_0x3c7993(0x110)]))return _0x4ba3d1[_0x3c7993(0x110)];if(_0x5934c9['includes'](_0x4ba3d1[_0x3c7993(0x12e)]))return _0x4ba3d1[_0x3c7993(0x12e)];},getBrowserFromWSEndpoint=_0xb337d2=>{const _0xecceed=a41_0x5dd6f7,_0x648461={'ljycE':_0xecceed(0x119),'KhMMF':function(_0x507c68,_0x5bc7d2){return _0x507c68(_0x5bc7d2);}};try{const _0x32e3a0=url[_0xecceed(0x169)](_0xb337d2),_0x2d6813=new URLSearchParams(_0x32e3a0[_0xecceed(0x108)]),_0x1ecdad=Object['fromEntries'](_0x2d6813[_0xecceed(0x140)]()),_0x592f2c=JSON[_0xecceed(0x169)](_0x1ecdad['caps']);if(_0x592f2c&&(_0x592f2c['browser']||_0x592f2c[_0xecceed(0x191)]))return _0x592f2c[_0xecceed(0x111)]||_0x592f2c['browserName'];return _0x648461[_0xecceed(0x123)];}catch(_0x34ec20){_0x648461['KhMMF'](debug,_0xecceed(0x10f)+_0x34ec20[_0xecceed(0x11d)]());}},getCloudProviderFromWsEndpoint=_0x557f6b=>{const _0x7fd955=a41_0x5dd6f7,_0x50a883={};_0x50a883[_0x7fd955(0x132)]='browserstack.com',_0x50a883[_0x7fd955(0x198)]=_0x7fd955(0x15e),_0x50a883[_0x7fd955(0x11f)]='unknown_grid';const _0x5cb305=_0x50a883;if(_0x557f6b[_0x7fd955(0x102)](_0x5cb305['mWpts']))return _0x5cb305[_0x7fd955(0x198)];return _0x5cb305[_0x7fd955(0x11f)];},a41_0x1a1b0e={};function a41_0x4575(_0x4be30a,_0x50d6b4){const _0x7e52ae=a41_0x7e52();return a41_0x4575=function(_0x4575b7,_0x243cdc){_0x4575b7=_0x4575b7-0xff;let _0x4b9b4c=_0x7e52ae[_0x4575b7];return _0x4b9b4c;},a41_0x4575(_0x4be30a,_0x50d6b4);}function a41_0x7e52(){const _0x580e48=['DjpTv','hVhHY','../../helpers/helper','_type','edge','oSaXR','currentTest','bstackPerformA11yScan','entries','kIjeY','WRABs','niwEO','kjvBH','path','UGJNX','651749MONVrx','sendMessageToServer','testInfo','WxjTV','Not\x20able\x20to\x20import\x20Connection','playwright-','wDQFB','136HGbORs','ggzMc','QqVfW','oekHb','Tebdx','__workerDetails','_connection','wnagU','lvxYT','quGFu','Performing\x20scan\x20for\x20','connectOptions','./accessibility-helper','__driver','use','apply','browserstack','Connection','FJGWq','EVqoA','mzwMR','fBeHn','accessibilityPlatform','patchCRConnection','bsSessionId','jADqv','isRemote','parse','prototype','_defaultConnectOptions','Not\x20able\x20to\x20import\x20crConnection','../../helpers/accessibility-automation/helper','fvlcS','adyAO','capabilities','currentSessionDetails','platformDetails','winstonLogger','../../helpers/accessibility-automation/scripts','format','connection.js','122349QsAFIq','url','CRConnection','KPfGr','aDSQK','exports','platform_version','SpNPC','sOcgZ','BROWSERSTACK_TEST_OBSERVABILITY','bFSmh','../../helpers/test-observability/utils','debug','pwPage','platform','QufBc','4447716XLHHLz','platformVersion','../../helpers/test-observability/error-handler','AJkxC','AsZzE','performScan','PKEbO','product','cloudProvider','FWEZa','browserName','safari','_onMessage','params','fGpPe','OjCdF','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','XRnTy','oiujV','Error\x20in\x20importing\x20connection\x20','hUXCm','bStackParams','includes','titlePath','KLgHH','Error\x20in\x20importing\x20crConnection','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','4312625SncyKS','query','lRvYg','platformName','setupBrowserDetails','75608yPQMjq','Setting\x20session\x20id\x20received\x20from\x20BS\x20','patch','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','tRzjh','browser','ezMQN','getDetails','_name','Failed\x20to\x20perform\x20scan\x20','sessionError','join','toLowerCase','chrome','defineProperty','../../helpers/logger','Error\x20in\x20finding\x20platform\x20details\x20','toString','patchConnection','iYOnL','firefox','server','gsVoR','ljycE','project','940678oVYjBv','KvApn','bUoPi','_browserType','sessionId','1073204CooReE','../../bin/playwright/accessibility-helper','Elnsr','mwAHl','Xtfak','automate','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','channel','mWpts','PdBRk','method','WJDTr','Page','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'];a41_0x7e52=function(){return _0x580e48;};return a41_0x7e52();}a41_0x1a1b0e[a41_0x5dd6f7(0x18f)]=undefined,a41_0x1a1b0e[a41_0x5dd6f7(0x166)]=undefined,a41_0x1a1b0e[a41_0x5dd6f7(0x111)]=undefined,a41_0x1a1b0e['browser_version']=undefined,a41_0x1a1b0e[a41_0x5dd6f7(0x185)]=undefined,a41_0x1a1b0e[a41_0x5dd6f7(0x17d)]=undefined,a41_0x1a1b0e[a41_0x5dd6f7(0x18e)]=undefined,a41_0x1a1b0e['capabilities']={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a41_0x1a1b0e;constructor(){const _0x23e5bf=a41_0x5dd6f7,_0x1003b9={};_0x1003b9[_0x23e5bf(0x167)]=_0x23e5bf(0x130);const _0x29cb66=_0x1003b9;throw new Error(_0x29cb66[_0x23e5bf(0x167)]);}static [a41_0x5dd6f7(0x116)]=null;static[a41_0x5dd6f7(0x10b)](_0x14b999,_0x2471ae,_0x2ee3bc=null){const _0x54afd3=a41_0x5dd6f7,_0x4b92b3={'WJDTr':'local_grid','Tebdx':function(_0x58527e,_0x36ad81,_0x2905bb){return _0x58527e(_0x36ad81,_0x2905bb);},'EVqoA':_0x54afd3(0x124),'oSaXR':'use','Elnsr':_0x54afd3(0x159),'WRABs':function(_0x37e846,_0x1c571b){return _0x37e846(_0x1c571b);},'uQAfK':function(_0x224228,_0x569300){return _0x224228===_0x569300;},'AsZzE':_0x54afd3(0x15e),'QufBc':_0x54afd3(0x12f),'oNkKf':function(_0x3722d9,_0x4b0bcd){return _0x3722d9(_0x4b0bcd);},'SpNPC':function(_0x393725,_0x35cb68){return _0x393725(_0x35cb68);},'wnagU':function(_0x24dc81,_0x5d0321){return _0x24dc81+_0x5d0321;},'kjvBH':_0x54afd3(0x14c),'kIjeY':function(_0x5ac21b){return _0x5ac21b();}},_0x2a8639=this;return _0x4b92b3[_0x54afd3(0x17e)](o11yErrorHandler,async function _0xa49830(_0x4f5e95,_0x1e5b0f,_0x3ac5e0=null){const _0x888c7=_0x54afd3;let _0x33dab9=_0x4f5e95[_0x888c7(0x114)];const _0x1688cc=_0x4f5e95['version']();let _0xc0f608=null,_0x4de2f7=null,_0x2bf66e=null,_0x38a76a=_0x4b92b3[_0x888c7(0x135)];if(_0x4f5e95[_0x888c7(0x154)][_0x888c7(0x168)]()||global[_0x888c7(0x164)]){const _0x324a2b=_0x4f5e95[_0x888c7(0x128)][_0x888c7(0x16b)]||_0x4b92b3[_0x888c7(0x152)](nestedKeyValue,_0x1e5b0f,[_0x4b92b3[_0x888c7(0x161)],_0x4b92b3[_0x888c7(0x13d)],_0x4b92b3[_0x888c7(0x12c)]]),_0x553fad=_0x3ac5e0||_0x324a2b&&_0x324a2b['wsEndpoint'];_0x553fad&&(_0x38a76a=_0x4b92b3[_0x888c7(0x142)](getCloudProviderFromWsEndpoint,_0x553fad),_0x4b92b3['uQAfK'](_0x38a76a,_0x4b92b3[_0x888c7(0x18b)])&&(_0x2bf66e=_0x4b92b3[_0x888c7(0x186)],_0x33dab9=_0x4b92b3['oNkKf'](getBrowserFromWSEndpoint,_0x553fad)||_0x33dab9,_0xc0f608=_0x2a8639['currentSessionDetails']['platform'],_0x4de2f7=_0x2a8639['currentSessionDetails']['platform_version']));}else{_0x1e5b0f&&_0x1e5b0f[_0x888c7(0x124)][_0x888c7(0x15c)][_0x888c7(0x131)]?_0x33dab9=_0x4b92b3['SpNPC'](getBrowserNameFromChannel,_0x1e5b0f[_0x888c7(0x124)]['use']['channel']):_0x33dab9=_0x4b92b3[_0x888c7(0x155)](_0x4b92b3[_0x888c7(0x144)],_0x33dab9[_0x888c7(0x118)]());const _0x287ba9=await _0x4b92b3[_0x888c7(0x141)](getPlatformDetails);_0xc0f608=_0x287ba9[_0x888c7(0x10a)],_0x4de2f7=_0x287ba9[_0x888c7(0x188)];}const _0x210be3={};_0x210be3[_0x888c7(0x111)]=_0x33dab9,_0x210be3['browser_version']=_0x1688cc,_0x210be3[_0x888c7(0x170)]={},_0x210be3[_0x888c7(0x185)]=_0xc0f608,_0x210be3[_0x888c7(0x17d)]=_0x4de2f7,_0x210be3[_0x888c7(0x18e)]=_0x2bf66e;const _0x2274e8=_0x210be3,_0x3620dc={};_0x3620dc[_0x888c7(0x18f)]=_0x38a76a,_0x2a8639[_0x888c7(0x171)]=Object['assign']({},_0x2a8639['currentSessionDetails'],_0x3620dc,_0x2274e8);})(_0x14b999,_0x2471ae,_0x2ee3bc);}static[a41_0x5dd6f7(0x10e)](){const _0x39b18c=a41_0x5dd6f7;this[_0x39b18c(0x11e)](),this['patchCRConnection']();}static[a41_0x5dd6f7(0x11e)](){const _0x35e2b2=a41_0x5dd6f7,_0x2f36b0={'mwAHl':function(_0x1255ce,_0x21e3db,_0x16fbf7){return _0x1255ce(_0x21e3db,_0x16fbf7);},'wDQFB':_0x35e2b2(0x13e),'PdBRk':_0x35e2b2(0x149),'KvApn':_0x35e2b2(0x103),'ezMQN':function(_0x46e57c,_0x4f1b32,_0x2c59fd){return _0x46e57c(_0x4f1b32,_0x2c59fd);},'WxjTV':function(_0x32eaa3,_0x3a56d9,_0x4b44fb){return _0x32eaa3(_0x3a56d9,_0x4b44fb);},'FWEZa':_0x35e2b2(0x153),'sOcgZ':_0x35e2b2(0x184),'lvxYT':function(_0x433c1e,_0x3afe24){return _0x433c1e===_0x3afe24;},'AJkxC':_0x35e2b2(0x136),'haIMH':function(_0x94e2ba,_0x3cc919,_0x47afcb,_0xdffab8){return _0x94e2ba(_0x3cc919,_0x47afcb,_0xdffab8);},'fGpPe':function(_0xf017c,_0x437bab){return _0xf017c(_0x437bab);},'gsVoR':function(_0x4d9477,_0x3c8a97){return _0x4d9477(_0x3c8a97);},'aDSQK':'lib','FJGWq':'client','VXwcs':_0x35e2b2(0x176),'KPfGr':function(_0x2ed05f,_0x477965){return _0x2ed05f(_0x477965);},'adyAO':function(_0x3d5082,_0x4be39f){return _0x3d5082(_0x4be39f);},'DjpTv':_0x35e2b2(0x14b),'lRvYg':function(_0x17303a,_0x495129){return _0x17303a(_0x495129);},'hUXCm':function(_0x5aff35,_0x37b512){return _0x5aff35!=_0x37b512;},'quGFu':function(_0x204d46){return _0x204d46();},'UGJNX':_0x35e2b2(0x148),'oiujV':'dispatch','OUZYG':function(_0xa6460e,_0x4f9d4a){return _0xa6460e(_0x4f9d4a);}},_0x5334bf=this;if(!this[_0x35e2b2(0x15f)])try{const _0x2f5786=path[_0x35e2b2(0x117)](_0x2f36b0[_0x35e2b2(0x17b)],_0x2f36b0[_0x35e2b2(0x160)],_0x2f36b0['VXwcs']),_0x5aa08b=_0x2f36b0[_0x35e2b2(0x17a)](importFileFromPWCore,_0x2f5786);!_0x5aa08b?_0x2f36b0[_0x35e2b2(0x16f)](debug,_0x2f36b0[_0x35e2b2(0x138)]):this[_0x35e2b2(0x15f)]=_0x5aa08b[_0x35e2b2(0x15f)];}catch(_0x196593){_0x2f36b0[_0x35e2b2(0x109)](debug,_0x35e2b2(0xff)+_0x196593['toString']());}const _0x3ce3c8=this['Connection'];try{if(_0x2f36b0[_0x35e2b2(0x100)](_0x3ce3c8,null)){const _0x385b30=_0x3ce3c8[_0x35e2b2(0x16a)]['dispatch'],_0x3ba05a=_0x3ce3c8[_0x35e2b2(0x16a)][_0x35e2b2(0x148)];_0x2f36b0[_0x35e2b2(0x157)](isAccessibilityAutomationSession)&&Object[_0x35e2b2(0x11a)](_0x3ce3c8[_0x35e2b2(0x16a)],_0x2f36b0[_0x35e2b2(0x146)],{'get':function(){return async function(){const _0x57bdd3=a41_0x4575;try{if(!global[_0x57bdd3(0x13f)]&&global[_0x57bdd3(0x164)]&&_0x2f36b0[_0x57bdd3(0x12d)](nestedKeyValue,global[_0x57bdd3(0x153)],[_0x2f36b0[_0x57bdd3(0x14d)],_0x2f36b0[_0x57bdd3(0x133)],_0x2f36b0[_0x57bdd3(0x126)]])&&_0x2f36b0[_0x57bdd3(0x112)](shouldScanTestForAccessibility,global[_0x57bdd3(0x153)][_0x57bdd3(0x13e)][_0x57bdd3(0x149)][_0x57bdd3(0x103)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x57bdd3(0x183)](_0x57bdd3(0x158)+arguments[0x1]),global[_0x57bdd3(0x13f)]=!![];const _0x2f4c32=_0x2f36b0[_0x57bdd3(0x14a)](nestedKeyValue,global,[_0x2f36b0[_0x57bdd3(0x190)],_0x2f36b0[_0x57bdd3(0x17f)]]),_0xca90c2={};_0xca90c2[_0x57bdd3(0x134)]=arguments[0x1],_0x2f4c32&&logger['debug'](util['format'](await AccessibilityHelper[_0x57bdd3(0x18c)](_0x2f4c32,_0xca90c2)));if(_0x2f36b0[_0x57bdd3(0x156)](arguments[0x0][_0x57bdd3(0x13b)],_0x2f36b0[_0x57bdd3(0x18a)])&&global[_0x57bdd3(0x15b)]){const _0x103899={};_0x103899[_0x57bdd3(0x134)]=arguments[0x1],await _0x2f36b0['haIMH'](browserStackExecuteDriver,global[_0x57bdd3(0x15b)],scripts[_0x57bdd3(0x18c)],_0x103899);}}}catch(_0x50084d){logger['debug'](_0x57bdd3(0x115)+util[_0x57bdd3(0x175)](_0x50084d));}return global[_0x57bdd3(0x13f)]=![],_0x3ba05a[_0x57bdd3(0x15d)](this,arguments);};}}),!_0x2f36b0[_0x35e2b2(0x195)](isFalse,process['env'][_0x35e2b2(0x180)])&&Object[_0x35e2b2(0x11a)](_0x3ce3c8[_0x35e2b2(0x16a)],_0x2f36b0[_0x35e2b2(0x199)],{'get':function(){return function _0x54688a(_0x3133ec){const _0x5330d3=a41_0x4575,_0x40c9ed=_0x3133ec&&_0x3133ec['params']&&_0x3133ec[_0x5330d3(0x194)]['bsParams'];if(_0x40c9ed){const _0x252d4f=_0x40c9ed[_0x5330d3(0x129)],_0x45407d=_0x40c9ed['platformDetails'];_0x45407d&&(_0x2f36b0[_0x5330d3(0x195)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x45407d[_0x5330d3(0x11d)]()),_0x5334bf[_0x5330d3(0x171)][_0x5330d3(0x185)]=_0x45407d[_0x5330d3(0x10a)],_0x5334bf[_0x5330d3(0x171)]['platform_version']=_0x45407d['platformVersion']),_0x252d4f&&(_0x2f36b0[_0x5330d3(0x122)](debug,_0x5330d3(0x10d)+_0x252d4f),_0x5334bf[_0x5330d3(0x171)]['bsSessionId']=_0x252d4f);}return _0x385b30[_0x5330d3(0x15d)](this,arguments);};}});}}catch(_0x586c57){_0x2f36b0['OUZYG'](debug,_0x35e2b2(0x106)+_0x586c57),_0x5334bf[_0x35e2b2(0x116)]=_0x586c57[_0x35e2b2(0x11d)]();}}static[a41_0x5dd6f7(0x165)](){const _0xec083b=a41_0x5dd6f7,_0x47759e={'fBeHn':function(_0x208cfb,_0x4860d8){return _0x208cfb(_0x4860d8);},'OjCdF':function(_0xbdaa70,_0x52f27e){return _0xbdaa70(_0x52f27e);},'PKEbO':function(_0x1002ed){return _0x1002ed();},'ggzMc':'lib','DAWAB':_0xec083b(0x121),'QqVfW':'chromium','hVhHY':'crConnection.js','niwEO':_0xec083b(0x16c),'KLgHH':function(_0x736190,_0x32c533){return _0x736190(_0x32c533);},'bFSmh':_0xec083b(0x105),'oekHb':function(_0x3a0e85,_0x1bb25d){return _0x3a0e85!=_0x1bb25d;},'CSvSi':'_onMessage','mzwMR':function(_0xed187,_0x226032){return _0xed187(_0x226032);}},_0x1edf9f=this;if(_0x47759e[_0xec083b(0x18d)](isAccessibilityAutomationSession)){let _0x1ab1b9=null;try{const _0x4d5f18=path[_0xec083b(0x117)](_0x47759e[_0xec083b(0x14f)],_0x47759e['DAWAB'],_0x47759e[_0xec083b(0x150)],_0x47759e[_0xec083b(0x139)]),_0xf8c3f9=_0x47759e[_0xec083b(0x163)](importFileFromPWCore,_0x4d5f18);!_0xf8c3f9?_0x47759e[_0xec083b(0x163)](debug,_0x47759e[_0xec083b(0x143)]):_0x1ab1b9=_0xf8c3f9[_0xec083b(0x179)];}catch(_0x1c57ea){_0x47759e[_0xec083b(0x104)](debug,_0x47759e[_0xec083b(0x181)]);}try{if(_0x47759e[_0xec083b(0x151)](_0x1ab1b9,null)){const _0x2551c0=_0x1ab1b9[_0xec083b(0x16a)][_0xec083b(0x193)];Object[_0xec083b(0x11a)](_0x1ab1b9[_0xec083b(0x16a)],_0x47759e['CSvSi'],{'get':function(){return function _0x20f389(_0x513783){const _0x58b152=a41_0x4575;try{const _0xa51b25=_0x513783[_0x58b152(0x101)];if(_0xa51b25){delete _0x513783[_0x58b152(0x101)];const _0x4e1726=_0xa51b25[_0x58b152(0x129)],_0x8dc869=_0xa51b25[_0x58b152(0x172)];_0x8dc869&&(_0x47759e[_0x58b152(0x163)](debug,_0x58b152(0x197)+_0x8dc869['toString']()),_0x1edf9f['currentSessionDetails'][_0x58b152(0x185)]=_0x8dc869['platformName'],_0x1edf9f['currentSessionDetails']['platform_version']=_0x8dc869[_0x58b152(0x188)]),_0x4e1726&&(_0x47759e[_0x58b152(0x163)](debug,_0x58b152(0x137)+_0x4e1726),_0x1edf9f[_0x58b152(0x171)][_0x58b152(0x166)]=_0x4e1726);}}catch(_0x37d473){_0x47759e[_0x58b152(0x196)](debug,_0x58b152(0x11c)+_0x37d473[_0x58b152(0x11d)]());}return _0x2551c0[_0x58b152(0x15d)](this,arguments);};}});}}catch(_0x276196){_0x47759e[_0xec083b(0x162)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x276196),_0x1edf9f['sessionError']=_0x276196[_0xec083b(0x11d)]();}}}static[a41_0x5dd6f7(0x113)](){const _0x2c7e9b=a41_0x5dd6f7;return this[_0x2c7e9b(0x171)];}}module[a41_0x5dd6f7(0x17c)]=PlaywrightSessionDetails;
|
|
1
|
+
const a41_0x204e5a=a41_0x2447;(function(_0x1929ef,_0x4a7a3b){const _0xcb58c0=a41_0x2447,_0x5edb90=_0x1929ef();while(!![]){try{const _0x58bb5b=-parseInt(_0xcb58c0(0x10d))/0x1*(-parseInt(_0xcb58c0(0x182))/0x2)+-parseInt(_0xcb58c0(0x146))/0x3*(parseInt(_0xcb58c0(0x136))/0x4)+parseInt(_0xcb58c0(0x121))/0x5+parseInt(_0xcb58c0(0x109))/0x6*(parseInt(_0xcb58c0(0x14b))/0x7)+parseInt(_0xcb58c0(0x102))/0x8+-parseInt(_0xcb58c0(0x15a))/0x9*(parseInt(_0xcb58c0(0x177))/0xa)+-parseInt(_0xcb58c0(0x16b))/0xb;if(_0x58bb5b===_0x4a7a3b)break;else _0x5edb90['push'](_0x5edb90['shift']());}catch(_0x1ed795){_0x5edb90['push'](_0x5edb90['shift']());}}}(a41_0x2e8f,0xe9fb7));function a41_0x2447(_0x276728,_0xc252fd){const _0x2e8f15=a41_0x2e8f();return a41_0x2447=function(_0x24474b,_0x58404a){_0x24474b=_0x24474b-0xec;let _0x13add3=_0x2e8f15[_0x24474b];return _0x13add3;},a41_0x2447(_0x276728,_0xc252fd);}function a41_0x2e8f(){const _0x46c168=['102BHjRxG','ZvUIn','Not\x20able\x20to\x20import\x20crConnection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','126404msuZrP','Error\x20in\x20importing\x20crConnection','vRMGg','server','wsEndpoint','patch','params','wYgMP','ixtZO','testInfo','upqrT','debug','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','oTIBD','firefox','playwright-','Connection','exports','automate','caps','4014715tddYab','kcIDk','Performing\x20scan\x20for\x20','ekkvt','__workerDetails','connectOptions','../../helpers/accessibility-automation/helper','channel','mnaQi','platform','chrome','rJKww','Error\x20in\x20importing\x20connection\x20','platformDetails','gnhCn','dAQxt','../../helpers/test-observability/utils','lib','format','browser','ZRHTZ','12ofDwVC','iAiCU','pXyTb','dispatch','patchConnection','YUwpa','patchCRConnection','cispK','env','assign','join','prototype','method','sessionId','sendMessageToServer','PIKVG','1744410XxtBlk','fromEntries','setupBrowserDetails','IhUjn','apply','522949akwPSI','Failed\x20to\x20perform\x20scan\x20','client','__driver','OGtci','CGIez','PXwnN','pwPage','use','chromium','browser_version','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','_connection','browserstack','currentSessionDetails','261xWUZZp','MjaGE','../../bin/playwright/accessibility-helper','KZRej','platformName','currentTest','connection.js','cloudProvider','UwmGF','bsSessionId','capabilities','LCiVX','dEqGD','sessionError','unknown_grid','crConnection.js','platformVersion','5664956mzjPKF','query','tFRhw','_name','bStackParams','CRConnection','url','includes','bstackPerformA11yScan','Not\x20able\x20to\x20import\x20Connection','_onMessage','Page','481090nkQlyZ','FSwBH','LGOEI','hzmgl','toString','LySab','njisf','FwsdN','FibBy','local_grid','platform_version','16eEMpmh','project','OoQUv','NlvOG','entries','_defaultConnectOptions','defineProperty','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','fVzxf','WEBIA','getDetails','GwWuM','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','ozFVK','KlLgg','accessibilityPlatform','isRemote','performScan','BROWSERSTACK_TEST_OBSERVABILITY','./accessibility-helper','product','LTPkr','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','parse','12230112gElLNX','Error\x20in\x20finding\x20platform\x20details\x20','titlePath','kjrGQ','browserName','teEpj','shouldWrapCommand'];a41_0x2e8f=function(){return _0x46c168;};return a41_0x2e8f();}const path=require('path'),url=require(a41_0x204e5a(0x171)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a41_0x204e5a(0x131)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0x204e5a(0x127)),logger=require('../../helpers/logger')['winstonLogger'],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a41_0x204e5a(0x15c)),AccessibilityHelper=require(a41_0x204e5a(0xfd)),getBrowserNameFromChannel=_0xce7cd8=>{const _0x436747=a41_0x204e5a,_0x2178b7={};_0x2178b7[_0x436747(0x17f)]=_0x436747(0x12b),_0x2178b7[_0x436747(0x15b)]='edge',_0x2178b7[_0x436747(0x145)]=_0x436747(0x11b),_0x2178b7[_0x436747(0x117)]='safari';const _0x1a63ce=_0x2178b7;if(_0xce7cd8[_0x436747(0x172)](_0x1a63ce[_0x436747(0x17f)]))return _0x1a63ce[_0x436747(0x17f)];if(_0xce7cd8[_0x436747(0x172)](_0x1a63ce[_0x436747(0x15b)]))return _0x1a63ce['MjaGE'];if(_0xce7cd8[_0x436747(0x172)](_0x1a63ce[_0x436747(0x145)]))return _0x1a63ce['PIKVG'];if(_0xce7cd8[_0x436747(0x172)](_0x1a63ce[_0x436747(0x117)]))return _0x1a63ce[_0x436747(0x117)];},getBrowserFromWSEndpoint=_0xd91b0f=>{const _0x11a540=a41_0x204e5a,_0x10172e={'pXyTb':_0x11a540(0x12b),'LTPkr':function(_0x35e445,_0x390f5a){return _0x35e445(_0x390f5a);}};try{const _0x585a4a=url['parse'](_0xd91b0f),_0x9357b0=new URLSearchParams(_0x585a4a[_0x11a540(0x16c)]),_0x590078=Object[_0x11a540(0x147)](_0x9357b0[_0x11a540(0xee)]()),_0x3b87c1=JSON[_0x11a540(0x101)](_0x590078[_0x11a540(0x120)]);if(_0x3b87c1&&(_0x3b87c1[_0x11a540(0x134)]||_0x3b87c1[_0x11a540(0x106)]))return _0x3b87c1['browser']||_0x3b87c1[_0x11a540(0x106)];return _0x10172e[_0x11a540(0x138)];}catch(_0x5ac54e){_0x10172e[_0x11a540(0xff)](debug,_0x11a540(0xf6)+_0x5ac54e['toString']());}},getCloudProviderFromWsEndpoint=_0x499ff9=>{const _0x5eec89=a41_0x204e5a,_0x2a2ac3={};_0x2a2ac3[_0x5eec89(0x15d)]='browserstack.com',_0x2a2ac3[_0x5eec89(0x122)]=_0x5eec89(0x158),_0x2a2ac3[_0x5eec89(0xf3)]=_0x5eec89(0x168);const _0x356d89=_0x2a2ac3;if(_0x499ff9['includes'](_0x356d89[_0x5eec89(0x15d)]))return _0x356d89[_0x5eec89(0x122)];return _0x356d89['WEBIA'];},a41_0x37cb22={};a41_0x37cb22[a41_0x204e5a(0x161)]=undefined,a41_0x37cb22[a41_0x204e5a(0x163)]=undefined,a41_0x37cb22['browser']=undefined,a41_0x37cb22['browser_version']=undefined,a41_0x37cb22[a41_0x204e5a(0x12a)]=undefined,a41_0x37cb22['platform_version']=undefined,a41_0x37cb22[a41_0x204e5a(0xfe)]=undefined,a41_0x37cb22[a41_0x204e5a(0x164)]={};class PlaywrightSessionDetails{static [a41_0x204e5a(0x159)]=a41_0x37cb22;constructor(){const _0xd71750=a41_0x204e5a,_0x366b95={};_0x366b95[_0xd71750(0x137)]=_0xd71750(0x10c);const _0x55c578=_0x366b95;throw new Error(_0x55c578['iAiCU']);}static ['sessionError']=null;static[a41_0x204e5a(0x148)](_0xd26722,_0x344aae,_0x14606d=null){const _0x27141b=a41_0x204e5a,_0x4e7757={'NlvOG':_0x27141b(0x180),'oTIBD':function(_0x206bd4,_0x31de95,_0x1accfc){return _0x206bd4(_0x31de95,_0x1accfc);},'FwsdN':_0x27141b(0x183),'ozFVK':_0x27141b(0x153),'OGtci':_0x27141b(0x126),'flyKb':function(_0x5df261,_0x216436){return _0x5df261(_0x216436);},'tuBbd':function(_0x3d67bf,_0x405f28){return _0x3d67bf===_0x405f28;},'GwWuM':'browserstack','dbsfp':_0x27141b(0x11f),'YlfLH':function(_0x520462,_0x5edaac){return _0x520462(_0x5edaac);},'ZRHTZ':function(_0x4cc1af,_0x9bb3fb){return _0x4cc1af(_0x9bb3fb);},'ekkvt':function(_0x1bdb9d,_0xfdd279){return _0x1bdb9d+_0xfdd279;},'qjozB':_0x27141b(0x11c),'wYgMP':function(_0x5890db){return _0x5890db();},'ixtZO':function(_0x497767,_0x4cd209,_0x3fcc0c){return _0x497767(_0x4cd209,_0x3fcc0c);},'njisf':_0x27141b(0x148)},_0x322480=this;return _0x4e7757[_0x27141b(0x115)](o11yErrorHandler,async function _0xb81058(_0x553ab9,_0x268cda,_0x28f56b=null){const _0x4ff076=_0x27141b;let _0x4f5175=_0x553ab9[_0x4ff076(0x16e)];const _0x445e31=_0x553ab9['version']();let _0x442e26=null,_0x2f9c2c=null,_0x2e6a6a=null,_0x2e1892=_0x4e7757[_0x4ff076(0xed)];if(_0x553ab9[_0x4ff076(0x157)][_0x4ff076(0xfa)]()||global[_0x4ff076(0xf9)]){const _0x4a174a=_0x553ab9['_browserType'][_0x4ff076(0xef)]||_0x4e7757[_0x4ff076(0x11a)](nestedKeyValue,_0x268cda,[_0x4e7757[_0x4ff076(0x17e)],_0x4e7757[_0x4ff076(0xf7)],_0x4e7757[_0x4ff076(0x14f)]]),_0x4923f1=_0x28f56b||_0x4a174a&&_0x4a174a[_0x4ff076(0x111)];_0x4923f1&&(_0x2e1892=_0x4e7757['flyKb'](getCloudProviderFromWsEndpoint,_0x4923f1),_0x4e7757['tuBbd'](_0x2e1892,_0x4e7757[_0x4ff076(0xf5)])&&(_0x2e6a6a=_0x4e7757['dbsfp'],_0x4f5175=_0x4e7757['YlfLH'](getBrowserFromWSEndpoint,_0x4923f1)||_0x4f5175,_0x442e26=_0x322480[_0x4ff076(0x159)][_0x4ff076(0x12a)],_0x2f9c2c=_0x322480[_0x4ff076(0x159)][_0x4ff076(0x181)]));}else{_0x268cda&&_0x268cda[_0x4ff076(0x183)][_0x4ff076(0x153)][_0x4ff076(0x128)]?_0x4f5175=_0x4e7757[_0x4ff076(0x135)](getBrowserNameFromChannel,_0x268cda[_0x4ff076(0x183)]['use'][_0x4ff076(0x128)]):_0x4f5175=_0x4e7757[_0x4ff076(0x124)](_0x4e7757['qjozB'],_0x4f5175['toLowerCase']());const _0x549666=await _0x4e7757[_0x4ff076(0x114)](getPlatformDetails);_0x442e26=_0x549666[_0x4ff076(0x15e)],_0x2f9c2c=_0x549666[_0x4ff076(0x16a)];}const _0x779037={};_0x779037[_0x4ff076(0x134)]=_0x4f5175,_0x779037[_0x4ff076(0x155)]=_0x445e31,_0x779037[_0x4ff076(0x164)]={},_0x779037['platform']=_0x442e26,_0x779037[_0x4ff076(0x181)]=_0x2f9c2c,_0x779037['product']=_0x2e6a6a;const _0x50aa87=_0x779037,_0x6ff851={};_0x6ff851[_0x4ff076(0x161)]=_0x2e1892,_0x322480['currentSessionDetails']=Object[_0x4ff076(0x13f)]({},_0x322480[_0x4ff076(0x159)],_0x6ff851,_0x50aa87);},_0x4e7757[_0x27141b(0x17d)])(_0xd26722,_0x344aae,_0x14606d);}static[a41_0x204e5a(0x112)](){const _0x3617ec=a41_0x204e5a;this[_0x3617ec(0x13a)](),this[_0x3617ec(0x13c)]();}static[a41_0x204e5a(0x13a)](){const _0x31842f=a41_0x204e5a,_0x166de9={'gnhCn':function(_0x3821bc,_0x57a6e9,_0x136b89){return _0x3821bc(_0x57a6e9,_0x136b89);},'oCWVe':_0x31842f(0x15f),'UKSAg':_0x31842f(0x116),'UwmGF':_0x31842f(0x104),'rJKww':function(_0x37c38e,_0x2cb1cf,_0x290b04){return _0x37c38e(_0x2cb1cf,_0x290b04);},'MylGs':_0x31842f(0x125),'YUwpa':_0x31842f(0x152),'cotMC':function(_0x501930,_0x22a326){return _0x501930===_0x22a326;},'kjrGQ':_0x31842f(0x176),'LySab':function(_0x194985,_0xb41e34,_0x8a4af,_0x1e249d){return _0x194985(_0xb41e34,_0x8a4af,_0x1e249d);},'LCiVX':function(_0x5c23cf,_0x1951c2){return _0x5c23cf(_0x1951c2);},'JeGnr':_0x31842f(0x132),'xPPgb':_0x31842f(0x14d),'dEqGD':_0x31842f(0x160),'tFRhw':function(_0x4a0659,_0x3ca7f2){return _0x4a0659(_0x3ca7f2);},'ZvUIn':_0x31842f(0x174),'vRMGg':function(_0x38a13b,_0x4f854e){return _0x38a13b(_0x4f854e);},'IhUjn':function(_0x45d636,_0x414ffc){return _0x45d636!=_0x414ffc;},'dAQxt':function(_0x3b692d){return _0x3b692d();},'PXwnN':_0x31842f(0x144),'KlLgg':_0x31842f(0x139),'CGIez':function(_0x7db208,_0x2c6cca){return _0x7db208(_0x2c6cca);}},_0xff2ac3=this;if(!this['Connection'])try{const _0x21518c=path[_0x31842f(0x140)](_0x166de9['JeGnr'],_0x166de9['xPPgb'],_0x166de9[_0x31842f(0x166)]),_0x355f2b=_0x166de9[_0x31842f(0x165)](importFileFromPWCore,_0x21518c);!_0x355f2b?_0x166de9['tFRhw'](debug,_0x166de9[_0x31842f(0x10a)]):this[_0x31842f(0x11d)]=_0x355f2b[_0x31842f(0x11d)];}catch(_0x126a7d){_0x166de9[_0x31842f(0x10f)](debug,_0x31842f(0x12d)+_0x126a7d[_0x31842f(0x17b)]());}const _0x1ad502=this[_0x31842f(0x11d)];try{if(_0x166de9[_0x31842f(0x149)](_0x1ad502,null)){const _0x5f3273=_0x1ad502[_0x31842f(0x141)][_0x31842f(0x139)],_0x261bec=_0x1ad502[_0x31842f(0x141)]['sendMessageToServer'];_0x166de9[_0x31842f(0x130)](isAccessibilityAutomationSession)&&Object[_0x31842f(0xf0)](_0x1ad502[_0x31842f(0x141)],_0x166de9[_0x31842f(0x151)],{'get':function(){return async function(){const _0xb4fee3=a41_0x2447;try{if(!global[_0xb4fee3(0x173)]&&global[_0xb4fee3(0xf9)]&&_0x166de9[_0xb4fee3(0x12f)](nestedKeyValue,global['__workerDetails'],[_0x166de9['oCWVe'],_0x166de9['UKSAg'],_0x166de9[_0xb4fee3(0x162)]])&&_0x166de9['gnhCn'](shouldScanTestForAccessibility,global['__workerDetails'][_0xb4fee3(0x15f)]['testInfo'][_0xb4fee3(0x104)],!![])&&scripts[_0xb4fee3(0x108)](arguments[0x1])){logger[_0xb4fee3(0x118)](_0xb4fee3(0x123)+arguments[0x1]),global[_0xb4fee3(0x173)]=!![];const _0x5b7aba=_0x166de9[_0xb4fee3(0x12c)](nestedKeyValue,global,[_0x166de9['MylGs'],_0x166de9[_0xb4fee3(0x13b)]]),_0xea02aa={};_0xea02aa[_0xb4fee3(0x142)]=arguments[0x1],_0x5b7aba&&logger[_0xb4fee3(0x118)](util[_0xb4fee3(0x133)](await AccessibilityHelper[_0xb4fee3(0xfb)](_0x5b7aba,_0xea02aa)));if(_0x166de9['cotMC'](arguments[0x0]['_type'],_0x166de9[_0xb4fee3(0x105)])&&global[_0xb4fee3(0x14e)]){const _0x46afc7={};_0x46afc7[_0xb4fee3(0x142)]=arguments[0x1],await _0x166de9[_0xb4fee3(0x17c)](browserStackExecuteDriver,global['__driver'],scripts[_0xb4fee3(0xfb)],_0x46afc7);}}}catch(_0x32bdae){logger['debug'](_0xb4fee3(0x14c)+util[_0xb4fee3(0x133)](_0x32bdae));}return global['bstackPerformA11yScan']=![],_0x261bec[_0xb4fee3(0x14a)](this,arguments);};}}),!_0x166de9[_0x31842f(0x16d)](isFalse,process[_0x31842f(0x13e)][_0x31842f(0xfc)])&&Object[_0x31842f(0xf0)](_0x1ad502[_0x31842f(0x141)],_0x166de9[_0x31842f(0xf8)],{'get':function(){return function _0x2ae6fc(_0x25f7be){const _0x3d8273=a41_0x2447,_0x4dc0b5=_0x25f7be&&_0x25f7be['params']&&_0x25f7be[_0x3d8273(0x113)]['bsParams'];if(_0x4dc0b5){const _0xbc891f=_0x4dc0b5[_0x3d8273(0x143)],_0x2d0dfa=_0x4dc0b5[_0x3d8273(0x12e)];_0x2d0dfa&&(_0x166de9[_0x3d8273(0x165)](debug,_0x3d8273(0xf1)+_0x2d0dfa[_0x3d8273(0x17b)]()),_0xff2ac3[_0x3d8273(0x159)][_0x3d8273(0x12a)]=_0x2d0dfa[_0x3d8273(0x15e)],_0xff2ac3[_0x3d8273(0x159)]['platform_version']=_0x2d0dfa[_0x3d8273(0x16a)]),_0xbc891f&&(_0x166de9[_0x3d8273(0x165)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0xbc891f),_0xff2ac3[_0x3d8273(0x159)]['bsSessionId']=_0xbc891f);}return _0x5f3273[_0x3d8273(0x14a)](this,arguments);};}});}}catch(_0x11ae28){_0x166de9[_0x31842f(0x150)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x11ae28),_0xff2ac3[_0x31842f(0x167)]=_0x11ae28[_0x31842f(0x17b)]();}}static['patchCRConnection'](){const _0x5caa6f=a41_0x204e5a,_0x17d807={'cispK':function(_0x17a995,_0x45ba67){return _0x17a995(_0x45ba67);},'fVzxf':function(_0x622d38){return _0x622d38();},'ppNXn':_0x5caa6f(0x132),'hgMwG':_0x5caa6f(0x110),'hzmgl':_0x5caa6f(0x154),'Aknyv':_0x5caa6f(0x169),'mnaQi':function(_0x4d06da,_0x2d0c70){return _0x4d06da(_0x2d0c70);},'Rkrmg':_0x5caa6f(0x10b),'teEpj':_0x5caa6f(0x10e),'FSwBH':function(_0x3495ad,_0x32760e){return _0x3495ad!=_0x32760e;},'OoQUv':_0x5caa6f(0x175),'LGOEI':function(_0x3e50f9,_0x581923){return _0x3e50f9(_0x581923);}},_0x571ae9=this;if(_0x17d807[_0x5caa6f(0xf2)](isAccessibilityAutomationSession)){let _0x20076a=null;try{const _0x204a8b=path[_0x5caa6f(0x140)](_0x17d807['ppNXn'],_0x17d807['hgMwG'],_0x17d807[_0x5caa6f(0x17a)],_0x17d807['Aknyv']),_0x6a98f=_0x17d807[_0x5caa6f(0x129)](importFileFromPWCore,_0x204a8b);!_0x6a98f?_0x17d807[_0x5caa6f(0x13d)](debug,_0x17d807['Rkrmg']):_0x20076a=_0x6a98f[_0x5caa6f(0x170)];}catch(_0x5ab6c9){_0x17d807['mnaQi'](debug,_0x17d807[_0x5caa6f(0x107)]);}try{if(_0x17d807[_0x5caa6f(0x178)](_0x20076a,null)){const _0x4a393d=_0x20076a['prototype']['_onMessage'];Object[_0x5caa6f(0xf0)](_0x20076a[_0x5caa6f(0x141)],_0x17d807[_0x5caa6f(0xec)],{'get':function(){return function _0x163ec3(_0x1e7d47){const _0x2b889f=a41_0x2447;try{const _0x5e308f=_0x1e7d47[_0x2b889f(0x16f)];if(_0x5e308f){delete _0x1e7d47[_0x2b889f(0x16f)];const _0x32b094=_0x5e308f[_0x2b889f(0x143)],_0x1166b3=_0x5e308f['platformDetails'];_0x1166b3&&(_0x17d807[_0x2b889f(0x13d)](debug,_0x2b889f(0x100)+_0x1166b3[_0x2b889f(0x17b)]()),_0x571ae9[_0x2b889f(0x159)][_0x2b889f(0x12a)]=_0x1166b3[_0x2b889f(0x15e)],_0x571ae9[_0x2b889f(0x159)][_0x2b889f(0x181)]=_0x1166b3['platformVersion']),_0x32b094&&(_0x17d807[_0x2b889f(0x13d)](debug,_0x2b889f(0x156)+_0x32b094),_0x571ae9['currentSessionDetails'][_0x2b889f(0x163)]=_0x32b094);}}catch(_0x23b453){_0x17d807['cispK'](debug,_0x2b889f(0x103)+_0x23b453['toString']());}return _0x4a393d['apply'](this,arguments);};}});}}catch(_0x2972e1){_0x17d807[_0x5caa6f(0x179)](debug,_0x5caa6f(0x119)+_0x2972e1),_0x571ae9[_0x5caa6f(0x167)]=_0x2972e1[_0x5caa6f(0x17b)]();}}}static[a41_0x204e5a(0xf4)](){const _0x26f8f7=a41_0x204e5a;return this[_0x26f8f7(0x159)];}}module[a41_0x204e5a(0x11e)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a42_0x4c7ec0=a42_0x2ca2;(function(_0x3fade0,_0x5266e7){const _0x3bfdd4=a42_0x2ca2,_0x406db5=_0x3fade0();while(!![]){try{const _0x1905e7=parseInt(_0x3bfdd4(0x96))/0x1*(-parseInt(_0x3bfdd4(0xd6))/0x2)+-parseInt(_0x3bfdd4(0xc7))/0x3*(-parseInt(_0x3bfdd4(0xa5))/0x4)+parseInt(_0x3bfdd4(0xb7))/0x5*(parseInt(_0x3bfdd4(0xc1))/0x6)+parseInt(_0x3bfdd4(0x74))/0x7*(parseInt(_0x3bfdd4(0xa3))/0x8)+-parseInt(_0x3bfdd4(0xbb))/0x9*(parseInt(_0x3bfdd4(0x71))/0xa)+parseInt(_0x3bfdd4(0x9b))/0xb+-parseInt(_0x3bfdd4(0x8b))/0xc;if(_0x1905e7===_0x5266e7)break;else _0x406db5['push'](_0x406db5['shift']());}catch(_0x5c2543){_0x406db5['push'](_0x406db5['shift']());}}}(a42_0x52ff,0xb4533));const fs=require('fs'),path=require(a42_0x4c7ec0(0x80)),util=require(a42_0x4c7ec0(0xde)),{performance}=require(a42_0x4c7ec0(0xe2)),{requireModule}=require(a42_0x4c7ec0(0xb2)),helper=require('../helpers/helper'),runIntegrations=require('./integrations/command'),captureError=async(_0xce0fa6,_0x3b7e53,_0x1731f7=null)=>{const _0x5108ad=a42_0x4c7ec0,_0x17dd47={'xekAc':function(_0x26e62d,_0x130b74,_0x2091a5){return _0x26e62d(_0x130b74,_0x2091a5);},'XVxKB':_0x5108ad(0xb5)};try{await _0x17dd47[_0x5108ad(0x81)](_0xce0fa6,_0x3b7e53,_0x1731f7);}catch(_0x361ef4){process[_0x5108ad(0x7c)]=0x1,logger[_0x5108ad(0xd5)](util['format'](_0x361ef4));const _0x2737e6={};_0x2737e6[_0x5108ad(0xa0)]=_0x361ef4[_0x5108ad(0xe1)];const _0x58961b=_0x2737e6;if(helper[_0x5108ad(0xc2)](global['config'])&&helper[_0x5108ad(0xc2)](global[_0x5108ad(0xd4)]))return;try{helper[_0x5108ad(0xac)](_0x17dd47[_0x5108ad(0x77)],_0x58961b,global['config'],global[_0x5108ad(0xd4)]);}catch(_0xbbe212){logger['debug'](_0x5108ad(0xa8)+_0xbbe212);}}};try{const browserstackFolderPath=path['join'](helper[a42_0x4c7ec0(0xab)](),a42_0x4c7ec0(0xc9));if(fs[a42_0x4c7ec0(0xa7)](browserstackFolderPath)){const filePath=path[a42_0x4c7ec0(0xba)](browserstackFolderPath,a42_0x4c7ec0(0x6f));fs[a42_0x4c7ec0(0xa7)](filePath)&&fs[a42_0x4c7ec0(0xb4)](filePath);}}catch(a42_0x5bd7dd){logger['debug'](a42_0x4c7ec0(0xd7)+a42_0x5bd7dd[a42_0x4c7ec0(0xe1)]);}process[a42_0x4c7ec0(0x79)][a42_0x4c7ec0(0xad)](a42_0x4c7ec0(0xdd))&&(!process[a42_0x4c7ec0(0x79)][a42_0x4c7ec0(0xad)]('--opts')&&process[a42_0x4c7ec0(0x79)]['push'](a42_0x4c7ec0(0x8e)),!process['argv']['includes'](a42_0x4c7ec0(0x9d))&&process[a42_0x4c7ec0(0x79)][a42_0x4c7ec0(0x76)](a42_0x4c7ec0(0xbd)),!process[a42_0x4c7ec0(0x79)][a42_0x4c7ec0(0xad)](a42_0x4c7ec0(0x84))&&process[a42_0x4c7ec0(0x79)][a42_0x4c7ec0(0x76)](a42_0x4c7ec0(0xbf)));const yargs=require(a42_0x4c7ec0(0xd1)),Constants=require(a42_0x4c7ec0(0x7f)),PerformanceTester=require(a42_0x4c7ec0(0xdc)),logger=require(a42_0x4c7ec0(0xd8))[a42_0x4c7ec0(0x95)];PerformanceTester[a42_0x4c7ec0(0xbe)](),performance[a42_0x4c7ec0(0x87)](a42_0x4c7ec0(0x7e));const a42_0xb69be4={};function a42_0x2ca2(_0x550f4a,_0x16926e){const _0x52ffbe=a42_0x52ff();return a42_0x2ca2=function(_0x2ca23d,_0x142f47){_0x2ca23d=_0x2ca23d-0x6e;let _0x3e0375=_0x52ffbe[_0x2ca23d];return _0x3e0375;},a42_0x2ca2(_0x550f4a,_0x16926e);}a42_0xb69be4[a42_0x4c7ec0(0x82)]=![];const argv=yargs[a42_0x4c7ec0(0xae)](a42_0xb69be4)[a42_0x4c7ec0(0x70)](a42_0x4c7ec0(0x89))[a42_0x4c7ec0(0x88)]('v',a42_0x4c7ec0(0xc8))[a42_0x4c7ec0(0xca)]('v')['alias']('h','help')[a42_0x4c7ec0(0xcd)](a42_0x4c7ec0(0xcd))[a42_0x4c7ec0(0x9a)](!![],Constants[a42_0x4c7ec0(0xc0)]['HELP'])['command'](a42_0x4c7ec0(0x8c),Constants[a42_0x4c7ec0(0xc3)][a42_0x4c7ec0(0xb1)],function(_0x22a9e6){const _0x5ca35f=a42_0x4c7ec0,_0x10a493={'OgdlB':function(_0x4fd051,_0x4b551e,_0x51574f,_0x55f401){return _0x4fd051(_0x4b551e,_0x51574f,_0x55f401);},'nKgRp':function(_0x18c62f,_0x2305ef){return _0x18c62f(_0x2305ef);},'cARpb':_0x5ca35f(0xb0)};helper[_0x5ca35f(0xd3)](),helper[_0x5ca35f(0xa4)]();const _0x23aeea=process[_0x5ca35f(0x79)]['slice'](0x2);return _0x10a493[_0x5ca35f(0x7a)](captureError,_0x10a493[_0x5ca35f(0xd0)](require,_0x10a493['cARpb']),_0x22a9e6[_0x5ca35f(0x79)],_0x23aeea);})[a42_0x4c7ec0(0xa6)](a42_0x4c7ec0(0xdd),Constants[a42_0x4c7ec0(0x72)][a42_0x4c7ec0(0xb1)],_0x34eb6c=>{const _0xb9176b=a42_0x4c7ec0,_0x10038a={'JxaDl':function(_0x2bb00d,_0x4cfa17,_0x28ad3f){return _0x2bb00d(_0x4cfa17,_0x28ad3f);},'YVsna':function(_0x1dc9b4,_0x10b23c){return _0x1dc9b4(_0x10b23c);},'kePhj':_0xb9176b(0x83),'cLRQm':_0xb9176b(0x75),'NVDRX':_0xb9176b(0x6e),'trlFF':function(_0x7f1b1c,_0x46723b){return _0x7f1b1c(_0x46723b);},'ajFKx':_0xb9176b(0xb6),'spCLK':function(_0x9559dc,_0x2d62a6){return _0x9559dc(_0x2d62a6);},'mreiQ':_0xb9176b(0xe0),'EOGvF':function(_0x1e98ba){return _0x1e98ba();}};logger['debug'](_0x10038a[_0xb9176b(0xaf)]);const _0xdea035=_0x10038a[_0xb9176b(0x98)](requireModule,_0x10038a[_0xb9176b(0xb8)]),_0x371eb6=_0x10038a[_0xb9176b(0x9c)](requireModule,_0x10038a['ajFKx']);process[_0xb9176b(0x79)]=process[_0xb9176b(0x79)][_0xb9176b(0x7d)](0x1),delete _0xdea035[_0xb9176b(0xb3)],_0xdea035[_0xb9176b(0xb3)]=function(_0x1ae0c4){const _0x1101e1=_0xb9176b;return _0x10038a['JxaDl'](captureError,_0x10038a['YVsna'](require,_0x10038a[_0x1101e1(0xbc)]),_0x1ae0c4);},_0x371eb6[_0xb9176b(0xa2)]=_0xdea035;const {main:_0x233bcc}=_0x10038a[_0xb9176b(0x99)](requireModule,_0x10038a['mreiQ']);_0x10038a['EOGvF'](_0x233bcc);})['command'](a42_0x4c7ec0(0x97),Constants[a42_0x4c7ec0(0x9e)][a42_0x4c7ec0(0xb1)],function(_0x18f81a){const _0x268635=a42_0x4c7ec0,_0x4bbeb8={'AihLD':function(_0x19a1af,_0x11339f,_0x5091c3,_0x535ea0){return _0x19a1af(_0x11339f,_0x5091c3,_0x535ea0);},'jzjJv':function(_0xd8cfe4,_0x55b136){return _0xd8cfe4(_0x55b136);},'GCCQP':_0x268635(0xaa)},_0x2d2b78=process[_0x268635(0x79)][_0x268635(0x7d)](0x2);return _0x4bbeb8[_0x268635(0xd9)](captureError,_0x4bbeb8[_0x268635(0xdf)](require,_0x4bbeb8[_0x268635(0xc6)]),_0x18f81a[_0x268635(0x79)],_0x2d2b78);})['command'](a42_0x4c7ec0(0x85),Constants['VANILLA'][a42_0x4c7ec0(0xb1)],function(_0x22b3f3){const _0x4174c9=a42_0x4c7ec0,_0x176dae={'ndvwM':function(_0x24cbf1,_0x2fa978,_0x3564fa,_0x4f020b){return _0x24cbf1(_0x2fa978,_0x3564fa,_0x4f020b);},'chodM':function(_0x352b47,_0x4ae46e){return _0x352b47(_0x4ae46e);},'MpaSa':_0x4174c9(0xdb)},_0x19b007=process[_0x4174c9(0x79)]['slice'](0x2);return _0x176dae[_0x4174c9(0xcb)](captureError,_0x176dae[_0x4174c9(0xa9)](require,_0x176dae[_0x4174c9(0x8f)]),_0x22b3f3[_0x4174c9(0x79)],_0x19b007);})[a42_0x4c7ec0(0xa6)](a42_0x4c7ec0(0x91),Constants['NIGHTWATCH'][a42_0x4c7ec0(0xb1)],function(_0x432cda){const _0x5eecbb=a42_0x4c7ec0,_0x1b2869={'REmRD':function(_0xb249b,_0xd6f910,_0x18fdab,_0x48ffae){return _0xb249b(_0xd6f910,_0x18fdab,_0x48ffae);},'MbOKM':function(_0x55caca,_0xdadd96){return _0x55caca(_0xdadd96);},'hdgcE':_0x5eecbb(0xd2)},_0x3c88a6=process[_0x5eecbb(0x79)]['slice'](0x2);return _0x1b2869['REmRD'](captureError,_0x1b2869[_0x5eecbb(0x8d)](require,_0x1b2869[_0x5eecbb(0x7b)]),_0x432cda[_0x5eecbb(0x79)],_0x3c88a6);})['command'](a42_0x4c7ec0(0xda),Constants[a42_0x4c7ec0(0x73)][a42_0x4c7ec0(0xb1)],function(_0x30a6b3){const _0x483e21=a42_0x4c7ec0,_0x15a41b={'cUzZg':function(_0x54c4ac,_0x7d6910,_0x37b8ac,_0x43ae11){return _0x54c4ac(_0x7d6910,_0x37b8ac,_0x43ae11);},'FZRUF':function(_0x200a77,_0x4534e5){return _0x200a77(_0x4534e5);},'wJsNc':_0x483e21(0x9f)},_0x1f3bf7=process['argv'][_0x483e21(0x7d)](0x2);return _0x15a41b['cUzZg'](captureError,_0x15a41b['FZRUF'](require,_0x15a41b['wJsNc']),_0x30a6b3[_0x483e21(0x79)],_0x1f3bf7);})[a42_0x4c7ec0(0xa6)](a42_0x4c7ec0(0xc5),Constants[a42_0x4c7ec0(0x8a)][a42_0x4c7ec0(0xb1)],function(_0x4a1cd8){const _0x333ca1=a42_0x4c7ec0,_0x4126b9={'Ocpek':function(_0x2de356,_0x51d02c,_0x11fde6){return _0x2de356(_0x51d02c,_0x11fde6);},'BsNJb':function(_0x37ccda,_0x559c6c){return _0x37ccda(_0x559c6c);},'gIimH':_0x333ca1(0x93)},_0x5439f4=process[_0x333ca1(0x79)]['slice'](0x2);return _0x4126b9['Ocpek'](captureError,_0x4126b9[_0x333ca1(0xc4)](require,_0x4126b9[_0x333ca1(0x94)]),_0x4a1cd8);})[a42_0x4c7ec0(0xa6)](a42_0x4c7ec0(0xa1),Constants[a42_0x4c7ec0(0x86)][a42_0x4c7ec0(0xb1)],function(_0x5cfbd3){const _0xe8362c=a42_0x4c7ec0,_0x39106a={'etdzK':function(_0x14cebf,_0x5e797d){return _0x14cebf(_0x5e797d);}};return _0x39106a[_0xe8362c(0x92)](runIntegrations,_0x5cfbd3);})['command']('playwright',Constants['PLAYWRIGHT'][a42_0x4c7ec0(0xb1)],function(_0x36773b){const _0x2dbccb=a42_0x4c7ec0,_0x1c4835={'SSDQk':function(_0x54bacc,_0x2d61a3,_0x5ae407,_0x3f4347){return _0x54bacc(_0x2d61a3,_0x5ae407,_0x3f4347);},'VkWyb':function(_0x2b4080,_0x45bd11){return _0x2b4080(_0x45bd11);},'zAkdC':_0x2dbccb(0xcf)},_0x13fafa=process[_0x2dbccb(0x79)][_0x2dbccb(0x7d)](0x2);return _0x1c4835[_0x2dbccb(0xcc)](captureError,_0x1c4835['VkWyb'](require,_0x1c4835[_0x2dbccb(0xce)]),_0x36773b[_0x2dbccb(0x79)],_0x13fafa);})[a42_0x4c7ec0(0x78)](0x1,a42_0x4c7ec0(0x90))[a42_0x4c7ec0(0xb9)](null)[a42_0x4c7ec0(0x79)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a42_0x4c7ec0(0xd5)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');function a42_0x52ff(){const _0x13b819=['wrap','join','63dsWVjK','kePhj','--no-config','startMonitoring','--no-package','VERSION','288Dighcu','isUndefined','JEST','BsNJb','ats','GCCQP','6WBXdng','version','.browserstack','describe','ndvwM','SSDQk','help','zAkdC','./playwright/command','nKgRp','yargs','./nightwatch/command','setTestObservabilityDisable','framework','error','370526yxGoyB','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','../helpers/logger','AihLD','codeceptjs','./vanilla-js/command','../helpers/performance-tester','mocha','util','jzjJv','mocha/lib/cli/cli.js','message','perf_hooks','mocha/lib/cli/run.js','.local-not-set.json','usage','869470ciKjRx','MOCHA','CODECEPTJS','801857QakULJ','Parsing\x20command\x20line\x20arguements','push','XVxKB','demandCommand','argv','OgdlB','hdgcE','exitCode','slice','sdk:setup-start','./utils/constants','path','xekAc','dot-notation','./mocha/command','--package','node','INTEGRATIONS','mark','alias','usage:\x20$0\x20<command>\x20[args]','HST','10893612jbGfyw','jest','MbOKM','--no-opts','MpaSa','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','nightwatch','etdzK','../../ats/src/index','gIimH','winstonLogger','1OlWWrb','cucumber-js','YVsna','spCLK','showHelpOnFail','3957778aVjgBN','trlFF','--config','CUCUMBER','./codeceptjs/command','globalException','integrations','run','16XoIJoF','setBrowserStackAutomationDisable','2284600oLClpI','command','existsSync','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','chodM','./cucumber-js/command','homedir','fireFunnelTestEvent','includes','parserConfiguration','cLRQm','./jest/command','INFO','../helpers/helper','handler','unlinkSync','SDKTestSuccessful','mocha/lib/cli/commands.js','73865CqyopM','NVDRX'];a42_0x52ff=function(){return _0x13b819;};return a42_0x52ff();}
|
|
2
|
+
'use strict';const a42_0x2a8c3e=a42_0x1c2b;(function(_0x2d8541,_0x29989f){const _0x166f3d=a42_0x1c2b,_0x4cbaa7=_0x2d8541();while(!![]){try{const _0x39b2e9=-parseInt(_0x166f3d(0x1da))/0x1*(-parseInt(_0x166f3d(0x19e))/0x2)+parseInt(_0x166f3d(0x1aa))/0x3+parseInt(_0x166f3d(0x1a0))/0x4*(-parseInt(_0x166f3d(0x18f))/0x5)+-parseInt(_0x166f3d(0x170))/0x6+-parseInt(_0x166f3d(0x1d3))/0x7*(parseInt(_0x166f3d(0x16e))/0x8)+-parseInt(_0x166f3d(0x1c8))/0x9*(-parseInt(_0x166f3d(0x17a))/0xa)+parseInt(_0x166f3d(0x1cc))/0xb;if(_0x39b2e9===_0x29989f)break;else _0x4cbaa7['push'](_0x4cbaa7['shift']());}catch(_0xb753f8){_0x4cbaa7['push'](_0x4cbaa7['shift']());}}}(a42_0x383d,0xb23fb));function a42_0x383d(){const _0x52c4bd=['message','mocha','usage','XtoUp','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','dlNNO','lThPj','mocha/lib/cli/cli.js','30YbAUsr','join','cucumber-js','Xsvsb','VERSION','../helpers/helper','setTestObservabilityDisable','./cucumber-js/command','--no-config','unlinkSync','HST','Fklcs','homedir','mocha/lib/cli/commands.js','./utils/constants','wEbOQ','./playwright/command','argv','setBrowserStackAutomationDisable','framework','HELP','315ebcugH','SDKTestSuccessful','handler','Pffdb','./mocha/command','NbTei','startMonitoring','fdwPV','UNivm','./integrations/command','playwright','parserConfiguration','QkrBS','CYrqQ','format','2fkgVAN','ats','45292nhvfAk','AZzOL','path','orHJE','JEST','includes','error','--package','URKax','util','1606755bphQEe','--opts','CODECEPTJS','nightwatch','PsLvs','oipeP','yargs','INFO','./vanilla-js/command','FxbHx','qMOMX','auxXQ','../helpers/performance-tester','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','TIaOL','gaqgf','mark','dot-notation','jest','./jest/command','exitCode','../helpers/logger','slice','PLAYWRIGHT','command','existsSync','debug','codeceptjs','push','perf_hooks','2075013WNckLv','./codeceptjs/command','isUndefined','../../ats/src/index','4281585jhUhQx','help','lSgvl','config','winstonLogger','xbBqM','qGYyI','70sPZJbB','VANILLA','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','describe','eeHjO','INTEGRATIONS','fireFunnelTestEvent','983603wADhKC','integrations','487032ffhOVW','MOCHA','3287088yKySvV','demandCommand'];a42_0x383d=function(){return _0x52c4bd;};return a42_0x383d();}const fs=require('fs'),path=require(a42_0x2a8c3e(0x1a2)),util=require(a42_0x2a8c3e(0x1a9)),{performance}=require(a42_0x2a8c3e(0x1c7)),{requireModule}=require(a42_0x2a8c3e(0x17f)),helper=require(a42_0x2a8c3e(0x17f)),runIntegrations=require(a42_0x2a8c3e(0x198)),captureError=async(_0x2205e2,_0x2262bc,_0x3f2cd3=null)=>{const _0x304349=a42_0x2a8c3e,_0xf13628={'jrcRQ':function(_0x16eafa,_0x4a4aea,_0x4bfa87){return _0x16eafa(_0x4a4aea,_0x4bfa87);},'nUDmB':_0x304349(0x190)};try{await _0xf13628['jrcRQ'](_0x2205e2,_0x2262bc,_0x3f2cd3);}catch(_0x3bd059){process[_0x304349(0x1be)]=0x1,logger[_0x304349(0x1a6)](util[_0x304349(0x19d)](_0x3bd059));const _0x5a48da={};_0x5a48da['globalException']=_0x3bd059[_0x304349(0x172)];const _0x320b03=_0x5a48da;if(helper['isUndefined'](global[_0x304349(0x1cf)])&&helper[_0x304349(0x1ca)](global[_0x304349(0x18d)]))return;try{helper[_0x304349(0x1d9)](_0xf13628['nUDmB'],_0x320b03,global[_0x304349(0x1cf)],global[_0x304349(0x18d)]);}catch(_0x1e3f6a){logger['debug'](_0x304349(0x1b7)+_0x1e3f6a);}}};try{const browserstackFolderPath=path[a42_0x2a8c3e(0x17b)](helper[a42_0x2a8c3e(0x186)](),'.browserstack');if(fs[a42_0x2a8c3e(0x1c3)](browserstackFolderPath)){const filePath=path[a42_0x2a8c3e(0x17b)](browserstackFolderPath,'.local-not-set.json');fs[a42_0x2a8c3e(0x1c3)](filePath)&&fs[a42_0x2a8c3e(0x183)](filePath);}}catch(a42_0x125de5){logger[a42_0x2a8c3e(0x1c4)](a42_0x2a8c3e(0x1d5)+a42_0x125de5['message']);}process[a42_0x2a8c3e(0x18b)]['includes'](a42_0x2a8c3e(0x173))&&(!process[a42_0x2a8c3e(0x18b)][a42_0x2a8c3e(0x1a5)](a42_0x2a8c3e(0x1ab))&&process[a42_0x2a8c3e(0x18b)]['push']('--no-opts'),!process[a42_0x2a8c3e(0x18b)]['includes']('--config')&&process[a42_0x2a8c3e(0x18b)]['push'](a42_0x2a8c3e(0x182)),!process[a42_0x2a8c3e(0x18b)][a42_0x2a8c3e(0x1a5)](a42_0x2a8c3e(0x1a7))&&process[a42_0x2a8c3e(0x18b)][a42_0x2a8c3e(0x1c6)]('--no-package'));const yargs=require(a42_0x2a8c3e(0x1b0)),Constants=require(a42_0x2a8c3e(0x188)),PerformanceTester=require(a42_0x2a8c3e(0x1b6)),logger=require(a42_0x2a8c3e(0x1bf))[a42_0x2a8c3e(0x1d0)];PerformanceTester[a42_0x2a8c3e(0x195)](),performance[a42_0x2a8c3e(0x1ba)]('sdk:setup-start');function a42_0x1c2b(_0x1ef5aa,_0x3a3584){const _0x383d2e=a42_0x383d();return a42_0x1c2b=function(_0x1c2b13,_0x193038){_0x1c2b13=_0x1c2b13-0x16e;let _0x404110=_0x383d2e[_0x1c2b13];return _0x404110;},a42_0x1c2b(_0x1ef5aa,_0x3a3584);}const a42_0xfac3db={};a42_0xfac3db[a42_0x2a8c3e(0x1bb)]=![];const argv=yargs[a42_0x2a8c3e(0x19a)](a42_0xfac3db)[a42_0x2a8c3e(0x174)]('usage:\x20$0\x20<command>\x20[args]')['alias']('v','version')[a42_0x2a8c3e(0x1d6)]('v')['alias']('h',a42_0x2a8c3e(0x1cd))[a42_0x2a8c3e(0x1cd)](a42_0x2a8c3e(0x1cd))['showHelpOnFail'](!![],Constants[a42_0x2a8c3e(0x17e)][a42_0x2a8c3e(0x18e)])['command'](a42_0x2a8c3e(0x1bc),Constants[a42_0x2a8c3e(0x1a4)][a42_0x2a8c3e(0x1b1)],function(_0x135c4c){const _0x5c4146=a42_0x2a8c3e,_0x12d334={'QkrBS':function(_0x38c0b7,_0x306ff5,_0x3f8259,_0x149da3){return _0x38c0b7(_0x306ff5,_0x3f8259,_0x149da3);},'Xsvsb':function(_0xe4c65e,_0x27f076){return _0xe4c65e(_0x27f076);},'AZzOL':_0x5c4146(0x1bd)};helper[_0x5c4146(0x180)](),helper[_0x5c4146(0x18c)]();const _0x27e3b9=process[_0x5c4146(0x18b)][_0x5c4146(0x1c0)](0x2);return _0x12d334[_0x5c4146(0x19b)](captureError,_0x12d334[_0x5c4146(0x17d)](require,_0x12d334[_0x5c4146(0x1a1)]),_0x135c4c[_0x5c4146(0x18b)],_0x27e3b9);})[a42_0x2a8c3e(0x1c2)]('mocha',Constants[a42_0x2a8c3e(0x16f)][a42_0x2a8c3e(0x1b1)],_0x47ff68=>{const _0x3d386d=a42_0x2a8c3e,_0x55161c={'qWiqK':function(_0x35fc9b,_0xd9ccdd,_0x331ee0){return _0x35fc9b(_0xd9ccdd,_0x331ee0);},'qGYyI':function(_0x47b5ff,_0x51dfbd){return _0x47b5ff(_0x51dfbd);},'qThHh':_0x3d386d(0x193),'TIaOL':'Parsing\x20command\x20line\x20arguements','wEbOQ':'mocha/lib/cli/run.js','oipeP':function(_0xbfdae3,_0x3b93e4){return _0xbfdae3(_0x3b93e4);},'lThPj':_0x3d386d(0x187),'NbTei':function(_0x3d8ef3,_0x50c7a0){return _0x3d8ef3(_0x50c7a0);},'qMOMX':_0x3d386d(0x179),'XtoUp':function(_0x1185c4){return _0x1185c4();}};logger['debug'](_0x55161c[_0x3d386d(0x1b8)]);const _0x1252a9=_0x55161c[_0x3d386d(0x1d2)](requireModule,_0x55161c[_0x3d386d(0x189)]),_0x5dfb99=_0x55161c[_0x3d386d(0x1af)](requireModule,_0x55161c[_0x3d386d(0x178)]);process[_0x3d386d(0x18b)]=process[_0x3d386d(0x18b)]['slice'](0x1),delete _0x1252a9[_0x3d386d(0x191)],_0x1252a9[_0x3d386d(0x191)]=function(_0x22ce6c){const _0x176209=_0x3d386d;return _0x55161c['qWiqK'](captureError,_0x55161c[_0x176209(0x1d2)](require,_0x55161c['qThHh']),_0x22ce6c);},_0x5dfb99['run']=_0x1252a9;const {main:_0x50ca03}=_0x55161c[_0x3d386d(0x194)](requireModule,_0x55161c[_0x3d386d(0x1b4)]);_0x55161c[_0x3d386d(0x175)](_0x50ca03);})[a42_0x2a8c3e(0x1c2)](a42_0x2a8c3e(0x17c),Constants['CUCUMBER'][a42_0x2a8c3e(0x1b1)],function(_0xcf4552){const _0x3d5ccf=a42_0x2a8c3e,_0x478c24={'dlNNO':function(_0x50f730,_0x4d32d6,_0x4daa54,_0x1c8504){return _0x50f730(_0x4d32d6,_0x4daa54,_0x1c8504);},'UjzTw':function(_0x17e628,_0x4db735){return _0x17e628(_0x4db735);},'fdwPV':_0x3d5ccf(0x181)},_0x12a367=process[_0x3d5ccf(0x18b)][_0x3d5ccf(0x1c0)](0x2);return _0x478c24[_0x3d5ccf(0x177)](captureError,_0x478c24['UjzTw'](require,_0x478c24[_0x3d5ccf(0x196)]),_0xcf4552['argv'],_0x12a367);})[a42_0x2a8c3e(0x1c2)]('node',Constants[a42_0x2a8c3e(0x1d4)][a42_0x2a8c3e(0x1b1)],function(_0x3c6683){const _0x2e4458=a42_0x2a8c3e,_0x4480d2={'iDWGs':function(_0x1ce774,_0x583427,_0x5978a0,_0x276f1f){return _0x1ce774(_0x583427,_0x5978a0,_0x276f1f);},'dwtEM':function(_0x3ab741,_0x362a11){return _0x3ab741(_0x362a11);},'PsLvs':_0x2e4458(0x1b2)},_0x568dc3=process[_0x2e4458(0x18b)][_0x2e4458(0x1c0)](0x2);return _0x4480d2['iDWGs'](captureError,_0x4480d2['dwtEM'](require,_0x4480d2[_0x2e4458(0x1ae)]),_0x3c6683[_0x2e4458(0x18b)],_0x568dc3);})[a42_0x2a8c3e(0x1c2)](a42_0x2a8c3e(0x1ad),Constants['NIGHTWATCH'][a42_0x2a8c3e(0x1b1)],function(_0x2c71d9){const _0x4422f4=a42_0x2a8c3e,_0x13964d={'Pffdb':function(_0x5a0574,_0x162cf1,_0x1c5910,_0x3d664f){return _0x5a0574(_0x162cf1,_0x1c5910,_0x3d664f);},'xbBqM':function(_0x259e52,_0x7e5b5b){return _0x259e52(_0x7e5b5b);},'UNivm':'./nightwatch/command'},_0x37dbb2=process[_0x4422f4(0x18b)]['slice'](0x2);return _0x13964d[_0x4422f4(0x192)](captureError,_0x13964d[_0x4422f4(0x1d1)](require,_0x13964d[_0x4422f4(0x197)]),_0x2c71d9['argv'],_0x37dbb2);})['command'](a42_0x2a8c3e(0x1c5),Constants[a42_0x2a8c3e(0x1ac)]['INFO'],function(_0x3d3237){const _0x14ecc2=a42_0x2a8c3e,_0x541a2f={'URKax':function(_0x225cf0,_0x3a2910,_0x26e3ee,_0x19a6dd){return _0x225cf0(_0x3a2910,_0x26e3ee,_0x19a6dd);},'CYrqQ':function(_0x3a029e,_0xfb287a){return _0x3a029e(_0xfb287a);},'ZonMT':_0x14ecc2(0x1c9)},_0x29dfc6=process[_0x14ecc2(0x18b)][_0x14ecc2(0x1c0)](0x2);return _0x541a2f[_0x14ecc2(0x1a8)](captureError,_0x541a2f[_0x14ecc2(0x19c)](require,_0x541a2f['ZonMT']),_0x3d3237['argv'],_0x29dfc6);})[a42_0x2a8c3e(0x1c2)](a42_0x2a8c3e(0x19f),Constants[a42_0x2a8c3e(0x184)][a42_0x2a8c3e(0x1b1)],function(_0x193242){const _0x126367=a42_0x2a8c3e,_0x438047={'auxXQ':function(_0x2dcd95,_0x4fd8c8,_0x5912ec){return _0x2dcd95(_0x4fd8c8,_0x5912ec);},'orHJE':function(_0x1bcbfa,_0x3572c4){return _0x1bcbfa(_0x3572c4);},'lSgvl':_0x126367(0x1cb)},_0x315119=process['argv'][_0x126367(0x1c0)](0x2);return _0x438047[_0x126367(0x1b5)](captureError,_0x438047[_0x126367(0x1a3)](require,_0x438047[_0x126367(0x1ce)]),_0x193242);})[a42_0x2a8c3e(0x1c2)](a42_0x2a8c3e(0x1db),Constants[a42_0x2a8c3e(0x1d8)][a42_0x2a8c3e(0x1b1)],function(_0x1f9821){const _0x418b8a=a42_0x2a8c3e,_0x1e2e74={'Fklcs':function(_0x3fabb6,_0xcf1008){return _0x3fabb6(_0xcf1008);}};return _0x1e2e74[_0x418b8a(0x185)](runIntegrations,_0x1f9821);})[a42_0x2a8c3e(0x1c2)](a42_0x2a8c3e(0x199),Constants[a42_0x2a8c3e(0x1c1)][a42_0x2a8c3e(0x1b1)],function(_0x8ad263){const _0x6af9f7=a42_0x2a8c3e,_0x3bfd07={'eeHjO':function(_0x4abc1e,_0x4ae24c,_0x4b52c9,_0x4c4006){return _0x4abc1e(_0x4ae24c,_0x4b52c9,_0x4c4006);},'gaqgf':function(_0x32a1b3,_0x3f40f1){return _0x32a1b3(_0x3f40f1);},'FxbHx':_0x6af9f7(0x18a)},_0x44b8cf=process[_0x6af9f7(0x18b)][_0x6af9f7(0x1c0)](0x2);return _0x3bfd07[_0x6af9f7(0x1d7)](captureError,_0x3bfd07[_0x6af9f7(0x1b9)](require,_0x3bfd07[_0x6af9f7(0x1b3)]),_0x8ad263[_0x6af9f7(0x18b)],_0x44b8cf);})[a42_0x2a8c3e(0x171)](0x1,a42_0x2a8c3e(0x176))['wrap'](null)[a42_0x2a8c3e(0x18b)];!helper[a42_0x2a8c3e(0x1ca)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a42_0x2a8c3e(0x19f)&&console[a42_0x2a8c3e(0x1a6)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a43_0x6ddea2=a43_0x3416;(function(_0xc516d1,_0xecddd6){const _0x5e526e=a43_0x3416,_0x47147b=_0xc516d1();while(!![]){try{const _0x123e73=parseInt(_0x5e526e(0xb4))/0x1*(-parseInt(_0x5e526e(0xd9))/0x2)+-parseInt(_0x5e526e(0xf0))/0x3*(-parseInt(_0x5e526e(0xdf))/0x4)+-parseInt(_0x5e526e(0xbc))/0x5+parseInt(_0x5e526e(0xec))/0x6*(parseInt(_0x5e526e(0xe6))/0x7)+-parseInt(_0x5e526e(0xd4))/0x8*(-parseInt(_0x5e526e(0xb5))/0x9)+parseInt(_0x5e526e(0xc1))/0xa*(parseInt(_0x5e526e(0xd7))/0xb)+-parseInt(_0x5e526e(0xea))/0xc*(parseInt(_0x5e526e(0xe8))/0xd);if(_0x123e73===_0xecddd6)break;else _0x47147b['push'](_0x47147b['shift']());}catch(_0x2aea76){_0x47147b['push'](_0x47147b['shift']());}}}(a43_0x456e,0xde32b));function a43_0x3416(_0x1a179a,_0x55f0c0){const _0x456eb3=a43_0x456e();return a43_0x3416=function(_0x34163c,_0x31751e){_0x34163c=_0x34163c-0xa2;let _0x10e245=_0x456eb3[_0x34163c];return _0x10e245;},a43_0x3416(_0x1a179a,_0x55f0c0);}const fs=require('fs'),helper=require('../helpers/helper'),yaml=require(a43_0x6ddea2(0xac)),yargs=require(a43_0x6ddea2(0xc2)),logger=require(a43_0x6ddea2(0xb9))[a43_0x6ddea2(0xaa)],configFileTemplate=__dirname+a43_0x6ddea2(0xb2),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a43_0x6ddea2(0xe2)]()+a43_0x6ddea2(0xc9),packageFile=process['cwd']()+'/package.json',frameworks=[a43_0x6ddea2(0xa7),'jest',a43_0x6ddea2(0xae),a43_0x6ddea2(0xdd),a43_0x6ddea2(0xd3),a43_0x6ddea2(0xa4),'playwright'];let config;logger[a43_0x6ddea2(0xc6)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs['argv'][a43_0x6ddea2(0xcb)],yargs[a43_0x6ddea2(0xc3)][a43_0x6ddea2(0xdb)],yargs[a43_0x6ddea2(0xc3)][a43_0x6ddea2(0xe5)]);try{sdkSetup();}catch(a43_0x10968b){logger['debug'](a43_0x6ddea2(0xab)+a43_0x10968b);}addScriptInPackageJson();function createConfigurationFile(_0x3ef540,_0x40b64f,_0x3a4ec1=![]){const _0xab4828=a43_0x6ddea2,_0x5111f2={};_0x5111f2[_0xab4828(0xc8)]=_0xab4828(0xcc),_0x5111f2[_0xab4828(0xe0)]=_0xab4828(0xde),_0x5111f2[_0xab4828(0xb3)]=_0xab4828(0xdc);const _0x49eb10=_0x5111f2;try{let _0x24dcdf=fs[_0xab4828(0xed)](_0x3a4ec1?configFileTemplatePW:configFileTemplate,_0x49eb10[_0xab4828(0xc8)]);_0x3ef540&&(_0x24dcdf=_0x24dcdf[_0xab4828(0xcf)](_0x49eb10[_0xab4828(0xe0)],_0x3ef540)),_0x40b64f&&(_0x24dcdf=_0x24dcdf[_0xab4828(0xcf)](_0x49eb10[_0xab4828(0xb3)],_0x40b64f)),config=yaml['load'](_0x24dcdf),fs['writeFileSync'](configFile,_0x24dcdf,_0x5074f6=>{const _0x53a93d=_0xab4828;_0x5074f6&&logger[_0x53a93d(0xb0)](_0x5074f6);});}catch(_0x2400d4){logger[_0xab4828(0xb0)](_0x2400d4);}}function addPostInstallScript(_0x2f13b1,_0x5cf7ae){const _0x3eb481=a43_0x6ddea2,_0x59a2ce={};_0x59a2ce['Svnxq']=_0x3eb481(0xd1),_0x59a2ce[_0x3eb481(0xc4)]=_0x3eb481(0xd2),_0x59a2ce[_0x3eb481(0xb8)]=_0x3eb481(0xc5);const _0x2670f2=_0x59a2ce;let _0x531e37=_0x2f13b1[_0x2670f2[_0x3eb481(0xc7)]];if(_0x531e37&&_0x531e37[_0x3eb481(0xe1)](_0x2670f2[_0x3eb481(0xc4)]))return;!_0x531e37?_0x531e37=_0x2670f2[_0x3eb481(0xc4)]:_0x531e37+=_0x2670f2[_0x3eb481(0xb8)],_0x5cf7ae['push']([_0x2670f2[_0x3eb481(0xc7)],_0x531e37]);}function addScriptInPackageJson(){const _0xf1940=a43_0x6ddea2,_0xbc25af={'qHKpk':'utf8','pBZSr':function(_0x8e1aef,_0x36bb81){return _0x8e1aef<_0x36bb81;},'XOIps':function(_0x284a1a,_0x3bf320,_0x2a715b){return _0x284a1a(_0x3bf320,_0x2a715b);},'xURnV':function(_0x3f1358,_0x911556,_0x2f7e9e){return _0x3f1358(_0x911556,_0x2f7e9e);},'rMKnJ':function(_0x54f856,_0x33a299){return _0x54f856<_0x33a299;},'pMGhg':function(_0x54f95e,_0x6b94fb){return _0x54f95e!==_0x6b94fb;},'ICXMF':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x3de533=JSON[_0xf1940(0xef)](fs[_0xf1940(0xed)](packageFile,_0xbc25af[_0xf1940(0xce)])),_0x304d58=[];for(let _0x533418=0x0;_0xbc25af[_0xf1940(0xc0)](_0x533418,frameworks['length']);_0x533418+=0x1){const _0x5f3c8b=_0xbc25af[_0xf1940(0xe4)](findScriptsWithFramework,_0x3de533['scripts'],frameworks[_0x533418]);for(let _0x118aec=0x0;_0xbc25af[_0xf1940(0xc0)](_0x118aec,_0x5f3c8b[_0xf1940(0xd5)]);_0x118aec+=0x1){_0x304d58[_0xf1940(0xd8)](_0xbc25af[_0xf1940(0xa9)](getUpdatedCommand,_0x3de533[_0xf1940(0xe3)],_0x5f3c8b[_0x118aec]));}_0xbc25af[_0xf1940(0xe4)](addPostInstallScript,_0x3de533[_0xf1940(0xe3)],_0x304d58);}const _0x39a27a={..._0x3de533[_0xf1940(0xe3)]},_0xcff2b2=_0x39a27a;for(let _0x5a472f=0x0;_0xbc25af[_0xf1940(0xca)](_0x5a472f,_0x304d58[_0xf1940(0xd5)]);_0x5a472f+=0x1){_0xcff2b2[_0x304d58[_0x5a472f][0x0]]=_0x304d58[_0x5a472f][0x1];}_0xbc25af[_0xf1940(0xa8)](JSON['stringify'](_0x3de533['scripts']),JSON[_0xf1940(0xbd)](_0xcff2b2))&&(logger[_0xf1940(0xc6)](_0xbc25af[_0xf1940(0xd0)]),_0x3de533['scripts']=_0xcff2b2,fs[_0xf1940(0xa3)](packageFile,JSON['stringify'](_0x3de533,null,0x2),_0x531661=>{const _0x378988=_0xf1940;_0x531661&&logger[_0x378988(0xb0)](_0x531661);}));}function a43_0x456e(){const _0x463af3=['5707210TtoCZR','stringify','fireFunnelTestEvent','entries','pBZSr','8244530qmKSjd','yargs','argv','kmbPE','\x20&&\x20npm\x20update\x20browserstack-node-sdk','info','Svnxq','byAtu','/browserstack.yml','rMKnJ','username','utf8','edvgJ','qHKpk','replace','ICXMF','postinstall','npm\x20update\x20browserstack-node-sdk','nightwatch','229312TgOGDW','length','Setup\x20completed','22tghGFn','push','36gXjDfT','source','key','YOUR_ACCESS_KEY','node','YOUR_USERNAME','1749892tDQqeV','mJEyw','includes','cwd','scripts','XOIps','playwright','7QtSmXC','splice','3515031waHxSf','isUndefined','48aEoZhI','browserstack-node-sdk\x20','2576682mprfkt','readFileSync','node-setup','parse','12hPhupQ','YtfqS','writeFileSync','codeceptjs','split','brpYg','mocha','pMGhg','xURnV','winstonLogger','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','js-yaml','SlACj','cucumber-js','debug','error','indexOf','/../../browserstack.yml.sample','hWUeM','80022rIIDXL','234mDFnLE','browserstack-node-sdk','vvTFw','kEzvU','../helpers/logger','join','BBitk'];a43_0x456e=function(){return _0x463af3;};return a43_0x456e();};function findScriptsWithFramework(_0x20ce63,_0x50214d){const _0x193981=a43_0x6ddea2,_0x4d57c0={};_0x4d57c0[_0x193981(0xa2)]=function(_0x5c3a33,_0x5d0232){return _0x5c3a33<_0x5d0232;},_0x4d57c0['SlACj']=_0x193981(0xb6);const _0x193b55=_0x4d57c0,_0x3dcbc3=[],_0x3f6723=Object[_0x193981(0xbf)](_0x20ce63);for(let _0x35eea6=0x0;_0x193b55[_0x193981(0xa2)](_0x35eea6,_0x3f6723[_0x193981(0xd5)]);_0x35eea6+=0x1){_0x3f6723[_0x35eea6][0x1][_0x193981(0xe1)](_0x50214d)&&!_0x3f6723[_0x35eea6][0x1][_0x193981(0xe1)](_0x193b55[_0x193981(0xad)])&&_0x3dcbc3[_0x193981(0xd8)](_0x3f6723[_0x35eea6][0x0]);}return _0x3dcbc3;}function getUpdatedCommand(_0xd5a105,_0x1940f8){const _0x59565c=a43_0x6ddea2,_0x894f91={};_0x894f91[_0x59565c(0xcd)]=function(_0xc0afa3,_0x284c94){return _0xc0afa3!==_0x284c94;},_0x894f91['xETys']=_0x59565c(0xb6),_0x894f91[_0x59565c(0xbb)]=function(_0xd251,_0x2263c0){return _0xd251===_0x2263c0;};const _0x332fb8=_0x894f91,_0x26997d=_0x1940f8+'-browserstack',_0x29fa44=_0xd5a105[_0x1940f8],_0x3bca57=_0x29fa44[_0x59565c(0xa5)]('\x20');for(const _0x468c11 of frameworks){if(_0x332fb8['edvgJ'](_0x3bca57[_0x59565c(0xb1)](_0x468c11),-0x1)){_0x3bca57[_0x59565c(0xe7)](_0x3bca57[_0x59565c(0xb1)](_0x468c11),0x0,_0x332fb8['xETys']);break;}}let _0x43ca91=_0x3bca57[_0x59565c(0xba)]('\x20');return _0x332fb8[_0x59565c(0xbb)](_0x43ca91,_0x29fa44)&&(_0x43ca91=_0x59565c(0xeb)+_0x29fa44),[_0x26997d,_0x43ca91];}function sdkSetup(){const _0x3bf617=a43_0x6ddea2,_0x2eda1a={};_0x2eda1a[_0x3bf617(0xb7)]=_0x3bf617(0xee),_0x2eda1a[_0x3bf617(0xa6)]='SDKSetup';const _0x21321a=_0x2eda1a;if(helper[_0x3bf617(0xe9)](config))return;config[_0x3bf617(0xda)]=_0x21321a[_0x3bf617(0xb7)];try{helper[_0x3bf617(0xbe)](_0x21321a[_0x3bf617(0xa6)],{},config,'');}catch(_0x68c37a){logger[_0x3bf617(0xaf)](_0x3bf617(0xab)+_0x68c37a);}}logger[a43_0x6ddea2(0xc6)](a43_0x6ddea2(0xd6));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44_0x5e4d4c=a44_0x535a;(function(_0x51658b,_0x55f6cb){const _0x232eac=a44_0x535a,_0x2860d5=_0x51658b();while(!![]){try{const _0x93eb8c=-parseInt(_0x232eac(0x153))/0x1+parseInt(_0x232eac(0x143))/0x2*(-parseInt(_0x232eac(0x12d))/0x3)+-parseInt(_0x232eac(0x161))/0x4*(-parseInt(_0x232eac(0x16a))/0x5)+-parseInt(_0x232eac(0x147))/0x6+parseInt(_0x232eac(0x14b))/0x7+parseInt(_0x232eac(0x144))/0x8+parseInt(_0x232eac(0x138))/0x9;if(_0x93eb8c===_0x55f6cb)break;else _0x2860d5['push'](_0x2860d5['shift']());}catch(_0x3ba823){_0x2860d5['push'](_0x2860d5['shift']());}}}(a44_0x1e78,0x95ad3));const Worker=require('jest-worker')['Worker'],Emittery=require(a44_0x5e4d4c(0x151)),pLimit=require(a44_0x5e4d4c(0x13d)),util=require('util'),logger=require('../../helpers/logger')[a44_0x5e4d4c(0x15c)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),SessionHandler=require(a44_0x5e4d4c(0x137)),{getFrameworkVersion,isTestObservabilitySession,debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a44_0x5e4d4c(0x14d)),{FRAMEWORKS}=require(a44_0x5e4d4c(0x12f)),checkAccessibility=_0x1328a5=>{const _0x5e3e90=a44_0x5e4d4c,_0x4a15ef={};_0x4a15ef[_0x5e3e90(0x159)]=function(_0x17887f,_0x1c2a9b){return _0x17887f===_0x1c2a9b;};const _0x2f1803=_0x4a15ef;let _0x2586cc=![];try{_0x1328a5['platforms']['forEach'](_0x3ecab7=>{const _0x45c638=_0x5e3e90;if(_0x2f1803[_0x45c638(0x159)](_0x3ecab7[_0x45c638(0x157)],!![]))return _0x2586cc=!![],!![];});}catch(_0x6ad46f){logger[_0x5e3e90(0x125)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x6ad46f);}return _0x2586cc;};function a44_0x535a(_0x5ef96c,_0x31ff63){const _0x1e7814=a44_0x1e78();return a44_0x535a=function(_0x535aeb,_0x52e5a1){_0x535aeb=_0x535aeb-0x119;let _0x194899=_0x1e7814[_0x535aeb];return _0x194899;},a44_0x535a(_0x5ef96c,_0x31ff63);}exports[a44_0x5e4d4c(0x173)]=(_0x39ce50,_0x488cdb,_0x376c28)=>new Promise(async _0x359c0a=>{const _0x591dc3=a44_0x5e4d4c,_0x25a2f4={'WbhCa':_0x591dc3(0x146),'jVxMA':function(_0xfbbbb5,_0xa99288){return _0xfbbbb5+_0xa99288;},'DZzjL':_0x591dc3(0x12b),'CZvpP':_0x591dc3(0x155),'vnoGU':function(_0x1d3599,_0x268409){return _0x1d3599(_0x268409);},'YrKNp':function(_0x156d9a,_0x2d35f3){return _0x156d9a(_0x2d35f3);},'yCfDU':'test-file-start','ekOUC':_0x591dc3(0x149),'EoVnL':_0x591dc3(0x136),'sungE':'json','TPgvw':_0x591dc3(0x134),'HnzQx':function(_0x2e76ce,_0x1f1796){return _0x2e76ce*_0x1f1796;},'qFtJU':_0x591dc3(0x169),'ouhAZ':'test-file-failure','bgxOs':function(_0x3fbf65,_0x10c18d){return _0x3fbf65*_0x10c18d;}},_0x2363ff=_0x376c28[_0x591dc3(0x162)],_0x3ed56d={},_0x49bbe3=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x591dc3(0x12c)],_0x376c28),_0x363313=new Worker(require['resolve'](_0x25a2f4[_0x591dc3(0x15b)]),{'exposedMethods':[_0x25a2f4[_0x591dc3(0x142)]],'forkOptions':{'serialization':_0x25a2f4['sungE'],'stdio':_0x25a2f4['TPgvw']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x25a2f4[_0x591dc3(0x122)](_0x488cdb,0x1),'enableWorkerThreads':!![]}),_0x6fe6e4=new Emittery();_0x6fe6e4['on'](_0x25a2f4[_0x591dc3(0x165)],_0x160784=>{const _0x5e8df7=_0x591dc3;_0x3ed56d[_0x160784[0x0]]?(_0x3ed56d[_0x160784[0x0]][_0x25a2f4['WbhCa']]=_0x25a2f4['jVxMA'](_0x3ed56d[_0x160784[0x0]][_0x25a2f4[_0x5e8df7(0x150)]],_0x160784[0x1][_0x25a2f4[_0x5e8df7(0x150)]]),_0x3ed56d[_0x160784[0x0]][_0x25a2f4['DZzjL']]=[..._0x3ed56d[_0x160784[0x0]][_0x25a2f4[_0x5e8df7(0x12e)]],..._0x160784[0x1][_0x25a2f4[_0x5e8df7(0x12e)]]]):_0x3ed56d[_0x160784[0x0]]={'failureCount':_0x160784[0x1][_0x25a2f4['WbhCa']],'results':[..._0x160784[0x1][_0x25a2f4['DZzjL']]]};}),_0x6fe6e4['on'](_0x25a2f4[_0x591dc3(0x13b)],_0x52e196=>console[_0x591dc3(0x152)](_0x52e196[0x1]));_0x363313[_0x591dc3(0x13e)]()&&_0x363313[_0x591dc3(0x13e)]()[_0x591dc3(0x134)](process[_0x591dc3(0x141)]);_0x363313[_0x591dc3(0x14a)]()&&_0x363313[_0x591dc3(0x14a)]()[_0x591dc3(0x134)](process[_0x591dc3(0x11c)]);const _0x22eb33=async()=>{const _0xa3ce54=_0x591dc3,{forceExited:_0x4278d3}=await _0x363313[_0xa3ce54(0x167)]();_0x4278d3&&console['error'](_0x25a2f4['CZvpP']);try{await TestHubHandler[_0xa3ce54(0x13f)]();}catch(_0x5e42f3){_0x25a2f4[_0xa3ce54(0x154)](debug,_0xa3ce54(0x164)+_0x5e42f3);}_0x25a2f4[_0xa3ce54(0x140)](_0x359c0a,_0x3ed56d);},_0x1fb84b=_0x25a2f4[_0x591dc3(0x154)](pLimit,_0x25a2f4[_0x591dc3(0x16d)](_0x488cdb,0x1)),_0x178023=_0x33af9b=>_0x1fb84b(async()=>{const _0x102682=_0x591dc3;return await _0x6fe6e4[_0x102682(0x133)](_0x25a2f4[_0x102682(0x16f)],_0x33af9b),_0x363313[_0x102682(0x136)](_0x33af9b,_0x2363ff);});Promise['all'](_0x39ce50['map'](_0x16737a=>_0x178023(_0x16737a)[_0x591dc3(0x129)](_0x266275=>_0x6fe6e4[_0x591dc3(0x133)]('test-file-success',[_0x16737a['configuration'][_0x591dc3(0x15d)],_0x266275]),_0x118423=>_0x6fe6e4[_0x591dc3(0x133)](_0x591dc3(0x139),[_0x16737a,_0x118423]))))[_0x591dc3(0x129)](_0x22eb33,_0x22eb33);}),exports['parallelCucumberRun']=(_0x316a6a,_0x289482,_0x120336,_0x1108bf,_0x5d2442)=>{const _0x192360=a44_0x5e4d4c,_0x1a5f73={'wFrWi':_0x192360(0x155),'xWNQU':function(_0x3e3343,_0x2e73ac){return _0x3e3343(_0x2e73ac);},'tJXaJ':_0x192360(0x156),'JLuJh':_0x192360(0x149),'wcqEB':_0x192360(0x168),'Jpqpr':_0x192360(0x126),'onOnk':_0x192360(0x134),'QklJP':_0x192360(0x124),'pqZJa':_0x192360(0x158)};return new Promise(_0x54c458=>{const _0x428e90=_0x192360,_0x2b87bb={'XskwA':_0x1a5f73[_0x428e90(0x135)],'gZezb':function(_0x31d6c4,_0x39527d){return _0x1a5f73['xWNQU'](_0x31d6c4,_0x39527d);},'cXYdf':_0x1a5f73[_0x428e90(0x145)]},_0x507da9=[],_0xfa64bd=new Worker(require[_0x428e90(0x130)](_0x1a5f73[_0x428e90(0x170)]),{'exposedMethods':[_0x1a5f73[_0x428e90(0x128)]],'forkOptions':{'serialization':_0x1a5f73[_0x428e90(0x13c)],'stdio':_0x1a5f73[_0x428e90(0x127)]},'numWorkers':_0x316a6a[_0x428e90(0x15f)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x4fe8a1=new Emittery();_0x4fe8a1['on'](_0x1a5f73[_0x428e90(0x172)],_0x199e19=>{_0x507da9['push']([_0x199e19[0x0],_0x199e19[0x1]]);}),_0x4fe8a1['on'](_0x1a5f73['pqZJa'],_0x39e498=>console[_0x428e90(0x152)](_0x39e498[0x1]));_0xfa64bd[_0x428e90(0x13e)]()&&_0xfa64bd[_0x428e90(0x13e)]()[_0x428e90(0x134)](process[_0x428e90(0x141)]);_0xfa64bd[_0x428e90(0x14a)]()&&_0xfa64bd[_0x428e90(0x14a)]()[_0x428e90(0x134)](process[_0x428e90(0x11c)]);const _0x184b0a=async()=>{const _0x1e5a57=_0x428e90,{forceExited:_0x40c5fb}=await _0xfa64bd[_0x1e5a57(0x167)]();_0x40c5fb&&console[_0x1e5a57(0x16e)](_0x2b87bb[_0x1e5a57(0x11e)]),_0x2b87bb['gZezb'](_0x54c458,_0x507da9);},_0x57c518=_0x1a5f73[_0x428e90(0x119)](pLimit,_0x316a6a['length']||0x1),_0x635f89=(_0x34db09,_0x4c64d4)=>_0x57c518(async()=>{const _0x3a6969=_0x428e90;return await _0x4fe8a1[_0x3a6969(0x133)](_0x2b87bb['cXYdf'],_0x34db09),_0x289482[_0x3a6969(0x120)]=_0x120336['platforms'][_0x4c64d4],_0xfa64bd[_0x3a6969(0x168)](_0x34db09,_0x289482,_0x120336,_0x1108bf,_0x5d2442);});Promise[_0x428e90(0x160)](_0x316a6a['map']((_0x46eb1b,_0x1ef30f)=>_0x635f89(_0x46eb1b,_0x1ef30f)[_0x428e90(0x129)](_0x3a54fa=>_0x4fe8a1['emit'](_0x428e90(0x124),[_0x46eb1b,_0x3a54fa]),_0x301c36=>_0x4fe8a1[_0x428e90(0x133)](_0x428e90(0x158),[_0x46eb1b,_0x301c36]))))[_0x428e90(0x129)](_0x184b0a,_0x184b0a);});},exports[a44_0x5e4d4c(0x166)]=(_0x9f87fa,_0x2e383c)=>new Promise(_0x5c6f68=>{const _0x4be617=a44_0x5e4d4c,_0x4d09cb={'xjCqf':function(_0x6feef3,_0x1158cb){return _0x6feef3===_0x1158cb;},'BKxFf':function(_0x20eef7,_0x355aee){return _0x20eef7!==_0x355aee;},'mioPr':_0x4be617(0x11b),'SVObt':'Workers\x20failed\x20to\x20exit\x20gracefully','DGClB':function(_0x13d2e9,_0x36d0f7){return _0x13d2e9(_0x36d0f7);},'bRRhc':_0x4be617(0x149),'UXwNs':_0x4be617(0x15a),'VCrmW':_0x4be617(0x126),'JmCpB':_0x4be617(0x134),'QWuiL':_0x4be617(0x169),'UhzIj':_0x4be617(0x139),'eRjcB':function(_0x2f2ece,_0x3c40b1){return _0x2f2ece(_0x3c40b1);}},_0x1d4f4e={},_0x445a98=new Worker(require[_0x4be617(0x130)](_0x4d09cb[_0x4be617(0x15e)]),{'exposedMethods':[_0x4d09cb[_0x4be617(0x16b)]],'forkOptions':{'serialization':_0x4d09cb[_0x4be617(0x121)],'stdio':_0x4d09cb[_0x4be617(0x11d)]},'numWorkers':_0x2e383c,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3e6317=new Emittery();_0x3e6317['on'](_0x4d09cb[_0x4be617(0x132)],_0x48af44=>{const _0x16b798=_0x4be617;_0x48af44[0x0]&&logger['info'](_0x16b798(0x11a)+_0x48af44[0x1]+_0x16b798(0x14e),_0x48af44[0x0]);}),_0x3e6317['on'](_0x4d09cb[_0x4be617(0x163)],_0x13d81b=>{const _0x3a5de8=_0x4be617;process[_0x3a5de8(0x13a)]=0x1;});_0x445a98[_0x4be617(0x13e)]()&&_0x445a98[_0x4be617(0x13e)]()[_0x4be617(0x134)](process[_0x4be617(0x141)]);_0x445a98['getStderr']()&&_0x445a98['getStderr']()[_0x4be617(0x134)](process['stderr']);const _0x2cfc0f=async()=>{const _0x13073b=_0x4be617;let _0x4f3144=0x0;const _0x469d47=_0x445a98[_0x13073b(0x14f)]['getWorkers'](),_0x97ec=()=>{},_0x99b401=_0x469d47['map'](async _0x9640b3=>{const _0x31e14a=_0x13073b,_0x40e711={'RfVjp':function(_0xba79e9,_0x589e5f){return _0x4d09cb['xjCqf'](_0xba79e9,_0x589e5f);},'TjeSQ':function(_0x47e5cf,_0x17756a){return _0x4d09cb['BKxFf'](_0x47e5cf,_0x17756a);}};_0x9640b3[_0x31e14a(0x11f)]([0x2,![]],_0x97ec,_0x97ec,_0x97ec),_0x9640b3[_0x31e14a(0x123)]['on'](_0x4d09cb[_0x31e14a(0x131)],_0x2f9dbf=>{const _0x4af516=_0x31e14a;_0x40e711[_0x4af516(0x148)](_0x4f3144,0x0)&&_0x40e711['TjeSQ'](_0x2f9dbf,0x0)&&(_0x4f3144=_0x2f9dbf);}),await _0x9640b3['waitForExit']();});await Promise[_0x13073b(0x160)](_0x99b401),process[_0x13073b(0x13a)]=_0x4f3144;const {forceExited:_0x457c0b}=await _0x445a98['end']();_0x457c0b&&console[_0x13073b(0x16e)](_0x4d09cb[_0x13073b(0x16c)]),_0x4d09cb[_0x13073b(0x14c)](_0x5c6f68,_0x1d4f4e);},_0x1598f2=_0x4d09cb['eRjcB'](pLimit,_0x2e383c),_0x3462be=_0x3132b8=>_0x1598f2(async()=>{const _0x17b00f=_0x4be617;return _0x445a98[_0x17b00f(0x15a)](_0x3132b8);});Promise['all'](_0x9f87fa[_0x4be617(0x12a)](_0x566145=>_0x3462be(_0x566145)[_0x4be617(0x129)](_0x4bd85b=>_0x3e6317['emit']('test-file-success',[_0x566145[_0x4be617(0x171)][_0x4be617(0x15d)],_0x566145['configuration']['file']]),_0x2d9399=>_0x3e6317[_0x4be617(0x133)](_0x4be617(0x139),[_0x566145,_0x2d9399]))))['then'](_0x2cfc0f,_0x2cfc0f);});function a44_0x1e78(){const _0x554c2d=['Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','qFtJU','parallelVanillaRun','end','cucumberWorker','test-file-success','5WtjNaf','UXwNs','SVObt','bgxOs','error','yCfDU','JLuJh','configuration','QklJP','parallelTestRun','xWNQU','Running\x20','exit','stderr','JmCpB','XskwA','send','platformCaps','VCrmW','HnzQx','_child','platform-run-success','debug','json','onOnk','wcqEB','then','map','results','MOCHA','9HgcJNr','DZzjL','../../helpers/test-observability/constants','resolve','mioPr','QWuiL','emit','pipe','wFrWi','worker','../../helpers/test-observability/sessionHandler','8181135AftBAn','test-file-failure','exitCode','ouhAZ','Jpqpr','p-limit','getStdout','stop','YrKNp','stdout','EoVnL','677752ZvyKrh','7571664eLipBx','tJXaJ','failureCount','1727784WnAMUX','RfVjp','./testWorker.js','getStderr','1588440YHQQbt','DGClB','../../helpers/testhub/testhubHandler','\x20for','_workerPool','WbhCa','emittery','log','735327oHQTnV','vnoGU','Workers\x20failed\x20to\x20exit\x20gracefully','platform-run-start','accessibility','platform-run-failure','SlraM','vanillaWorker','ekOUC','winstonLogger','platform','bRRhc','length','all','2282404aOYXYq','config','UhzIj'];a44_0x1e78=function(){return _0x554c2d;};return a44_0x1e78();}
|
|
1
|
+
function a44_0x21bb(_0x3fc950,_0x4ed304){const _0x1f67bd=a44_0x1f67();return a44_0x21bb=function(_0x21bb60,_0x5cda06){_0x21bb60=_0x21bb60-0xe9;let _0x19c1d2=_0x1f67bd[_0x21bb60];return _0x19c1d2;},a44_0x21bb(_0x3fc950,_0x4ed304);}const a44_0xc3953c=a44_0x21bb;function a44_0x1f67(){const _0x4be0ce=['test-file-success','PnJla','aaBRc','omEhZ','then','file','waitForExit','resolve','PiVRS','AVMYp','ppkEZ','parallelVanillaRun','163587WbJzCl','stop','MOCHA','694266ECrbwo','cucumberWorker','tvWSV','jAxgE','getStdout','platform-run-failure','EyTnX','info','SfPJQ','ooIHO','JEkNp','exitCode','wgcvO','failureCount','test-file-failure','wftXI','./testWorker.js','KPYPs','stdout','1274130eYGNlE','nzfKw','1192230YZuCBK','getWorkers','error','send','emit','127252qoiMUv','json','../../helpers/testhub/testhubHandler','winstonLogger','platformCaps','results','aIbiS','platforms','p-limit','configuration','Workers\x20failed\x20to\x20exit\x20gracefully','GsKtn','forEach','MMkND','_child','uLgTc','\x20for','all','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','config','trZSb','parallelTestRun','vanillaWorker','../../helpers/accessibility-automation/helper','PGKaF','parallelCucumberRun','rekQW','1006453vElznM','end','map','_workerPool','jest-worker','util','MuQxR','length','Running\x20','TjgTE','worker','56sZaLBn','pipe','tTZMa','5xWBNoW','Worker','NGsOr','../../helpers/test-observability/utils','draqv','249418TlGSFU','stderr','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','getStderr','ncvhb','emittery','../../helpers/test-observability/sessionHandler','EKeqn','platform','Erabi'];a44_0x1f67=function(){return _0x4be0ce;};return a44_0x1f67();}(function(_0xb66fab,_0x1b7c73){const _0x379b78=a44_0x21bb,_0x59d36b=_0xb66fab();while(!![]){try{const _0x33ffbd=-parseInt(_0x379b78(0x11c))/0x1+-parseInt(_0x379b78(0x135))/0x2+-parseInt(_0x379b78(0x132))/0x3+parseInt(_0x379b78(0xee))/0x4*(-parseInt(_0x379b78(0x117))/0x5)+parseInt(_0x379b78(0x148))/0x6+-parseInt(_0x379b78(0x109))/0x7+parseInt(_0x379b78(0x114))/0x8*(parseInt(_0x379b78(0xe9))/0x9);if(_0x33ffbd===_0x1b7c73)break;else _0x59d36b['push'](_0x59d36b['shift']());}catch(_0x3edc99){_0x59d36b['push'](_0x59d36b['shift']());}}}(a44_0x1f67,0x4c68d));const Worker=require(a44_0xc3953c(0x10d))[a44_0xc3953c(0x118)],Emittery=require(a44_0xc3953c(0x121)),pLimit=require(a44_0xc3953c(0xf6)),util=require(a44_0xc3953c(0x10e)),logger=require('../../helpers/logger')[a44_0xc3953c(0xf1)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require(a44_0xc3953c(0x105)),SessionHandler=require(a44_0xc3953c(0x122)),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a44_0xc3953c(0x11a)),TestHubHandler=require(a44_0xc3953c(0xf0)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),checkAccessibility=_0x33e47e=>{const _0x31cfe2=a44_0xc3953c,_0x478a85={};_0x478a85[_0x31cfe2(0x13e)]=function(_0x121a0b,_0x5a007e){return _0x121a0b===_0x5a007e;};const _0x57a5cc=_0x478a85;let _0x455b12=![];try{_0x33e47e[_0x31cfe2(0xf5)][_0x31cfe2(0xfa)](_0x483edc=>{const _0x1b3659=_0x31cfe2;if(_0x57a5cc[_0x1b3659(0x13e)](_0x483edc['accessibility'],!![]))return _0x455b12=!![],!![];});}catch(_0x549c2a){logger['debug'](_0x31cfe2(0x100)+_0x549c2a);}return _0x455b12;};exports[a44_0xc3953c(0x103)]=(_0x56b3b6,_0x5a5bc4,_0x2336d6)=>new Promise(async _0x41fef9=>{const _0x1ed224=a44_0xc3953c,_0x1c0d91={'NGsOr':_0x1ed224(0x142),'JEkNp':function(_0x4d7476,_0x4d33ec){return _0x4d7476+_0x4d33ec;},'nzfKw':_0x1ed224(0xf3),'aIbiS':_0x1ed224(0xf8),'KPYPs':function(_0x44af82,_0x4e9727){return _0x44af82(_0x4e9727);},'GsKtn':function(_0x3913e0,_0x69e1f2){return _0x3913e0(_0x69e1f2);},'naayt':'test-file-start','Qhsau':_0x1ed224(0x145),'bLoTq':_0x1ed224(0x113),'tvWSV':'json','kbpcL':_0x1ed224(0x115),'EKeqn':function(_0x4808ee,_0x39b6a1){return _0x4808ee*_0x39b6a1;},'wwjqO':_0x1ed224(0x126),'PGKaF':_0x1ed224(0x143)},_0x2d05a3=_0x2336d6[_0x1ed224(0x101)],_0x24b0a4={},_0x35dad3=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x1ed224(0x134)],_0x2336d6),_0x493c5f=new Worker(require[_0x1ed224(0x12d)](_0x1c0d91['Qhsau']),{'exposedMethods':[_0x1c0d91['bLoTq']],'forkOptions':{'serialization':_0x1c0d91[_0x1ed224(0x137)],'stdio':_0x1c0d91['kbpcL']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x1c0d91['EKeqn'](_0x5a5bc4,0x1),'enableWorkerThreads':!![]}),_0x4b843c=new Emittery();_0x4b843c['on'](_0x1c0d91['wwjqO'],_0x3df85a=>{const _0x2bbbc8=_0x1ed224;_0x24b0a4[_0x3df85a[0x0]]?(_0x24b0a4[_0x3df85a[0x0]][_0x1c0d91[_0x2bbbc8(0x119)]]=_0x1c0d91[_0x2bbbc8(0x13f)](_0x24b0a4[_0x3df85a[0x0]][_0x1c0d91['NGsOr']],_0x3df85a[0x1][_0x1c0d91[_0x2bbbc8(0x119)]]),_0x24b0a4[_0x3df85a[0x0]][_0x1c0d91[_0x2bbbc8(0x149)]]=[..._0x24b0a4[_0x3df85a[0x0]][_0x1c0d91[_0x2bbbc8(0x149)]],..._0x3df85a[0x1][_0x1c0d91[_0x2bbbc8(0x149)]]]):_0x24b0a4[_0x3df85a[0x0]]={'failureCount':_0x3df85a[0x1][_0x1c0d91[_0x2bbbc8(0x119)]],'results':[..._0x3df85a[0x1][_0x1c0d91['nzfKw']]]};}),_0x4b843c['on'](_0x1c0d91[_0x1ed224(0x106)],_0x4a0ae2=>console['log'](_0x4a0ae2[0x1]));_0x493c5f[_0x1ed224(0x139)]()&&_0x493c5f['getStdout']()[_0x1ed224(0x115)](process[_0x1ed224(0x147)]);_0x493c5f[_0x1ed224(0x11f)]()&&_0x493c5f['getStderr']()['pipe'](process[_0x1ed224(0x11d)]);const _0x28de82=async()=>{const _0x4ce3b3=_0x1ed224,{forceExited:_0x2ab4c4}=await _0x493c5f[_0x4ce3b3(0x10a)]();_0x2ab4c4&&console[_0x4ce3b3(0xeb)](_0x1c0d91[_0x4ce3b3(0xf4)]);try{await TestHubHandler[_0x4ce3b3(0x133)]();}catch(_0x143bdc){_0x1c0d91[_0x4ce3b3(0x146)](debug,_0x4ce3b3(0x11e)+_0x143bdc);}_0x1c0d91[_0x4ce3b3(0xf9)](_0x41fef9,_0x24b0a4);},_0x3a391d=_0x1c0d91[_0x1ed224(0xf9)](pLimit,_0x1c0d91[_0x1ed224(0x123)](_0x5a5bc4,0x1)),_0x105b19=_0x4a6e2c=>_0x3a391d(async()=>{const _0x14f8bc=_0x1ed224;return await _0x4b843c[_0x14f8bc(0xed)](_0x1c0d91['naayt'],_0x4a6e2c),_0x493c5f[_0x14f8bc(0x113)](_0x4a6e2c,_0x2d05a3);});Promise['all'](_0x56b3b6[_0x1ed224(0x10b)](_0x4f8e44=>_0x105b19(_0x4f8e44)[_0x1ed224(0x12a)](_0x3cea39=>_0x4b843c[_0x1ed224(0xed)](_0x1ed224(0x126),[_0x4f8e44[_0x1ed224(0xf7)]['platform'],_0x3cea39]),_0x12666a=>_0x4b843c[_0x1ed224(0xed)](_0x1ed224(0x143),[_0x4f8e44,_0x12666a]))))[_0x1ed224(0x12a)](_0x28de82,_0x28de82);}),exports[a44_0xc3953c(0x107)]=(_0x2bf44a,_0x21595e,_0x244adb,_0x418ed5,_0x47bbb5)=>{const _0x2d7d0d=a44_0xc3953c,_0x21bf3a={'wgcvO':_0x2d7d0d(0xf8),'ppkEZ':function(_0x4a8f5d,_0x1e8771){return _0x4a8f5d(_0x1e8771);},'SfPJQ':'platform-run-start','bWvEv':_0x2d7d0d(0x145),'PnJla':_0x2d7d0d(0x136),'draqv':'json','trZSb':_0x2d7d0d(0x115),'MuQxR':'platform-run-success','PiVRS':_0x2d7d0d(0x13a)};return new Promise(_0x4e1d29=>{const _0x47c569=_0x2d7d0d,_0x27547d={'zEBrl':_0x21bf3a[_0x47c569(0x141)],'TjgTE':function(_0x30310d,_0x4c0671){const _0x18e38a=_0x47c569;return _0x21bf3a[_0x18e38a(0x130)](_0x30310d,_0x4c0671);},'wftXI':_0x21bf3a[_0x47c569(0x13d)]},_0x43ff15=[],_0x3b5ff1=new Worker(require['resolve'](_0x21bf3a['bWvEv']),{'exposedMethods':[_0x21bf3a[_0x47c569(0x127)]],'forkOptions':{'serialization':_0x21bf3a[_0x47c569(0x11b)],'stdio':_0x21bf3a[_0x47c569(0x102)]},'numWorkers':_0x2bf44a[_0x47c569(0x110)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x1fe5a8=new Emittery();_0x1fe5a8['on'](_0x21bf3a[_0x47c569(0x10f)],_0x22bf7e=>{_0x43ff15['push']([_0x22bf7e[0x0],_0x22bf7e[0x1]]);}),_0x1fe5a8['on'](_0x21bf3a[_0x47c569(0x12e)],_0x55c72d=>console['log'](_0x55c72d[0x1]));_0x3b5ff1['getStdout']()&&_0x3b5ff1[_0x47c569(0x139)]()[_0x47c569(0x115)](process[_0x47c569(0x147)]);_0x3b5ff1[_0x47c569(0x11f)]()&&_0x3b5ff1[_0x47c569(0x11f)]()[_0x47c569(0x115)](process[_0x47c569(0x11d)]);const _0x1edc67=async()=>{const _0x383a96=_0x47c569,{forceExited:_0x1ca0a5}=await _0x3b5ff1['end']();_0x1ca0a5&&console[_0x383a96(0xeb)](_0x27547d['zEBrl']),_0x27547d[_0x383a96(0x112)](_0x4e1d29,_0x43ff15);},_0xdae278=_0x21bf3a[_0x47c569(0x130)](pLimit,_0x2bf44a[_0x47c569(0x110)]||0x1),_0x116021=(_0x3bf756,_0x537d24)=>_0xdae278(async()=>{const _0xd65481=_0x47c569;return await _0x1fe5a8['emit'](_0x27547d[_0xd65481(0x144)],_0x3bf756),_0x21595e[_0xd65481(0xf2)]=_0x244adb[_0xd65481(0xf5)][_0x537d24],_0x3b5ff1['cucumberWorker'](_0x3bf756,_0x21595e,_0x244adb,_0x418ed5,_0x47bbb5);});Promise[_0x47c569(0xff)](_0x2bf44a[_0x47c569(0x10b)]((_0x43f815,_0x4e41cc)=>_0x116021(_0x43f815,_0x4e41cc)[_0x47c569(0x12a)](_0x58703b=>_0x1fe5a8[_0x47c569(0xed)]('platform-run-success',[_0x43f815,_0x58703b]),_0x5ec768=>_0x1fe5a8[_0x47c569(0xed)](_0x47c569(0x13a),[_0x43f815,_0x5ec768]))))[_0x47c569(0x12a)](_0x1edc67,_0x1edc67);});},exports[a44_0xc3953c(0x131)]=(_0x1d3ec5,_0x1e37f6)=>new Promise(_0x94711=>{const _0x5278ea=a44_0xc3953c,_0x24111f={'jAxgE':function(_0x25fe8a,_0x58b6bc){return _0x25fe8a===_0x58b6bc;},'uLgTc':function(_0x34ea67,_0x3f4f7c){return _0x34ea67!==_0x3f4f7c;},'iYmro':'exit','tTZMa':_0x5278ea(0xf8),'AVMYp':function(_0x213e14,_0xf9ede2){return _0x213e14(_0xf9ede2);},'EyTnX':_0x5278ea(0x145),'Erabi':_0x5278ea(0x104),'rekQW':_0x5278ea(0xef),'NZSPP':'pipe','NrvHw':'test-file-success','ncvhb':_0x5278ea(0x143)},_0x1e6e38={},_0xbf7eb8=new Worker(require[_0x5278ea(0x12d)](_0x24111f[_0x5278ea(0x13b)]),{'exposedMethods':[_0x24111f[_0x5278ea(0x125)]],'forkOptions':{'serialization':_0x24111f[_0x5278ea(0x108)],'stdio':_0x24111f['NZSPP']},'numWorkers':_0x1e37f6,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x37189f=new Emittery();_0x37189f['on'](_0x24111f['NrvHw'],_0x4c00e4=>{const _0x597335=_0x5278ea;_0x4c00e4[0x0]&&logger[_0x597335(0x13c)](_0x597335(0x111)+_0x4c00e4[0x1]+_0x597335(0xfe),_0x4c00e4[0x0]);}),_0x37189f['on'](_0x24111f[_0x5278ea(0x120)],_0x1129c3=>{process['exitCode']=0x1;});_0xbf7eb8[_0x5278ea(0x139)]()&&_0xbf7eb8[_0x5278ea(0x139)]()['pipe'](process['stdout']);_0xbf7eb8[_0x5278ea(0x11f)]()&&_0xbf7eb8['getStderr']()[_0x5278ea(0x115)](process[_0x5278ea(0x11d)]);const _0x3c2a84=async()=>{const _0x1630e9=_0x5278ea,_0x325d40={'hydIq':function(_0x3aa3d6,_0x49aded){const _0x5b4f1d=a44_0x21bb;return _0x24111f[_0x5b4f1d(0x138)](_0x3aa3d6,_0x49aded);},'MIpJz':function(_0x52e430,_0x21bd5e){const _0x307f8e=a44_0x21bb;return _0x24111f[_0x307f8e(0xfd)](_0x52e430,_0x21bd5e);},'aaBRc':_0x24111f['iYmro']};let _0x4883be=0x0;const _0x3aaf6c=_0xbf7eb8[_0x1630e9(0x10c)][_0x1630e9(0xea)](),_0x44b1cc=()=>{},_0x3a7e0e=_0x3aaf6c[_0x1630e9(0x10b)](async _0x2fa4e3=>{const _0x17654e=_0x1630e9,_0x2c09c5={'omEhZ':function(_0x10c987,_0x419fe9){return _0x325d40['hydIq'](_0x10c987,_0x419fe9);},'MMkND':function(_0x31f77e,_0x3b4fe6){return _0x325d40['MIpJz'](_0x31f77e,_0x3b4fe6);}};_0x2fa4e3[_0x17654e(0xec)]([0x2,![]],_0x44b1cc,_0x44b1cc,_0x44b1cc),_0x2fa4e3[_0x17654e(0xfc)]['on'](_0x325d40[_0x17654e(0x128)],_0x4031ab=>{const _0x4fbfb4=_0x17654e;_0x2c09c5[_0x4fbfb4(0x129)](_0x4883be,0x0)&&_0x2c09c5[_0x4fbfb4(0xfb)](_0x4031ab,0x0)&&(_0x4883be=_0x4031ab);}),await _0x2fa4e3[_0x17654e(0x12c)]();});await Promise[_0x1630e9(0xff)](_0x3a7e0e),process[_0x1630e9(0x140)]=_0x4883be;const {forceExited:_0x3ae459}=await _0xbf7eb8[_0x1630e9(0x10a)]();_0x3ae459&&console[_0x1630e9(0xeb)](_0x24111f[_0x1630e9(0x116)]),_0x24111f[_0x1630e9(0x12f)](_0x94711,_0x1e6e38);},_0x23fa50=_0x24111f['AVMYp'](pLimit,_0x1e37f6),_0x48b86c=_0x197a38=>_0x23fa50(async()=>{return _0xbf7eb8['vanillaWorker'](_0x197a38);});Promise[_0x5278ea(0xff)](_0x1d3ec5['map'](_0x586cb4=>_0x48b86c(_0x586cb4)[_0x5278ea(0x12a)](_0xc63bac=>_0x37189f['emit'](_0x5278ea(0x126),[_0x586cb4['configuration'][_0x5278ea(0x124)],_0x586cb4[_0x5278ea(0xf7)][_0x5278ea(0x12b)]]),_0x39053a=>_0x37189f[_0x5278ea(0xed)]('test-file-failure',[_0x586cb4,_0x39053a]))))[_0x5278ea(0x12a)](_0x3c2a84,_0x3c2a84);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a45_0x231f(_0xa5b7d4,_0x82cff0){const _0x20f425=a45_0x20f4();return a45_0x231f=function(_0x231fca,_0x4d3fe7){_0x231fca=_0x231fca-0x117;let _0x1ab7b9=_0x20f425[_0x231fca];return _0x1ab7b9;},a45_0x231f(_0xa5b7d4,_0x82cff0);}const a45_0x21956c=a45_0x231f;function a45_0x20f4(){const _0x20679b=['run','kSwsW','vanilla','3eZgLFw','wmhBt','runCucumberTest','formatter','1357108qgTyzI','11xOIgvE','1395jmgEyc','49RuXLnL','configuration','runTest','YsOYt','cucumber-js','mocha','856OwgfLV','240jaHDKU','pdQUW','584700Zllsbg','710OVEQxH','../launcher/launcher','4120uHxjAQ','229960PkYome','BGWrV','OXvUn','108894QHtcTN','287378TwCUpu'];a45_0x20f4=function(){return _0x20679b;};return a45_0x20f4();}(function(_0xb5e879,_0x263648){const _0x313c5c=a45_0x231f,_0x4a14b9=_0xb5e879();while(!![]){try{const _0x8abf6d=-parseInt(_0x313c5c(0x130))/0x1*(-parseInt(_0x313c5c(0x118))/0x2)+parseInt(_0x313c5c(0x123))/0x3*(-parseInt(_0x313c5c(0x127))/0x4)+parseInt(_0x313c5c(0x117))/0x5+-parseInt(_0x313c5c(0x11e))/0x6*(parseInt(_0x313c5c(0x12a))/0x7)+parseInt(_0x313c5c(0x11a))/0x8*(-parseInt(_0x313c5c(0x129))/0x9)+-parseInt(_0x313c5c(0x11b))/0xa*(parseInt(_0x313c5c(0x128))/0xb)+parseInt(_0x313c5c(0x131))/0xc*(parseInt(_0x313c5c(0x11f))/0xd);if(_0x8abf6d===_0x263648)break;else _0x4a14b9['push'](_0x4a14b9['shift']());}catch(_0x156a35){_0x4a14b9['push'](_0x4a14b9['shift']());}}}(a45_0x20f4,0x47ba7),exports[a45_0x21956c(0x12c)]=async(_0x1941f9,_0x5c64f8)=>{const _0x3fa053=a45_0x21956c,_0x4e4fbc={'oNxTl':function(_0x105fd9,_0x26cfe8){return _0x105fd9(_0x26cfe8);},'OXvUn':_0x3fa053(0x119),'kSwsW':_0x3fa053(0x12f)},_0x1272f5=_0x4e4fbc['oNxTl'](require,_0x4e4fbc[_0x3fa053(0x11d)]),_0x49dcc8=new _0x1272f5(_0x4e4fbc[_0x3fa053(0x121)],_0x1941f9,_0x5c64f8);return await _0x49dcc8['run']();},exports[a45_0x21956c(0x125)]=async(_0x1b0a04,_0x1e7743,_0xf8b83,_0x216ba8,_0x523aad)=>{const _0x50b2d1=a45_0x21956c,_0x56795c={'pdQUW':function(_0x2c82b8,_0x3de8f0){return _0x2c82b8(_0x3de8f0);},'BGWrV':'../launcher/launcher','qjYRw':_0x50b2d1(0x12e)},_0x165136={'capability':_0x1b0a04,..._0x1e7743},_0x51fe1b={};_0x51fe1b[_0x50b2d1(0x12b)]=_0x165136,_0x51fe1b[_0x50b2d1(0x126)]=_0x523aad;const _0x3e5d2d=_0x51fe1b,_0x1103ba=_0x56795c[_0x50b2d1(0x132)](require,_0x56795c[_0x50b2d1(0x11c)]),_0x1de140=new _0x1103ba(_0x56795c['qjYRw'],_0x3e5d2d,_0xf8b83,_0x216ba8);return await _0x1de140[_0x50b2d1(0x120)]();},exports['runVanillaTest']=async _0x188386=>{const _0x4ebc6d=a45_0x21956c,_0x52b029={'YsOYt':function(_0x2fd601,_0x4cf59e){return _0x2fd601(_0x4cf59e);},'wmhBt':_0x4ebc6d(0x119),'eSfXu':_0x4ebc6d(0x122)},_0x4a07e5=_0x52b029[_0x4ebc6d(0x12d)](require,_0x52b029[_0x4ebc6d(0x124)]),_0x4bb81a=new _0x4a07e5(_0x52b029['eSfXu'],_0x188386);return await _0x4bb81a[_0x4ebc6d(0x120)]();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a46_0x49bacb=a46_0x4379;(function(_0x4fb09b,_0x3ea578){const _0x1c1276=a46_0x4379,_0x5407a4=_0x4fb09b();while(!![]){try{const _0x2a4d04=-parseInt(_0x1c1276(0x193))/0x1*(-parseInt(_0x1c1276(0x190))/0x2)+-parseInt(_0x1c1276(0x199))/0x3+-parseInt(_0x1c1276(0x19a))/0x4+-parseInt(_0x1c1276(0x196))/0x5+parseInt(_0x1c1276(0x19d))/0x6+parseInt(_0x1c1276(0x197))/0x7+parseInt(_0x1c1276(0x19c))/0x8;if(_0x2a4d04===_0x3ea578)break;else _0x5407a4['push'](_0x5407a4['shift']());}catch(_0x38c2d2){_0x5407a4['push'](_0x5407a4['shift']());}}}(a46_0x20d1,0xa25b7));function a46_0x4379(_0x12be17,_0x25617b){const _0x20d172=a46_0x20d1();return a46_0x4379=function(_0x4379a8,_0x22666b){_0x4379a8=_0x4379a8-0x190;let _0x58fe86=_0x20d172[_0x4379a8];return _0x58fe86;},a46_0x4379(_0x12be17,_0x25617b);}const {runTest,runCucumberTest,runVanillaTest}=require(a46_0x49bacb(0x191));exports[a46_0x49bacb(0x198)]=async(_0x4f7178,_0x28db5b)=>{const _0x412904=a46_0x49bacb,_0x2fc995={'fxTut':function(_0x27cfd9,_0x46e4c2,_0x1bd46f){return _0x27cfd9(_0x46e4c2,_0x1bd46f);}};return await _0x2fc995[_0x412904(0x195)](runTest,_0x4f7178,_0x28db5b);},exports[a46_0x49bacb(0x19b)]=async(_0x4c41d0,_0x4a7095,_0x10eaa9,_0x3d8e55,_0x2eb156)=>{const _0x3364a6={'xmUvf':function(_0x360f30,_0x5eec58,_0x518f1a,_0x4cbe21,_0x295141,_0xfade9d){return _0x360f30(_0x5eec58,_0x518f1a,_0x4cbe21,_0x295141,_0xfade9d);}};return await _0x3364a6['xmUvf'](runCucumberTest,_0x4c41d0,_0x4a7095,_0x10eaa9,_0x3d8e55,_0x2eb156);},exports[a46_0x49bacb(0x192)]=async _0x10a942=>{const _0x5e8a81=a46_0x49bacb,_0x499f4f={'dhSiS':function(_0x5b3d5e,_0x46dbfb){return _0x5b3d5e(_0x46dbfb);}};return await _0x499f4f[_0x5e8a81(0x194)](runVanillaTest,_0x10a942);};function a46_0x20d1(){const _0x3cb403=['10669552GuEbzd','3745818RRNGpn','1829762lGtpdZ','./runTest','vanillaWorker','1UbKfEN','dhSiS','fxTut','5123105yMkQpQ','6486326VsGsQq','worker','3052899cHUIBc','4368908tfZZpa','cucumberWorker'];a46_0x20d1=function(){return _0x3cb403;};return a46_0x20d1();}
|