browserstack-node-sdk 1.33.3 → 1.33.4
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
|
-
|
|
1
|
+
var a11_0x17dc28=a11_0x1da9;(function(_0x199458,_0x1c54b4){var _0x262ed1=a11_0x1da9,_0x4b7bb0=_0x199458();while(!![]){try{var _0x5f84e6=-parseInt(_0x262ed1(0xe5))/0x1*(-parseInt(_0x262ed1(0xdf))/0x2)+-parseInt(_0x262ed1(0xe7))/0x3+-parseInt(_0x262ed1(0xd7))/0x4*(parseInt(_0x262ed1(0xd4))/0x5)+parseInt(_0x262ed1(0xdb))/0x6*(parseInt(_0x262ed1(0xea))/0x7)+parseInt(_0x262ed1(0xde))/0x8+-parseInt(_0x262ed1(0xd5))/0x9*(-parseInt(_0x262ed1(0xe0))/0xa)+parseInt(_0x262ed1(0xe3))/0xb;if(_0x5f84e6===_0x1c54b4)break;else _0x4b7bb0['push'](_0x4b7bb0['shift']());}catch(_0x4573a6){_0x4b7bb0['push'](_0x4b7bb0['shift']());}}}(a11_0x4e8a,0xa02f4));var a11_0x200bfe={};a11_0x200bfe[a11_0x17dc28(0xe9)]=a11_0x17dc28(0xd6),a11_0x200bfe[a11_0x17dc28(0xe2)]=a11_0x17dc28(0xdc);var a11_0x3263fb={};a11_0x3263fb[a11_0x17dc28(0xed)]=a11_0x17dc28(0xec),a11_0x3263fb[a11_0x17dc28(0xe1)]=a11_0x17dc28(0xe4),a11_0x3263fb[a11_0x17dc28(0xe8)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';function a11_0x4e8a(){var _0x30f0b4=['Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','root','3536995StmuhP','4371579XPFOos','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','4jsEzCD','options','invalid','missing','6AWYsox','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','2167872qtnpzz','3148xOUUqv','10mVtVWo','connect','hosts','9918348MjxWqf','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','29cODndK','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','3663105DcHmNW','footer','bstackAccessKey','6163647wLkzmG','ERROR_MESSAGES'];a11_0x4e8a=function(){return _0x30f0b4;};return a11_0x4e8a();}var a11_0x4f1388={};a11_0x4f1388[a11_0x17dc28(0xd8)]=a11_0x200bfe,a11_0x4f1388['command']=a11_0x3263fb,exports['HELP_MESSAGES']=a11_0x4f1388;var a11_0x251530={};a11_0x251530[a11_0x17dc28(0xda)]=a11_0x17dc28(0xdd);var a11_0x3603d1={};function a11_0x1da9(_0x20581f,_0x1de8c5){var _0x4e8a78=a11_0x4e8a();return a11_0x1da9=function(_0x1da95f,_0x70f35c){_0x1da95f=_0x1da95f-0xd4;var _0x1c7f07=_0x4e8a78[_0x1da95f];return _0x1c7f07;},a11_0x1da9(_0x20581f,_0x1de8c5);}a11_0x3603d1[a11_0x17dc28(0xda)]=a11_0x17dc28(0xe6),a11_0x3603d1[a11_0x17dc28(0xd9)]='Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a11_0x36c4b3={};a11_0x36c4b3[a11_0x17dc28(0xe9)]=a11_0x251530,a11_0x36c4b3[a11_0x17dc28(0xe2)]=a11_0x3603d1,exports[a11_0x17dc28(0xeb)]=a11_0x36c4b3;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a12_0x404a3c=a12_0x2ec7;function a12_0x339a(){const _0x4258d3=['logLevel','TSwmb','/customImplements/customTestRunnerTemplate.js','PACKAGE_TYPE','filterBrowserstackConfig','util','wOHux','length','/customImplements/customCircus.js','kppAB','bWfSw','setup','qRHfx','../../helpers/logger','default','1225lVJOEB','qDRvZ','prepareCapabilities','Creating\x20','useW3C','dVIPl','WYpnk','requireModule','reporters','KFFqP','isBrowserstackInfra','rYjyj','jest_browserstack.config.cjs','./test-observability/test-details','../../helpers/helper','launchBuild','9339056gMJtdx','jest.cmd','parse','join','log','assign','skipSessionName','capabilities','bzAwF','UKkDi','json','testEnvironment','format','checkAccessibilityPlatformConfig','../../helpers/testhub/testhubHandler','runInBand','wPgKS','isUndefined','browserStackPercyOptions','printBuildLink','../../helpers/BrowserStackSetup','resolve','59650cRdLHG','child_process','852924KOYsKH','jest','true','info','hNtQF','norGz','slice','errorMessage','splice','parallels__','gIyoN','getPackageType','setupFilesAfterEnv','skipSessionStatus','5018517elgwad','\x0a\x20\x20\x20\x20','existsSync','cjs','qdkZk','env','customImplements','nvBQl','zUaxE','unlinkSync','exitCode','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibility','close','getErrorMessageFromResults','shouldProcessEventForTesthub','Error\x20while\x20parsing\x20','/test-observability/data-hooks.js','serial__','../../helpers/percy/utils','Getting\x20your\x20jest\x20configs\x20from\x20','69rtuEMr','jest_browserstack.config.js','stringify','platforms','mjs','test','config','TjwjJ','YgUJt','proxySettings','/test_before.setup.js','setupFiles','../../helpers/test-observability/utils','639356eJvLUZ','const\x20config=','path','maxWorkers','testTimeout','testObservability','turboScaleUrl','VqACo','NojyF','winstonLogger','push','shutdown','accessibilityOptions','finalExecution','false','../../helpers/test-observability/sessionHandler','IEvch','Deleting\x20','debug','inherit','runner','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','/customImplements/customEnvironment.js','--config','jest_browserstack_results.json','cwd','Getting\x20your\x20jest\x20configs\x20from\x20package.json','JEST','testRunner','browserStackLogLevel','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','548730FDkRFb','FRAMEWORKS','parallelsPerPlatform','306bQLFMD','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testEnvironmentOptions','child\x20process\x20exited\x20with\x20code\x20','../../helpers/test-observability/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','/customImplements/customTestRunner.js','\x20with\x20browserstack\x20jest\x20configs','readFileSync','fYfHU','WmWoo','vuKvV','nigkL'];a12_0x339a=function(){return _0x4258d3;};return a12_0x339a();}(function(_0x41330a,_0x2c41a7){const _0x3907d2=a12_0x2ec7,_0x3890b6=_0x41330a();while(!![]){try{const _0xcad074=-parseInt(_0x3907d2(0x22d))/0x1+-parseInt(_0x3907d2(0x1fb))/0x2*(-parseInt(_0x3907d2(0x220))/0x3)+parseInt(_0x3907d2(0x1fd))/0x4+-parseInt(_0x3907d2(0x26c))/0x5*(-parseInt(_0x3907d2(0x24f))/0x6)+-parseInt(_0x3907d2(0x20b))/0x7+parseInt(_0x3907d2(0x27c))/0x8+-parseInt(_0x3907d2(0x24c))/0x9;if(_0xcad074===_0x2c41a7)break;else _0x3890b6['push'](_0x3890b6['shift']());}catch(_0x46d6ff){_0x3890b6['push'](_0x3890b6['shift']());}}}(a12_0x339a,0xa1942));const fs=require('fs'),path=require(a12_0x404a3c(0x22f)),util=require(a12_0x404a3c(0x262)),{spawn}=require(a12_0x404a3c(0x1fc)),logger=require(a12_0x404a3c(0x26a))[a12_0x404a3c(0x236)],{default:BrowserStackSetup}=require(a12_0x404a3c(0x1f9)),helper=require(a12_0x404a3c(0x27a)),constants=require('../utils/constants'),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),SessionHandler=require(a12_0x404a3c(0x23c)),{getFrameworkVersion,debug}=require(a12_0x404a3c(0x22c)),TestDetails=require(a12_0x404a3c(0x279)),{getPercyOptions}=require(a12_0x404a3c(0x21e)),TestHubHandler=require(a12_0x404a3c(0x1f3)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a12_0x404a3c(0x254)),getUserJestConfigs=(_0x4a8480,_0x349796)=>{const _0x18025f=a12_0x404a3c,_0x521102={'rYjyj':function(_0x505436,_0x3e31bc){return _0x505436(_0x3e31bc);},'wPgKS':function(_0x3cbd6f,_0x316c39){return _0x3cbd6f||_0x316c39;},'norGz':function(_0x1503d5,_0x4cfd57){return _0x1503d5(_0x4cfd57);},'TjwjJ':'package.json','KFFqP':_0x18025f(0x247),'vwyyy':_0x18025f(0x224),'Ujfhc':_0x18025f(0x20e),'WYpnk':_0x18025f(0x286)},_0x2447c9=_0x349796['findIndex'](_0x188f79=>_0x188f79===_0x18025f(0x244));if(!helper[_0x18025f(0x1f6)](_0x4a8480['config'])){logger['info'](_0x18025f(0x21f)+_0x4a8480[_0x18025f(0x226)]);const _0x13f921=_0x521102[_0x18025f(0x277)](require,path[_0x18025f(0x1fa)](_0x4a8480['config']));return _0x349796[_0x18025f(0x205)](_0x2447c9,0x2),_0x521102[_0x18025f(0x1f5)](_0x13f921,{});}const _0x1c74e4=_0x521102[_0x18025f(0x202)](require,path[_0x18025f(0x27f)](process[_0x18025f(0x246)](),_0x521102[_0x18025f(0x227)]));if(_0x1c74e4['jest'])return logger['info'](_0x521102[_0x18025f(0x275)]),_0x1c74e4[_0x18025f(0x1fe)];const _0x5bc605=['js',_0x521102['vwyyy'],_0x521102['Ujfhc'],_0x521102[_0x18025f(0x272)],'ts'];for(const _0xcbd7ca of _0x5bc605){const _0x1b6d30=path[_0x18025f(0x27f)](process[_0x18025f(0x246)](),'jest.config.'+_0xcbd7ca);if(fs['existsSync'](_0x1b6d30))return _0x521102[_0x18025f(0x202)](require,_0x1b6d30);}return{};},getSerial=(_0x1bdf6a,_0xbe7c4a)=>{const _0x1e03d6=a12_0x404a3c,_0x5013b7={};_0x5013b7[_0x1e03d6(0x228)]=_0x1e03d6(0x1ff),_0x5013b7[_0x1e03d6(0x259)]=function(_0x43d5f3,_0x3ae801){return _0x43d5f3>_0x3ae801;},_0x5013b7[_0x1e03d6(0x207)]=function(_0x37140b,_0x10d36e){return _0x37140b>_0x10d36e;},_0x5013b7[_0x1e03d6(0x20f)]=_0x1e03d6(0x23b);const _0x3bbe93=_0x5013b7;let _0x36c723=_0x3bbe93[_0x1e03d6(0x228)];return _0x3bbe93['fYfHU'](_0x1bdf6a[_0x1e03d6(0x264)],0x1)&&(!_0xbe7c4a[_0x1e03d6(0x1f4)]&&(helper[_0x1e03d6(0x1f6)](_0xbe7c4a[_0x1e03d6(0x230)])||_0x3bbe93[_0x1e03d6(0x207)](_0xbe7c4a[_0x1e03d6(0x230)],0x1)))&&(_0x36c723=_0x3bbe93[_0x1e03d6(0x20f)]),_0x36c723;},getMaxWorkers=(_0x2fabfb,_0x3e63d7,_0x4ff895)=>{const _0x29bff3=a12_0x404a3c,_0x820ce4={'ZSRqR':function(_0x39a706,_0x211f20){return _0x39a706(_0x211f20);}};let _0x28f707=0x1;if(!helper[_0x29bff3(0x1f6)](_0x3e63d7[_0x29bff3(0x24e)]))_0x28f707=_0x820ce4['ZSRqR'](parseInt,_0x3e63d7['parallelsPerPlatform']);else{if(!helper[_0x29bff3(0x1f6)](_0x2fabfb[_0x29bff3(0x230)]))_0x28f707=_0x2fabfb[_0x29bff3(0x230)];else!helper[_0x29bff3(0x1f6)](_0x4ff895[_0x29bff3(0x230)])&&(_0x28f707=_0x4ff895[_0x29bff3(0x230)]);}return _0x28f707;};async function run(_0x2094ca,_0x5aa3ec){const _0x332ba2=a12_0x404a3c,_0x425f34={'NojyF':_0x332ba2(0x1fe),'UKkDi':function(_0x1cd21a,_0x15c1e5){return _0x1cd21a(_0x15c1e5);},'nigkL':function(_0x5b50f3,_0x307c74){return _0x5b50f3!=_0x307c74;},'bzAwF':_0x332ba2(0x1ff),'IEvch':function(_0x5516c3,_0x4acd60,_0x2a8e58){return _0x5516c3(_0x4acd60,_0x2a8e58);},'ujQal':_0x332ba2(0x24b),'zUaxE':function(_0x25defa,_0x3e13b0){return _0x25defa(_0x3e13b0);},'nvBQl':function(_0x2a9b50,_0x24d1e7,_0x1afe2e){return _0x2a9b50(_0x24d1e7,_0x1afe2e);},'qRHfx':function(_0xcca521,_0xb9b753,_0xc89afc,_0x15bc31){return _0xcca521(_0xb9b753,_0xc89afc,_0x15bc31);},'OPVqR':function(_0x3609b3,_0x2944b4){return _0x3609b3*_0x2944b4;},'hNtQF':function(_0x3bfbdb,_0x2f9a35){return _0x3bfbdb===_0x2f9a35;},'xHRfw':_0x332ba2(0x278),'VqACo':_0x332ba2(0x221),'TSwmb':_0x332ba2(0x211),'epwDo':_0x332ba2(0x245),'oIPLB':_0x332ba2(0x242),'bWfSw':function(_0x296827,_0x219e74){return _0x296827(_0x219e74);},'WmWoo':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','gctSV':_0x332ba2(0x26b),'kppAB':function(_0x163267,_0x126ad8,_0x1cd8b9){return _0x163267(_0x126ad8,_0x1cd8b9);},'vuKvV':_0x332ba2(0x250),'zfqox':function(_0x5d4876,_0x271d57,_0x350254,_0xe2d458){return _0x5d4876(_0x271d57,_0x350254,_0xe2d458);},'qDRvZ':_0x332ba2(0x27d),'sCOoi':'--config','dVIPl':_0x332ba2(0x240),'wOHux':_0x332ba2(0x218)},_0x43be1d=new BrowserStackSetup(_0x2094ca,_0x425f34[_0x332ba2(0x235)]);helper[_0x332ba2(0x276)]()&&(await _0x43be1d['initialize'](),await helper['handleApp'](_0x43be1d['config']));if(!_0x43be1d[_0x332ba2(0x226)])return;_0x425f34[_0x332ba2(0x25c)](_0x43be1d['config'][_0x332ba2(0x232)],null)?process['env'][_0x332ba2(0x255)]=_0x43be1d[_0x332ba2(0x226)][_0x332ba2(0x232)]:process['env'][_0x332ba2(0x255)]=_0x425f34[_0x332ba2(0x284)];const _0xe52a3=_0x425f34[_0x332ba2(0x23d)](getUserJestConfigs,_0x2094ca,_0x5aa3ec);logger[_0x332ba2(0x200)](_0x425f34['ujQal']);const _0x56fc0b=Object[_0x332ba2(0x281)]({},_0xe52a3);_0x56fc0b[_0x332ba2(0x252)]=Object[_0x332ba2(0x281)]({},_0x56fc0b[_0x332ba2(0x252)],{'server':helper['getHubUrl'](_0x43be1d[_0x332ba2(0x226)]),'environment':_0xe52a3[_0x332ba2(0x287)]}),_0x56fc0b[_0x332ba2(0x252)][_0x332ba2(0x1f7)]=_0x425f34[_0x332ba2(0x213)](getPercyOptions,_0x43be1d[_0x332ba2(0x226)]);const _0x1d4c78=helper[_0x332ba2(0x270)](_0x43be1d['config']),_0x12dd2a=helper[_0x332ba2(0x26e)](_0x43be1d['config'],_0x1d4c78,constants[_0x332ba2(0x24d)][_0x332ba2(0x248)]);!helper['isUndefined'](_0x43be1d[_0x332ba2(0x226)][_0x332ba2(0x239)])&&(process['env'][_0x332ba2(0x251)]=JSON[_0x332ba2(0x222)](_0x43be1d[_0x332ba2(0x226)][_0x332ba2(0x239)]));let _0x10754e=_0x43be1d[_0x332ba2(0x226)][_0x332ba2(0x217)];_0x10754e=_0x10754e||accessibilityHelper[_0x332ba2(0x1f2)](_0x43be1d[_0x332ba2(0x226)]),process['env'][_0x332ba2(0x216)]=_0x10754e,_0x56fc0b[_0x332ba2(0x252)][_0x332ba2(0x283)]=_0x12dd2a,_0x56fc0b['testEnvironmentOptions'][_0x332ba2(0x21d)]=_0x425f34[_0x332ba2(0x212)](getSerial,_0x12dd2a,_0x2094ca),_0x56fc0b[_0x332ba2(0x252)][_0x332ba2(0x206)]=_0x425f34[_0x332ba2(0x269)](getMaxWorkers,_0x2094ca,_0x43be1d[_0x332ba2(0x226)],_0xe52a3),_0x56fc0b[_0x332ba2(0x252)][_0x332ba2(0x229)]=_0x43be1d[_0x332ba2(0x226)][_0x332ba2(0x229)],_0x56fc0b[_0x332ba2(0x252)]['timeout__']=_0x425f34['OPVqR'](_0x2094ca[_0x332ba2(0x231)],0x1)||0x1388,_0x56fc0b['testEnvironmentOptions'][_0x332ba2(0x282)]=_0x43be1d['config']['testContextOptions'][_0x332ba2(0x282)],_0x56fc0b['testEnvironmentOptions'][_0x332ba2(0x20a)]=_0x43be1d['config']['testContextOptions']['skipSessionStatus'],_0x56fc0b[_0x332ba2(0x252)][_0x332ba2(0x24a)]=_0x43be1d[_0x332ba2(0x226)][_0x332ba2(0x25d)],_0x56fc0b['testEnvironmentOptions'][_0x332ba2(0x233)]=_0x43be1d[_0x332ba2(0x226)][_0x332ba2(0x233)],_0x56fc0b[_0x332ba2(0x252)]['platformCaps']=_0x43be1d[_0x332ba2(0x226)][_0x332ba2(0x223)];let _0x3f3c09='';_0x425f34[_0x332ba2(0x201)](helper[_0x332ba2(0x208)](),constants[_0x332ba2(0x260)]['MODULE'])?_0x3f3c09=_0x425f34['xHRfw']:_0x3f3c09=_0x425f34[_0x332ba2(0x234)];const _0xea4821=_0x3f3c09,_0x3aa46a=path[_0x332ba2(0x27f)](__dirname,_0x425f34[_0x332ba2(0x25e)],_0x425f34['epwDo']),_0x4d39d1=__dirname+_0x332ba2(0x256),_0xc82e85=__dirname+_0x332ba2(0x25f);_0x56fc0b['testEnvironment']&&(process[_0x332ba2(0x210)]['BSTACK_JEST_TEST_ENV']=_0x56fc0b[_0x332ba2(0x287)]);_0x56fc0b[_0x332ba2(0x287)]=__dirname+_0x332ba2(0x243),_0x56fc0b['runner']=_0x4d39d1,_0x56fc0b[_0x332ba2(0x209)]=_0x56fc0b[_0x332ba2(0x209)]||[],_0x56fc0b[_0x332ba2(0x209)]['push'](__dirname+'/jest.setup.js');if(testhubUtils[_0x332ba2(0x21a)]()){let _0x1168a9=null;try{_0x1168a9=helper[_0x332ba2(0x273)](_0x425f34['oIPLB']);}catch(_0x4e8b01){_0x425f34[_0x332ba2(0x267)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x4e8b01);}_0x1168a9&&(_0x56fc0b[_0x332ba2(0x209)][_0x332ba2(0x237)](__dirname+_0x332ba2(0x21c)),_0x56fc0b[_0x332ba2(0x249)]=__dirname+_0x332ba2(0x265));}_0x56fc0b[_0x332ba2(0x22b)]=_0x56fc0b[_0x332ba2(0x22b)]||[];try{helper['requireSeleniumWebdriver'](),_0x56fc0b[_0x332ba2(0x22b)][_0x332ba2(0x237)](__dirname+_0x332ba2(0x22a));}catch{logger[_0x332ba2(0x23f)](_0x425f34[_0x332ba2(0x25a)]);}_0x56fc0b[_0x332ba2(0x274)]=_0x56fc0b[_0x332ba2(0x274)]||[_0x425f34['gctSV']],_0x425f34[_0x332ba2(0x266)](updateTestRerunConfig,_0x56fc0b,_0x43be1d);const _0x48e7d8=fs[_0x332ba2(0x258)](_0xc82e85);fs['writeFileSync'](_0x56fc0b[_0x332ba2(0x241)],_0x332ba2(0x20c)+_0x48e7d8+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x43be1d[_0x332ba2(0x226)][_0x332ba2(0x223)][_0x332ba2(0x264)]+';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x332ba2(0x200)](_0x332ba2(0x26f)+_0xea4821+_0x332ba2(0x257)),fs['writeFileSync'](_0xea4821,_0x332ba2(0x22e)+JSON['stringify'](_0x56fc0b)+'\x0amodule.exports\x20=\x20config;'),logger['info'](_0x425f34[_0x332ba2(0x25b)]);const _0x6d5b0e=await TestHubHandler[_0x332ba2(0x27b)](FRAMEWORKS['JEST'],_0x43be1d);testhubUtils[_0x332ba2(0x21a)]()&&TestDetails[_0x332ba2(0x268)]();helper[_0x332ba2(0x261)]({},_0x5aa3ec),helper['markSDKSetupComplete']();const _0x36b3ef=_0x425f34['zfqox'](spawn,/^win/[_0x332ba2(0x225)](process['platform'])?_0x425f34[_0x332ba2(0x26d)]:_0x425f34[_0x332ba2(0x235)],[_0x425f34['sCOoi'],_0xea4821,..._0x5aa3ec[_0x332ba2(0x203)](0x1)],{'stdio':_0x425f34[_0x332ba2(0x271)],'env':Object[_0x332ba2(0x281)]({},process['env'])});_0x36b3ef['on'](_0x425f34[_0x332ba2(0x263)],async _0x161a79=>{const _0x47a67b=_0x332ba2;process[_0x47a67b(0x215)]=_0x161a79,logger[_0x47a67b(0x23f)](_0x47a67b(0x253)+_0x161a79),logger['info'](_0x47a67b(0x23e)+_0xea4821);let _0x3b6f4a=null;if(fs[_0x47a67b(0x20d)](_0x3aa46a)){_0x3b6f4a=fs['readFileSync'](_0x3aa46a);try{_0x3b6f4a=JSON[_0x47a67b(0x27e)](_0x3b6f4a);}catch(_0x50e398){logger[_0x47a67b(0x23f)](_0x47a67b(0x21b)+_0x3aa46a+',\x20'+_0x3b6f4a+'\x20:\x20'+_0x50e398);}fs[_0x47a67b(0x214)](_0x3aa46a);}fs['unlinkSync'](_0xea4821),fs[_0x47a67b(0x214)](_0x4d39d1),_0x3b6f4a&&(_0x43be1d[_0x47a67b(0x204)]=helper[_0x47a67b(0x219)](_0x3b6f4a,_0x425f34[_0x47a67b(0x235)],_0x43be1d));try{await TestHubHandler['stop']();}catch(_0x322b71){console[_0x47a67b(0x280)](_0x322b71),_0x425f34[_0x47a67b(0x285)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x47a67b(0x288)](_0x322b71));}testOpsHelper[_0x47a67b(0x1f8)](),TestDetails[_0x47a67b(0x238)](),await helper[_0x47a67b(0x23a)](_0x43be1d);});}function a12_0x2ec7(_0x27e6e3,_0x51e935){const _0x339ae3=a12_0x339a();return a12_0x2ec7=function(_0x2ec7aa,_0x9a8668){_0x2ec7aa=_0x2ec7aa-0x1f2;let _0xa95c1f=_0x339ae3[_0x2ec7aa];return _0xa95c1f;},a12_0x2ec7(_0x27e6e3,_0x51e935);}module['exports']=run;
|
|
2
|
+
'use strict';const a12_0x2beb94=a12_0x5bbc;(function(_0x1ae001,_0xa23422){const _0x384d40=a12_0x5bbc,_0x53b123=_0x1ae001();while(!![]){try{const _0x35347a=-parseInt(_0x384d40(0x101))/0x1+parseInt(_0x384d40(0x12d))/0x2+-parseInt(_0x384d40(0x15d))/0x3*(parseInt(_0x384d40(0x145))/0x4)+parseInt(_0x384d40(0xef))/0x5*(-parseInt(_0x384d40(0x105))/0x6)+-parseInt(_0x384d40(0x11f))/0x7+-parseInt(_0x384d40(0x170))/0x8+parseInt(_0x384d40(0x107))/0x9*(parseInt(_0x384d40(0x162))/0xa);if(_0x35347a===_0xa23422)break;else _0x53b123['push'](_0x53b123['shift']());}catch(_0x572248){_0x53b123['push'](_0x53b123['shift']());}}}(a12_0xe29b,0xab8a1));function a12_0xe29b(){const _0x4538cf=['iPXtM','length','\x20:\x20','stop','Getting\x20your\x20jest\x20configs\x20from\x20package.json','errorMessage','iwIts','MOwes','aGfBb','platforms','runner','uwICi','cjs','3454885cReTYw','Creating\x20','WBJpt','testTimeout','setup','filterBrowserstackConfig','getPackageType','platformCaps','format','setupFilesAfterEnv','testEnvironment','push','VZwKR','jest','ellax','launchBuild','maxWorkers','jest.config.','325548VPghhe','./test-observability/test-details','../../helpers/test-observability/utils','default','12gtFGHl','../utils/constants','770013XWxdGL','customImplements',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','testObservability','isUndefined','../../helpers/logger','DUeep','/test_before.setup.js','unlinkSync','NIqMJ','DNZRn','nNvfa','PACKAGE_TYPE','resolve','join','mjs','./test-observability/helper','requireModule','handleApp','serial__','XaMRo','nprEN','JFLcl','config','9610475itwrur','testRunner','prepareCapabilities','debug','jest_browserstack.config.cjs','logLevel','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','writeFileSync','isBrowserstackInfra','false','readFileSync','BOmCL','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','runInBand','2619972HfwFey','IpGUg','XatLW','accessibility','testContextOptions','BSTACK_JEST_TEST_ENV','JEST','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Unable\x20to\x20find\x20jest-circus,\x20','env','findIndex','UmPfi','OjzJC','skipSessionStatus','cwd','jest_browserstack.config.js','package.json','markSDKSetupComplete','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','true','../../helpers/testhub/testhubHandler','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','UaHLT','/test-observability/data-hooks.js','652wnaIQb','/jest.setup.js','shouldProcessEventForTesthub','reporters','Getting\x20your\x20jest\x20configs\x20from\x20','FRAMEWORKS','browserStackLogLevel','ulDjV','proxySettings','pnvaz','setupFiles','getHubUrl','Error\x20while\x20parsing\x20','info','initialize','testEnvironmentOptions','parse','Ezzfo','pbwzd','BROWSERSTACK_TEST_OBSERVABILITY_YML','sTqxx','../../helpers/helper','--config','getErrorMessageFromResults','3651cgtTlm','close','timeout__','VgyPO','BVQSt','450JNjTKg','platform','/customImplements/customTestRunnerTemplate.js','stringify','../../helpers/test-observability/sessionHandler','exports','../../helpers/percy/utils','/customImplements/customCircus.js','requireSeleniumWebdriver','accessibilityOptions','MODULE','printBuildLink','/customImplements/customTestRunner.js','useW3C','9429024XtMoeq','assign','../../helpers/testhub/utils','exitCode','const\x20config=','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','path','log','parallelsPerPlatform','NNWZI','skipSessionName','nXNvB','util','existsSync','jest_browserstack_results.json'];a12_0xe29b=function(){return _0x4538cf;};return a12_0xe29b();}function a12_0x5bbc(_0xec53a6,_0x3bc5ac){const _0xe29b69=a12_0xe29b();return a12_0x5bbc=function(_0x5bbc27,_0x17d54b){_0x5bbc27=_0x5bbc27-0xef;let _0x707d92=_0xe29b69[_0x5bbc27];return _0x707d92;},a12_0x5bbc(_0xec53a6,_0x3bc5ac);}const fs=require('fs'),path=require(a12_0x2beb94(0x176)),util=require(a12_0x2beb94(0x17c)),{spawn}=require('child_process'),logger=require(a12_0x2beb94(0x10c))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a12_0x2beb94(0x15a)),constants=require(a12_0x2beb94(0x106)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a12_0x2beb94(0x117)),testOpsHelper=require(a12_0x2beb94(0x103)),SessionHandler=require(a12_0x2beb94(0x166)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a12_0x2beb94(0x102)),{getPercyOptions}=require(a12_0x2beb94(0x168)),TestHubHandler=require(a12_0x2beb94(0x141)),testhubUtils=require(a12_0x2beb94(0x172)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),getUserJestConfigs=(_0x498239,_0x5610c1)=>{const _0x338b76=a12_0x2beb94,_0xa40701={'DUeep':function(_0x213eb3,_0x1c7f15){return _0x213eb3(_0x1c7f15);},'OjzJC':function(_0x1c38cb,_0x2f96c5){return _0x1c38cb||_0x2f96c5;},'NIqMJ':_0x338b76(0x13d),'BVQSt':_0x338b76(0x183),'nNvfa':_0x338b76(0x116),'pbwzd':_0x338b76(0x18b),'DNZRn':'json'},_0xa8249f=_0x5610c1[_0x338b76(0x137)](_0x355291=>_0x355291===_0x338b76(0x15b));if(!helper[_0x338b76(0x10b)](_0x498239['config'])){logger[_0x338b76(0x152)](_0x338b76(0x149)+_0x498239[_0x338b76(0x11e)]);const _0x23479b=_0xa40701['DUeep'](require,path[_0x338b76(0x114)](_0x498239[_0x338b76(0x11e)]));return _0x5610c1['splice'](_0xa8249f,0x2),_0xa40701[_0x338b76(0x139)](_0x23479b,{});}const _0x3a1f68=_0xa40701['DUeep'](require,path[_0x338b76(0x115)](process[_0x338b76(0x13b)](),_0xa40701[_0x338b76(0x110)]));if(_0x3a1f68[_0x338b76(0xfc)])return logger['info'](_0xa40701[_0x338b76(0x161)]),_0x3a1f68['jest'];const _0x207d39=['js',_0xa40701[_0x338b76(0x112)],_0xa40701[_0x338b76(0x157)],_0xa40701[_0x338b76(0x111)],'ts'];for(const _0x16e307 of _0x207d39){const _0x414d0d=path[_0x338b76(0x115)](process['cwd'](),_0x338b76(0x100)+_0x16e307);if(fs['existsSync'](_0x414d0d))return _0xa40701[_0x338b76(0x10d)](require,_0x414d0d);}return{};},getSerial=(_0x43c026,_0x51ec03)=>{const _0x434685=a12_0x2beb94,_0x1a0b07={};_0x1a0b07['ulDjV']=_0x434685(0x140),_0x1a0b07[_0x434685(0x17f)]=function(_0x3f67ab,_0x4ffc57){return _0x3f67ab>_0x4ffc57;},_0x1a0b07[_0x434685(0xf1)]=function(_0x22d8b0,_0x4224d5){return _0x22d8b0>_0x4224d5;},_0x1a0b07[_0x434685(0x17b)]=_0x434685(0x128);const _0x3fab1a=_0x1a0b07;let _0x1d7ed1=_0x3fab1a[_0x434685(0x14c)];return _0x3fab1a[_0x434685(0x17f)](_0x43c026['length'],0x1)&&(!_0x51ec03[_0x434685(0x12c)]&&(helper['isUndefined'](_0x51ec03[_0x434685(0xff)])||_0x3fab1a[_0x434685(0xf1)](_0x51ec03[_0x434685(0xff)],0x1)))&&(_0x1d7ed1=_0x3fab1a[_0x434685(0x17b)]),_0x1d7ed1;},getMaxWorkers=(_0x48633a,_0x27efac,_0x44a201)=>{const _0x139c24=a12_0x2beb94,_0x3f0f97={'lWPts':function(_0xdcd3dd,_0x4b5212){return _0xdcd3dd(_0x4b5212);}};let _0x313138=0x1;if(!helper[_0x139c24(0x10b)](_0x27efac[_0x139c24(0x178)]))_0x313138=_0x3f0f97['lWPts'](parseInt,_0x27efac[_0x139c24(0x178)]);else{if(!helper[_0x139c24(0x10b)](_0x48633a[_0x139c24(0xff)]))_0x313138=_0x48633a[_0x139c24(0xff)];else!helper['isUndefined'](_0x44a201[_0x139c24(0xff)])&&(_0x313138=_0x44a201[_0x139c24(0xff)]);}return _0x313138;};async function run(_0xa8b4b2,_0x8d2aa5){const _0x576408=a12_0x2beb94,_0x42af0c={'UmPfi':_0x576408(0xfc),'XatLW':function(_0x4f578e,_0x3bfbff){return _0x4f578e(_0x3bfbff);},'Ezzfo':function(_0x901e5e,_0x623a0f){return _0x901e5e!=_0x623a0f;},'UaHLT':_0x576408(0x140),'IpGUg':function(_0x56d93c,_0x275bf9,_0x122771){return _0x56d93c(_0x275bf9,_0x122771);},'iwIts':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','pnvaz':function(_0x315dd1,_0x103140,_0x4893be,_0x376e86){return _0x315dd1(_0x103140,_0x4893be,_0x376e86);},'XaMRo':function(_0x1dccbb,_0x2eed15){return _0x1dccbb*_0x2eed15;},'ellax':function(_0x9a4a2b,_0x34f09c){return _0x9a4a2b===_0x34f09c;},'VgyPO':_0x576408(0x123),'HIXMG':_0x576408(0x13c),'aGfBb':_0x576408(0x108),'BOmCL':_0x576408(0x17e),'VZwKR':_0x576408(0x12b),'sTqxx':_0x576408(0x142),'MOwes':_0x576408(0x104),'uwICi':_0x576408(0x175),'nprEN':'jest.cmd','NNWZI':_0x576408(0x15b),'AnHvT':'inherit','JFLcl':_0x576408(0x15e)},_0xc2cbb9=new BrowserStackSetup(_0xa8b4b2,_0x42af0c[_0x576408(0x138)]);helper[_0x576408(0x127)]()&&(await _0xc2cbb9[_0x576408(0x153)](),await helper[_0x576408(0x119)](_0xc2cbb9[_0x576408(0x11e)]));if(!_0xc2cbb9[_0x576408(0x11e)])return;_0x42af0c[_0x576408(0x156)](_0xc2cbb9[_0x576408(0x11e)][_0x576408(0x10a)],null)?process['env'][_0x576408(0x158)]=_0xc2cbb9[_0x576408(0x11e)][_0x576408(0x10a)]:process[_0x576408(0x136)][_0x576408(0x158)]=_0x42af0c[_0x576408(0x143)];const _0x42f572=_0x42af0c[_0x576408(0x12e)](getUserJestConfigs,_0xa8b4b2,_0x8d2aa5);logger['info'](_0x42af0c[_0x576408(0x185)]);const _0x57347f=Object[_0x576408(0x171)]({},_0x42f572);_0x57347f[_0x576408(0x154)]=Object[_0x576408(0x171)]({},_0x57347f['testEnvironmentOptions'],{'server':helper[_0x576408(0x150)](_0xc2cbb9[_0x576408(0x11e)]),'environment':_0x42f572[_0x576408(0xf9)]}),_0x57347f[_0x576408(0x154)]['browserStackPercyOptions']=_0x42af0c[_0x576408(0x12f)](getPercyOptions,_0xc2cbb9[_0x576408(0x11e)]);const _0x181a95=helper[_0x576408(0x16f)](_0xc2cbb9[_0x576408(0x11e)]),_0x4aeea6=helper[_0x576408(0x121)](_0xc2cbb9['config'],_0x181a95,constants[_0x576408(0x14a)][_0x576408(0x133)]);!helper[_0x576408(0x10b)](_0xc2cbb9['config'][_0x576408(0x16b)])&&(process[_0x576408(0x136)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x576408(0x165)](_0xc2cbb9[_0x576408(0x11e)][_0x576408(0x16b)]));let _0x502b6c=_0xc2cbb9[_0x576408(0x11e)][_0x576408(0x130)];_0x502b6c=_0x502b6c||accessibilityHelper['checkAccessibilityPlatformConfig'](_0xc2cbb9[_0x576408(0x11e)]),process['env'][_0x576408(0x134)]=_0x502b6c,_0x57347f[_0x576408(0x154)]['capabilities']=_0x4aeea6,_0x57347f['testEnvironmentOptions'][_0x576408(0x11a)]=_0x42af0c[_0x576408(0x12e)](getSerial,_0x4aeea6,_0xa8b4b2),_0x57347f[_0x576408(0x154)]['parallels__']=_0x42af0c['pnvaz'](getMaxWorkers,_0xa8b4b2,_0xc2cbb9[_0x576408(0x11e)],_0x42f572),_0x57347f['testEnvironmentOptions']['proxySettings']=_0xc2cbb9[_0x576408(0x11e)][_0x576408(0x14d)],_0x57347f['testEnvironmentOptions'][_0x576408(0x15f)]=_0x42af0c[_0x576408(0x11b)](_0xa8b4b2[_0x576408(0xf2)],0x1)||0x1388,_0x57347f['testEnvironmentOptions'][_0x576408(0x17a)]=_0xc2cbb9[_0x576408(0x11e)][_0x576408(0x131)][_0x576408(0x17a)],_0x57347f[_0x576408(0x154)][_0x576408(0x13a)]=_0xc2cbb9[_0x576408(0x11e)]['testContextOptions'][_0x576408(0x13a)],_0x57347f[_0x576408(0x154)][_0x576408(0x14b)]=_0xc2cbb9[_0x576408(0x11e)][_0x576408(0x124)],_0x57347f[_0x576408(0x154)]['turboScaleUrl']=_0xc2cbb9[_0x576408(0x11e)]['turboScaleUrl'],_0x57347f[_0x576408(0x154)][_0x576408(0xf6)]=_0xc2cbb9[_0x576408(0x11e)][_0x576408(0x188)];let _0xe52407='';_0x42af0c[_0x576408(0xfd)](helper[_0x576408(0xf5)](),constants[_0x576408(0x113)][_0x576408(0x16c)])?_0xe52407=_0x42af0c[_0x576408(0x160)]:_0xe52407=_0x42af0c['HIXMG'];const _0x3f16d4=_0xe52407,_0x5e6027=path['join'](__dirname,_0x42af0c[_0x576408(0x187)],_0x42af0c[_0x576408(0x12a)]),_0xad7583=__dirname+_0x576408(0x16e),_0x272c0a=__dirname+_0x576408(0x164);_0x57347f[_0x576408(0xf9)]&&(process[_0x576408(0x136)][_0x576408(0x132)]=_0x57347f[_0x576408(0xf9)]);_0x57347f[_0x576408(0xf9)]=__dirname+'/customImplements/customEnvironment.js',_0x57347f[_0x576408(0x189)]=_0xad7583,_0x57347f['setupFilesAfterEnv']=_0x57347f[_0x576408(0xf8)]||[],_0x57347f[_0x576408(0xf8)][_0x576408(0xfa)](__dirname+_0x576408(0x146));if(testhubUtils[_0x576408(0x147)]()){let _0x2ca94c=null;try{_0x2ca94c=helper[_0x576408(0x118)](_0x42af0c[_0x576408(0xfb)]);}catch(_0x174541){_0x42af0c[_0x576408(0x12f)](debug,_0x576408(0x135)+_0x174541);}_0x2ca94c&&(_0x57347f['setupFilesAfterEnv'][_0x576408(0xfa)](__dirname+_0x576408(0x144)),_0x57347f[_0x576408(0x120)]=__dirname+_0x576408(0x169));}_0x57347f[_0x576408(0x14f)]=_0x57347f[_0x576408(0x14f)]||[];try{helper[_0x576408(0x16a)](),_0x57347f[_0x576408(0x14f)][_0x576408(0xfa)](__dirname+_0x576408(0x10e));}catch{logger[_0x576408(0x122)](_0x42af0c[_0x576408(0x159)]);}_0x57347f[_0x576408(0x148)]=_0x57347f[_0x576408(0x148)]||[_0x42af0c[_0x576408(0x186)]],_0x42af0c[_0x576408(0x12e)](updateTestRerunConfig,_0x57347f,_0xc2cbb9);const _0x456c68=fs[_0x576408(0x129)](_0x272c0a);fs[_0x576408(0x126)](_0x57347f[_0x576408(0x189)],'\x0a\x20\x20\x20\x20'+_0x456c68+_0x576408(0x13f)+_0xc2cbb9[_0x576408(0x11e)][_0x576408(0x188)][_0x576408(0x180)]+_0x576408(0x109)),logger[_0x576408(0x152)](_0x576408(0xf0)+_0x3f16d4+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x576408(0x126)](_0x3f16d4,_0x576408(0x174)+JSON[_0x576408(0x165)](_0x57347f)+'\x0amodule.exports\x20=\x20config;'),logger[_0x576408(0x152)](_0x42af0c[_0x576408(0x18a)]);const _0x492553=await TestHubHandler[_0x576408(0xfe)](FRAMEWORKS[_0x576408(0x133)],_0xc2cbb9);testhubUtils[_0x576408(0x147)]()&&TestDetails[_0x576408(0xf3)]();helper[_0x576408(0xf4)]({},_0x8d2aa5),helper[_0x576408(0x13e)]();const _0x357b2c=_0x42af0c[_0x576408(0x14e)](spawn,/^win/['test'](process[_0x576408(0x163)])?_0x42af0c[_0x576408(0x11c)]:_0x42af0c['UmPfi'],[_0x42af0c[_0x576408(0x179)],_0x3f16d4,..._0x8d2aa5['slice'](0x1)],{'stdio':_0x42af0c['AnHvT'],'env':Object[_0x576408(0x171)]({},process[_0x576408(0x136)])});_0x357b2c['on'](_0x42af0c[_0x576408(0x11d)],async _0x379692=>{const _0x1285c6=_0x576408;process[_0x1285c6(0x173)]=_0x379692,logger[_0x1285c6(0x122)]('child\x20process\x20exited\x20with\x20code\x20'+_0x379692),logger['info']('Deleting\x20'+_0x3f16d4);let _0x1534cd=null;if(fs[_0x1285c6(0x17d)](_0x5e6027)){_0x1534cd=fs[_0x1285c6(0x129)](_0x5e6027);try{_0x1534cd=JSON[_0x1285c6(0x155)](_0x1534cd);}catch(_0x35b95d){logger[_0x1285c6(0x122)](_0x1285c6(0x151)+_0x5e6027+',\x20'+_0x1534cd+_0x1285c6(0x181)+_0x35b95d);}fs[_0x1285c6(0x10f)](_0x5e6027);}fs[_0x1285c6(0x10f)](_0x3f16d4),fs[_0x1285c6(0x10f)](_0xad7583),_0x1534cd&&(_0xc2cbb9[_0x1285c6(0x184)]=helper[_0x1285c6(0x15c)](_0x1534cd,_0x42af0c['UmPfi'],_0xc2cbb9));try{await TestHubHandler[_0x1285c6(0x182)]();}catch(_0x2c5bfb){console[_0x1285c6(0x177)](_0x2c5bfb),_0x42af0c[_0x1285c6(0x12f)](debug,_0x1285c6(0x125)+util[_0x1285c6(0xf7)](_0x2c5bfb));}testOpsHelper[_0x1285c6(0x16d)](),TestDetails['shutdown'](),await helper['finalExecution'](_0xc2cbb9);});}module[a12_0x2beb94(0x167)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a13_0xefd5a3=a13_0x3c40;(function(_0x27a236,_0x174e64){const _0x1fefd9=a13_0x3c40,_0x37d07a=_0x27a236();while(!![]){try{const _0xe2a90d=-parseInt(_0x1fefd9(0x189))/0x1+parseInt(_0x1fefd9(0x17f))/0x2+-parseInt(_0x1fefd9(0x18f))/0x3+parseInt(_0x1fefd9(0x18c))/0x4+-parseInt(_0x1fefd9(0x18b))/0x5+parseInt(_0x1fefd9(0x182))/0x6+-parseInt(_0x1fefd9(0x187))/0x7*(-parseInt(_0x1fefd9(0x188))/0x8);if(_0xe2a90d===_0x174e64)break;else _0x37d07a['push'](_0x37d07a['shift']());}catch(_0x40ff31){_0x37d07a['push'](_0x37d07a['shift']());}}}(a13_0x1d74,0xc0211));function a13_0x1d74(){const _0x485695=['includes','exports','860016FmqimZ','zzuvf','../../../helpers/helper','./customJestAdapterInit.js','YEhsY','35GjLslV','4458408NBdPXj','1168799MpqbpR','initRequireModule','7236135xEatAd','2870560PofFyx','requireInternalModule','/jestAdapterInit','1815552ClqTGN','721380zjiptX'];a13_0x1d74=function(){return _0x485695;};return a13_0x1d74();}function a13_0x3c40(_0x4caccd,_0xdf0895){const _0x1d7456=a13_0x1d74();return a13_0x3c40=function(_0x3c40bb,_0x21c149){_0x3c40bb=_0x3c40bb-0x17f;let _0x1131cb=_0x1d7456[_0x3c40bb];return _0x1131cb;},a13_0x3c40(_0x4caccd,_0xdf0895);}const path=require('path'),{requireModule}=require(a13_0xefd5a3(0x184));let initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js');initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a13_0xefd5a3(0x185));module[a13_0xefd5a3(0x181)]=(..._0x1929c7)=>{const _0xe737c4=a13_0xefd5a3,_0x2018e3={'zzuvf':_0xe737c4(0x18e),'UIvvu':function(_0x491673,_0x146172){return _0x491673===_0x146172;},'YEhsY':function(_0x334541,..._0x68b2a9){return _0x334541(..._0x68b2a9);}};return _0x1929c7[0x3]['initRequireModule']=_0x1929c7[0x3][_0xe737c4(0x18d)],_0x1929c7[0x3][_0xe737c4(0x18d)]=(..._0x10f8e9)=>{const _0xec53c0=_0xe737c4;if(_0x10f8e9[0x0]&&_0x10f8e9[0x0][_0xec53c0(0x180)](_0x2018e3[_0xec53c0(0x183)])&&_0x2018e3['UIvvu'](_0x10f8e9[0x1],undefined))return _0x1929c7[0x3][_0xec53c0(0x18a)](FRAMEWORK_INITIALIZER);return _0x1929c7[0x3][_0xec53c0(0x18a)](..._0x10f8e9);},_0x2018e3[_0xe737c4(0x186)](initJestAdapter,..._0x1929c7);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a14_0x226a(){const _0xb6f20f=['42jmiqNd','skipSessionStatus','getTestEnvironment','driver','skipSessionName','xsOaE','468BuOMgQ','LKFfr','BSTACK_JEST_TEST_ENV','testEnvironmentOptions','DvTNV','percy','platformCaps','timeout__','browserstackPlatformIndex','exports','RyJTD','14529wFVFxj','gCdBN','Kklrq','slUFZ','../../utils/constants','jest-environment-node','3669040Ohgemq','setup','qpEVq','jest-config','teardown','browserStackGlobals','__driversArray','registerListeners','6260HpAeqE','3856ZbaurO','modifyCommand','test','sHqjL','configuration','Builder','ugrXG','global','split','default','shouldProcessEventForTesthub','requireSeleniumWebdriver','RVjvi','CAjGA','330eENKpY','__skipSessionStatus','mBVqd','__webdriver','resolveTestEnvironment','BSTACK_DELTA','sessionNameProvided','nestedKeyValue','test_start','quit','248809jWwiTl','100941tzScrm','kMMjQ','../../../helpers/testhub/utils','BHVus','__platformCaps','4|2|1|3|0','642873CcYKjf','../../../helpers/test-observability/utils','shutdown','cleanupDrivers','capability','aXWvf','browserStackPercyOptions','__drivers','1|5|0|7|8|6|4|9|3|2','isTrue','percyCaptureMode','requireModule','gKlks','builder','3780CxUMIF','__timeout','qKTkI','projectConfig','env','isBrowserstackInfra','getInstance','29907TKRSXd','browserstackAgentV2','browserstackPercyBestPlatform','__esModule','../../../helpers/test-observability/requestQueueHandler'];a14_0x226a=function(){return _0xb6f20f;};return a14_0x226a();}const a14_0x4488fb=a14_0x32f3;(function(_0x3a77b2,_0x1dd79e){const _0x4f42a9=a14_0x32f3,_0x2dae52=_0x3a77b2();while(!![]){try{const _0x21e190=parseInt(_0x4f42a9(0xa7))/0x1+-parseInt(_0x4f42a9(0x9c))/0x2*(-parseInt(_0x4f42a9(0xd8))/0x3)+parseInt(_0x4f42a9(0xe7))/0x4*(parseInt(_0x4f42a9(0xe6))/0x5)+-parseInt(_0x4f42a9(0xc7))/0x6*(parseInt(_0x4f42a9(0xad))/0x7)+-parseInt(_0x4f42a9(0xde))/0x8+-parseInt(_0x4f42a9(0xc2))/0x9*(parseInt(_0x4f42a9(0xbb))/0xa)+parseInt(_0x4f42a9(0xa6))/0xb*(parseInt(_0x4f42a9(0xcd))/0xc);if(_0x21e190===_0x1dd79e)break;else _0x2dae52['push'](_0x2dae52['shift']());}catch(_0x2d104d){_0x2dae52['push'](_0x2dae52['shift']());}}}(a14_0x226a,0x9a2d4));const helper=require('../../../helpers/helper'),constants=require(a14_0x4488fb(0xdc)),{isTestObservabilitySession}=require(a14_0x4488fb(0xae)),RequestQueueHandler=require(a14_0x4488fb(0xc6)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a14_0x4488fb(0xa9)),getTestEnvironment=((()=>{const _0x432c38=a14_0x4488fb,_0x4ed16a={};_0x4ed16a[_0x432c38(0x94)]='jest-resolve',_0x4ed16a[_0x432c38(0xb9)]=_0x432c38(0xe1);const _0x591e5e=_0x4ed16a;try{const _0x3e478f=helper[_0x432c38(0xb8)](_0x591e5e[_0x432c38(0x94)]);if(_0x3e478f['resolveTestEnvironment'])return _0x3e478f[_0x432c38(0xa0)];const _0x17798c=helper['requireModule'](_0x591e5e[_0x432c38(0xb9)]);if(_0x17798c[_0x432c38(0xc9)])return _0x17798c['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x384820=a14_0x4488fb,_0x10539={'slUFZ':function(_0x428314,_0x3055d5){return _0x428314(_0x3055d5);},'aXWvf':'node','qpEVq':_0x384820(0xdd)},_0x1c46a1=_0x10539['slUFZ'](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x384820(0xbf)][_0x384820(0xcf)]||_0x10539[_0x384820(0xb2)]});if(!_0x1c46a1)return _0x10539[_0x384820(0xdb)](_interopRequireDefault,helper[_0x384820(0xb8)](_0x10539[_0x384820(0xe0)]));return _0x10539[_0x384820(0xdb)](_interopRequireDefault,helper['requireModule'](_0x1c46a1));})()),_seleniumWebdriver2=((()=>{const _0x3bc81c=a14_0x4488fb,_0x541fb4={'qKTkI':function(_0x7978dc,_0x307308){return _0x7978dc(_0x307308);}};try{const _0x25dc7d=helper[_0x3bc81c(0x99)]();return helper[_0x3bc81c(0xe8)](),_0x541fb4[_0x3bc81c(0xbd)](_interopRequireDefault,_0x25dc7d);}catch{return null;}})());function _interopRequireDefault(_0x203678){const _0x11634c=a14_0x4488fb;return _0x203678&&_0x203678[_0x11634c(0xc5)]?_0x203678:{'default':_0x203678};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a14_0x4488fb(0xec)]:null;function a14_0x32f3(_0x5c2a8a,_0x426eaf){const _0x226a0a=a14_0x226a();return a14_0x32f3=function(_0x32f37b,_0x388da3){_0x32f37b=_0x32f37b-0x94;let _0x597323=_0x226a0a[_0x32f37b];return _0x597323;},a14_0x32f3(_0x5c2a8a,_0x426eaf);}class CustomEnvironment extends _jestUserEnvironment[a14_0x4488fb(0x97)]{constructor(_0x2db644){const _0x39c2f7=a14_0x4488fb,_0x7c6778={'Kklrq':_0x39c2f7(0xa5),'OKGel':_0x39c2f7(0xac),'RVjvi':function(_0x3c5718,_0x386366){return _0x3c5718+_0x386366;},'CAjGA':_0x39c2f7(0xb5),'xsOaE':_0x39c2f7(0xd3),'DvTNV':function(_0x4f8743,_0x5936cd){return _0x4f8743(_0x5936cd);},'oNmqv':'../../../index','kMMjQ':_0x39c2f7(0xd0),'gCdBN':_0x39c2f7(0xb3),'BHVus':_0x39c2f7(0xb7),'LKFfr':_0x39c2f7(0xc4),'RyJTD':_0x39c2f7(0xd2)};super(_0x2db644),this[_0x39c2f7(0x95)][_0x39c2f7(0xbc)]=0x0,this[_0x39c2f7(0xeb)]={};!_0x2db644[_0x39c2f7(0xd0)]&&(_0x2db644['testEnvironmentOptions']={});if(helper[_0x39c2f7(0xc0)]()){const _0x575a85=_0x7c6778['OKGel']['split']('|');let _0x52ae78=0x0;while(!![]){switch(_0x575a85[_0x52ae78++]){case'0':this[_0x39c2f7(0x95)][_0x39c2f7(0xbc)]=_0x7c6778[_0x39c2f7(0x9a)](this[_0x39c2f7(0xeb)][_0x39c2f7(0xd4)],constants[_0x39c2f7(0xa1)]);continue;case'1':this[_0x39c2f7(0xeb)]=_0x2db644[_0x39c2f7(0xd0)];continue;case'2':this[_0x39c2f7(0xba)]=new _seleniumWebdriver2['default'][(_0x39c2f7(0xec))]();continue;case'3':this[_0x39c2f7(0xb1)]=_0x2db644['projectConfig']?_0x2db644['projectConfig'][_0x39c2f7(0xb1)]:_0x2db644[_0x39c2f7(0xb1)];continue;case'4':_0x2db644[_0x39c2f7(0xd0)]=_0x2db644[_0x39c2f7(0xbe)]?_0x2db644[_0x39c2f7(0xbe)]['testEnvironmentOptions']:_0x2db644[_0x39c2f7(0xd0)];continue;}break;}}if(testhubUtils[_0x39c2f7(0x98)]()){const _0x54d629=new ObservabilityReporter();_0x54d629[_0x39c2f7(0xe5)]();}this[_0x39c2f7(0x95)][_0x39c2f7(0xe3)]={};if(_seleniumWebdriver2){const _0x7bc5a0=_0x7c6778[_0x39c2f7(0x9b)][_0x39c2f7(0x96)]('|');let _0x1c29e2=0x0;while(!![]){switch(_0x7bc5a0[_0x1c29e2++]){case'0':this[_0x39c2f7(0x95)]['browserstackPlatformIndex']=(_0x2db644[_0x39c2f7(0xbe)]?_0x2db644[_0x39c2f7(0xbe)]['browserstackPlatformIndex']:_0x2db644['browserstackPlatformIndex'])||0x0;continue;case'1':this[_0x39c2f7(0x95)][_0x39c2f7(0xb4)]=[];continue;case'2':this[_0x39c2f7(0x95)]['cleanup']=async()=>{const _0x2fcb29=_0x39c2f7;await this[_0x2fcb29(0x95)][_0x2fcb29(0xca)][_0x2fcb29(0xa5)](_0x7c6778[_0x2fcb29(0xda)]);};continue;case'3':this[_0x39c2f7(0x95)][_0x39c2f7(0x9d)]=helper[_0x39c2f7(0xb6)](this['configuration'][_0x39c2f7(0xc8)]);continue;case'4':this['global'][_0x39c2f7(0xab)]=helper[_0x39c2f7(0xa3)](this[_0x39c2f7(0xeb)],[_0x7c6778[_0x39c2f7(0xcc)],this[_0x39c2f7(0x95)][_0x39c2f7(0xd5)]])||{};continue;case'5':this[_0x39c2f7(0x95)]['__webdriver']=_0x7c6778[_0x39c2f7(0xd1)](require,_0x7c6778['oNmqv'])[_0x39c2f7(0xc3)]({...this[_0x39c2f7(0xeb)],'capability':this['capability']||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'6':this[_0x39c2f7(0x95)][_0x39c2f7(0xb7)]=helper[_0x39c2f7(0xa3)](_0x2db644,[_0x7c6778[_0x39c2f7(0xa8)],_0x7c6778['gCdBN'],_0x7c6778[_0x39c2f7(0xaa)]]);continue;case'7':this[_0x39c2f7(0x95)][_0x39c2f7(0xc4)]=helper[_0x39c2f7(0xa3)](_0x2db644,[_0x7c6778[_0x39c2f7(0xa8)],_0x7c6778[_0x39c2f7(0xd9)],_0x7c6778[_0x39c2f7(0xce)]]);continue;case'8':this[_0x39c2f7(0x95)][_0x39c2f7(0xd2)]=helper[_0x39c2f7(0xa3)](_0x2db644,[_0x7c6778[_0x39c2f7(0xa8)],_0x7c6778[_0x39c2f7(0xd9)],_0x7c6778[_0x39c2f7(0xd7)]]);continue;case'9':helper[_0x39c2f7(0xb6)](this[_0x39c2f7(0xeb)][_0x39c2f7(0xcb)])?this[_0x39c2f7(0x95)][_0x39c2f7(0xa2)]=!![]:this[_0x39c2f7(0x95)]['sessionNameProvided']=![];continue;}break;}}}async[a14_0x4488fb(0xe2)](){const _0x4e564a=a14_0x4488fb;_seleniumWebdriver2&&(await helper[_0x4e564a(0xb0)](this[_0x4e564a(0x95)][_0x4e564a(0xe4)]),this['global'][_0x4e564a(0x9f)]['Builder']=originalBuilder),await RequestQueueHandler[_0x4e564a(0xc1)]()[_0x4e564a(0xaf)]();}async[a14_0x4488fb(0xdf)](){}async['handleTestEvent'](_0x445d16,_0x2d6cca){const _0x339707=a14_0x4488fb,_0x357c7d={};_0x357c7d['sHqjL']=function(_0x38878d,_0x3fb3ac){return _0x38878d===_0x3fb3ac;},_0x357c7d[_0x339707(0x9e)]=_0x339707(0xa4);const _0x359545=_0x357c7d,{name:_0x1d18c5}=_0x445d16;_0x359545[_0x339707(0xea)](_0x1d18c5,_0x359545[_0x339707(0x9e)])&&(this[_0x339707(0x95)]['testContext']=_0x445d16[_0x339707(0xe9)]);}}module[a14_0x4488fb(0xd6)]=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x5660db=a15_0x13a9;(function(_0x2864c3,_0x5f2fd8){const _0xe2de21=a15_0x13a9,_0x38b609=_0x2864c3();while(!![]){try{const _0x3196ca=parseInt(_0xe2de21(0x23a))/0x1+-parseInt(_0xe2de21(0x1f7))/0x2*(-parseInt(_0xe2de21(0x21f))/0x3)+parseInt(_0xe2de21(0x241))/0x4+-parseInt(_0xe2de21(0x21a))/0x5+parseInt(_0xe2de21(0x23d))/0x6*(parseInt(_0xe2de21(0x204))/0x7)+parseInt(_0xe2de21(0x220))/0x8*(parseInt(_0xe2de21(0x218))/0x9)+-parseInt(_0xe2de21(0x1f9))/0xa*(parseInt(_0xe2de21(0x227))/0xb);if(_0x3196ca===_0x5f2fd8)break;else _0x38b609['push'](_0x38b609['shift']());}catch(_0x54b4a2){_0x38b609['push'](_0x38b609['shift']());}}}(a15_0x4760,0x71c5e));function a15_0x4760(){const _0xcbd363=['HookRunFinished','../../../helpers/testhub/utils','SFxUS','test_done','jest-circus/build/utils.js','../test-observability/obsReporter','jest-circus/build/state.js','HookRunStarted','hook_failure','EVENT','tHhIQ','qGPOT','getInstance','uzkQW','hook','JBWGy','ZmEJs','WWqQO','../../../helpers/helper','3083706XVawhf','kvEpI','1427355veKlRE','test_skip','forEach','cZFzw','YnjWx','432cUBPEA','16NxmONa','TestRunSkipped','../../../helpers/test-observability/utils','toISOString','shutdown','unhandledErrors','sPgDT','25366154eLEWUO','yGmEq','hook_success','setTestUUID','MVdeT','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','oUupL','test_start','errorsDetailed','cDeFq','initialize','sendTestRunEvent','RSUtr','removeTestUUID','pid','SLmym','IMHMV','uHdDZ','ncFwk','715237MsiMyC','markedStatus','beforeAll','487062fjypEV','addEventHandler',':hookAnalyticsId','includes','3204124nXhhGV','wPaNy','length','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','hookAnalyticsId','iGuiK','8506TLZMUP','HookFinished','10rJbYeT','beforeEach','removeAllListeners','run_describe_finish','test','EventHandler','registerListeners','gUggI','../../../helpers/test-observability/error-handler','name','started_at','21vYlYhY'];a15_0x4760=function(){return _0xcbd363;};return a15_0x4760();}function a15_0x13a9(_0x206fb4,_0x3d7925){const _0x47604f=a15_0x4760();return a15_0x13a9=function(_0x13a976,_0x4e7560){_0x13a976=_0x13a976-0x1f2;let _0x68ced1=_0x47604f[_0x13a976];return _0x68ced1;},a15_0x13a9(_0x206fb4,_0x3d7925);}const {requireModule}=require(a15_0x5660db(0x217)),ObservabilityReporter=require(a15_0x5660db(0x20a)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),TestDetails=require('../test-observability/test-details'),{patchConsoleLogger,debug}=require(a15_0x5660db(0x222)),{o11yErrorHandler}=require(a15_0x5660db(0x201)),{shouldProcessEventForTesthub}=require(a15_0x5660db(0x206)),testHubConstants=require('../../../helpers/testhub/constants'),exportsI=requireModule(a15_0x5660db(0x22c)),initInitialize=exportsI[a15_0x5660db(0x231)];exportsI[a15_0x5660db(0x231)]=(..._0x5873f6)=>{const _0x2c292c=a15_0x5660db,_0x235578={'KKAwv':function(_0x5f0f28,_0x424261){return _0x5f0f28(_0x424261);},'cDeFq':_0x2c292c(0x209),'yGmEq':'hook_start','wPaNy':function(_0x4331a5,_0x1893e5){return _0x4331a5(_0x1893e5);},'kvEpI':_0x2c292c(0x20c),'RSUtr':_0x2c292c(0x229),'YnjWx':function(_0x2838fd,_0x16fcc9){return _0x2838fd(_0x16fcc9);},'oUupL':_0x2c292c(0x205),'sPgDT':_0x2c292c(0x20d),'SLmym':_0x2c292c(0x23c),'JBWGy':_0x2c292c(0x1fa),'IMHMV':'afterEach','HXnii':function(_0x78e769,_0x51baa8){return _0x78e769>_0x51baa8;},'qGPOT':function(_0x1aed66,_0x4654cf){return _0x1aed66(_0x4654cf);},'SFxUS':_0x2c292c(0x22e),'uzkQW':function(_0x486a1d){return _0x486a1d();},'HdUsc':_0x2c292c(0x208),'gUggI':function(_0x393f8b,_0x1b8090){return _0x393f8b(_0x1b8090);},'tHhIQ':function(_0x3dd73f){return _0x3dd73f();},'iGuiK':_0x2c292c(0x21b),'MVdeT':function(_0x6fbea2,_0x5bc9aa){return _0x6fbea2(_0x5bc9aa);},'cZFzw':function(_0x123417){return _0x123417();},'kDxMs':_0x2c292c(0x221),'WWqQO':_0x2c292c(0x1fc),'ncFwk':'teardown','ZmEJs':function(_0x1acb84){return _0x1acb84();},'uHdDZ':_0x2c292c(0x20b),'JSyRL':function(_0x575db5,_0x10548c,_0x390a35){return _0x575db5(_0x10548c,_0x390a35);},'uqbkf':_0x2c292c(0x1fe)};try{const _0x3033f6=new ObservabilityReporter();_0x235578[_0x2c292c(0x215)](shouldProcessEventForTesthub)&&(_0x235578[_0x2c292c(0x20f)](patchConsoleLogger),_0x3033f6[_0x2c292c(0x1ff)]()),_0x235578[_0x2c292c(0x215)](shouldProcessEventForTesthub)&&_0x235578[_0x2c292c(0x200)](requireModule,_0x235578[_0x2c292c(0x238)])[_0x2c292c(0x23e)](_0x235578['JSyRL'](o11yErrorHandler,async(_0x15bf07,_0x30ffb5)=>{const _0x19c965=_0x2c292c,_0x351aac=_0x235578['KKAwv'](requireModule,_0x235578[_0x19c965(0x230)])['makeSingleTestResult'];switch(_0x15bf07[_0x19c965(0x202)]){case _0x235578[_0x19c965(0x228)]:if(_0x235578[_0x19c965(0x1f2)](shouldProcessEventForTesthub,testHubConstants[_0x19c965(0x20e)]['HookStarted'])){if(!_0x15bf07[_0x19c965(0x213)][_0x19c965(0x1f5)]){const _0x4cf39f=TestDetails[_0x19c965(0x22a)](process['pid']+_0x19c965(0x23f));_0x15bf07['hook']['hookAnalyticsId']=_0x4cf39f;}else _0x15bf07[_0x19c965(0x213)][_0x19c965(0x23b)]&&(_0x15bf07[_0x19c965(0x213)]['hookAnalyticsId']=TestDetails['setTestUUID'](process[_0x19c965(0x235)]+_0x19c965(0x23f)),delete _0x15bf07[_0x19c965(0x213)]['markedStatus']);_0x15bf07[_0x19c965(0x213)][_0x19c965(0x203)]=new Date()[_0x19c965(0x223)](),await _0x3033f6[_0x19c965(0x232)](_0x15bf07[_0x19c965(0x213)],undefined,![],_0x235578[_0x19c965(0x219)]);}break;case _0x235578[_0x19c965(0x233)]:_0x235578[_0x19c965(0x21e)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x19c965(0x1f8)])&&(await _0x3033f6['sendTestRunEvent'](_0x15bf07['hook'],undefined,![],_0x235578[_0x19c965(0x22d)]),TestDetails['removeTestUUID'](process[_0x19c965(0x235)]+_0x19c965(0x23f)));break;case _0x235578[_0x19c965(0x226)]:[_0x235578[_0x19c965(0x236)],_0x235578[_0x19c965(0x214)],_0x235578[_0x19c965(0x237)]][_0x19c965(0x240)](_0x15bf07[_0x19c965(0x213)]['type'])&&(_0x3033f6[_0x19c965(0x20d)]=_0x15bf07[_0x19c965(0x213)]['type']),_0x30ffb5[_0x19c965(0x225)]&&_0x235578['HXnii'](_0x30ffb5['unhandledErrors'][_0x19c965(0x1f3)],0x0)&&(_0x15bf07[_0x19c965(0x213)][_0x19c965(0x22f)]=[_0x30ffb5[_0x19c965(0x225)][0x0][0x0]]);_0x235578[_0x19c965(0x210)](shouldProcessEventForTesthub,testHubConstants[_0x19c965(0x20e)][_0x19c965(0x1f8)])&&(await _0x3033f6['sendTestRunEvent'](_0x15bf07['hook'],undefined,![],_0x235578[_0x19c965(0x22d)]),TestDetails[_0x19c965(0x234)](process[_0x19c965(0x235)]+':hookAnalyticsId'));break;case _0x235578[_0x19c965(0x207)]:_0x235578[_0x19c965(0x212)](shouldProcessEventForTesthub)&&await _0x3033f6['testStarted'](_0x15bf07[_0x19c965(0x1fd)]);break;case _0x235578['HdUsc']:_0x15bf07[_0x19c965(0x1fd)]={..._0x235578[_0x19c965(0x200)](_0x351aac,_0x15bf07['test']),..._0x15bf07[_0x19c965(0x1fd)]};_0x235578[_0x19c965(0x20f)](shouldProcessEventForTesthub)&&(!_0x15bf07[_0x19c965(0x1fd)][_0x19c965(0x23b)]&&(_0x15bf07[_0x19c965(0x1fd)][_0x19c965(0x23b)]=!![],await _0x3033f6[_0x19c965(0x232)](_0x15bf07['test'])));break;case _0x235578[_0x19c965(0x1f6)]:_0x15bf07[_0x19c965(0x1fd)]={..._0x235578['MVdeT'](_0x351aac,_0x15bf07[_0x19c965(0x1fd)]),..._0x15bf07[_0x19c965(0x1fd)]};_0x235578[_0x19c965(0x21d)](shouldProcessEventForTesthub)&&(!_0x15bf07[_0x19c965(0x1fd)][_0x19c965(0x23b)]&&(_0x15bf07[_0x19c965(0x1fd)][_0x19c965(0x23b)]=!![],await _0x3033f6[_0x19c965(0x232)](_0x15bf07[_0x19c965(0x1fd)],undefined,![],_0x235578['kDxMs'])));break;case _0x235578[_0x19c965(0x216)]:_0x3033f6[_0x19c965(0x20d)]=null;break;case _0x235578[_0x19c965(0x239)]:await RequestQueueHandler[_0x19c965(0x211)]()[_0x19c965(0x224)](),process[_0x19c965(0x1fb)]();break;default:}},_0x235578['uqbkf']));}catch(_0x1f65ec){_0x235578[_0x2c292c(0x21e)](debug,_0x2c292c(0x1f4)+_0x1f65ec);}return _0x235578[_0x2c292c(0x22b)](initInitialize,..._0x5873f6);};try{Object['keys'](exportsI)[a15_0x5660db(0x21c)](_0x232381=>{try{exports&&(exports[_0x232381]=exportsI[_0x232381]);}catch{}});}catch{}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a16_0x12a327=a16_0x5bee;function a16_0x15d6(){const _0x1a4cb3=['capabilities','xGtQo','PLMMZ','default','hNPby','1734192WBsgcA','../../../helpers/helper','config','parallels__','testEnvironmentOptions','723058BvEEIG','freeze','26904hbgNDq','defineProperty','981flEkCw','EtcRW','length','forEach','push','1SQYzyO','394320DqdgDr','XsOXs','slice','serial__','1249521uiXBFl','_globalConfig','JVitc','__esModule','context','1033032efLsUA','runTests','1464595TLxNnZ'];a16_0x15d6=function(){return _0x1a4cb3;};return a16_0x15d6();}(function(_0x2ad3c7,_0x1de9af){const _0x58a6a0=a16_0x5bee,_0x5949f0=_0x2ad3c7();while(!![]){try{const _0x38fb97=parseInt(_0x58a6a0(0xda))/0x1*(-parseInt(_0x58a6a0(0xf1))/0x2)+parseInt(_0x58a6a0(0xec))/0x3+parseInt(_0x58a6a0(0xdb))/0x4+-parseInt(_0x58a6a0(0xe6))/0x5+-parseInt(_0x58a6a0(0xe4))/0x6+parseInt(_0x58a6a0(0xdf))/0x7+parseInt(_0x58a6a0(0xd3))/0x8*(parseInt(_0x58a6a0(0xd5))/0x9);if(_0x38fb97===_0x1de9af)break;else _0x5949f0['push'](_0x5949f0['shift']());}catch(_0x1170e1){_0x5949f0['push'](_0x5949f0['shift']());}}}(a16_0x15d6,0x60756));function a16_0x5bee(_0x5958b5,_0x5ac9f4){const _0x15d6aa=a16_0x15d6();return a16_0x5bee=function(_0x5bee0,_0xfa94f1){_0x5bee0=_0x5bee0-0xd3;let _0x436d79=_0x15d6aa[_0x5bee0];return _0x436d79;},a16_0x5bee(_0x5958b5,_0x5ac9f4);}const {requireModule,isBrowserstackInfra}=require(a16_0x12a327(0xed)),a16_0x189edb={};a16_0x189edb['value']=!![],Object[a16_0x12a327(0xd4)](exports,a16_0x12a327(0xe2),a16_0x189edb),exports['default']=void 0x0;function _interopRequireDefault(_0x12a794){const _0x502d94=a16_0x12a327;return _0x12a794&&_0x12a794[_0x502d94(0xe2)]?_0x12a794:{'default':_0x12a794};}const JestRunner=_interopRequireDefault(requireModule('jest-runner'))[a16_0x12a327(0xea)];class TestRunner extends JestRunner{constructor(..._0x555a1b){super(..._0x555a1b);}[a16_0x12a327(0xe5)](..._0x255802){const _0x330a9c=a16_0x12a327,_0xe6d9b8={'xGtQo':function(_0x2cbca7){return _0x2cbca7();},'PLMMZ':function(_0x239bd2,_0x445556){return _0x239bd2-_0x445556;},'hNPby':function(_0x229676,_0x495971){return _0x229676*_0x495971;},'JVitc':function(_0x445adf,_0x44e34a){return _0x445adf===_0x44e34a;},'EtcRW':'false','XsOXs':function(_0x4b1772,_0x1ea61b){return _0x4b1772<_0x1ea61b;}};if(!_0xe6d9b8[_0x330a9c(0xe8)](isBrowserstackInfra))return super[_0x330a9c(0xe5)](..._0x255802);const _0x5b3cac=_0x255802[0x0],_0x4d972f=_0x255802[_0xe6d9b8[_0x330a9c(0xe9)](_0x255802[_0x330a9c(0xd7)],0x1)],_0x18d60f=_0x5b3cac[0x0]['context']['config'][_0x330a9c(0xf0)][_0x330a9c(0xe7)],_0x5d4531=_0x5b3cac[0x0][_0x330a9c(0xe3)][_0x330a9c(0xee)][_0x330a9c(0xf0)][_0x330a9c(0xef)];_0x5d4531&&(this['_globalConfig']=Object[_0x330a9c(0xf2)]({...this[_0x330a9c(0xe0)],'maxWorkers':_0xe6d9b8[_0x330a9c(0xeb)](_0x5d4531,_0x18d60f[_0x330a9c(0xd7)])}));_0xe6d9b8[_0x330a9c(0xe1)](_0x5b3cac[0x0][_0x330a9c(0xe3)][_0x330a9c(0xee)][_0x330a9c(0xf0)][_0x330a9c(0xde)],_0xe6d9b8[_0x330a9c(0xd6)])&&(_0x4d972f&&(_0x4d972f['serial']=![]));const _0x45e3f2=[];for(let _0x410663=0x0;_0xe6d9b8[_0x330a9c(0xdc)](_0x410663,_0x5b3cac[_0x330a9c(0xd7)]);_0x410663++){const _0x1de677=[];_0x18d60f[_0x330a9c(0xd8)]((_0x3f7d8c,_0x1a460d)=>{const _0x55dc1a=_0x330a9c,_0x34d5b4={..._0x5b3cac[_0x410663]},_0x3d8be1=_0x34d5b4;_0x3d8be1[_0x55dc1a(0xe3)]=Object['freeze']({..._0x3d8be1[_0x55dc1a(0xe3)],'config':{..._0x3d8be1['context']['config'],'capability':_0x3f7d8c,'browserstackPlatformIndex':_0x1a460d}}),_0x1de677[_0x55dc1a(0xd9)](_0x3d8be1);}),_0x45e3f2['push'](..._0x1de677);}return super[_0x330a9c(0xe5)](_0x45e3f2,..._0x255802[_0x330a9c(0xdd)](0x1));}}module['exports']=TestRunner;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0xa8967b=a17_0x27c5;(function(_0x55568d,_0x458f5b){const _0xb03969=a17_0x27c5,_0x595381=_0x55568d();while(!![]){try{const _0xa857a5=-parseInt(_0xb03969(0x117))/0x1+-parseInt(_0xb03969(0xce))/0x2+-parseInt(_0xb03969(0xee))/0x3+-parseInt(_0xb03969(0x12f))/0x4+parseInt(_0xb03969(0x12d))/0x5*(-parseInt(_0xb03969(0x131))/0x6)+-parseInt(_0xb03969(0x11b))/0x7+-parseInt(_0xb03969(0xd3))/0x8*(-parseInt(_0xb03969(0xdb))/0x9);if(_0xa857a5===_0x458f5b)break;else _0x595381['push'](_0x595381['shift']());}catch(_0x57a535){_0x595381['push'](_0x595381['shift']());}}}(a17_0x3882,0x2ce66));const util=require(a17_0xa8967b(0xd7)),{isTestObservabilitySession,sendPlatformDetails}=require('../../helpers/test-observability/utils'),{isBrowserstackInfra,markSessionStatus}=require(a17_0xa8967b(0xe6));let __error_messages__=[];function a17_0x27c5(_0x57097e,_0x35ec80){const _0x3882fc=a17_0x3882();return a17_0x27c5=function(_0x27c505,_0xf22439){_0x27c505=_0x27c505-0xc4;let _0x446606=_0x3882fc[_0x27c505];return _0x446606;},a17_0x27c5(_0x57097e,_0x35ec80);}const RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler');jest[a17_0xa8967b(0x110)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a17_0xa8967b(0x132)),{percyAutoCapture}=require(a17_0xa8967b(0x133)),logger=require(a17_0xa8967b(0x137))[a17_0xa8967b(0xfb)],TestDetails=require('./test-observability/test-details'),PerformanceTester=require(a17_0xa8967b(0x13e)),scripts=require(a17_0xa8967b(0xf6)),globals=require(a17_0xa8967b(0x119)),{shouldProcessEventForTesthub}=require(a17_0xa8967b(0x135)),testHubConstants=require('../../helpers/testhub/constants');globals[a17_0xa8967b(0xf1)]=browserStackGlobals;function stripUnicode(_0x5b38ab){const _0x36cc62=a17_0xa8967b;return _0x5b38ab[_0x36cc62(0x12e)](/\\u001b\[.*?m/g,'')[_0x36cc62(0x102)](0x1,-0x1);}function a17_0x3882(){const _0x58de42=['VQjTM','app','errors','983766qActPK','browserstackSessionName','log','browserStackGlobals','join','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','yHvOo','capabilities','../../helpers/accessibility-automation/scripts','WEBOr',',\x22level\x22:\x20\x22','WCOyT','mYTTw','winstonLogger','executeScript','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','ENV_VAR','name','bstackA11yShouldScan','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','slice','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','executeAsyncScript','percy','stringify','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','weKRl','appium:app','length','saveTestResults','isArray','https:','currentTest','setTimeout','swxyv','debug','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','yTMTz','GEHoL','MQguU','225603cnnUxR','pTqFb','../../helpers/globals','session_','2496592yZgvpx','now','getEnv','AazUq','getGlobal','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','zpwps','getState','env','Yvdvl','error','PHqIm','protocol','lCtkB','\x20|\x20','.\x20Error\x20:','fBfVA','dGSWe','30110bDHDfk','replace','1016920nIWfOf','krWeq','348fHbbVQ','../../helpers/accessibility-automation/helper','../../helpers/percy/utils','pCmap','../../helpers/testhub/utils','isAccessibilityPlatform','../../helpers/logger','hAnFv','itREh','MggxV','xbSWr','CrCuC','quitCount_','../../helpers/performance-tester','message','startMonitoring','uYZQq','undefined','\x22,\x22level\x22:\x20\x22error\x22}}','Failed\x20to\x20store\x20session\x20name:\x20','\x22}}','JqjWP','Rspdw','failed','passed','addReporter','eONKO','shift','initQuit','removeAllListeners','info','32766Ubzfkh','format','http:','vyioJ','ILsYZ','80oypZrY',':testAnalyticsId','currentTestName','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','util','ZcToh','testcase','ObservabilitySync:','1542582GPgjsr','Xjjbv','ljhFi','getTestUUID','nBOMN','AJbCR','failedExpectations','qfcFW','WEJdf','MvlAL','__drivers','../../helpers/helper','getInstance','FzqAi','Performing\x20scan\x20before\x20saving\x20results','pid'];a17_0x3882=function(){return _0x58de42;};return a17_0x3882();}async function setContext(){const _0x5d3feb=a17_0xa8967b,_0x51fa38={'mYTTw':function(_0x6bde86){return _0x6bde86();},'PHqIm':function(_0x23279b,_0x7a35f1){return _0x23279b!==_0x7a35f1;},'eONKO':'undefined','ZcToh':function(_0x4e7cce,_0x271b92){return _0x4e7cce>_0x271b92;},'ILsYZ':function(_0x55c2da,_0x370542){return _0x55c2da(_0x370542);},'Yvdvl':function(_0x5d921c,_0x58013f){return _0x5d921c(_0x58013f);},'vyioJ':function(_0x5335fa,_0x5567ce){return _0x5335fa>_0x5567ce;},'Xjjbv':function(_0x36df0c,_0x3f9224){return _0x36df0c(_0x3f9224);},'FzqAi':function(_0x5c437b,_0x2c8d68){return _0x5c437b(_0x2c8d68);}};if(!_0x51fa38[_0x5d3feb(0xfa)](isBrowserstackInfra))return;if(!sessionNameProvided){const _0x3a57d6=expect[_0x5d3feb(0x122)]()[_0x5d3feb(0xd5)];await __drivers[0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x3a57d6+_0x5d3feb(0x145));}let _0x4e9e4d=null,_0x47ab07=![];_0x51fa38[_0x5d3feb(0x126)](typeof jasmine,_0x51fa38[_0x5d3feb(0xc9)])?jasmine[_0x5d3feb(0x10f)][_0x5d3feb(0xe1)]&&_0x51fa38[_0x5d3feb(0xd8)](jasmine[_0x5d3feb(0x10f)][_0x5d3feb(0xe1)][_0x5d3feb(0x10b)],0x0)?(_0x47ab07=!![],_0x4e9e4d=_0x51fa38[_0x5d3feb(0xd2)](stripUnicode,JSON[_0x5d3feb(0x106)](jasmine['currentTest'][_0x5d3feb(0xe1)][0x0]['message']))):_0x4e9e4d=_0x51fa38[_0x5d3feb(0x124)](stripUnicode,JSON['stringify'](jasmine[_0x5d3feb(0x10f)]['description'])):testContext[_0x5d3feb(0xed)]&&_0x51fa38[_0x5d3feb(0xd1)](testContext[_0x5d3feb(0xed)][_0x5d3feb(0x10b)],0x0)?(_0x47ab07=!![],_0x4e9e4d=_0x51fa38[_0x5d3feb(0xdc)](stripUnicode,JSON[_0x5d3feb(0x106)](testContext[_0x5d3feb(0xed)][0x0][0x0][_0x5d3feb(0x13f)]||testContext['errors'][0x0][0x0]))):_0x4e9e4d=_0x51fa38[_0x5d3feb(0xe8)](stripUnicode,JSON[_0x5d3feb(0x106)](testContext[_0x5d3feb(0xff)])),_0x47ab07?(__error_messages__['push'](_0x4e9e4d),await __drivers[0x0][_0x5d3feb(0xfc)](_0x5d3feb(0xfd)+_0x4e9e4d+_0x5d3feb(0x143))):await __drivers[0x0][_0x5d3feb(0xfc)](_0x5d3feb(0x103)+_0x4e9e4d+'\x22,\x22level\x22:\x20\x22info\x22}}');}const executeAnnotate=async(_0x56cb29,_0x3c2eb0)=>{const _0x9fc39e=a17_0xa8967b;await global[_0x9fc39e(0xe5)][0x0][_0x9fc39e(0xfc)](_0x9fc39e(0x101)+_0x56cb29+_0x9fc39e(0xf8)+_0x3c2eb0+_0x9fc39e(0x145));};async function driverCleanup(){const _0x28041e=a17_0xa8967b,_0x1e8072={'weKRl':function(_0x2e0282){return _0x2e0282();},'yTMTz':function(_0x5a5b45,_0x5aa545){return _0x5a5b45>_0x5aa545;},'IQhua':function(_0x30e821,_0x4f0b56,_0x5bdd10,_0x38241e){return _0x30e821(_0x4f0b56,_0x5bdd10,_0x38241e);},'PoWZV':_0x28041e(0xc6),'dGSWe':_0x28041e(0x129),'WEBOr':function(_0x40e8be,_0xa8c213,_0x28b617){return _0x40e8be(_0xa8c213,_0x28b617);},'jpjZS':_0x28041e(0xc7)};if(!_0x1e8072[_0x28041e(0x109)](isBrowserstackInfra))return;let _0x18dac2=![];try{await __drivers[0x0][_0x28041e(0x11a)],_0x18dac2=!![],_0x1e8072[_0x28041e(0x114)](__error_messages__[_0x28041e(0x10b)],0x0)?await _0x1e8072['IQhua'](markSessionStatus,__drivers[0x0],_0x1e8072['PoWZV'],__error_messages__[_0x28041e(0xf2)](_0x1e8072[_0x28041e(0x12c)])):await _0x1e8072[_0x28041e(0xf7)](markSessionStatus,__drivers[0x0],_0x1e8072['jpjZS']);}catch(_0x52e9f6){console[_0x28041e(0xf0)](_0x52e9f6);}__error_messages__=[];if(_0x18dac2)try{await __drivers[0x0][_0x28041e(0xcb)]();}catch(_0x2b6a4b){console[_0x28041e(0xf0)](_0x2b6a4b);}}beforeAll(async()=>{const _0x3fe758=a17_0xa8967b,_0x1e9c3d={'BJpnc':function(_0x4563be,_0x9c679){return _0x4563be!==_0x9c679;},'QrJUh':_0x3fe758(0x142),'WCOyT':function(_0x27b9c0){return _0x27b9c0();},'AJbCR':function(_0x737726,_0x284660,_0x13e14f){return _0x737726(_0x284660,_0x13e14f);}};PerformanceTester[_0x3fe758(0x140)]();const _0x2cdd6b='browserstack internal helper hook';_0x1e9c3d['BJpnc'](typeof jasmine,_0x1e9c3d['QrJUh'])&&jasmine[_0x3fe758(0x11d)]()[_0x3fe758(0xc8)]({'specStarted':_0x2d9540=>{const _0x18ef95=_0x3fe758;jasmine[_0x18ef95(0x10f)]=_0x2d9540;}});let _0x79dc1b=![];try{await __drivers[0x0]['session_'],_0x79dc1b=!![];}catch(_0x58feb7){}if(_0x79dc1b)try{try{_0x1e9c3d[_0x3fe758(0xf9)](shouldProcessEventForTesthub)&&(global[_0x3fe758(0xe5)][0x0]&&await _0x1e9c3d[_0x3fe758(0xe0)](sendPlatformDetails,global[_0x3fe758(0xe5)][0x0],TestDetails[_0x3fe758(0xde)](process['pid']+_0x3fe758(0xd4))));}catch{}}catch(_0x21fc94){}}),beforeEach(async()=>{const _0x36a745=a17_0xa8967b,_0x29d013={'lCtkB':function(_0x48cd2a,_0x53cd39){return _0x48cd2a>_0x53cd39;},'WEJdf':function(_0x58cdd6){return _0x58cdd6();},'ZiUMD':function(_0x29c456,_0x365c69,_0x14bacf){return _0x29c456(_0x365c69,_0x14bacf);},'osoYk':_0x36a745(0x100),'yHvOo':'isAccessibilityPlatform','GEHoL':function(_0xdda320,_0x531f3b){return _0xdda320===_0x531f3b;},'CrCuC':_0x36a745(0xd0),'zpwps':_0x36a745(0x10e),'JEanW':_0x36a745(0xd6)},_0x26d751='browserstack internal helper hook';try{_0x29d013[_0x36a745(0x128)](__drivers[_0x36a745(0x10b)],0x1)&&(await _0x29d013[_0x36a745(0xe3)](driverCleanup),__drivers[_0x36a745(0xca)]());const _0x3f4d93=expect['getState']()[_0x36a745(0xd5)];try{Array[_0x36a745(0x10d)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x36a745(0xef)]=_0x3f4d93),global['browserstackSessionName']=_0x3f4d93;}catch(_0x439c3e){logger[_0x36a745(0x112)](_0x36a745(0x144)+_0x439c3e);}__drivers[0x0]['browserstackSessionName']=_0x3f4d93;_0x29d013[_0x36a745(0x128)](__drivers[0x0][_0x36a745(0x13d)],0x0)&&await _0x29d013[_0x36a745(0xe3)](driverCleanup);const _0x21b665=_0x29d013['ZiUMD'](shouldScanTestForAccessibility,_0x3f4d93,![]);__drivers[0x0][_0x36a745(0x100)]=_0x21b665,globals['setGlobal'](_0x29d013['osoYk'],_0x21b665);if(_0x29d013[_0x36a745(0xe3)](isAccessibilityAutomationSession)&&globals[_0x36a745(0x11f)](_0x29d013[_0x36a745(0xf4)]))try{const _0x51f582=await __drivers[0x0]['session_'];if(_0x51f582){let _0x5b59b4=!![];const _0x567fb6=await __drivers[0x0]['getCurrentUrl']();let _0x25df1e;try{_0x25df1e=new URL(_0x567fb6);}catch(_0x15461f){_0x5b59b4=![];}_0x5b59b4=_0x29d013[_0x36a745(0x115)](_0x25df1e[_0x36a745(0x127)],_0x29d013[_0x36a745(0x13c)])||_0x29d013['GEHoL'](_0x25df1e[_0x36a745(0x127)],_0x29d013[_0x36a745(0x121)]),_0x5b59b4&&(_0x21b665&&logger[_0x36a745(0xcd)](_0x29d013['JEanW']));}}catch(_0x4cdb07){logger[_0x36a745(0x125)](_0x36a745(0x107)+_0x4cdb07);}_0x29d013['lCtkB'](__drivers[0x0]['quitCount_'],0x0)&&await _0x29d013[_0x36a745(0xe3)](driverCleanup);}catch{}}),afterEach(async()=>{const _0x4373d7=a17_0xa8967b,_0x24a0f3={'MvlAL':function(_0x5be520,_0xaaf488){return _0x5be520>_0xaaf488;},'fBfVA':function(_0x16cb91){return _0x16cb91();},'krWeq':function(_0x472e71,_0x482bd8){return _0x472e71===_0x482bd8;},'JqjWP':_0x4373d7(0xd9),'pTqFb':_0x4373d7(0x10a),'swxyv':function(_0x12d600,_0x5b61a6,_0x36c3f2,_0x4749bd){return _0x12d600(_0x5b61a6,_0x36c3f2,_0x4749bd);},'qfcFW':function(_0x3cf8d6,_0x482598,_0x263a9b){return _0x3cf8d6(_0x482598,_0x263a9b);},'Rspdw':_0x4373d7(0x136),'tQmJL':_0x4373d7(0x100),'lkECe':_0x4373d7(0x120),'MbPKb':_0x4373d7(0xe9),'YZRSh':_0x4373d7(0x108),'MggxV':function(_0x51749e){return _0x51749e();},'hAnFv':function(_0x284888){return _0x284888();},'uYZQq':function(_0x217249,_0x1839f4,_0x17e2b3){return _0x217249(_0x1839f4,_0x17e2b3);},'itREh':_0x4373d7(0x112),'VQjTM':function(_0x594920,_0x36ae87){return _0x594920>_0x36ae87;}},_0x3fa3c0='browserstack internal helper hook';try{_0x24a0f3[_0x4373d7(0xe4)](__drivers[_0x4373d7(0x10b)],0x1)&&(await _0x24a0f3['fBfVA'](driverCleanup),__drivers[_0x4373d7(0xca)]());try{if(global[_0x4373d7(0x105)]&&_0x24a0f3[_0x4373d7(0x130)](global['percyCaptureMode'],_0x24a0f3[_0x4373d7(0xc4)])&&__drivers[0x0]){const _0x6ac1da=_0x24a0f3['MvlAL'](global[_0x4373d7(0xf5)][_0x4373d7(0x10b)],0x0)?!!global[_0x4373d7(0xf5)][0x0][_0x4373d7(0xec)]||!!global[_0x4373d7(0xf5)][0x0][_0x24a0f3[_0x4373d7(0x118)]]:![],_0x1afbe3={};_0x1afbe3[_0x4373d7(0xec)]=_0x6ac1da,await _0x24a0f3[_0x4373d7(0x111)](percyAutoCapture,__drivers[0x0],_0x24a0f3[_0x4373d7(0xc4)],_0x1afbe3);}}catch(_0x9c683b){}const _0x20c315=_0x24a0f3['qfcFW'](shouldScanTestForAccessibility,expect[_0x4373d7(0x122)]()[_0x4373d7(0xd5)],![]);try{if(_0x24a0f3[_0x4373d7(0x12b)](isAccessibilityAutomationSession)&&globals[_0x4373d7(0x11f)](_0x24a0f3[_0x4373d7(0xc5)])&&globals[_0x4373d7(0x11f)](_0x24a0f3['tQmJL'])){logger[_0x4373d7(0xcd)](_0x24a0f3['lkECe']);const _0x3e5f09={'thTestRunUuid':TestDetails[_0x4373d7(0xde)](process['pid']+_0x4373d7(0xd4)),'thBuildUuid':process['env'][testHubConstants[_0x4373d7(0xfe)]['BROWSERSTACK_TESTHUB_UUID']],'thJwtToken':process[_0x4373d7(0x123)][testHubConstants[_0x4373d7(0xfe)]['BROWSERSTACK_TESTHUB_JWT']]};logger[_0x4373d7(0x112)](_0x4373d7(0x113)+JSON[_0x4373d7(0x106)](_0x3e5f09)),logger[_0x4373d7(0x112)](_0x24a0f3['MbPKb']),logger[_0x4373d7(0x112)](util[_0x4373d7(0xcf)](await __drivers[0x0][_0x4373d7(0x104)](scripts['performScan'],{'method':expect[_0x4373d7(0x122)]()[_0x4373d7(0xd5)]}))),await __drivers[0x0]['executeAsyncScript'](scripts[_0x4373d7(0x10c)],_0x3e5f09),logger[_0x4373d7(0xcd)](_0x24a0f3['YZRSh']);}}catch(_0x151471){logger[_0x4373d7(0x125)](_0x4373d7(0xf3)+expect[_0x4373d7(0x122)]()['currentTestName']+_0x4373d7(0x12a),_0x151471);}await _0x24a0f3[_0x4373d7(0x12b)](setContext);try{if(_0x24a0f3[_0x4373d7(0x13a)](shouldProcessEventForTesthub)){global[_0x4373d7(0xe5)][0x0]&&await _0x24a0f3[_0x4373d7(0xe2)](sendPlatformDetails,global[_0x4373d7(0xe5)][0x0],TestDetails[_0x4373d7(0xde)](process[_0x4373d7(0xea)]+_0x4373d7(0xd4)));if(_0x24a0f3[_0x4373d7(0x138)](isBrowserstackInfra)){const _0x4b5b78=_0x4373d7(0xda)+Date[_0x4373d7(0x11c)]();await _0x24a0f3[_0x4373d7(0x141)](executeAnnotate,JSON[_0x4373d7(0x106)](_0x4b5b78),_0x24a0f3[_0x4373d7(0x139)]);}}}catch(_0x7009d9){}_0x24a0f3[_0x4373d7(0xeb)](__drivers[0x0][_0x4373d7(0x13d)],0x0)&&await _0x24a0f3['fBfVA'](driverCleanup);}catch{}},0x186a0),afterAll(async()=>{const _0x47bc2e=a17_0xa8967b,_0x9a7bfd={'pCmap':function(_0x209315,_0x4247da){return _0x209315<=_0x4247da;},'nBOMN':function(_0x2bf47d,_0xaae858){return _0x2bf47d(_0xaae858);},'xbSWr':function(_0x2f550e){return _0x2f550e();},'MQguU':function(_0x1fa3bf,_0x3ef915,_0x5dd94e){return _0x1fa3bf(_0x3ef915,_0x5dd94e);}};jest[_0x47bc2e(0x110)](0x186a0),PerformanceTester['pushPerfMeasures']();const _0x54be2c='browserstack internal helper hook';await new Promise(_0xfc5d04=>{const _0x1b00e4=_0x47bc2e,_0x1d4bd0={'ljhFi':function(_0x5ac866,_0x6d89a3){const _0x26514b=a17_0x27c5;return _0x9a7bfd[_0x26514b(0x134)](_0x5ac866,_0x6d89a3);},'WArCc':function(_0x4b3e0d,_0x36fc34){const _0x1b2f44=a17_0x27c5;return _0x9a7bfd[_0x1b2f44(0xdf)](_0x4b3e0d,_0x36fc34);},'AazUq':function(_0x2f9606){const _0x277d5e=a17_0x27c5;return _0x9a7bfd[_0x277d5e(0x13b)](_0x2f9606);}},_0x1abb28=_0x9a7bfd[_0x1b00e4(0x116)](setInterval,async()=>{const _0x216148=_0x1b00e4;_0x1d4bd0[_0x216148(0xdd)](RequestQueueHandler[_0x216148(0xe7)]()['pendingUploads'],0x0)&&(_0x1d4bd0['WArCc'](clearInterval,_0x1abb28),_0x1d4bd0[_0x216148(0x11e)](_0xfc5d04));},0x3e8);});try{await _0x9a7bfd['xbSWr'](driverCleanup);}catch(_0x42bc2c){}process[_0x47bc2e(0xcc)]();},0x2710);
|
|
1
|
+
function a17_0x10a8(_0x1b3513,_0x2a5f24){const _0x5c0102=a17_0x5c01();return a17_0x10a8=function(_0x10a8b2,_0x28b243){_0x10a8b2=_0x10a8b2-0xa1;let _0x1f196a=_0x5c0102[_0x10a8b2];return _0x1f196a;},a17_0x10a8(_0x1b3513,_0x2a5f24);}const a17_0x2f8daa=a17_0x10a8;(function(_0x5ebb64,_0x452172){const _0x2a4537=a17_0x10a8,_0x4a0401=_0x5ebb64();while(!![]){try{const _0x44e35b=-parseInt(_0x2a4537(0x115))/0x1*(parseInt(_0x2a4537(0x107))/0x2)+-parseInt(_0x2a4537(0xae))/0x3+parseInt(_0x2a4537(0xdc))/0x4+-parseInt(_0x2a4537(0xfb))/0x5*(parseInt(_0x2a4537(0xe0))/0x6)+parseInt(_0x2a4537(0xc6))/0x7+parseInt(_0x2a4537(0xc4))/0x8*(parseInt(_0x2a4537(0xf2))/0x9)+parseInt(_0x2a4537(0xb5))/0xa*(parseInt(_0x2a4537(0xc9))/0xb);if(_0x44e35b===_0x452172)break;else _0x4a0401['push'](_0x4a0401['shift']());}catch(_0xe7babc){_0x4a0401['push'](_0x4a0401['shift']());}}}(a17_0x5c01,0x45cdb));const util=require(a17_0x2f8daa(0xec)),{isTestObservabilitySession,sendPlatformDetails}=require(a17_0x2f8daa(0x106)),{isBrowserstackInfra,markSessionStatus}=require(a17_0x2f8daa(0xb7));let __error_messages__=[];const RequestQueueHandler=require(a17_0x2f8daa(0x109));jest[a17_0x2f8daa(0xa5)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a17_0x2f8daa(0xc5)),logger=require(a17_0x2f8daa(0x10f))[a17_0x2f8daa(0xba)],TestDetails=require(a17_0x2f8daa(0x122)),PerformanceTester=require(a17_0x2f8daa(0xdd)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a17_0x2f8daa(0xd4)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a17_0x2f8daa(0x11a));globals[a17_0x2f8daa(0xc1)]=browserStackGlobals;function stripUnicode(_0xbc8113){const _0x4a5056=a17_0x2f8daa;return _0xbc8113['replace'](/\\u001b\[.*?m/g,'')[_0x4a5056(0xfd)](0x1,-0x1);}function a17_0x5c01(){const _0x5559bc=['pushPerfMeasures','26050cxwYMd','tYDeI','../../helpers/helper','startMonitoring','executeAsyncScript','winstonLogger','saveTestResults','isArray','session_','log','cPjxd','Gagwb','browserStackGlobals','BRqoZ','errors','177312jyQWzc','../../helpers/percy/utils','503902eDfvMP','iHDWJ','undefined','4026fHyNBk','length','oiikV','TVoOX','Failed\x20to\x20store\x20session\x20name:\x20','error','vtRGJ','format','rIvGz','executeScript','currentTest','../../helpers/globals','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','percy','getInstance','pWgio','join','IaQjL','YfIye','1771516bENGct','../../helpers/performance-tester','bBEpl','protocol','66KtgOox','\x20|\x20',':testAnalyticsId','failedExpectations','yZxzT','getCurrentUrl','appium:app','getEnv','gvHPq','percyCaptureMode','info','HppYc','util','fyiKd','now','browserstackSessionName','http:','pid','9lmrDNj','debug','ouKuA','\x22,\x22level\x22:\x20\x22error\x22}}','shift','uNscv','push','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','https:','90575CcLwgP','zjbHY','slice','oIzRS','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','bstackA11yShouldScan','LLGiZ','xuykw','getTestUUID','ENV_VAR','BROWSERSTACK_TESTHUB_UUID','../../helpers/test-observability/utils','20mVoXLF','NVAtm','../../helpers/test-observability/requestQueueHandler','VBlVE','IRoYW','description','stringify','currentTestName','../../helpers/logger','dRFgq','quitCount_','addReporter','getGlobal','BROWSERSTACK_TESTHUB_JWT','55866ZMBlYD','adzhQ','WNvxg','PKhJQ','ObservabilitySync:','../../helpers/testhub/constants','removeAllListeners','capabilities','UyZXL','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','.\x20Error\x20:','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','boenJ','./test-observability/test-details','EnmWj','failed','pendingUploads','app','setTimeout','message','VwgGC','__drivers','getState','goVvX','WLLit','env','VEWaC','1339857HSTphn','initQuit','FWxnd','\x22}}','Nrfri','suOpU'];a17_0x5c01=function(){return _0x5559bc;};return a17_0x5c01();}async function setContext(){const _0x597f8e=a17_0x2f8daa,_0x1d4a6c={'UyZXL':function(_0x1e8161){return _0x1e8161();},'WNvxg':function(_0x18d42f,_0x1b6b31){return _0x18d42f!==_0x1b6b31;},'uNscv':'undefined','adzhQ':function(_0x5adb00,_0x239671){return _0x5adb00>_0x239671;},'Gagwb':function(_0x403b3b,_0x2b9f4d){return _0x403b3b(_0x2b9f4d);},'xrMqF':function(_0x290694,_0x46622e){return _0x290694(_0x46622e);},'BRqoZ':function(_0x2f1fc5,_0x52041f){return _0x2f1fc5(_0x52041f);},'goVvX':function(_0x201e99,_0x100288){return _0x201e99(_0x100288);}};if(!_0x1d4a6c[_0x597f8e(0x11d)](isBrowserstackInfra))return;if(!sessionNameProvided){const _0x1f6c21=expect['getState']()[_0x597f8e(0x10e)];await __drivers[0x0][_0x597f8e(0xd2)](_0x597f8e(0x11e)+_0x1f6c21+_0x597f8e(0xb1));}let _0x5a259a=null,_0x3b6581=![];_0x1d4a6c[_0x597f8e(0x117)](typeof jasmine,_0x1d4a6c[_0x597f8e(0xf7)])?jasmine[_0x597f8e(0xd3)]['failedExpectations']&&_0x1d4a6c[_0x597f8e(0x116)](jasmine[_0x597f8e(0xd3)][_0x597f8e(0xe3)][_0x597f8e(0xca)],0x0)?(_0x3b6581=!![],_0x5a259a=_0x1d4a6c[_0x597f8e(0xc0)](stripUnicode,JSON[_0x597f8e(0x10d)](jasmine['currentTest']['failedExpectations'][0x0][_0x597f8e(0xa6)]))):_0x5a259a=_0x1d4a6c['xrMqF'](stripUnicode,JSON[_0x597f8e(0x10d)](jasmine[_0x597f8e(0xd3)][_0x597f8e(0x10c)])):testContext[_0x597f8e(0xc3)]&&_0x1d4a6c[_0x597f8e(0x116)](testContext['errors'][_0x597f8e(0xca)],0x0)?(_0x3b6581=!![],_0x5a259a=_0x1d4a6c[_0x597f8e(0xc2)](stripUnicode,JSON[_0x597f8e(0x10d)](testContext['errors'][0x0][0x0]['message']||testContext[_0x597f8e(0xc3)][0x0][0x0]))):_0x5a259a=_0x1d4a6c[_0x597f8e(0xaa)](stripUnicode,JSON[_0x597f8e(0x10d)](testContext['name'])),_0x3b6581?(__error_messages__[_0x597f8e(0xf8)](_0x5a259a),await __drivers[0x0]['executeScript'](_0x597f8e(0xf9)+_0x5a259a+_0x597f8e(0xf5))):await __drivers[0x0][_0x597f8e(0xd2)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20'+_0x5a259a+'\x22,\x22level\x22:\x20\x22info\x22}}');}const executeAnnotate=async(_0x6be443,_0x2db90a)=>{const _0x2260d8=a17_0x2f8daa;await global['__drivers'][0x0][_0x2260d8(0xd2)](_0x2260d8(0xff)+_0x6be443+',\x22level\x22:\x20\x22'+_0x2db90a+_0x2260d8(0xb1));};async function driverCleanup(){const _0x250161=a17_0x2f8daa,_0x5c8333={'boenJ':function(_0x4f92e8){return _0x4f92e8();},'yhhNe':function(_0x27f8f9,_0x40aa3d){return _0x27f8f9>_0x40aa3d;},'pWgio':function(_0x2b7e41,_0x570e63,_0x5f1506,_0x40944a){return _0x2b7e41(_0x570e63,_0x5f1506,_0x40944a);},'FWxnd':_0x250161(0xa2),'SsmqL':_0x250161(0xe1),'dRFgq':function(_0x1cc793,_0x157549,_0x286b0a){return _0x1cc793(_0x157549,_0x286b0a);},'VBlVE':'passed'};if(!_0x5c8333[_0x250161(0x121)](isBrowserstackInfra))return;let _0x1cc0b7=![];try{await __drivers[0x0][_0x250161(0xbd)],_0x1cc0b7=!![],_0x5c8333['yhhNe'](__error_messages__[_0x250161(0xca)],0x0)?await _0x5c8333[_0x250161(0xd8)](markSessionStatus,__drivers[0x0],_0x5c8333[_0x250161(0xb0)],__error_messages__[_0x250161(0xd9)](_0x5c8333['SsmqL'])):await _0x5c8333[_0x250161(0x110)](markSessionStatus,__drivers[0x0],_0x5c8333[_0x250161(0x10a)]);}catch(_0x904259){console['log'](_0x904259);}__error_messages__=[];if(_0x1cc0b7)try{await __drivers[0x0][_0x250161(0xaf)]();}catch(_0x432db6){console[_0x250161(0xbe)](_0x432db6);}}beforeAll(async()=>{const _0x3aada0=a17_0x2f8daa,_0x4dd6e6={'NpfHC':function(_0x360401,_0x1ed6b2){return _0x360401!==_0x1ed6b2;},'PJvwQ':_0x3aada0(0xc8),'pFTzC':function(_0x40d126){return _0x40d126();},'WLLit':function(_0x34b974,_0x2e12fc,_0x246fa9){return _0x34b974(_0x2e12fc,_0x246fa9);}};PerformanceTester[_0x3aada0(0xb8)]();const _0x59494a='browserstack internal helper hook';_0x4dd6e6['NpfHC'](typeof jasmine,_0x4dd6e6['PJvwQ'])&&jasmine[_0x3aada0(0xe7)]()[_0x3aada0(0x112)]({'specStarted':_0x20cb3f=>{const _0x5a25f8=_0x3aada0;jasmine[_0x5a25f8(0xd3)]=_0x20cb3f;}});let _0x30509d=![];try{await __drivers[0x0][_0x3aada0(0xbd)],_0x30509d=!![];}catch(_0x46aa4a){}if(_0x30509d)try{try{_0x4dd6e6['pFTzC'](shouldProcessEventForTesthub)&&(global[_0x3aada0(0xa8)][0x0]&&await _0x4dd6e6[_0x3aada0(0xab)](sendPlatformDetails,global[_0x3aada0(0xa8)][0x0],TestDetails[_0x3aada0(0x103)](process[_0x3aada0(0xf1)]+_0x3aada0(0xe2))));}catch{}}catch(_0x40f939){}}),beforeEach(async()=>{const _0x5d0c9c=a17_0x2f8daa,_0x2dab51={'fyiKd':function(_0x1899f7,_0x3e8ca2){return _0x1899f7>_0x3e8ca2;},'bBEpl':function(_0x68e488){return _0x68e488();},'TVoOX':function(_0x24d2b2,_0x148366){return _0x24d2b2>_0x148366;},'zjbHY':function(_0x4e86a5){return _0x4e86a5();},'hRerO':function(_0x2eb3a6,_0x22ed4a,_0x4289a8){return _0x2eb3a6(_0x22ed4a,_0x4289a8);},'Nrfri':_0x5d0c9c(0x100),'VwgGC':'isAccessibilityPlatform','VEWaC':function(_0x303fc0,_0x2e70ec){return _0x303fc0===_0x2e70ec;},'xbOlJ':_0x5d0c9c(0xf0),'cPjxd':_0x5d0c9c(0xfa),'LLGiZ':_0x5d0c9c(0x120)},_0x3816a2='browserstack internal helper hook';try{_0x2dab51[_0x5d0c9c(0xed)](__drivers[_0x5d0c9c(0xca)],0x1)&&(await _0x2dab51[_0x5d0c9c(0xde)](driverCleanup),__drivers['shift']());const _0x2daa25=expect[_0x5d0c9c(0xa9)]()[_0x5d0c9c(0x10e)];try{Array[_0x5d0c9c(0xbc)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x5d0c9c(0xef)]=_0x2daa25),global[_0x5d0c9c(0xef)]=_0x2daa25;}catch(_0x3926bf){logger[_0x5d0c9c(0xf3)](_0x5d0c9c(0xcd)+_0x3926bf);}__drivers[0x0]['browserstackSessionName']=_0x2daa25;_0x2dab51[_0x5d0c9c(0xcc)](__drivers[0x0]['quitCount_'],0x0)&&await _0x2dab51['zjbHY'](driverCleanup);const _0x45f9fa=_0x2dab51['hRerO'](shouldScanTestForAccessibility,_0x2daa25,![]);__drivers[0x0]['bstackA11yShouldScan']=_0x45f9fa,globals['setGlobal'](_0x2dab51[_0x5d0c9c(0xb2)],_0x45f9fa);if(_0x2dab51[_0x5d0c9c(0xfc)](isAccessibilityAutomationSession)&&globals[_0x5d0c9c(0x113)](_0x2dab51[_0x5d0c9c(0xa7)]))try{const _0x23a508=await __drivers[0x0][_0x5d0c9c(0xbd)];if(_0x23a508){let _0x805422=!![];const _0x29f3b3=await __drivers[0x0][_0x5d0c9c(0xe5)]();let _0x32bb47;try{_0x32bb47=new URL(_0x29f3b3);}catch(_0x384ea8){_0x805422=![];}_0x805422=_0x2dab51[_0x5d0c9c(0xad)](_0x32bb47['protocol'],_0x2dab51['xbOlJ'])||_0x2dab51[_0x5d0c9c(0xad)](_0x32bb47[_0x5d0c9c(0xdf)],_0x2dab51[_0x5d0c9c(0xbf)]),_0x805422&&(_0x45f9fa&&logger[_0x5d0c9c(0xea)](_0x2dab51[_0x5d0c9c(0x101)]));}}catch(_0x2b26d5){logger[_0x5d0c9c(0xce)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+_0x2b26d5);}_0x2dab51[_0x5d0c9c(0xed)](__drivers[0x0][_0x5d0c9c(0x111)],0x0)&&await _0x2dab51[_0x5d0c9c(0xfc)](driverCleanup);}catch{}}),afterEach(async()=>{const _0x4cec47=a17_0x2f8daa,_0x2d7b7b={'oIzRS':function(_0x551e78,_0x39d75d){return _0x551e78>_0x39d75d;},'ouKuA':function(_0xcde9dd){return _0xcde9dd();},'IaQjL':function(_0xa7230,_0x4afb8f){return _0xa7230===_0x4afb8f;},'rIvGz':'testcase','oiikV':function(_0x22876f,_0xfb33cf){return _0x22876f>_0xfb33cf;},'MjfVQ':_0x4cec47(0xe6),'HppYc':function(_0x108e88,_0x12f81d,_0x355cb6,_0x1ccdd3){return _0x108e88(_0x12f81d,_0x355cb6,_0x1ccdd3);},'yZxzT':function(_0x131c9d,_0x1af4ec,_0x15def2){return _0x131c9d(_0x1af4ec,_0x15def2);},'tYDeI':'isAccessibilityPlatform','gvHPq':_0x4cec47(0x100),'NVAtm':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','PKhJQ':'Performing\x20scan\x20before\x20saving\x20results','kcGpG':_0x4cec47(0xd5),'xuykw':function(_0x3bc5b9){return _0x3bc5b9();},'YfIye':function(_0x2f4c8c,_0x2c471f,_0x15e0f4){return _0x2f4c8c(_0x2c471f,_0x15e0f4);},'iHDWJ':_0x4cec47(0xf3)},_0x1f2caa='browserstack internal helper hook';try{_0x2d7b7b[_0x4cec47(0xfe)](__drivers[_0x4cec47(0xca)],0x1)&&(await _0x2d7b7b[_0x4cec47(0xf4)](driverCleanup),__drivers[_0x4cec47(0xf6)]());try{if(global[_0x4cec47(0xd6)]&&_0x2d7b7b[_0x4cec47(0xda)](global[_0x4cec47(0xe9)],_0x2d7b7b[_0x4cec47(0xd1)])&&__drivers[0x0]){const _0x29fac4=_0x2d7b7b[_0x4cec47(0xcb)](global['capabilities'][_0x4cec47(0xca)],0x0)?!!global[_0x4cec47(0x11c)][0x0]['app']||!!global['capabilities'][0x0][_0x2d7b7b['MjfVQ']]:![],_0x4f3eb1={};_0x4f3eb1[_0x4cec47(0xa4)]=_0x29fac4,await _0x2d7b7b[_0x4cec47(0xeb)](percyAutoCapture,__drivers[0x0],_0x2d7b7b[_0x4cec47(0xd1)],_0x4f3eb1);}}catch(_0x42aea9){}const _0x1c110c=_0x2d7b7b[_0x4cec47(0xe4)](shouldScanTestForAccessibility,expect[_0x4cec47(0xa9)]()[_0x4cec47(0x10e)],![]);try{if(_0x2d7b7b[_0x4cec47(0xf4)](isAccessibilityAutomationSession)&&globals[_0x4cec47(0x113)](_0x2d7b7b[_0x4cec47(0xb6)])&&globals[_0x4cec47(0x113)](_0x2d7b7b[_0x4cec47(0xe8)])){logger[_0x4cec47(0xea)](_0x2d7b7b[_0x4cec47(0x108)]);const _0x42ab2c={'thTestRunUuid':TestDetails[_0x4cec47(0x103)](process['pid']+':testAnalyticsId'),'thBuildUuid':process['env'][testHubConstants[_0x4cec47(0x104)][_0x4cec47(0x105)]],'thJwtToken':process[_0x4cec47(0xac)][testHubConstants[_0x4cec47(0x104)][_0x4cec47(0x114)]]};logger[_0x4cec47(0xf3)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x4cec47(0x10d)](_0x42ab2c)),logger[_0x4cec47(0xf3)](_0x2d7b7b[_0x4cec47(0x118)]),logger[_0x4cec47(0xf3)](util[_0x4cec47(0xd0)](await __drivers[0x0][_0x4cec47(0xb9)](scripts['performScan'],{'method':expect['getState']()[_0x4cec47(0x10e)]}))),await __drivers[0x0][_0x4cec47(0xb9)](scripts[_0x4cec47(0xbb)],_0x42ab2c),logger[_0x4cec47(0xea)](_0x2d7b7b['kcGpG']);}}catch(_0x408142){logger[_0x4cec47(0xce)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+expect[_0x4cec47(0xa9)]()['currentTestName']+_0x4cec47(0x11f),_0x408142);}await _0x2d7b7b[_0x4cec47(0x102)](setContext);try{if(_0x2d7b7b[_0x4cec47(0xf4)](shouldProcessEventForTesthub)){global[_0x4cec47(0xa8)][0x0]&&await _0x2d7b7b[_0x4cec47(0xe4)](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x4cec47(0x103)](process[_0x4cec47(0xf1)]+_0x4cec47(0xe2)));if(_0x2d7b7b['xuykw'](isBrowserstackInfra)){const _0x1b3ae1=_0x4cec47(0x119)+Date[_0x4cec47(0xee)]();await _0x2d7b7b[_0x4cec47(0xdb)](executeAnnotate,JSON[_0x4cec47(0x10d)](_0x1b3ae1),_0x2d7b7b[_0x4cec47(0xc7)]);}}}catch(_0x2ec63d){}_0x2d7b7b[_0x4cec47(0xcb)](__drivers[0x0][_0x4cec47(0x111)],0x0)&&await _0x2d7b7b['ouKuA'](driverCleanup);}catch{}},0x186a0),afterAll(async()=>{const _0x335f05=a17_0x2f8daa,_0x4e268d={'yqvaN':function(_0x2e6bba,_0x587516){return _0x2e6bba<=_0x587516;},'IRoYW':function(_0x3448d6,_0x29729c){return _0x3448d6(_0x29729c);},'EnmWj':function(_0x3ed360){return _0x3ed360();},'ZWsBW':function(_0xe99c1c,_0x21d26c,_0x31b6a0){return _0xe99c1c(_0x21d26c,_0x31b6a0);}};jest['setTimeout'](0x186a0),PerformanceTester[_0x335f05(0xb4)]();const _0x18ce0f='browserstack internal helper hook';await new Promise(_0xb5adc4=>{const _0x1aa155={'suOpU':function(_0x2ae796,_0x1f4669){return _0x4e268d['yqvaN'](_0x2ae796,_0x1f4669);},'poVfU':function(_0x430af7,_0x25d42f){const _0x530062=a17_0x10a8;return _0x4e268d[_0x530062(0x10b)](_0x430af7,_0x25d42f);},'vtRGJ':function(_0x347e3a){const _0x3b55e0=a17_0x10a8;return _0x4e268d[_0x3b55e0(0xa1)](_0x347e3a);}},_0x336025=_0x4e268d['ZWsBW'](setInterval,async()=>{const _0x4bad98=a17_0x10a8;_0x1aa155[_0x4bad98(0xb3)](RequestQueueHandler[_0x4bad98(0xd7)]()[_0x4bad98(0xa3)],0x0)&&(_0x1aa155['poVfU'](clearInterval,_0x336025),_0x1aa155[_0x4bad98(0xcf)](_0xb5adc4));},0x3e8);});try{await _0x4e268d[_0x335f05(0xa1)](driverCleanup);}catch(_0xa8bd5){}process[_0x335f05(0x11b)]();},0x2710);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18_0x116562=a18_0x5e78;(function(_0x44f65e,_0x437c60){const _0x168497=a18_0x5e78,_0x2bdb0f=_0x44f65e();while(!![]){try{const _0x5f8b0d=-parseInt(_0x168497(0x1e3))/0x1+-parseInt(_0x168497(0x1e4))/0x2+parseInt(_0x168497(0x1dd))/0x3+parseInt(_0x168497(0x1e2))/0x4+-parseInt(_0x168497(0x1dc))/0x5*(parseInt(_0x168497(0x1da))/0x6)+-parseInt(_0x168497(0x1e5))/0x7*(-parseInt(_0x168497(0x1e1))/0x8)+-parseInt(_0x168497(0x1d9))/0x9;if(_0x5f8b0d===_0x437c60)break;else _0x2bdb0f['push'](_0x2bdb0f['shift']());}catch(_0x31c3ff){_0x2bdb0f['push'](_0x2bdb0f['shift']());}}}(a18_0x4494,0x87729));function a18_0x5e78(_0x1154d3,_0x10154b){const _0x449439=a18_0x4494();return a18_0x5e78=function(_0x5e78d2,_0x32c9c4){_0x5e78d2=_0x5e78d2-0x1d9;let _0x14ac5f=_0x449439[_0x5e78d2];return _0x14ac5f;},a18_0x5e78(_0x1154d3,_0x10154b);}const requestSpy=require(a18_0x116562(0x1de)),{addRequestSpy}=require(a18_0x116562(0x1db));beforeAll(()=>{const _0x52b988=a18_0x116562,_0x4f7e9f={'vZfdk':function(_0x21c464){return _0x21c464();}},_0x456ae6='browserstack internal helper hook';_0x4f7e9f[_0x52b988(0x1df)](addRequestSpy);}),afterAll(async()=>{const _0x2438ed=a18_0x116562,_0x361550='browserstack internal helper hook';jest[_0x2438ed(0x1e0)](0xea60),requestSpy['restore']();});function a18_0x4494(){const _0x597e07=['232yhviZH','2883888kkxAgv','591840VXwhUX','1724618vqGqJR','196609GRqQEf','1795329cjFkaS','2564418dNIOSP','../../../helpers/test-observability/utils','5xXOzXm','3300993ufXcgd','../../../helpers/request-spy','vZfdk','setTimeout'];a18_0x4494=function(){return _0x597e07;};return a18_0x4494();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x452adb=a19_0x5b86;function a19_0x5b86(_0x22a049,_0x5077cb){const _0x1c21d6=a19_0x1c21();return a19_0x5b86=function(_0x5b8692,_0x26294b){_0x5b8692=_0x5b8692-0x106;let _0x19ee37=_0x1c21d6[_0x5b8692];return _0x19ee37;},a19_0x5b86(_0x22a049,_0x5077cb);}(function(_0x1a73d8,_0x15af44){const _0x21ba6d=a19_0x5b86,_0x5335d4=_0x1a73d8();while(!![]){try{const _0x302a1f=-parseInt(_0x21ba6d(0x10c))/0x1+-parseInt(_0x21ba6d(0x10d))/0x2+-parseInt(_0x21ba6d(0x11d))/0x3+-parseInt(_0x21ba6d(0x10e))/0x4*(-parseInt(_0x21ba6d(0x10b))/0x5)+-parseInt(_0x21ba6d(0x10a))/0x6*(parseInt(_0x21ba6d(0x110))/0x7)+parseInt(_0x21ba6d(0x11b))/0x8*(parseInt(_0x21ba6d(0x10f))/0x9)+parseInt(_0x21ba6d(0x116))/0xa*(parseInt(_0x21ba6d(0x117))/0xb);if(_0x302a1f===_0x15af44)break;else _0x5335d4['push'](_0x5335d4['shift']());}catch(_0x3018d3){_0x5335d4['push'](_0x5335d4['shift']());}}}(a19_0x1c21,0xa3213));const testOpsHelper=require(a19_0x452adb(0x11e)),helper=require(a19_0x452adb(0x120));function a19_0x1c21(){const _0x554939=['5687apFdrN','isUndefined','trim','rerunTests','392976qlDGYr','cliConfig','3484101yrEzrH','../../../helpers/test-observability/utils','VfyXJ','../../../helpers/helper','testRegex','auKBT','has','cNGzu','BROWSERSTACK_RERUN_TESTS','6fbzlMf','375LYHXfG','645602CACHJP','665098JsqrAJ','58364zoIibC','18BiSSsL','8493653QsHjbf','shouldReRunObservabilityTests','Oqmlf','get','length','testMatch','54710rkJPeX'];a19_0x1c21=function(){return _0x554939;};return a19_0x1c21();}exports['updateTestRerunConfig']=(_0x5de04c,_0x226613)=>{const _0x4120f1=a19_0x452adb,_0x5e8088={};_0x5e8088[_0x4120f1(0x112)]=_0x4120f1(0x11a),_0x5e8088[_0x4120f1(0x11f)]=function(_0x2a62d4,_0x3a5f1f){return _0x2a62d4!==_0x3a5f1f;},_0x5e8088[_0x4120f1(0x108)]='null',_0x5e8088['HCtGY']=function(_0x4a0058,_0x16fca3){return _0x4a0058!==_0x16fca3;},_0x5e8088[_0x4120f1(0x106)]=function(_0x21493d,_0x168ca4){return _0x21493d>_0x168ca4;};const _0x35216b=_0x5e8088;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x4120f1(0x111)]()){let _0x1d7203=process['env'][_0x4120f1(0x109)];!helper[_0x4120f1(0x118)](_0x226613[_0x4120f1(0x11c)])&&_0x226613['cliConfig'][_0x4120f1(0x107)](_0x35216b['Oqmlf'])&&(_0x1d7203=_0x226613[_0x4120f1(0x11c)][_0x4120f1(0x113)](_0x35216b[_0x4120f1(0x112)]));const _0x5a9dc3=[];_0x35216b[_0x4120f1(0x11f)](_0x1d7203,_0x35216b[_0x4120f1(0x108)])&&_0x35216b['HCtGY'](_0x1d7203,null)&&_0x1d7203['split'](',')['map'](_0x58b507=>{const _0x248e36=_0x4120f1;_0x5a9dc3['push'](''+_0x58b507[_0x248e36(0x119)]());}),_0x35216b[_0x4120f1(0x106)](_0x5a9dc3[_0x4120f1(0x114)],0x0)&&(_0x5de04c[_0x4120f1(0x121)]=_0x5a9dc3,delete _0x5de04c[_0x4120f1(0x115)]);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a20_0xe8d6d0=a20_0x20e1;(function(_0x2ff05d,_0x10d544){const _0x23ca05=a20_0x20e1,_0x588752=_0x2ff05d();while(!![]){try{const _0x1dd8f2=parseInt(_0x23ca05(0x21b))/0x1*(-parseInt(_0x23ca05(0x1cb))/0x2)+parseInt(_0x23ca05(0x1ac))/0x3*(-parseInt(_0x23ca05(0x154))/0x4)+parseInt(_0x23ca05(0x195))/0x5+parseInt(_0x23ca05(0x155))/0x6*(-parseInt(_0x23ca05(0x15f))/0x7)+parseInt(_0x23ca05(0x192))/0x8*(-parseInt(_0x23ca05(0x161))/0x9)+-parseInt(_0x23ca05(0x1d0))/0xa+parseInt(_0x23ca05(0x1ad))/0xb*(parseInt(_0x23ca05(0x1c5))/0xc);if(_0x1dd8f2===_0x10d544)break;else _0x588752['push'](_0x588752['shift']());}catch(_0x1d13ff){_0x588752['push'](_0x588752['shift']());}}}(a20_0x2019,0x9e009));function a20_0x2019(){const _0x3909cf=['getName','IVtWl','getFileName','\x22\x20hook\x20for\x20\x22','markedStatus','WMYSA','getHooksForTest','TestRunFinished','getTime','analyticsResult','ObservabilityReporter','testObservability','failed','uploadEventData','cPxxX','bind','hook_run_uuid','ehsjF','asyncError','\x20with\x20error\x20:\x20','43463496ZOMxNG','hook_failure','test_run_uuid','zCdTF','registerListeners','_testEnv','306732lIcduW','OMyrH','toString','resetTestHooks','title','10594890GYKFOY','err','call','eMMzf','muEiv','3|1|4|0|2','sendTestRunEvent','appendTestItemLog','failed\x20to\x20get\x20root\x20parent\x20file\x20','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','QuLlL','config','removeAllListeners','jCbgB','RtrmZ','HookRunFinished','_testResults','AIvoq','xIZai','findGitConfig','../../utils/constants','dqppd','retryOf','UbPKD','UnDmR','configureGit','logs','XLsdU','finished_at','lxZhD','result','current_hook','TestRunStarted','aMfcE','AkXxT','split','WKGxJ','xmbQC','SZyhz','VUsyE','jest-circus','ROOT_DESCRIBE_BLOCK','gofMb','WRwPb',':hookAnalyticsId','ovlVg','length','started_at','dirname','kEQjp','BOxRP','../../../helpers/helper','_paths','KPWNa','STATE_FAILED','OMraY','eClhn','QHYbh','kRYXm','javascript','testAnalyticsId','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','mapTestHooks','duration','http_response','LymQM',':testAnalyticsId','testStarted','cwd','hook_type','../../../helpers/test-observability/sessionHandler','upCBb','bybWT','JEST','STATE_PASSED','3DSdgNO','STATE_PENDING','gazoC','hookAnalyticsId','./test-details','2228ZSCTEp','1221252TfsYfV','type','MSLWA','../../../helpers/test-observability/utils','exports','../../../../package.json','push','AvymD','errorsDetailed','toISOString','21lIlzsc','stack-trace','3879yNcGgU','statSync','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','name','test_run','0|5|3|1|4|2|6','state','skipped','HMzjr','forEach','match','yxouR','aRwFP','location_prefix','failure_reason_expanded','file','hook_data','setTestUUID','apply','hYrsU','getTestUUID','relative','afterEach','beforeEach','parent','uNdZt','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','RumTM','afterAll','expanded','tgZHn','_gitConfigured','current_test','test','reverse','bs:addPlatformDetails:','event_type','lKMau','dGtfB','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','TjCSk','spZJh','pid','includes','LSbHO','uuid','failure_type','getTestEnv','backtrace','11720BreNCw','VZrRT','bHXSR','4830080EiCByS','failure_reason','failure','RcXOF','xAQNW','hIOTr','appendTestPlatform','kIzwx','_gitConfigPath','passed','path','isJestInternalHook','../../../helpers/testhub/utils','root','generic','yHzes','util','hooks','uFMiF','getRootParentFile','CBTSessionCreated','join','beforeAll','6351MrkWCV','11ubVcca','bs:addLog:','parse','yOgRj'];a20_0x2019=function(){return _0x3909cf;};return a20_0x2019();}const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a20_0xe8d6d0(0x158)),SessionHandler=require(a20_0xe8d6d0(0x216)),{v4:uuidv4}=require(a20_0xe8d6d0(0x18e)),{name,version}=require(a20_0xe8d6d0(0x15a)),stackTrace=require(a20_0xe8d6d0(0x160)),path=require(a20_0xe8d6d0(0x19f)),fs=require('fs'),TestDetails=require(a20_0xe8d6d0(0x153)),{FRAMEWORKS}=require(a20_0xe8d6d0(0x1e4)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),{getGitMetaData}=require(a20_0xe8d6d0(0x203)),{appendTesthubParams,setCurrentTestData}=require(a20_0xe8d6d0(0x1a1)),a20_0x4f5a12={};a20_0x4f5a12[a20_0xe8d6d0(0x21a)]=a20_0xe8d6d0(0x19e),a20_0x4f5a12[a20_0xe8d6d0(0x206)]=a20_0xe8d6d0(0x1bd),a20_0x4f5a12[a20_0xe8d6d0(0x21c)]='pending';const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a20_0x4f5a12,a20_0x44e2e2={};function a20_0x20e1(_0x40618d,_0x48d260){const _0x201999=a20_0x2019();return a20_0x20e1=function(_0x20e194,_0x3ba507){_0x20e194=_0x20e194-0x151;let _0x1658db=_0x201999[_0x20e194];return _0x1658db;},a20_0x20e1(_0x40618d,_0x48d260);}a20_0x44e2e2['beforeAll']='BEFORE_ALL',a20_0x44e2e2[a20_0xe8d6d0(0x17d)]='AFTER_ALL',a20_0x44e2e2[a20_0xe8d6d0(0x178)]='BEFORE_EACH',a20_0x44e2e2[a20_0xe8d6d0(0x177)]='AFTER_EACH';const HOOK_TYPES_MAP=a20_0x44e2e2;module[a20_0xe8d6d0(0x159)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0xe79078=a20_0xe8d6d0,_0x1aa1b3={'dqppd':_0xe79078(0x166),'LSbHO':function(_0x32e13b){return _0x32e13b();}},_0x2cbf09=_0x1aa1b3[_0xe79078(0x1e5)]['split']('|');let _0x6f078a=0x0;while(!![]){switch(_0x2cbf09[_0x6f078a++]){case'0':this[_0xe79078(0x1bc)]=_0x1aa1b3[_0xe79078(0x18d)](isTestObservabilitySession);continue;case'1':this[_0xe79078(0x204)]=new PathHelper({'cwd':process[_0xe79078(0x214)]()},this[_0xe79078(0x1ca)][_0xe79078(0x16e)]);continue;case'2':this[_0xe79078(0x180)]=![];continue;case'3':this[_0xe79078(0x1ca)]=this['getTestEnv']();continue;case'4':this[_0xe79078(0x171)]=[];continue;case'5':this[_0xe79078(0x1e0)]=[];continue;case'6':this[_0xe79078(0x19d)]=null;continue;}break;}}[a20_0xe8d6d0(0x190)]=()=>{const _0xc72ab0=a20_0xe8d6d0,_0x26a58b={'dGtfB':_0xc72ab0(0x1a3),'pqYAZ':function(_0xd620e){return _0xd620e();}};return{'ci':_0x26a58b[_0xc72ab0(0x187)],'key':_0x26a58b['pqYAZ'](uuidv4),'version':version,'collector':'js-'+name};};[a20_0xe8d6d0(0x1c9)](){const _0x2c4dcd=a20_0xe8d6d0;process[_0x2c4dcd(0x1dc)](_0x2c4dcd(0x1ae)+process['pid']),process['on'](_0x2c4dcd(0x1ae)+process[_0x2c4dcd(0x18b)],this['appendTestItemLog'][_0x2c4dcd(0x1c0)](this)),process[_0x2c4dcd(0x1dc)](_0x2c4dcd(0x184)+process[_0x2c4dcd(0x18b)]),process['on'](_0x2c4dcd(0x184)+process[_0x2c4dcd(0x18b)],this[_0x2c4dcd(0x19b)][_0x2c4dcd(0x1c0)](this));}[a20_0xe8d6d0(0x213)]=async _0x4cb372=>{const _0x2980ca=a20_0xe8d6d0,_0x1e0337={'muEiv':function(_0x547ef5,_0x9622c4){return _0x547ef5>_0x9622c4;},'yxouR':function(_0x30f55c,_0xfe73df){return _0x30f55c===_0xfe73df;},'VUsyE':_0x2980ca(0x1f0),'ovlVg':function(_0x5418be,_0x3df8c1){return _0x5418be(_0x3df8c1);}};try{const _0x45b74e=this[_0x2980ca(0x181)];this[_0x2980ca(0x181)]=_0x4cb372,_0x4cb372[_0x2980ca(0x1e6)]=null,_0x4cb372['testAnalyticsId']=TestDetails[_0x2980ca(0x172)](process['pid']+_0x2980ca(0x212)),_0x4cb372['started_at']=new Date()['toISOString'](),_0x1e0337[_0x2980ca(0x1d4)](_0x4cb372['_currentRetry'],0x0)&&_0x45b74e&&_0x1e0337[_0x2980ca(0x16c)](_0x45b74e[_0x2980ca(0x1cf)],_0x4cb372[_0x2980ca(0x1cf)])?(_0x4cb372['retryOf']=_0x45b74e[_0x2980ca(0x20c)],await this['sendTestRunEvent'](_0x4cb372,undefined,![],_0x1e0337[_0x2980ca(0x1f7)]),_0x45b74e[_0x2980ca(0x167)]=STATE_FAILED,await this['sendTestRunEvent'](_0x45b74e,undefined,!![])):await this[_0x2980ca(0x1d6)](_0x4cb372,undefined,![],_0x1e0337[_0x2980ca(0x1f7)]);}catch(_0x1ffabb){_0x1e0337[_0x2980ca(0x1fd)](debug,_0x2980ca(0x20d)+_0x1ffabb);}};[a20_0xe8d6d0(0x1b1)](_0x2c3f52){const _0x60a484=a20_0xe8d6d0,_0x515bd8={};_0x515bd8[_0x60a484(0x174)]=function(_0x228268,_0x42bbde){return _0x228268!==_0x42bbde;},_0x515bd8[_0x60a484(0x1ed)]='test';const _0x32b70c=_0x515bd8;if(_0x32b70c['hYrsU'](_0x2c3f52['type'],_0x32b70c[_0x60a484(0x1ed)]))return'\x22'+_0x2c3f52[_0x60a484(0x156)]+_0x60a484(0x1b4)+(_0x2c3f52[_0x60a484(0x179)]&&_0x2c3f52[_0x60a484(0x179)][_0x60a484(0x164)])+'\x22';return _0x2c3f52['name'];}[a20_0xe8d6d0(0x1d6)]=async(_0x38af73,_0x382d1b=undefined,_0x442194=![],_0x3244b1=a20_0xe8d6d0(0x1b8))=>{const _0x5170ee=a20_0xe8d6d0,_0x122f15={'UnDmR':_0x5170ee(0x1d5),'VZrRT':'hook_run','xIZai':_0x5170ee(0x196),'kIzwx':'test_run','cPxxX':_0x5170ee(0x18f),'IVtWl':_0x5170ee(0x197),'upCBb':_0x5170ee(0x1ee),'AvymD':function(_0x4221fd,_0x1363c1){return _0x4221fd(_0x1363c1);},'yHzes':_0x5170ee(0x1f8),'bHXSR':_0x5170ee(0x1a5),'gofMb':function(_0x30182c,_0x282870){return _0x30182c!==_0x282870;},'QuLlL':_0x5170ee(0x182),'WRwPb':function(_0x172245,_0x4a2d03){return _0x172245!==_0x4a2d03;},'TjCSk':_0x5170ee(0x1d1),'yOgRj':'File\x20path\x20could\x20not\x20be\x20found','SZyhz':_0x5170ee(0x20b),'RtrmZ':function(_0x30111f,_0xaadc3){return _0x30111f===_0xaadc3;},'OMyrH':'TestRunSkipped','zCdTF':_0x5170ee(0x168),'OMraY':function(_0x1e522f,_0x328056){return _0x1e522f>_0x328056;},'AIvoq':_0x5170ee(0x1bd),'uNdZt':_0x5170ee(0x19e),'gazoC':function(_0x13c54f,_0x42399d){return _0x13c54f-_0x42399d;},'jCbgB':function(_0x3f4530,_0x123b56,_0x2fb709,_0x368a7e,_0x23fae8){return _0x3f4530(_0x123b56,_0x2fb709,_0x368a7e,_0x23fae8);},'ZgsNZ':_0x5170ee(0x1ff),'eMMzf':_0x5170ee(0x1ec),'kRYXm':function(_0x2748ff,_0x1071d1){return _0x2748ff===_0x1071d1;},'oDUty':_0x5170ee(0x1df),'BOxRP':'failure_backtrace','wNQcA':_0x5170ee(0x191),'UbPKD':_0x5170ee(0x16f),'pOzis':_0x5170ee(0x17e),'eClhn':_0x5170ee(0x1b8),'bybWT':_0x5170ee(0x215),'aRwFP':_0x5170ee(0x1ab),'WMYSA':function(_0x1e123a,_0x3b3cce,_0x8df732){return _0x1e123a(_0x3b3cce,_0x8df732);}};try{if(_0x38af73['fn']&&_0x38af73['fn']['toString']()[_0x5170ee(0x16b)](/browserstack internal helper hook/))return;await this[_0x5170ee(0x1e9)]();let _0xdd6def;try{_0xdd6def=this[_0x5170ee(0x1a8)](_0x38af73);}catch(_0x19f222){_0x122f15['AvymD'](debug,_0x5170ee(0x1d8)+_0x19f222),_0xdd6def=null;}if(_0xdd6def[_0x5170ee(0x18c)](_0x122f15[_0x5170ee(0x1a4)]))return;const _0x3282b6=_0x122f15[_0x5170ee(0x15c)](require,_0x122f15[_0x5170ee(0x194)]);let _0x5646a2=[];if(_0x122f15[_0x5170ee(0x1fa)](_0x38af73['errorsDetailed'],undefined))_0x5646a2=[_0x38af73[_0x5170ee(0x15d)],_0x122f15[_0x5170ee(0x1da)]];else _0x122f15[_0x5170ee(0x1fb)](_0x382d1b,undefined)?_0x5646a2=[_0x382d1b,_0x122f15[_0x5170ee(0x189)]]:_0x5646a2=[];const _0x518e81=_0x122f15[_0x5170ee(0x1fb)](_0x38af73[_0x5170ee(0x15d)],undefined)?_0x3282b6['inspect'](_0x38af73[_0x5170ee(0x15d)][0x0]):_0x122f15[_0x5170ee(0x1fa)](_0x382d1b,undefined)?_0x382d1b[_0x5170ee(0x1cd)]():undefined,_0x229600=_0xdd6def?this[_0x5170ee(0x204)]['prefixTestPath'](this[_0x5170ee(0x1a8)](_0x38af73)):_0x122f15[_0x5170ee(0x1b0)],_0xd8c36={'framework':FRAMEWORKS['JEST'],'uuid':_0x38af73[_0x5170ee(0x20c)]||_0x38af73['hookAnalyticsId'],'name':this[_0x5170ee(0x1b1)](_0x38af73),'body':{'lang':_0x122f15[_0x5170ee(0x1f6)],'code':_0x38af73['fn'][_0x5170ee(0x1cd)]()},'scopes':this['getHierarchy'](_0x38af73),'file_name':_0x229600,'vc_filepath':this[_0x5170ee(0x19d)]&&_0xdd6def?path[_0x5170ee(0x176)](this[_0x5170ee(0x19d)],_0xdd6def):null,'location':_0x229600,'result':_0x122f15['RtrmZ'](_0x3244b1,_0x122f15[_0x5170ee(0x1cc)])?_0x122f15['zCdTF']:this[_0x5170ee(0x1ba)](_0x38af73[_0x5170ee(0x15d)]&&_0x122f15[_0x5170ee(0x207)](_0x38af73[_0x5170ee(0x15d)][_0x5170ee(0x1fe)],0x0)?_0x122f15['AIvoq']:_0x122f15['uNdZt']),'failure_reason':_0x518e81,'duration_in_ms':_0x38af73[_0x5170ee(0x20f)]||(_0x3244b1[_0x5170ee(0x16b)](/Finished/)||_0x3244b1['match'](/Skipped/)?_0x122f15[_0x5170ee(0x151)](Date['now'](),new Date(_0x38af73[_0x5170ee(0x1ff)])[_0x5170ee(0x1b9)]()):null),'started_at':_0x38af73[_0x5170ee(0x1ff)],'finished_at':_0x3244b1[_0x5170ee(0x16b)](/Finished/)||_0x3244b1[_0x5170ee(0x16b)](/Skipped/)?new Date()[_0x5170ee(0x15e)]():null,'failure':failureData[_0x5170ee(0x173)](null,_0x5646a2),'failure_type':!_0x518e81?null:_0x122f15[_0x5170ee(0x15c)](getFailureType,_0x518e81),'retry_of':_0x38af73[_0x5170ee(0x1e6)]};_0x122f15[_0x5170ee(0x1dd)](appendTesthubParams,_0xd8c36,_0x3244b1,_0x38af73,FRAMEWORKS[_0x5170ee(0x219)]);_0x122f15[_0x5170ee(0x1de)](_0x3244b1,_0x122f15['OMyrH'])&&!_0xd8c36[_0x122f15['ZgsNZ']]&&(_0xd8c36[_0x122f15['ZgsNZ']]=_0xd8c36[_0x122f15[_0x5170ee(0x1d3)]]);if(_0x3244b1[_0x5170ee(0x16b)](/HookRun/))[_0xd8c36[_0x5170ee(0x215)],_0xd8c36[_0x5170ee(0x164)]]=[_0x38af73[_0x5170ee(0x156)],this[_0x5170ee(0x1b1)](_0x38af73)],_0x122f15['kRYXm'](_0x3244b1,_0x122f15['oDUty'])&&(_0x122f15['WRwPb'](_0xd8c36[_0x5170ee(0x1ee)],_0x122f15[_0x5170ee(0x1e1)])&&(_0xd8c36[_0x5170ee(0x1ee)]=_0x122f15[_0x5170ee(0x17a)]));else _0x3244b1[_0x5170ee(0x16b)](/TestRun/)&&this[_0x5170ee(0x20e)](_0x38af73);const _0x23b863=_0xd8c36[_0x122f15['IVtWl']][0x0];_0x23b863&&(_0xd8c36[_0x122f15[_0x5170ee(0x202)]]=_0x23b863[_0x122f15['wNQcA']],_0xd8c36[_0x122f15[_0x5170ee(0x1e7)]]=_0x23b863[_0x122f15['pOzis']]);[_0x122f15[_0x5170ee(0x208)],_0x122f15[_0x5170ee(0x1cc)]]['includes'](_0x3244b1)&&(this[_0x5170ee(0x1e0)][_0x5170ee(0x15b)](_0xd8c36),_0xd8c36[_0x5170ee(0x1a6)]=this[_0x5170ee(0x1b7)](_0x38af73),this['resetTestHooks'](_0x38af73));const _0x14593b={'event_type':_0x122f15[_0x5170ee(0x20a)](_0x3244b1,_0x122f15[_0x5170ee(0x1cc)])?_0x122f15[_0x5170ee(0x208)]:_0x3244b1};_0x3244b1['match'](/HookRun/)?(_0xd8c36[_0x122f15[_0x5170ee(0x218)]]=HOOK_TYPES_MAP[_0xd8c36[_0x122f15[_0x5170ee(0x218)]]],_0x14593b[_0x122f15[_0x5170ee(0x193)]]=_0xd8c36):_0x14593b[_0x122f15[_0x5170ee(0x19c)]]=_0xd8c36;_0x122f15[_0x5170ee(0x207)](this[_0x5170ee(0x171)]['length'],0x0)&&[_0x122f15[_0x5170ee(0x208)],_0x122f15[_0x5170ee(0x1cc)]][_0x5170ee(0x18c)](_0x3244b1)&&(this[_0x5170ee(0x171)][_0x5170ee(0x16a)](async _0x234be5=>{const _0x394ff6=_0x5170ee,_0x179051=_0x122f15[_0x394ff6(0x1e8)][_0x394ff6(0x1f3)]('|');let _0x5416be=0x0;while(!![]){switch(_0x179051[_0x5416be++]){case'0':_0x234be5[_0x122f15[_0x394ff6(0x193)]][_0x122f15['xIZai']]=_0x14593b[_0x122f15[_0x394ff6(0x19c)]][_0x122f15[_0x394ff6(0x1e2)]];continue;case'1':_0x234be5[_0x122f15[_0x394ff6(0x193)]][_0x122f15[_0x394ff6(0x1bf)]]=_0x14593b[_0x122f15[_0x394ff6(0x19c)]][_0x122f15[_0x394ff6(0x1bf)]];continue;case'2':await SessionHandler[_0x394ff6(0x1be)](_0x234be5);continue;case'3':_0x234be5[_0x122f15[_0x394ff6(0x193)]][_0x122f15['IVtWl']]=_0x14593b[_0x122f15[_0x394ff6(0x19c)]][_0x122f15['IVtWl']];continue;case'4':_0x234be5[_0x122f15[_0x394ff6(0x193)]][_0x122f15[_0x394ff6(0x217)]]=_0x14593b[_0x122f15[_0x394ff6(0x19c)]][_0x122f15['upCBb']];continue;}break;}}),this['hook_data']=[]);if(_0x122f15['RtrmZ'](this['hook_failure'],_0x38af73[_0x5170ee(0x156)])){this[_0x5170ee(0x171)]['push'](_0x14593b);return;}_0x122f15[_0x5170ee(0x20a)](this[_0x5170ee(0x1c6)],_0x122f15[_0x5170ee(0x16d)])&&_0x14593b[_0x122f15['kIzwx']]&&(_0x14593b[_0x122f15[_0x5170ee(0x19c)]][_0x122f15['upCBb']]=_0x122f15[_0x5170ee(0x1c8)],_0x14593b[_0x122f15[_0x5170ee(0x19c)]][_0x122f15[_0x5170ee(0x1b2)]]=null,_0x14593b[_0x122f15[_0x5170ee(0x19c)]][_0x122f15[_0x5170ee(0x1bf)]]=null),_0x122f15[_0x5170ee(0x1b6)](setCurrentTestData,FRAMEWORKS[_0x5170ee(0x219)],_0x14593b),await SessionHandler[_0x5170ee(0x1be)](_0x14593b);}catch(_0x14ed7a){_0x122f15[_0x5170ee(0x15c)](debug,_0x5170ee(0x188)+_0x3244b1+_0x5170ee(0x1c4)+_0x14ed7a);}};[a20_0xe8d6d0(0x1e3)](_0x328be4){const _0x5e9d1c=a20_0xe8d6d0,_0x11355e={};_0x11355e['lKMau']=function(_0x70b43e,_0x5ca91f){return _0x70b43e==_0x5ca91f;},_0x11355e[_0x5e9d1c(0x1f2)]=function(_0x75c18c,_0x398cc2){return _0x75c18c===_0x398cc2;},_0x11355e[_0x5e9d1c(0x198)]='.git',_0x11355e[_0x5e9d1c(0x1f1)]=_0x5e9d1c(0x1db);const _0x2ee7c6=_0x11355e,_0x5bda25=path['sep'];if(_0x2ee7c6[_0x5e9d1c(0x186)](_0x328be4,null)||_0x2ee7c6[_0x5e9d1c(0x1f2)](_0x328be4,'')||_0x2ee7c6[_0x5e9d1c(0x1f2)](_0x328be4,_0x5bda25))return null;try{return fs[_0x5e9d1c(0x162)](path[_0x5e9d1c(0x1aa)](_0x328be4,_0x2ee7c6[_0x5e9d1c(0x198)],_0x2ee7c6[_0x5e9d1c(0x1f1)])),_0x328be4;}catch(_0x12a3c0){const _0x3334d0=path[_0x5e9d1c(0x200)](_0x328be4);return this[_0x5e9d1c(0x1e3)](_0x3334d0);}}[a20_0xe8d6d0(0x1d7)]=async _0x3e4910=>{const _0x50be6d=a20_0xe8d6d0,_0x3a9983={'ujbGC':'LogCreated','HMzjr':function(_0x19e5fd,_0x14dbe7){return _0x19e5fd(_0x14dbe7);}},_0x4446fa=TestDetails[_0x50be6d(0x175)](process['pid']+_0x50be6d(0x1fc)),_0x4b3bc9=TestDetails['getTestUUID'](process[_0x50be6d(0x18b)]+_0x50be6d(0x212));try{(_0x4446fa||this['current_hook']&&!this[_0x50be6d(0x1ef)][_0x50be6d(0x1b5)])&&(_0x3e4910['hook_run_uuid']=_0x4446fa);!_0x3e4910['hook_run_uuid']&&_0x4b3bc9&&(_0x3e4910[_0x50be6d(0x1c7)]=_0x4b3bc9);if(_0x3e4910[_0x50be6d(0x1c1)]||_0x3e4910[_0x50be6d(0x1c7)]){const _0x107c3c={};_0x107c3c['event_type']=_0x3a9983['ujbGC'],_0x107c3c[_0x50be6d(0x1ea)]=[_0x3e4910],await SessionHandler[_0x50be6d(0x1be)](_0x107c3c);}}catch(_0x482ae7){_0x3a9983[_0x50be6d(0x169)](debug,_0x50be6d(0x1d9)+_0x482ae7);}};[a20_0xe8d6d0(0x19b)]=async _0x50e5fd=>{const _0x50ec0f=a20_0xe8d6d0,_0x5f6d9={'RNLxl':_0x50ec0f(0x210),'xmbQC':_0x50ec0f(0x1a9),'XLsdU':function(_0x1ee30e,_0x54444a){return _0x1ee30e(_0x54444a);}};try{const _0x21d679={'uuid':_0x50e5fd[_0x50ec0f(0x18e)]||TestDetails[_0x50ec0f(0x175)](process[_0x50ec0f(0x18b)]+_0x50ec0f(0x212)),'integrations':_0x50e5fd[_0x5f6d9['RNLxl']]},_0x1d241c={};_0x1d241c[_0x50ec0f(0x185)]=_0x5f6d9[_0x50ec0f(0x1f5)],_0x1d241c[_0x50ec0f(0x165)]=_0x21d679,await SessionHandler[_0x50ec0f(0x1be)](_0x1d241c);}catch(_0x3dd0a4){_0x5f6d9[_0x50ec0f(0x1eb)](debug,_0x50ec0f(0x17b)+_0x3dd0a4);}};async[a20_0xe8d6d0(0x1e9)](){const _0x19913f=a20_0xe8d6d0,_0x4a053b={'hIOTr':function(_0x53a5fc){return _0x53a5fc();}};if(this[_0x19913f(0x180)])return this[_0x19913f(0x19d)];const _0x1640c8=await _0x4a053b[_0x19913f(0x19a)](getGitMetaData);_0x1640c8&&(this[_0x19913f(0x19d)]=_0x1640c8[_0x19913f(0x1a2)]),this['_gitConfigured']=!![];}[a20_0xe8d6d0(0x1ba)](_0x3180fc){const _0x3e970a=a20_0xe8d6d0,_0xf3c258={};_0xf3c258[_0x3e970a(0x1c2)]=_0x3e970a(0x19e),_0xf3c258[_0x3e970a(0x17c)]='pending',_0xf3c258[_0x3e970a(0x1a7)]=_0x3e970a(0x1bd);const _0x1cf2fc=_0xf3c258,_0x3f854f={};return _0x3f854f[STATE_PASSED]=_0x1cf2fc['ehsjF'],_0x3f854f[STATE_PENDING]=_0x1cf2fc[_0x3e970a(0x17c)],_0x3f854f[STATE_FAILED]=_0x1cf2fc['uFMiF'],_0x3f854f[_0x3180fc];}['getHierarchy'](_0x2244ba){const _0x272865=a20_0xe8d6d0,_0x2d49c8={};_0x2d49c8[_0x272865(0x1f4)]=function(_0x4e68d2,_0xee49f9){return _0x4e68d2!==_0xee49f9;},_0x2d49c8['ulQXF']=function(_0x3f8532,_0x215fb1){return _0x3f8532!==_0x215fb1;},_0x2d49c8['xAQNW']=_0x272865(0x1f9);const _0x101424=_0x2d49c8,_0x8a82ee=[];if(_0x2244ba&&_0x2244ba['parent']){let _0x4c5a5e=_0x2244ba[_0x272865(0x179)];while(_0x4c5a5e&&_0x101424[_0x272865(0x1f4)](_0x4c5a5e[_0x272865(0x164)],'')&&_0x101424['ulQXF'](_0x4c5a5e[_0x272865(0x164)],_0x101424[_0x272865(0x199)])){_0x8a82ee['push'](_0x4c5a5e['name']),_0x4c5a5e=_0x4c5a5e['parent'];}}return _0x8a82ee[_0x272865(0x183)](),_0x8a82ee;}['getRootParentFile']=_0x14f445=>{const _0x15f6fe=a20_0xe8d6d0;if(_0x14f445[_0x15f6fe(0x1c3)]){const _0x4efbe3=stackTrace[_0x15f6fe(0x1af)][_0x15f6fe(0x1d2)](stackTrace,_0x14f445[_0x15f6fe(0x1c3)]);return _0x4efbe3[0x0][_0x15f6fe(0x1b3)]();}if(_0x14f445[_0x15f6fe(0x170)])return _0x14f445[_0x15f6fe(0x170)];return null;};[a20_0xe8d6d0(0x20e)]=_0x3590a4=>{const _0x50ed6d=a20_0xe8d6d0;if(!_0x3590a4||!_0x3590a4[_0x50ed6d(0x179)])return;_0x3590a4['parent'][_0x50ed6d(0x1a6)][_0x50ed6d(0x16a)](_0x161f61=>{const _0x314c2c=_0x50ed6d;!_0x161f61[_0x314c2c(0x152)]&&(_0x161f61[_0x314c2c(0x152)]=TestDetails[_0x314c2c(0x172)](process[_0x314c2c(0x18b)]+_0x314c2c(0x1fc)));}),this['mapTestHooks'](_0x3590a4[_0x50ed6d(0x179)]);};['resetTestHooks']=_0x51c9f0=>{const _0x484f5e=a20_0xe8d6d0,_0x28bc88={};_0x28bc88['spZJh']='beforeEach',_0x28bc88[_0x484f5e(0x211)]=_0x484f5e(0x177);const _0x4304bb=_0x28bc88;if(!_0x51c9f0||!_0x51c9f0[_0x484f5e(0x179)])return;_0x51c9f0[_0x484f5e(0x179)][_0x484f5e(0x1a6)][_0x484f5e(0x16a)](_0x8d9c3f=>{const _0x3c7d22=_0x484f5e;[_0x4304bb[_0x3c7d22(0x18a)],_0x4304bb['LymQM']]['includes'](_0x8d9c3f[_0x3c7d22(0x156)])&&_0x8d9c3f[_0x3c7d22(0x152)]&&(_0x8d9c3f[_0x3c7d22(0x152)]=null);}),this['mapTestHooks'](_0x51c9f0[_0x484f5e(0x179)]);};[a20_0xe8d6d0(0x1a0)](_0x2a1071){const _0x10d38e=a20_0xe8d6d0,_0x536ba4={'QHYbh':'jest-circus','tgZHn':function(_0x24fa5d,_0x1cb7aa){return _0x24fa5d(_0x1cb7aa);},'kEQjp':function(_0x3089ed,_0x12e508){return _0x3089ed+_0x12e508;},'KPWNa':_0x10d38e(0x163)};try{const _0x4d9b8e=this['getRootParentFile'](_0x2a1071);return _0x4d9b8e['includes'](_0x536ba4[_0x10d38e(0x209)]);}catch(_0x4f37ae){_0x536ba4[_0x10d38e(0x17f)](debug,_0x536ba4[_0x10d38e(0x201)](_0x536ba4[_0x10d38e(0x205)],_0x4f37ae));}return![];}[a20_0xe8d6d0(0x1b7)]=_0x1d54d0=>{const _0xbd7dd4=a20_0xe8d6d0,_0x162a1e={'MSLWA':function(_0x26cd7e,_0x4381a6){return _0x26cd7e(_0x4381a6);}};if(!_0x1d54d0||!_0x1d54d0[_0xbd7dd4(0x179)])return[];const _0x20ae91=[];return _0x1d54d0[_0xbd7dd4(0x179)][_0xbd7dd4(0x1a6)]['forEach'](_0x405e04=>{const _0xf51ba1=_0xbd7dd4;_0x405e04[_0xf51ba1(0x152)]&&!_0x162a1e[_0xf51ba1(0x157)](isInternalHook,_0x405e04['fn'])&&!this[_0xf51ba1(0x1a0)](_0x405e04)&&_0x20ae91['push'](_0x405e04[_0xf51ba1(0x152)]);}),[..._0x20ae91,...this['getHooksForTest'](_0x1d54d0[_0xbd7dd4(0x179)])];};},[a20_0xe8d6d0(0x190),'registerListeners','testStarted',a20_0xe8d6d0(0x1b1),a20_0xe8d6d0(0x1d6),a20_0xe8d6d0(0x1e3),'appendTestItemLog',a20_0xe8d6d0(0x19b),a20_0xe8d6d0(0x1ba),'getHierarchy',a20_0xe8d6d0(0x1a8),a20_0xe8d6d0(0x20e),a20_0xe8d6d0(0x1ce),a20_0xe8d6d0(0x1b7),a20_0xe8d6d0(0x1e9)],a20_0xe8d6d0(0x1bb));
|
|
1
|
+
const a20_0x5e7d9e=a20_0x44e9;function a20_0x682b(){const _0x14a198=['\x22\x20hook\x20for\x20\x22','mEZwh','IKYAn','configureGit','finished_at','failure_reason','egRLK','AFTER_EACH','getTime','pRHPf','apply','test_run','jest-circus','wbCJI','failed','voZHf','BEFORE_EACH','path','LnwSh','beforeAll','luCrp','LNVmK','includes','jCyzz','util','nFjEx','current_hook','STATE_PENDING','getRootParentFile','AivZp','js-','TestRunFinished','QYots','mapTestHooks','GgLpk','yfNrj','RXrcv','current_test','FlfnD','VUCJs','../../../../package.json','uploadEventData','err','sendTestRunEvent','CBTSessionCreated','kUoWW','getTestUUID','reverse','logs','hook_failure','_gitConfigPath','pid','errorsDetailed','mPRGg','ralwZ','file','_gitConfigured','title','sep','AFTER_ALL','length','jujjV','LogCreated','match','test_run_uuid','split','ObservabilityReporter','hookAnalyticsId','root','BNdVG','pending','markedStatus','testStarted',':testAnalyticsId','relative','PNrqT','forEach','599535HXUUEH','POKXy','BlZHM','toString','GXRGx','pewtX','czvZE','CJANX','jeiYf','wFSDA','../../utils/constants','Opkbi','avxke','oQohl','yYPpj','push','4dTEbdn','http_response','generic','VkMeU','\x20with\x20error\x20:\x20','_testResults','toISOString','ROOT_DESCRIBE_BLOCK','XQwAS','removeAllListeners','PCyRQ','dirname','started_at','parent','nWqkf','getName','inspect','asyncError','HookRunFinished','findGitConfig','testObservability','parse','javascript','passed','failure_type','iNFHJ','event_type','2172KJbERz','failure_backtrace','vTpyi','842249XceJXL','join','KdZAL','cDzWk','hfins',':hookAnalyticsId','resetTestHooks','getHooksForTest','hooks','hook_run','STATE_PASSED','retryOf','194293tXIslC','duration','JEST','appendTestItemLog','bs:addLog:','6582qJDQZF','result','bZDkr','testAnalyticsId','nIdBv','XxTqk','TestRunStarted','bs:addPlatformDetails:','test','bind','.git','./test-details','uuid','getTestEnv','TSegQ','statSync','../../../helpers/testhub/utils','4625765HnKPOR','failed\x20to\x20get\x20root\x20parent\x20file\x20','cwd','_testEnv','setTestUUID','registerListeners','appendTestPlatform','beforeEach','cWjFv','YOoQa','isJestInternalHook','afterEach','hook_data','config','File\x20path\x20could\x20not\x20be\x20found','state','GDZYT','Cmiyz','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','672urtMWt','2588WlUcrQ','type','4|2|1|3|5|6|0','GQhFR','170AoGyay','GvFlC','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','hook_run_uuid','backtrace','_paths','mjkbC','CVuWy','6223nkhDiS','PguhI','4|2|1|3|0','xwTlT','name','uWIQm','getHierarchy','skipped','CnHdP','getFileName','../../../helpers/test-observability/utils','STATE_FAILED','../../../helpers/test-observability/error-handler','hook_type','9712056PGjvoZ','prefixTestPath'];a20_0x682b=function(){return _0x14a198;};return a20_0x682b();}(function(_0x5d3f4b,_0x457ea9){const _0x3541b5=a20_0x44e9,_0x4646cb=_0x5d3f4b();while(!![]){try{const _0x1541ec=parseInt(_0x3541b5(0x173))/0x1+parseInt(_0x3541b5(0xdc))/0x2*(-parseInt(_0x3541b5(0x170))/0x3)+-parseInt(_0x3541b5(0x155))/0x4*(-parseInt(_0x3541b5(0xc8))/0x5)+parseInt(_0x3541b5(0xb7))/0x6*(-parseInt(_0x3541b5(0xe8))/0x7)+-parseInt(_0x3541b5(0xf6))/0x8+parseInt(_0x3541b5(0x145))/0x9*(parseInt(_0x3541b5(0xe0))/0xa)+-parseInt(_0x3541b5(0xb2))/0xb*(-parseInt(_0x3541b5(0xdb))/0xc);if(_0x1541ec===_0x457ea9)break;else _0x4646cb['push'](_0x4646cb['shift']());}catch(_0x215516){_0x4646cb['push'](_0x4646cb['shift']());}}}(a20_0x682b,0xba409));function a20_0x44e9(_0x3d1a66,_0x23bd54){const _0x682b22=a20_0x682b();return a20_0x44e9=function(_0x44e902,_0x4b29e5){_0x44e902=_0x44e902-0xb2;let _0x463557=_0x682b22[_0x44e902];return _0x463557;},a20_0x44e9(_0x3d1a66,_0x23bd54);}const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a20_0x5e7d9e(0xf2)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{v4:uuidv4}=require('uuid'),{name,version}=require(a20_0x5e7d9e(0x120)),stackTrace=require('stack-trace'),path=require(a20_0x5e7d9e(0x109)),fs=require('fs'),TestDetails=require(a20_0x5e7d9e(0xc2)),{FRAMEWORKS}=require(a20_0x5e7d9e(0x14f)),{o11yClassErrorHandler}=require(a20_0x5e7d9e(0xf4)),{getGitMetaData}=require('../../../helpers/helper'),{appendTesthubParams,setCurrentTestData}=require(a20_0x5e7d9e(0xc7)),a20_0x52b60e={};a20_0x52b60e[a20_0x5e7d9e(0x17d)]=a20_0x5e7d9e(0x16c),a20_0x52b60e[a20_0x5e7d9e(0xf3)]=a20_0x5e7d9e(0x106),a20_0x52b60e[a20_0x5e7d9e(0x113)]=a20_0x5e7d9e(0x13e);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a20_0x52b60e,a20_0x46b8c0={};a20_0x46b8c0['beforeAll']='BEFORE_ALL',a20_0x46b8c0['afterAll']=a20_0x5e7d9e(0x133),a20_0x46b8c0[a20_0x5e7d9e(0xcf)]=a20_0x5e7d9e(0x108),a20_0x46b8c0['afterEach']=a20_0x5e7d9e(0xff);const HOOK_TYPES_MAP=a20_0x46b8c0;module['exports']=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x43f8e7=a20_0x5e7d9e,_0xfcb617={'luCrp':_0x43f8e7(0xde),'AivZp':function(_0x4d659e){return _0x4d659e();}},_0x3802fe=_0xfcb617[_0x43f8e7(0x10c)][_0x43f8e7(0x139)]('|');let _0x531309=0x0;while(!![]){switch(_0x3802fe[_0x531309++]){case'0':this['_gitConfigPath']=null;continue;case'1':this[_0x43f8e7(0xcb)]=this[_0x43f8e7(0xc4)]();continue;case'2':this[_0x43f8e7(0x15a)]=[];continue;case'3':this['_paths']=new PathHelper({'cwd':process[_0x43f8e7(0xca)]()},this[_0x43f8e7(0xcb)]['location_prefix']);continue;case'4':this[_0x43f8e7(0x169)]=_0xfcb617[_0x43f8e7(0x115)](isTestObservabilitySession);continue;case'5':this[_0x43f8e7(0xd4)]=[];continue;case'6':this[_0x43f8e7(0x130)]=![];continue;}break;}}[a20_0x5e7d9e(0xc4)]=()=>{const _0x4fac16=a20_0x5e7d9e,_0x5ce33a={'wsimG':_0x4fac16(0x157),'TSegQ':function(_0x6aa438){return _0x6aa438();}};return{'ci':_0x5ce33a['wsimG'],'key':_0x5ce33a[_0x4fac16(0xc5)](uuidv4),'version':version,'collector':_0x4fac16(0x116)+name};};[a20_0x5e7d9e(0xcd)](){const _0x15a98d=a20_0x5e7d9e;process[_0x15a98d(0x15e)](_0x15a98d(0xb6)+process[_0x15a98d(0x12b)]),process['on'](_0x15a98d(0xb6)+process[_0x15a98d(0x12b)],this['appendTestItemLog'][_0x15a98d(0xc0)](this)),process['removeAllListeners'](_0x15a98d(0xbe)+process[_0x15a98d(0x12b)]),process['on'](_0x15a98d(0xbe)+process[_0x15a98d(0x12b)],this[_0x15a98d(0xce)][_0x15a98d(0xc0)](this));}[a20_0x5e7d9e(0x140)]=async _0x51c430=>{const _0xc7aa26=a20_0x5e7d9e,_0x2c593c={'jujjV':function(_0x5bbf2f,_0x373940){return _0x5bbf2f>_0x373940;},'wFSDA':function(_0x49ac5d,_0x430e4e){return _0x49ac5d===_0x430e4e;},'CnHdP':_0xc7aa26(0xbd),'cWjFv':function(_0x2cc114,_0xd93fb5){return _0x2cc114(_0xd93fb5);}};try{const _0x4f3075=this[_0xc7aa26(0x11d)];this[_0xc7aa26(0x11d)]=_0x51c430,_0x51c430['retryOf']=null,_0x51c430[_0xc7aa26(0xba)]=TestDetails['setTestUUID'](process[_0xc7aa26(0x12b)]+_0xc7aa26(0x141)),_0x51c430[_0xc7aa26(0x161)]=new Date()[_0xc7aa26(0x15b)](),_0x2c593c[_0xc7aa26(0x135)](_0x51c430['_currentRetry'],0x0)&&_0x4f3075&&_0x2c593c[_0xc7aa26(0x14e)](_0x4f3075[_0xc7aa26(0x131)],_0x51c430[_0xc7aa26(0x131)])?(_0x51c430[_0xc7aa26(0x17e)]=_0x4f3075[_0xc7aa26(0xba)],await this[_0xc7aa26(0x123)](_0x51c430,undefined,![],_0x2c593c[_0xc7aa26(0xf0)]),_0x4f3075[_0xc7aa26(0xd7)]=STATE_FAILED,await this[_0xc7aa26(0x123)](_0x4f3075,undefined,!![])):await this[_0xc7aa26(0x123)](_0x51c430,undefined,![],_0x2c593c[_0xc7aa26(0xf0)]);}catch(_0x329fd4){_0x2c593c[_0xc7aa26(0xd0)](debug,_0xc7aa26(0xe2)+_0x329fd4);}};['getName'](_0x45b34e){const _0x3852da=a20_0x5e7d9e,_0x533ebb={};_0x533ebb[_0x3852da(0xf9)]=function(_0x251fce,_0x687b3b){return _0x251fce!==_0x687b3b;},_0x533ebb[_0x3852da(0x146)]='test';const _0x95045c=_0x533ebb;if(_0x95045c[_0x3852da(0xf9)](_0x45b34e['type'],_0x95045c[_0x3852da(0x146)]))return'\x22'+_0x45b34e[_0x3852da(0xdd)]+_0x3852da(0xf8)+(_0x45b34e[_0x3852da(0x162)]&&_0x45b34e[_0x3852da(0x162)][_0x3852da(0xec)])+'\x22';return _0x45b34e[_0x3852da(0xec)];}[a20_0x5e7d9e(0x123)]=async(_0x1c012b,_0x2e8a13=undefined,_0x252c4b=![],_0x104471=a20_0x5e7d9e(0x117))=>{const _0x10d2ed=a20_0x5e7d9e,_0x5bd590={'cDzWk':_0x10d2ed(0xea),'mjkbC':_0x10d2ed(0x17c),'Cmiyz':'result','oQohl':_0x10d2ed(0x103),'xwTlT':_0x10d2ed(0x16d),'LnwSh':_0x10d2ed(0xfd),'voZHf':'failure','VUCJs':function(_0x289cb8,_0x584011){return _0x289cb8(_0x584011);},'XQwAS':'jest-circus','kUoWW':function(_0x2f229c,_0x3e33b2){return _0x2f229c(_0x3e33b2);},'VkMeU':_0x10d2ed(0x110),'yYPpj':function(_0x368bba,_0x366775){return _0x368bba!==_0x366775;},'uWIQm':_0x10d2ed(0xbf),'CYLvP':_0x10d2ed(0x122),'GvFlC':_0x10d2ed(0xd6),'CJANX':_0x10d2ed(0x16b),'YOoQa':function(_0x34a93f,_0x4faac1){return _0x34a93f===_0x4faac1;},'nWqkf':'TestRunSkipped','FlfnD':_0x10d2ed(0xef),'egRLK':function(_0x448906,_0x49bfb1){return _0x448906>_0x49bfb1;},'QYots':_0x10d2ed(0x106),'XxTqk':'passed','PguhI':function(_0x4f4350,_0x3d21ca){return _0x4f4350-_0x3d21ca;},'jeiYf':function(_0x447cce,_0x506ac9,_0x2d5176,_0x533a6c,_0x4bd084){return _0x447cce(_0x506ac9,_0x2d5176,_0x533a6c,_0x4bd084);},'iNFHJ':function(_0x3d5353,_0x3e89cd){return _0x3d5353===_0x3e89cd;},'GQhFR':_0x10d2ed(0x161),'bZDkr':_0x10d2ed(0xfc),'Opkbi':_0x10d2ed(0x167),'yfNrj':_0x10d2ed(0x171),'ralwZ':_0x10d2ed(0xe4),'LNVmK':'failure_reason_expanded','wbCJI':'expanded','pRHPf':_0x10d2ed(0x117),'PNrqT':'hook_type','jCyzz':function(_0x4b7aee,_0x3fd808){return _0x4b7aee>_0x3fd808;},'GgLpk':_0x10d2ed(0x10b),'ZcZjO':function(_0x2e20af,_0x7595b8,_0x955f12){return _0x2e20af(_0x7595b8,_0x955f12);}};try{if(_0x1c012b['fn']&&_0x1c012b['fn'][_0x10d2ed(0x148)]()['match'](/browserstack internal helper hook/))return;await this[_0x10d2ed(0xfb)]();let _0x4fdd93;try{_0x4fdd93=this[_0x10d2ed(0x114)](_0x1c012b);}catch(_0x36e71){_0x5bd590[_0x10d2ed(0x11f)](debug,_0x10d2ed(0xc9)+_0x36e71),_0x4fdd93=null;}if(_0x4fdd93[_0x10d2ed(0x10e)](_0x5bd590[_0x10d2ed(0x15d)]))return;const _0x4916ed=_0x5bd590[_0x10d2ed(0x125)](require,_0x5bd590[_0x10d2ed(0x158)]);let _0x11b389=[];if(_0x5bd590[_0x10d2ed(0x153)](_0x1c012b[_0x10d2ed(0x12c)],undefined))_0x11b389=[_0x1c012b[_0x10d2ed(0x12c)],_0x5bd590[_0x10d2ed(0xed)]];else _0x5bd590['yYPpj'](_0x2e8a13,undefined)?_0x11b389=[_0x2e8a13,_0x5bd590['CYLvP']]:_0x11b389=[];const _0x2f7ebe=_0x5bd590[_0x10d2ed(0x153)](_0x1c012b[_0x10d2ed(0x12c)],undefined)?_0x4916ed[_0x10d2ed(0x165)](_0x1c012b[_0x10d2ed(0x12c)][0x0]):_0x5bd590[_0x10d2ed(0x153)](_0x2e8a13,undefined)?_0x2e8a13[_0x10d2ed(0x148)]():undefined,_0x384288=_0x4fdd93?this[_0x10d2ed(0xe5)][_0x10d2ed(0xf7)](this[_0x10d2ed(0x114)](_0x1c012b)):_0x5bd590[_0x10d2ed(0xe1)],_0x55a402={'framework':FRAMEWORKS[_0x10d2ed(0xb4)],'uuid':_0x1c012b['testAnalyticsId']||_0x1c012b[_0x10d2ed(0x13b)],'name':this[_0x10d2ed(0x164)](_0x1c012b),'body':{'lang':_0x5bd590[_0x10d2ed(0x14c)],'code':_0x1c012b['fn'][_0x10d2ed(0x148)]()},'scopes':this[_0x10d2ed(0xee)](_0x1c012b),'file_name':_0x384288,'vc_filepath':this[_0x10d2ed(0x12a)]&&_0x4fdd93?path[_0x10d2ed(0x142)](this[_0x10d2ed(0x12a)],_0x4fdd93):null,'location':_0x384288,'result':_0x5bd590[_0x10d2ed(0xd1)](_0x104471,_0x5bd590[_0x10d2ed(0x163)])?_0x5bd590['FlfnD']:this['analyticsResult'](_0x1c012b[_0x10d2ed(0x12c)]&&_0x5bd590[_0x10d2ed(0xfe)](_0x1c012b['errorsDetailed'][_0x10d2ed(0x134)],0x0)?_0x5bd590['QYots']:_0x5bd590['XxTqk']),'failure_reason':_0x2f7ebe,'duration_in_ms':_0x1c012b[_0x10d2ed(0xb3)]||(_0x104471[_0x10d2ed(0x137)](/Finished/)||_0x104471['match'](/Skipped/)?_0x5bd590[_0x10d2ed(0xe9)](Date['now'](),new Date(_0x1c012b['started_at'])[_0x10d2ed(0x100)]()):null),'started_at':_0x1c012b[_0x10d2ed(0x161)],'finished_at':_0x104471[_0x10d2ed(0x137)](/Finished/)||_0x104471[_0x10d2ed(0x137)](/Skipped/)?new Date()[_0x10d2ed(0x15b)]():null,'failure':failureData[_0x10d2ed(0x102)](null,_0x11b389),'failure_type':!_0x2f7ebe?null:_0x5bd590[_0x10d2ed(0x125)](getFailureType,_0x2f7ebe),'retry_of':_0x1c012b['retryOf']};_0x5bd590[_0x10d2ed(0x14d)](appendTesthubParams,_0x55a402,_0x104471,_0x1c012b,FRAMEWORKS['JEST']);_0x5bd590[_0x10d2ed(0x16e)](_0x104471,_0x5bd590[_0x10d2ed(0x163)])&&!_0x55a402[_0x5bd590['GQhFR']]&&(_0x55a402[_0x5bd590[_0x10d2ed(0xdf)]]=_0x55a402[_0x5bd590[_0x10d2ed(0xb9)]]);if(_0x104471[_0x10d2ed(0x137)](/HookRun/))[_0x55a402[_0x10d2ed(0xf5)],_0x55a402['name']]=[_0x1c012b['type'],this[_0x10d2ed(0x164)](_0x1c012b)],_0x5bd590['iNFHJ'](_0x104471,_0x5bd590[_0x10d2ed(0x150)])&&(_0x5bd590[_0x10d2ed(0x153)](_0x55a402[_0x10d2ed(0xb8)],_0x5bd590[_0x10d2ed(0x118)])&&(_0x55a402[_0x10d2ed(0xb8)]=_0x5bd590[_0x10d2ed(0xbc)]));else _0x104471[_0x10d2ed(0x137)](/TestRun/)&&this[_0x10d2ed(0x119)](_0x1c012b);const _0x416c5e=_0x55a402[_0x5bd590[_0x10d2ed(0x107)]][0x0];_0x416c5e&&(_0x55a402[_0x5bd590[_0x10d2ed(0x11b)]]=_0x416c5e[_0x5bd590[_0x10d2ed(0x12e)]],_0x55a402[_0x5bd590[_0x10d2ed(0x10d)]]=_0x416c5e[_0x5bd590[_0x10d2ed(0x105)]]);[_0x5bd590[_0x10d2ed(0x101)],_0x5bd590[_0x10d2ed(0x163)]][_0x10d2ed(0x10e)](_0x104471)&&(this[_0x10d2ed(0x15a)][_0x10d2ed(0x154)](_0x55a402),_0x55a402[_0x10d2ed(0x17b)]=this[_0x10d2ed(0x17a)](_0x1c012b),this[_0x10d2ed(0x179)](_0x1c012b));const _0x5c50f8={'event_type':_0x5bd590[_0x10d2ed(0xd1)](_0x104471,_0x5bd590[_0x10d2ed(0x163)])?_0x5bd590[_0x10d2ed(0x101)]:_0x104471};_0x104471['match'](/HookRun/)?(_0x55a402[_0x5bd590[_0x10d2ed(0x143)]]=HOOK_TYPES_MAP[_0x55a402[_0x5bd590['PNrqT']]],_0x5c50f8[_0x5bd590[_0x10d2ed(0xe6)]]=_0x55a402):_0x5c50f8[_0x5bd590[_0x10d2ed(0x152)]]=_0x55a402;_0x5bd590[_0x10d2ed(0x10f)](this[_0x10d2ed(0xd4)][_0x10d2ed(0x134)],0x0)&&[_0x5bd590[_0x10d2ed(0x101)],_0x5bd590[_0x10d2ed(0x163)]][_0x10d2ed(0x10e)](_0x104471)&&(this[_0x10d2ed(0xd4)]['forEach'](async _0x1f7c4f=>{const _0xcfafdb=_0x10d2ed,_0x3b08be=_0x5bd590[_0xcfafdb(0x176)][_0xcfafdb(0x139)]('|');let _0x1fda69=0x0;while(!![]){switch(_0x3b08be[_0x1fda69++]){case'0':await SessionHandler[_0xcfafdb(0x121)](_0x1f7c4f);continue;case'1':_0x1f7c4f[_0x5bd590[_0xcfafdb(0xe6)]][_0x5bd590['Cmiyz']]=_0x5c50f8[_0x5bd590[_0xcfafdb(0x152)]][_0x5bd590[_0xcfafdb(0xd9)]];continue;case'2':_0x1f7c4f[_0x5bd590[_0xcfafdb(0xe6)]][_0x5bd590[_0xcfafdb(0xeb)]]=_0x5c50f8[_0x5bd590[_0xcfafdb(0x152)]][_0x5bd590[_0xcfafdb(0xeb)]];continue;case'3':_0x1f7c4f[_0x5bd590[_0xcfafdb(0xe6)]][_0x5bd590[_0xcfafdb(0x10a)]]=_0x5c50f8[_0x5bd590[_0xcfafdb(0x152)]][_0x5bd590['LnwSh']];continue;case'4':_0x1f7c4f[_0x5bd590['mjkbC']][_0x5bd590[_0xcfafdb(0x107)]]=_0x5c50f8[_0x5bd590[_0xcfafdb(0x152)]][_0x5bd590[_0xcfafdb(0x107)]];continue;}break;}}),this['hook_data']=[]);if(_0x5bd590[_0x10d2ed(0xd1)](this[_0x10d2ed(0x129)],_0x1c012b[_0x10d2ed(0xdd)])){this[_0x10d2ed(0xd4)][_0x10d2ed(0x154)](_0x5c50f8);return;}_0x5bd590[_0x10d2ed(0xd1)](this[_0x10d2ed(0x129)],_0x5bd590[_0x10d2ed(0x11a)])&&_0x5c50f8[_0x5bd590[_0x10d2ed(0x152)]]&&(_0x5c50f8[_0x5bd590[_0x10d2ed(0x152)]][_0x5bd590['Cmiyz']]=_0x5bd590[_0x10d2ed(0x11e)],_0x5c50f8[_0x5bd590[_0x10d2ed(0x152)]][_0x5bd590[_0x10d2ed(0x107)]]=null,_0x5c50f8[_0x5bd590[_0x10d2ed(0x152)]][_0x5bd590[_0x10d2ed(0xeb)]]=null),_0x5bd590['ZcZjO'](setCurrentTestData,FRAMEWORKS[_0x10d2ed(0xb4)],_0x5c50f8),await SessionHandler['uploadEventData'](_0x5c50f8);}catch(_0x391c04){_0x5bd590[_0x10d2ed(0x11f)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x104471+_0x10d2ed(0x159)+_0x391c04);}};[a20_0x5e7d9e(0x168)](_0x2ece11){const _0x4b55c7=a20_0x5e7d9e,_0x12ab23={};_0x12ab23[_0x4b55c7(0x177)]=function(_0x19fc73,_0x58050a){return _0x19fc73==_0x58050a;},_0x12ab23['CVuWy']=function(_0x4069d0,_0x424ef6){return _0x4069d0===_0x424ef6;},_0x12ab23[_0x4b55c7(0x12d)]=function(_0x1dfb62,_0x122f56){return _0x1dfb62===_0x122f56;},_0x12ab23[_0x4b55c7(0xbb)]=_0x4b55c7(0xc1),_0x12ab23[_0x4b55c7(0x15f)]=_0x4b55c7(0xd5);const _0x515072=_0x12ab23,_0x3e60e4=path[_0x4b55c7(0x132)];if(_0x515072[_0x4b55c7(0x177)](_0x2ece11,null)||_0x515072[_0x4b55c7(0xe7)](_0x2ece11,'')||_0x515072[_0x4b55c7(0x12d)](_0x2ece11,_0x3e60e4))return null;try{return fs[_0x4b55c7(0xc6)](path[_0x4b55c7(0x174)](_0x2ece11,_0x515072[_0x4b55c7(0xbb)],_0x515072[_0x4b55c7(0x15f)])),_0x2ece11;}catch(_0x1ba7ee){const _0x27888f=path[_0x4b55c7(0x160)](_0x2ece11);return this[_0x4b55c7(0x168)](_0x27888f);}}[a20_0x5e7d9e(0xb5)]=async _0x47915c=>{const _0x544797=a20_0x5e7d9e,_0x1ab98d={'GXRGx':_0x544797(0x136),'KdZAL':function(_0x31cdee,_0x270afc){return _0x31cdee(_0x270afc);}},_0x46f0e6=TestDetails[_0x544797(0x126)](process[_0x544797(0x12b)]+_0x544797(0x178)),_0x40571d=TestDetails[_0x544797(0x126)](process[_0x544797(0x12b)]+_0x544797(0x141));try{(_0x46f0e6||this[_0x544797(0x112)]&&!this[_0x544797(0x112)][_0x544797(0x13f)])&&(_0x47915c['hook_run_uuid']=_0x46f0e6);!_0x47915c[_0x544797(0xe3)]&&_0x40571d&&(_0x47915c[_0x544797(0x138)]=_0x40571d);if(_0x47915c[_0x544797(0xe3)]||_0x47915c[_0x544797(0x138)]){const _0x2cd744={};_0x2cd744['event_type']=_0x1ab98d[_0x544797(0x149)],_0x2cd744[_0x544797(0x128)]=[_0x47915c],await SessionHandler[_0x544797(0x121)](_0x2cd744);}}catch(_0x63a877){_0x1ab98d[_0x544797(0x175)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x63a877);}};['appendTestPlatform']=async _0x30b6e2=>{const _0x58f4d4=a20_0x5e7d9e,_0x2172d2={'uGOga':_0x58f4d4(0x156),'Ryqua':_0x58f4d4(0x124),'IKYAn':function(_0x2a0633,_0x47b20a){return _0x2a0633(_0x47b20a);}};try{const _0x9aa6b8={'uuid':_0x30b6e2[_0x58f4d4(0xc3)]||TestDetails[_0x58f4d4(0x126)](process['pid']+_0x58f4d4(0x141)),'integrations':_0x30b6e2[_0x2172d2['uGOga']]},_0x3283c8={};_0x3283c8[_0x58f4d4(0x16f)]=_0x2172d2['Ryqua'],_0x3283c8[_0x58f4d4(0x103)]=_0x9aa6b8,await SessionHandler[_0x58f4d4(0x121)](_0x3283c8);}catch(_0x5075d9){_0x2172d2[_0x58f4d4(0xfa)](debug,_0x58f4d4(0xda)+_0x5075d9);}};async[a20_0x5e7d9e(0xfb)](){const _0x15e783=a20_0x5e7d9e,_0x34c067={'YqMMf':function(_0x3964c6){return _0x3964c6();}};if(this[_0x15e783(0x130)])return this[_0x15e783(0x12a)];const _0x492192=await _0x34c067['YqMMf'](getGitMetaData);_0x492192&&(this[_0x15e783(0x12a)]=_0x492192[_0x15e783(0x13c)]),this['_gitConfigured']=!![];}['analyticsResult'](_0x3f43d9){const _0x47b509=a20_0x5e7d9e,_0x51ec96={};_0x51ec96[_0x47b509(0x172)]=_0x47b509(0x16c),_0x51ec96[_0x47b509(0x111)]=_0x47b509(0x13e),_0x51ec96['GDZYT']=_0x47b509(0x106);const _0x513b2a=_0x51ec96,_0x359b26={};return _0x359b26[STATE_PASSED]=_0x513b2a[_0x47b509(0x172)],_0x359b26[STATE_PENDING]=_0x513b2a[_0x47b509(0x111)],_0x359b26[STATE_FAILED]=_0x513b2a[_0x47b509(0xd8)],_0x359b26[_0x3f43d9];}['getHierarchy'](_0x1431bd){const _0x448bf3=a20_0x5e7d9e,_0x53a42c={};_0x53a42c[_0x448bf3(0x147)]=function(_0x2ead33,_0x38c496){return _0x2ead33!==_0x38c496;},_0x53a42c[_0x448bf3(0x14b)]=function(_0x136cad,_0xf95521){return _0x136cad!==_0xf95521;},_0x53a42c[_0x448bf3(0x14a)]=_0x448bf3(0x15c);const _0xf14179=_0x53a42c,_0x44f7c5=[];if(_0x1431bd&&_0x1431bd[_0x448bf3(0x162)]){let _0x53a1c3=_0x1431bd['parent'];while(_0x53a1c3&&_0xf14179[_0x448bf3(0x147)](_0x53a1c3[_0x448bf3(0xec)],'')&&_0xf14179[_0x448bf3(0x14b)](_0x53a1c3[_0x448bf3(0xec)],_0xf14179[_0x448bf3(0x14a)])){_0x44f7c5[_0x448bf3(0x154)](_0x53a1c3[_0x448bf3(0xec)]),_0x53a1c3=_0x53a1c3['parent'];}}return _0x44f7c5[_0x448bf3(0x127)](),_0x44f7c5;}['getRootParentFile']=_0x1ffe8f=>{const _0x3eb8b5=a20_0x5e7d9e;if(_0x1ffe8f['asyncError']){const _0x34f09f=stackTrace[_0x3eb8b5(0x16a)]['call'](stackTrace,_0x1ffe8f[_0x3eb8b5(0x166)]);return _0x34f09f[0x0][_0x3eb8b5(0xf1)]();}if(_0x1ffe8f[_0x3eb8b5(0x12f)])return _0x1ffe8f[_0x3eb8b5(0x12f)];return null;};['mapTestHooks']=_0x5c429f=>{const _0x3b279e=a20_0x5e7d9e;if(!_0x5c429f||!_0x5c429f[_0x3b279e(0x162)])return;_0x5c429f[_0x3b279e(0x162)]['hooks']['forEach'](_0x1c9701=>{const _0x3b1211=_0x3b279e;!_0x1c9701[_0x3b1211(0x13b)]&&(_0x1c9701[_0x3b1211(0x13b)]=TestDetails[_0x3b1211(0xcc)](process[_0x3b1211(0x12b)]+_0x3b1211(0x178)));}),this[_0x3b279e(0x119)](_0x5c429f['parent']);};[a20_0x5e7d9e(0x179)]=_0x1840db=>{const _0x1fccb9=a20_0x5e7d9e,_0x4cda43={};_0x4cda43[_0x1fccb9(0x13d)]='beforeEach',_0x4cda43['fxeET']=_0x1fccb9(0xd3);const _0x35fb4e=_0x4cda43;if(!_0x1840db||!_0x1840db['parent'])return;_0x1840db[_0x1fccb9(0x162)][_0x1fccb9(0x17b)]['forEach'](_0x346cce=>{const _0x2e0f26=_0x1fccb9;[_0x35fb4e['BNdVG'],_0x35fb4e['fxeET']]['includes'](_0x346cce[_0x2e0f26(0xdd)])&&_0x346cce['hookAnalyticsId']&&(_0x346cce[_0x2e0f26(0x13b)]=null);}),this[_0x1fccb9(0x119)](_0x1840db[_0x1fccb9(0x162)]);};[a20_0x5e7d9e(0xd2)](_0x2e84b8){const _0x38e95a=a20_0x5e7d9e,_0x262fa8={'RXrcv':_0x38e95a(0x104),'PkNzq':function(_0x214370,_0x15f50c){return _0x214370(_0x15f50c);},'lZhJZ':function(_0x4b060c,_0x192c3b){return _0x4b060c+_0x192c3b;},'wXVnK':'Exception\x20in\x20getting\x20file\x20for\x20hook\x20'};try{const _0x165d77=this['getRootParentFile'](_0x2e84b8);return _0x165d77[_0x38e95a(0x10e)](_0x262fa8[_0x38e95a(0x11c)]);}catch(_0x173dbc){_0x262fa8['PkNzq'](debug,_0x262fa8['lZhJZ'](_0x262fa8['wXVnK'],_0x173dbc));}return![];}[a20_0x5e7d9e(0x17a)]=_0x442d29=>{const _0x34221e=a20_0x5e7d9e,_0x48e219={'avxke':function(_0x3d1e6c,_0x50601e){return _0x3d1e6c(_0x50601e);}};if(!_0x442d29||!_0x442d29[_0x34221e(0x162)])return[];const _0x916300=[];return _0x442d29[_0x34221e(0x162)][_0x34221e(0x17b)][_0x34221e(0x144)](_0x1ea0fd=>{const _0x594e27=_0x34221e;_0x1ea0fd['hookAnalyticsId']&&!_0x48e219[_0x594e27(0x151)](isInternalHook,_0x1ea0fd['fn'])&&!this[_0x594e27(0xd2)](_0x1ea0fd)&&_0x916300[_0x594e27(0x154)](_0x1ea0fd[_0x594e27(0x13b)]);}),[..._0x916300,...this['getHooksForTest'](_0x442d29['parent'])];};},[a20_0x5e7d9e(0xc4),a20_0x5e7d9e(0xcd),'testStarted',a20_0x5e7d9e(0x164),a20_0x5e7d9e(0x123),a20_0x5e7d9e(0x168),a20_0x5e7d9e(0xb5),a20_0x5e7d9e(0xce),'analyticsResult',a20_0x5e7d9e(0xee),a20_0x5e7d9e(0x114),a20_0x5e7d9e(0x119),a20_0x5e7d9e(0x179),a20_0x5e7d9e(0x17a),a20_0x5e7d9e(0xfb)],a20_0x5e7d9e(0x13a));
|