browserstack-node-sdk 1.65.2 → 1.65.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -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/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116_0x4095b2=a116_0xebfa;function a116_0xebfa(_0x153e8b,_0x34b13e){const _0x33382f=a116_0x3338();return a116_0xebfa=function(_0xebfa95,_0x2ede71){_0xebfa95=_0xebfa95-0x10d;let _0x3a3a8f=_0x33382f[_0xebfa95];return _0x3a3a8f;},a116_0xebfa(_0x153e8b,_0x34b13e);}(function(_0x82da15,_0x30b075){const _0x192382=a116_0xebfa,_0x1a27c3=_0x82da15();while(!![]){try{const _0x545b85=-parseInt(_0x192382(0x118))/0x1+parseInt(_0x192382(0x111))/0x2*(-parseInt(_0x192382(0x113))/0x3)+parseInt(_0x192382(0x116))/0x4*(-parseInt(_0x192382(0x112))/0x5)+parseInt(_0x192382(0x10e))/0x6*(-parseInt(_0x192382(0x11a))/0x7)+parseInt(_0x192382(0x11e))/0x8*(parseInt(_0x192382(0x11d))/0x9)+parseInt(_0x192382(0x11f))/0xa+-parseInt(_0x192382(0x115))/0xb*(-parseInt(_0x192382(0x114))/0xc);if(_0x545b85===_0x30b075)break;else _0x1a27c3['push'](_0x1a27c3['shift']());}catch(_0x590ea3){_0x1a27c3['push'](_0x1a27c3['shift']());}}}(a116_0x3338,0x71576));const a116_0x3be833={};a116_0x3be833[a116_0x4095b2(0x10d)]=0x0,a116_0x3be833[a116_0x4095b2(0x110)]=function(){const _0x14fb92=a116_0x4095b2,_0x391247={};_0x391247[_0x14fb92(0x10f)]=_0x14fb92(0x11c);const _0x531429=_0x391247;return _0x531429[_0x14fb92(0x10f)];};const a116_0x4dbdc9={};a116_0x4dbdc9[a116_0x4095b2(0x10d)]=0x1,a116_0x4dbdc9[a116_0x4095b2(0x110)]=function(){const _0x36d175=a116_0x4095b2,_0xc6a76f={};_0xc6a76f[_0x36d175(0x121)]=_0x36d175(0x120);const _0x2856f1=_0xc6a76f;return _0x2856f1['KTSnl'];};function a116_0x3338(){const _0x592c3d=['417221kShlGl','values','HookState.NONE','4745151EVryKV','8vnxGvb','1238170haWHGi','HookState.PRE','KTSnl','value','66cqqENd','nmwgF','toString','596BxQmfU','3999885TieOEu','9147jlSOHb','24624TdAUMk','13926FxrqZM','4ouWCas','AxHEr','420430ERnzMq','freeze'];a116_0x3338=function(){return _0x592c3d;};return a116_0x3338();}const a116_0x5cc756={};a116_0x5cc756[a116_0x4095b2(0x10d)]=0x2,a116_0x5cc756[a116_0x4095b2(0x110)]=function(){const _0x28913e=a116_0x4095b2,_0x4f507f={};_0x4f507f[_0x28913e(0x117)]='HookState.POST';const _0x58fad2=_0x4f507f;return _0x58fad2[_0x28913e(0x117)];};const HookState=Object[a116_0x4095b2(0x119)]({'NONE':a116_0x3be833,'PRE':a116_0x4dbdc9,'POST':a116_0x5cc756,'fromValue'(_0x1ed001){const _0x54855a=a116_0x4095b2;return Object[_0x54855a(0x11b)](HookState)['find'](_0x35ced4=>_0x35ced4[_0x54855a(0x10d)]===_0x1ed001);}});module['exports']=HookState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117_0x5f3bfd=a117_0x5842;(function(_0x20d9ad,_0x4f9336){const _0x47481e=a117_0x5842,_0x5eb87a=_0x20d9ad();while(!![]){try{const _0x5ae3bd=-parseInt(_0x47481e(0xbc))/0x1+-parseInt(_0x47481e(0xc2))/0x2+-parseInt(_0x47481e(0xcf))/0x3*(parseInt(_0x47481e(0xbf))/0x4)+-parseInt(_0x47481e(0xd5))/0x5*(-parseInt(_0x47481e(0xde))/0x6)+parseInt(_0x47481e(0xc8))/0x7*(parseInt(_0x47481e(0xc0))/0x8)+-parseInt(_0x47481e(0xba))/0x9*(parseInt(_0x47481e(0xd7))/0xa)+parseInt(_0x47481e(0xbd))/0xb*(parseInt(_0x47481e(0xc4))/0xc);if(_0x5ae3bd===_0x4f9336)break;else _0x5eb87a['push'](_0x5eb87a['shift']());}catch(_0x92b422){_0x5eb87a['push'](_0x5eb87a['shift']());}}}(a117_0x9fd6,0xdb887));const a117_0x58c29b={};a117_0x58c29b['value']=0x0,a117_0x58c29b[a117_0x5f3bfd(0xd0)]=function(){const _0x35fceb=a117_0x5f3bfd,_0x16b301={};_0x16b301[_0x35fceb(0xca)]=_0x35fceb(0xc1);const _0x4d9ca4=_0x16b301;return _0x4d9ca4['OQuYe'];};const a117_0x5dcaad={};a117_0x5dcaad[a117_0x5f3bfd(0xcd)]=0x1,a117_0x5dcaad[a117_0x5f3bfd(0xd0)]=function(){const _0x3fd044=a117_0x5f3bfd,_0x21d131={};_0x21d131[_0x3fd044(0xd1)]=_0x3fd044(0xc7);const _0x58818b=_0x21d131;return _0x58818b[_0x3fd044(0xd1)];};const a117_0x1b3d94={};a117_0x1b3d94['value']=0x2,a117_0x1b3d94[a117_0x5f3bfd(0xd0)]=function(){const _0xfc89bd=a117_0x5f3bfd,_0x52a249={};_0x52a249[_0xfc89bd(0xc5)]='TestFrameworkState.LOG';const _0xe285df=_0x52a249;return _0xe285df['wbHAw'];};const a117_0x51bf21={};a117_0x51bf21['value']=0x3,a117_0x51bf21[a117_0x5f3bfd(0xd0)]=function(){const _0x32f092=a117_0x5f3bfd,_0x3c1420={};_0x3c1420['QbDhm']=_0x32f092(0xc6);const _0x5ed1b5=_0x3c1420;return _0x5ed1b5['QbDhm'];};const a117_0x41c407={};a117_0x41c407[a117_0x5f3bfd(0xcd)]=0x4,a117_0x41c407[a117_0x5f3bfd(0xd0)]=function(){const _0x11c2da=a117_0x5f3bfd,_0x6d7ba={};_0x6d7ba[_0x11c2da(0xd2)]=_0x11c2da(0xcb);const _0x1a8d53=_0x6d7ba;return _0x1a8d53[_0x11c2da(0xd2)];};function a117_0x9fd6(){const _0x326302=['TvuYH','imSCt','TestFrameworkState.STEP','5dMMDVt','TestFrameworkState.AFTER_EACH','760cUFDqI','nxzzc','TestFrameworkState.TEST_STEP','freeze','TestFrameworkState.BEFORE_EACH','find','BqFXx','9523524uslQfD','100908LWKRCA','zUArJ','336843tgSswu','88759meSQBa','TestFrameworkState.AFTER_ALL','761868pFLiSS','1672uiKVie','TestFrameworkState.NONE','3483244wPNXKB','wYhvR','1464cyJSyd','wbHAw','TestFrameworkState.SETUP_FIXTURE','TestFrameworkState.BEFORE_ALL','48517UFLuzf','fStyj','OQuYe','TestFrameworkState.INIT_TEST','ivFcJ','value','kdGOE','3WgODIV','toString','ERuZV'];a117_0x9fd6=function(){return _0x326302;};return a117_0x9fd6();}const a117_0x5575f6={};a117_0x5575f6[a117_0x5f3bfd(0xcd)]=0x5,a117_0x5575f6[a117_0x5f3bfd(0xd0)]=function(){const _0x29d300=a117_0x5f3bfd,_0x4540c2={};_0x4540c2[_0x29d300(0xd8)]=_0x29d300(0xdb);const _0x576196=_0x4540c2;return _0x576196[_0x29d300(0xd8)];};const a117_0x140a3a={};a117_0x140a3a['value']=0x6,a117_0x140a3a[a117_0x5f3bfd(0xd0)]=function(){const _0x5ddffc=a117_0x5f3bfd,_0x4595={};_0x4595[_0x5ddffc(0xbb)]=_0x5ddffc(0xd6);const _0xa3fac8=_0x4595;return _0xa3fac8[_0x5ddffc(0xbb)];};const a117_0x4d736e={};a117_0x4d736e[a117_0x5f3bfd(0xcd)]=0x7,a117_0x4d736e[a117_0x5f3bfd(0xd0)]=function(){const _0x53c519=a117_0x5f3bfd,_0x2c4b43={};_0x2c4b43[_0x53c519(0xc3)]='TestFrameworkState.TEST';const _0x3ed880=_0x2c4b43;return _0x3ed880[_0x53c519(0xc3)];};const a117_0x43e1c6={};a117_0x43e1c6[a117_0x5f3bfd(0xcd)]=0x8,a117_0x43e1c6[a117_0x5f3bfd(0xd0)]=function(){const _0x17b5ee=a117_0x5f3bfd,_0xeffa46={};_0xeffa46['imSCt']=_0x17b5ee(0xd4);const _0x44c505=_0xeffa46;return _0x44c505[_0x17b5ee(0xd3)];};const a117_0x1a855e={};a117_0x1a855e[a117_0x5f3bfd(0xcd)]=0x9,a117_0x1a855e[a117_0x5f3bfd(0xd0)]=function(){const _0x1e80db=a117_0x5f3bfd,_0x2f02af={};_0x2f02af[_0x1e80db(0xc9)]='TestFrameworkState.LOG_REPORT';const _0x49d95c=_0x2f02af;return _0x49d95c[_0x1e80db(0xc9)];};const a117_0x2c6178={};a117_0x2c6178[a117_0x5f3bfd(0xcd)]=0xa,a117_0x2c6178['toString']=function(){const _0x56951c=a117_0x5f3bfd,_0x476e58={};_0x476e58[_0x56951c(0xce)]=_0x56951c(0xbe);const _0x474758=_0x476e58;return _0x474758[_0x56951c(0xce)];};const a117_0x1cab8e={};a117_0x1cab8e[a117_0x5f3bfd(0xcd)]=0xb,a117_0x1cab8e[a117_0x5f3bfd(0xd0)]=function(){const _0x12a7b3=a117_0x5f3bfd,_0x1b6a6a={};_0x1b6a6a[_0x12a7b3(0xdd)]='TestFrameworkState.TEST_SCREENSHOT';const _0x1150ab=_0x1b6a6a;return _0x1150ab[_0x12a7b3(0xdd)];};const a117_0x48a405={};a117_0x48a405[a117_0x5f3bfd(0xcd)]=0xc,a117_0x48a405[a117_0x5f3bfd(0xd0)]=function(){const _0x4e5b98=a117_0x5f3bfd,_0x4e0cc6={};_0x4e0cc6[_0x4e5b98(0xcc)]=_0x4e5b98(0xd9);const _0x41a8b7=_0x4e0cc6;return _0x41a8b7[_0x4e5b98(0xcc)];};function a117_0x5842(_0x22ae53,_0xb4c78d){const _0x9fd68=a117_0x9fd6();return a117_0x5842=function(_0x584287,_0x4de0cd){_0x584287=_0x584287-0xba;let _0x127f7c=_0x9fd68[_0x584287];return _0x127f7c;},a117_0x5842(_0x22ae53,_0xb4c78d);}const TestFrameworkState=Object[a117_0x5f3bfd(0xda)]({'NONE':a117_0x58c29b,'BEFORE_ALL':a117_0x5dcaad,'LOG':a117_0x1b3d94,'SETUP_FIXTURE':a117_0x51bf21,'INIT_TEST':a117_0x41c407,'BEFORE_EACH':a117_0x5575f6,'AFTER_EACH':a117_0x140a3a,'TEST':a117_0x4d736e,'STEP':a117_0x43e1c6,'LOG_REPORT':a117_0x1a855e,'AFTER_ALL':a117_0x2c6178,'TEST_SCREENSHOT':a117_0x1cab8e,'TEST_STEP':a117_0x48a405,'fromValue'(_0x5d0b47){const _0x464ff5=a117_0x5f3bfd;return Object['values'](TestFrameworkState)[_0x464ff5(0xdc)](_0x29169a=>_0x29169a[_0x464ff5(0xcd)]===_0x5d0b47);}});module['exports']=TestFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118_0x32bc35=a118_0x38cc;(function(_0x4f922f,_0x43559f){const _0x1e379a=a118_0x38cc,_0x3ad2ac=_0x4f922f();while(!![]){try{const _0x5244a8=parseInt(_0x1e379a(0x258))/0x1+parseInt(_0x1e379a(0x232))/0x2+parseInt(_0x1e379a(0x261))/0x3*(-parseInt(_0x1e379a(0x1ec))/0x4)+parseInt(_0x1e379a(0x259))/0x5*(parseInt(_0x1e379a(0x202))/0x6)+-parseInt(_0x1e379a(0x1f9))/0x7*(parseInt(_0x1e379a(0x22b))/0x8)+parseInt(_0x1e379a(0x215))/0x9*(-parseInt(_0x1e379a(0x207))/0xa)+-parseInt(_0x1e379a(0x254))/0xb;if(_0x5244a8===_0x43559f)break;else _0x3ad2ac['push'](_0x3ad2ac['shift']());}catch(_0x3fccdc){_0x3ad2ac['push'](_0x3ad2ac['shift']());}}}(a118_0x4b08,0x85705));function a118_0x4b08(){const _0x1451c7=['4094607WMJzYa','NhAiu','kVYop','TEST','1005004lsNhUX','105unDinu','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','seeSQ','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','https','ggyes','uIZrl','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','605076wOdUtW','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','testInfo','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','buildHashedId','Vhitq','format','./state/hookState','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','DoWoC','size','TestHubModule','name','clearAttachments','getState','EXijc','uploadAttachmentsManager','existsSync','createWriteStream','4OumkxD','modules','homedir','qUYOZ','LaeWG','basename','testhubConfig','NGwlJ','currentTest','startsWith','getTrackedInstance','https://','../../helpers/classLogger.js','82579VLjfuj','./framework/constants/testFrameworkConstants','force','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','.browserstack','./browserstackCLI','error','setTestDetails','./cliUtils','38676uYtlIb','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','join','tzMCe','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','20dRzdqW','close','qDOVK','ndfKB','getInstance','KEY_TEST_ID','exports','PHEeH','Cleared\x20attachment\x20folder','addMultipleEntries','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','CpYWC','recursive',',\x20filepath:\x20','2347569zjgpfX','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','statSync','trim','getTestFramework','mULLA','unlinkSync','trackFile','yFnSc','oCzOF','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','resolveInstance','__workerDetails','./TestInfo','KEY_TEST_ATTACHMENTS','debug','mkdirSync','TZWcI','wZkWu','getTestDetails','trackFile:\x20node-generic\x20testId\x20fallback\x20failed:\x20','xHLBX','176FIovjj','logger','function','getCurrentTestUUID','./state/testFrameworkState','toLowerCase','toObject','1522680jtlzko','./modules/playwrightDriverModule','KEY_FILE_PATH','pipe','Created\x20.browserstack\x20folder\x20at:\x20%s','KEY_FILE_LEVEL','ktlPN','qTldj','message','kVMEk','http','jest','HseAu','bgXMH','DdRKs','WkeiU','hKWQu','util','__jestCurrentTestIdentifier','get','GVDba','hQprW','statusCode','path','PpFSn','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','KEY_FILE_NAME','toFixed','uploadAttachments','DAlLI','PbSOO','MSPZb','OlQEz','getAllData'];a118_0x4b08=function(){return _0x1451c7;};return a118_0x4b08();}const os=require('os'),fs=require('fs'),path=require(a118_0x32bc35(0x249)),util=require(a118_0x32bc35(0x243)),BrowserstackCLI=require(a118_0x32bc35(0x1fe)),https=require(a118_0x32bc35(0x25d)),http=require(a118_0x32bc35(0x23c)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a118_0x32bc35(0x233)),TestInfo=require(a118_0x32bc35(0x222)),TestFrameworkConstants=require(a118_0x32bc35(0x1fa)),{createClassLogger}=require(a118_0x32bc35(0x1f8));class uploadAttachmentsManager{static ['logger']=createClassLogger(a118_0x32bc35(0x271));static[a118_0x32bc35(0x24e)](_0x36f3c1,_0x55b134=![]){const _0x9d06ed=a118_0x32bc35,_0x539273={};_0x539273[_0x9d06ed(0x239)]=function(_0x363b51,_0x53423d){return _0x363b51/_0x53423d;},_0x539273[_0x9d06ed(0x24a)]=function(_0x39394f,_0x3d62dc){return _0x39394f*_0x3d62dc;},_0x539273[_0x9d06ed(0x241)]=function(_0x252820,_0x45ae49){return _0x252820>_0x45ae49;},_0x539273[_0x9d06ed(0x21e)]=_0x9d06ed(0x21f),_0x539273[_0x9d06ed(0x246)]='File\x20downloaded\x20to:\x20%s',_0x539273['xHLBX']=function(_0x4e21cd,_0x100ff0){return _0x4e21cd===_0x100ff0;},_0x539273[_0x9d06ed(0x240)]='finish',_0x539273['yFnSc']=_0x9d06ed(0x264),_0x539273[_0x9d06ed(0x242)]=_0x9d06ed(0x1fc),_0x539273[_0x9d06ed(0x23f)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x539273[_0x9d06ed(0x1f0)]=_0x9d06ed(0x1fd),_0x539273['wZkWu']=_0x9d06ed(0x206),_0x539273['ggyes']=_0x9d06ed(0x236),_0x539273[_0x9d06ed(0x26a)]='Created\x20folder:\x20%s',_0x539273[_0x9d06ed(0x256)]=function(_0x46fa3c,_0x3b0189){return _0x46fa3c===_0x3b0189;},_0x539273[_0x9d06ed(0x270)]='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x539273[_0x9d06ed(0x25f)]=_0x9d06ed(0x1f7),_0x539273[_0x9d06ed(0x238)]='http://',_0x539273[_0x9d06ed(0x1ef)]=_0x9d06ed(0x1ff),_0x539273[_0x9d06ed(0x250)]=_0x9d06ed(0x269),_0x539273[_0x9d06ed(0x212)]=function(_0x4a597c,_0xf85d1f){return _0x4a597c>_0xf85d1f;},_0x539273[_0x9d06ed(0x1f3)]=_0x9d06ed(0x25a);const _0x45f727=_0x539273;this[_0x9d06ed(0x22c)][_0x9d06ed(0x224)](util[_0x9d06ed(0x267)](_0x45f727['bgXMH'],_0x36f3c1));const _0x2b6fda=os[_0x9d06ed(0x1ee)](),_0x3df8e6=path['join'](_0x2b6fda,_0x45f727[_0x9d06ed(0x1f0)]);!fs[_0x9d06ed(0x1ea)](_0x3df8e6)&&(this[_0x9d06ed(0x22c)]['debug'](util[_0x9d06ed(0x267)](_0x45f727[_0x9d06ed(0x227)],_0x3df8e6)),fs['mkdirSync'](_0x3df8e6),this[_0x9d06ed(0x22c)]['debug'](util[_0x9d06ed(0x267)](_0x45f727[_0x9d06ed(0x25e)],_0x3df8e6)));const _0xf33081=BrowserstackCLI[_0x9d06ed(0x20b)]()[_0x9d06ed(0x1ed)][_0x9d06ed(0x26c)]?.['testhubConfig']?.[_0x9d06ed(0x231)]()?.[_0x9d06ed(0x265)],_0x47c56c=path[_0x9d06ed(0x204)](_0x3df8e6,_0xf33081);!fs[_0x9d06ed(0x1ea)](_0x47c56c)&&(fs[_0x9d06ed(0x225)](_0x47c56c),this['logger'][_0x9d06ed(0x224)](util[_0x9d06ed(0x267)](_0x45f727[_0x9d06ed(0x26a)],_0x47c56c)));if(_0x45f727[_0x9d06ed(0x256)](_0x36f3c1[_0x9d06ed(0x218)](),'')){this['logger'][_0x9d06ed(0x224)](util[_0x9d06ed(0x267)](_0x45f727['EXijc']));return;}if(_0x36f3c1[_0x9d06ed(0x1f5)](_0x45f727[_0x9d06ed(0x25f)])||_0x36f3c1[_0x9d06ed(0x1f5)](_0x45f727[_0x9d06ed(0x238)])){const _0x3faf03=_0x36f3c1[_0x9d06ed(0x1f5)](_0x45f727[_0x9d06ed(0x25f)])?https:http,_0x88f7a0=path['basename'](_0x36f3c1),_0x253782=path['join'](_0x47c56c,_0x88f7a0),_0x182c56=fs[_0x9d06ed(0x1eb)](_0x253782);_0x3faf03[_0x9d06ed(0x245)](_0x36f3c1,_0x4c8955=>{const _0x36a5fb=_0x9d06ed;if(_0x45f727[_0x36a5fb(0x22a)](_0x4c8955[_0x36a5fb(0x248)],0xc8))_0x4c8955[_0x36a5fb(0x235)](_0x182c56),_0x182c56['on'](_0x45f727['DdRKs'],()=>{const _0x4ffc63=_0x36a5fb;_0x182c56[_0x4ffc63(0x208)]();const _0x57a15a=fs['statSync'](_0x253782),_0x53e46b=_0x45f727['qTldj'](_0x57a15a[_0x4ffc63(0x26b)],_0x45f727['PpFSn'](0x400,0x400));if(_0x45f727[_0x4ffc63(0x241)](_0x53e46b,0x64)){this[_0x4ffc63(0x22c)][_0x4ffc63(0x224)](util[_0x4ffc63(0x267)](_0x45f727[_0x4ffc63(0x21e)],_0x53e46b[_0x4ffc63(0x24d)](0x2))),fs[_0x4ffc63(0x21b)](_0x253782);return;}this[_0x4ffc63(0x22c)][_0x4ffc63(0x224)](util[_0x4ffc63(0x267)](_0x45f727['GVDba'],_0x253782)),uploadAttachmentsManager[_0x4ffc63(0x21c)](_0x253782,_0x55b134);});else{this[_0x36a5fb(0x22c)][_0x36a5fb(0x224)](util[_0x36a5fb(0x267)](_0x45f727[_0x36a5fb(0x21d)],_0x4c8955[_0x36a5fb(0x248)])),_0x182c56[_0x36a5fb(0x208)](),fs[_0x36a5fb(0x21b)](_0x253782);return;}})['on'](_0x45f727[_0x9d06ed(0x1ef)],_0x171e57=>{const _0xb326c7=_0x9d06ed;this['logger']['debug'](util[_0xb326c7(0x267)](_0x45f727['hKWQu'],_0x171e57[_0xb326c7(0x23a)])),_0x182c56['close'](),fs[_0xb326c7(0x21b)](_0x253782);return;});}else{if(!fs[_0x9d06ed(0x1ea)](_0x36f3c1)){this[_0x9d06ed(0x22c)][_0x9d06ed(0x224)](util[_0x9d06ed(0x267)](_0x45f727[_0x9d06ed(0x250)],_0x36f3c1));return;}const _0x3215f3=fs[_0x9d06ed(0x217)](_0x36f3c1),_0x10a2ec=_0x45f727[_0x9d06ed(0x239)](_0x3215f3[_0x9d06ed(0x26b)],_0x45f727[_0x9d06ed(0x24a)](0x400,0x400));if(_0x45f727[_0x9d06ed(0x212)](_0x10a2ec,0x64)){this[_0x9d06ed(0x22c)][_0x9d06ed(0x224)](util[_0x9d06ed(0x267)](_0x45f727[_0x9d06ed(0x1f3)],_0x10a2ec[_0x9d06ed(0x24d)](0x2)));return;}const _0x3e5e6c=path[_0x9d06ed(0x1f1)](_0x36f3c1),_0x44e98d=path[_0x9d06ed(0x204)](_0x47c56c,_0x3e5e6c);fs['copyFileSync'](_0x36f3c1,_0x44e98d),uploadAttachmentsManager[_0x9d06ed(0x21c)](_0x44e98d,_0x55b134);}}static['trackFile'](_0x21c8c0,_0x32de20){const _0x54e86c=a118_0x32bc35,_0x536cb3={'IHDAx':function(_0x494cfc,_0xe1f62d){return _0x494cfc(_0xe1f62d);},'hQprW':_0x54e86c(0x1fe),'dsvxY':function(_0x226426,_0x1a7234){return _0x226426(_0x1a7234);},'HseAu':_0x54e86c(0x201),'MSPZb':function(_0x5c3c10,_0x151e27){return _0x5c3c10===_0x151e27;},'TZWcI':_0x54e86c(0x23d),'EnwQX':function(_0x14804d,_0xcebe87){return _0x14804d===_0xcebe87;},'mULLA':_0x54e86c(0x22d),'tzMCe':_0x54e86c(0x262),'DAlLI':'BuildLevel','uOFqY':'TestLevel','Vhitq':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','AsCsA':function(_0x473811,_0x2c1910){return _0x473811(_0x2c1910);},'kVMEk':_0x54e86c(0x22f),'PHEeH':_0x54e86c(0x268),'ndfKB':'trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','ieCQM':_0x54e86c(0x203),'NhAiu':_0x54e86c(0x25c)};try{let _0x2fbc95;const _0x51eeaa=global[_0x54e86c(0x221)]?.[_0x54e86c(0x1f4)]?.[_0x54e86c(0x263)],_0x1de96f=_0x536cb3['IHDAx'](require,_0x536cb3[_0x54e86c(0x247)]),_0xd9cd2a=_0x536cb3['dsvxY'](require,_0x536cb3[_0x54e86c(0x23e)]),_0x1ae19e=_0x1de96f['getInstance']()['isRunning']()&&_0x536cb3[_0x54e86c(0x251)](_0xd9cd2a['getTestFrameworkDetail']()?.[_0x54e86c(0x26d)]?.[_0x54e86c(0x230)](),_0x536cb3[_0x54e86c(0x226)]);if(_0x1ae19e){_0x2fbc95=global[_0x54e86c(0x244)];if(!_0x2fbc95){const _0x2575ce=AutomationFramework[_0x54e86c(0x1f6)]();_0x2fbc95=AutomationFramework[_0x54e86c(0x26f)](_0x2575ce,PlaywrightDriverModule[_0x54e86c(0x20c)],'');}this[_0x54e86c(0x22c)][_0x54e86c(0x224)](_0x54e86c(0x24b)+_0x2fbc95);}else{if(!_0x51eeaa){const _0x5159e1=AutomationFramework[_0x54e86c(0x1f6)]();_0x2fbc95=AutomationFramework['getState'](_0x5159e1,PlaywrightDriverModule[_0x54e86c(0x20c)],'');}else _0x2fbc95=TestInfo['getTestIdentifierFromTestInfo'](_0x51eeaa,_0x51eeaa['retry']);this['logger']['debug']('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0x2fbc95);}if(!_0x2fbc95)try{const _0x112e7d=_0x1de96f['getInstance'](),_0x4ac976=_0x112e7d&&_0x112e7d[_0x54e86c(0x219)]();_0x2fbc95=_0x4ac976&&_0x536cb3['EnwQX'](typeof _0x4ac976[_0x54e86c(0x22e)],_0x536cb3[_0x54e86c(0x21a)])&&_0x4ac976[_0x54e86c(0x22e)]()||_0x2fbc95;}catch(_0x3a517f){this[_0x54e86c(0x22c)][_0x54e86c(0x224)](_0x54e86c(0x229)+(_0x3a517f&&_0x3a517f[_0x54e86c(0x23a)]));}if(!_0x2fbc95){this[_0x54e86c(0x22c)]['debug'](_0x536cb3[_0x54e86c(0x205)]);return;}const _0x1b24ea={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x54e86c(0x217)](_0x21c8c0)['size'],[TestFrameworkConstants[_0x54e86c(0x24c)]]:path['basename'](_0x21c8c0),[TestFrameworkConstants[_0x54e86c(0x234)]]:_0x21c8c0,[TestFrameworkConstants[_0x54e86c(0x237)]]:_0x32de20?_0x536cb3[_0x54e86c(0x24f)]:_0x536cb3['uOFqY']};if(_0x1ae19e){const _0x106354=_0x1de96f[_0x54e86c(0x20b)]()[_0x54e86c(0x219)]();if(!_0x106354){this['logger'][_0x54e86c(0x224)](_0x536cb3[_0x54e86c(0x266)]);return;}const _0x37e814=_0x536cb3['AsCsA'](require,_0x536cb3[_0x54e86c(0x23b)]),_0xf737f2=_0x536cb3['dsvxY'](require,_0x536cb3[_0x54e86c(0x20e)]),_0x323d63=_0x106354[_0x54e86c(0x220)](_0x37e814[_0x54e86c(0x257)],_0xf737f2['POST']);if(!_0x323d63){this[_0x54e86c(0x22c)][_0x54e86c(0x224)](_0x536cb3[_0x54e86c(0x20a)]);return;}const _0x1fd772=_0x323d63[_0x54e86c(0x253)]()[_0x54e86c(0x245)](_0x2fbc95)||{},_0x3b14e7=_0x1fd772[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5efd46={..._0x3b14e7};_0x5efd46[_0x21c8c0]=_0x1b24ea;const _0x15f59d=_0x5efd46,_0x568291={[TestFrameworkConstants[_0x54e86c(0x223)]]:_0x15f59d},_0x2aeb0f={};_0x2aeb0f[_0x2fbc95]=_0x568291,_0x323d63[_0x54e86c(0x210)](_0x2aeb0f),this[_0x54e86c(0x22c)][_0x54e86c(0x224)](_0x54e86c(0x260)+_0x2fbc95+_0x54e86c(0x214)+_0x21c8c0);}else{const _0x344652=TestInfo[_0x54e86c(0x228)](_0x2fbc95),_0x19da03=_0x344652[TestFrameworkConstants[_0x54e86c(0x223)]]||{};_0x19da03[_0x21c8c0]=_0x1b24ea,_0x344652[TestFrameworkConstants[_0x54e86c(0x223)]]=_0x19da03,TestInfo[_0x54e86c(0x200)](_0x2fbc95,_0x344652),this[_0x54e86c(0x22c)][_0x54e86c(0x224)](_0x54e86c(0x216)+_0x2fbc95+',\x20filepath:\x20'+_0x21c8c0);}this[_0x54e86c(0x22c)][_0x54e86c(0x224)](util[_0x54e86c(0x267)](_0x536cb3['ieCQM'],_0x21c8c0));}catch(_0x8130a2){this[_0x54e86c(0x22c)][_0x54e86c(0x224)](util[_0x54e86c(0x267)](_0x536cb3[_0x54e86c(0x255)],_0x8130a2['message']));}}static[a118_0x32bc35(0x26e)](){const _0x12e07f=a118_0x32bc35,_0x499bf7={};_0x499bf7['qDOVK']=_0x12e07f(0x1fd),_0x499bf7[_0x12e07f(0x25b)]=_0x12e07f(0x211),_0x499bf7[_0x12e07f(0x252)]=_0x12e07f(0x20f);const _0x478a1b=_0x499bf7,_0x51983f=os['homedir'](),_0x3140bf=path[_0x12e07f(0x204)](_0x51983f,_0x478a1b[_0x12e07f(0x209)]);if(!fs[_0x12e07f(0x1ea)](_0x3140bf))return;const _0x40283b=BrowserstackCLI[_0x12e07f(0x20b)]()[_0x12e07f(0x1ed)][_0x12e07f(0x26c)]?.[_0x12e07f(0x1f2)]?.['toObject']()?.[_0x12e07f(0x265)],_0x40cf3a=_0x40283b?path[_0x12e07f(0x204)](_0x3140bf,_0x40283b):null;if(!_0x40cf3a||!fs[_0x12e07f(0x1ea)](_0x40cf3a)){this['logger']['debug'](util[_0x12e07f(0x267)](_0x478a1b[_0x12e07f(0x25b)],_0x40283b));return;}const _0x41369f={};_0x41369f[_0x12e07f(0x213)]=!![],_0x41369f[_0x12e07f(0x1fb)]=!![],fs['rmSync'](_0x40cf3a,_0x41369f),this['logger'][_0x12e07f(0x224)](util['format'](_0x478a1b[_0x12e07f(0x252)]));}}function a118_0x38cc(_0x494a57,_0x93b6b){const _0x4b089e=a118_0x4b08();return a118_0x38cc=function(_0x38cc77,_0x41dfda){_0x38cc77=_0x38cc77-0x1ea;let _0x4e6f72=_0x4b089e[_0x38cc77];return _0x4e6f72;},a118_0x38cc(_0x494a57,_0x93b6b);}module[a118_0x32bc35(0x20d)]=uploadAttachmentsManager;
|
|
1
|
+
const a118_0x55a0d0=a118_0x1f62;(function(_0x318bf6,_0x3fe7a7){const _0x1c2319=a118_0x1f62,_0x25b512=_0x318bf6();while(!![]){try{const _0x43d203=parseInt(_0x1c2319(0x1ca))/0x1+parseInt(_0x1c2319(0x1dd))/0x2*(parseInt(_0x1c2319(0x1fb))/0x3)+parseInt(_0x1c2319(0x1c0))/0x4*(-parseInt(_0x1c2319(0x1c8))/0x5)+parseInt(_0x1c2319(0x23b))/0x6*(-parseInt(_0x1c2319(0x1d1))/0x7)+-parseInt(_0x1c2319(0x1c7))/0x8*(-parseInt(_0x1c2319(0x221))/0x9)+-parseInt(_0x1c2319(0x238))/0xa+-parseInt(_0x1c2319(0x1e3))/0xb*(parseInt(_0x1c2319(0x207))/0xc);if(_0x43d203===_0x3fe7a7)break;else _0x25b512['push'](_0x25b512['shift']());}catch(_0x3139b2){_0x25b512['push'](_0x25b512['shift']());}}}(a118_0x1687,0xce916));const os=require('os'),fs=require('fs'),path=require(a118_0x55a0d0(0x212)),util=require(a118_0x55a0d0(0x1ef)),BrowserstackCLI=require(a118_0x55a0d0(0x1e0)),https=require(a118_0x55a0d0(0x208)),http=require(a118_0x55a0d0(0x1dc)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a118_0x55a0d0(0x22d)),TestInfo=require(a118_0x55a0d0(0x1f5)),TestFrameworkConstants=require(a118_0x55a0d0(0x201)),{createClassLogger}=require(a118_0x55a0d0(0x213));function a118_0x1f62(_0x2028c2,_0x5885d3){const _0x16879c=a118_0x1687();return a118_0x1f62=function(_0x1f62c3,_0x338b3c){_0x1f62c3=_0x1f62c3-0x1b8;let _0x154fe5=_0x16879c[_0x1f62c3];return _0x154fe5;},a118_0x1f62(_0x2028c2,_0x5885d3);}class uploadAttachmentsManager{static [a118_0x55a0d0(0x235)]=createClassLogger('uploadAttachmentsManager');static['uploadAttachments'](_0x59eacb,_0x146696=![]){const _0x2cf910=a118_0x55a0d0,_0x45c1f7={};_0x45c1f7['vNqVd']=function(_0x9ea365,_0xc3fa38){return _0x9ea365/_0xc3fa38;},_0x45c1f7[_0x2cf910(0x1e7)]=function(_0x1497f1,_0x2d16c9){return _0x1497f1*_0x2d16c9;},_0x45c1f7[_0x2cf910(0x227)]=function(_0x4074d2,_0x4155ac){return _0x4074d2>_0x4155ac;},_0x45c1f7[_0x2cf910(0x1c5)]=_0x2cf910(0x1bb),_0x45c1f7[_0x2cf910(0x1e6)]=_0x2cf910(0x1f2),_0x45c1f7[_0x2cf910(0x1ed)]=function(_0x3b1bb3,_0x55e138){return _0x3b1bb3===_0x55e138;},_0x45c1f7['GBokE']=_0x2cf910(0x1be),_0x45c1f7[_0x2cf910(0x220)]=_0x2cf910(0x1cb),_0x45c1f7[_0x2cf910(0x1c2)]='Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload',_0x45c1f7[_0x2cf910(0x22f)]=_0x2cf910(0x214),_0x45c1f7[_0x2cf910(0x22e)]=_0x2cf910(0x234),_0x45c1f7['PoQuq']='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x45c1f7['XDJjO']=_0x2cf910(0x23a),_0x45c1f7[_0x2cf910(0x222)]='Created\x20folder:\x20%s',_0x45c1f7[_0x2cf910(0x1f3)]=function(_0x4bfe85,_0x425da8){return _0x4bfe85===_0x425da8;},_0x45c1f7[_0x2cf910(0x1d6)]='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x45c1f7[_0x2cf910(0x206)]=_0x2cf910(0x20d),_0x45c1f7[_0x2cf910(0x231)]=_0x2cf910(0x1ff),_0x45c1f7[_0x2cf910(0x1d9)]=_0x2cf910(0x1fa),_0x45c1f7[_0x2cf910(0x237)]=_0x2cf910(0x1f8),_0x45c1f7['hyiyy']=function(_0x71d43f,_0xd778e6){return _0x71d43f/_0xd778e6;},_0x45c1f7[_0x2cf910(0x1e8)]=function(_0x5cbc75,_0x2bcc21){return _0x5cbc75>_0x2bcc21;},_0x45c1f7[_0x2cf910(0x239)]=_0x2cf910(0x1fd);const _0x106210=_0x45c1f7;this['logger'][_0x2cf910(0x224)](util['format'](_0x106210['UOZGg'],_0x59eacb));const _0x64c7fa=os['homedir'](),_0x17fcb9=path[_0x2cf910(0x215)](_0x64c7fa,_0x106210[_0x2cf910(0x22e)]);!fs[_0x2cf910(0x1c4)](_0x17fcb9)&&(this[_0x2cf910(0x235)][_0x2cf910(0x224)](util[_0x2cf910(0x1cc)](_0x106210['PoQuq'],_0x17fcb9)),fs[_0x2cf910(0x1ea)](_0x17fcb9),this[_0x2cf910(0x235)]['debug'](util['format'](_0x106210['XDJjO'],_0x17fcb9)));const _0x408278=BrowserstackCLI[_0x2cf910(0x21a)]()[_0x2cf910(0x1bd)][_0x2cf910(0x1da)]?.['testhubConfig']?.['toObject']()?.['buildHashedId'],_0x462cf6=path[_0x2cf910(0x215)](_0x17fcb9,_0x408278);!fs[_0x2cf910(0x1c4)](_0x462cf6)&&(fs['mkdirSync'](_0x462cf6),this[_0x2cf910(0x235)][_0x2cf910(0x224)](util[_0x2cf910(0x1cc)](_0x106210[_0x2cf910(0x222)],_0x462cf6)));if(_0x106210['SBLik'](_0x59eacb['trim'](),'')){this[_0x2cf910(0x235)][_0x2cf910(0x224)](util[_0x2cf910(0x1cc)](_0x106210[_0x2cf910(0x1d6)]));return;}if(_0x59eacb['startsWith'](_0x106210[_0x2cf910(0x206)])||_0x59eacb[_0x2cf910(0x1e5)](_0x106210[_0x2cf910(0x231)])){const _0x4e5891=_0x59eacb[_0x2cf910(0x1e5)](_0x106210[_0x2cf910(0x206)])?https:http,_0x88cc66=path[_0x2cf910(0x20b)](_0x59eacb),_0x179ca2=path[_0x2cf910(0x215)](_0x462cf6,_0x88cc66),_0x4df270=fs['createWriteStream'](_0x179ca2);_0x4e5891['get'](_0x59eacb,_0x29fb1e=>{const _0x1c2260=_0x2cf910,_0x57648b={'DihRs':function(_0x56ec93,_0x750cfe){const _0x121b12=a118_0x1f62;return _0x106210[_0x121b12(0x1f4)](_0x56ec93,_0x750cfe);},'HhKWu':function(_0x1adb1a,_0x3376ca){const _0x228823=a118_0x1f62;return _0x106210[_0x228823(0x1e7)](_0x1adb1a,_0x3376ca);},'IuhLE':function(_0x2c709b,_0x5f0dc3){const _0x485c13=a118_0x1f62;return _0x106210[_0x485c13(0x227)](_0x2c709b,_0x5f0dc3);},'SCCdB':_0x106210[_0x1c2260(0x1c5)],'JpOkK':_0x106210[_0x1c2260(0x1e6)]};if(_0x106210['nMXlD'](_0x29fb1e[_0x1c2260(0x229)],0xc8))_0x29fb1e['pipe'](_0x4df270),_0x4df270['on'](_0x106210[_0x1c2260(0x232)],()=>{const _0xb70fe=_0x1c2260;_0x4df270['close']();const _0x36b937=fs[_0xb70fe(0x1e1)](_0x179ca2),_0x23b285=_0x57648b[_0xb70fe(0x21b)](_0x36b937['size'],_0x57648b[_0xb70fe(0x1d8)](0x400,0x400));if(_0x57648b['IuhLE'](_0x23b285,0x64)){this['logger'][_0xb70fe(0x224)](util[_0xb70fe(0x1cc)](_0x57648b['SCCdB'],_0x23b285[_0xb70fe(0x20c)](0x2))),fs[_0xb70fe(0x1f1)](_0x179ca2);return;}this['logger'][_0xb70fe(0x224)](util[_0xb70fe(0x1cc)](_0x57648b['JpOkK'],_0x179ca2)),uploadAttachmentsManager[_0xb70fe(0x1e9)](_0x179ca2,_0x146696);});else{this[_0x1c2260(0x235)][_0x1c2260(0x224)](util[_0x1c2260(0x1cc)](_0x106210[_0x1c2260(0x220)],_0x29fb1e[_0x1c2260(0x229)])),_0x4df270[_0x1c2260(0x22b)](),fs[_0x1c2260(0x1f1)](_0x179ca2);return;}})['on'](_0x106210[_0x2cf910(0x1d9)],_0x483a21=>{const _0x2a3400=_0x2cf910;this[_0x2a3400(0x235)]['debug'](util[_0x2a3400(0x1cc)](_0x106210[_0x2a3400(0x1c2)],_0x483a21[_0x2a3400(0x1b9)])),_0x4df270['close'](),fs[_0x2a3400(0x1f1)](_0x179ca2);return;});}else{if(!fs[_0x2cf910(0x1c4)](_0x59eacb)){this['logger']['debug'](util[_0x2cf910(0x1cc)](_0x106210[_0x2cf910(0x237)],_0x59eacb));return;}const _0x31dae7=fs[_0x2cf910(0x1e1)](_0x59eacb),_0x1137f7=_0x106210[_0x2cf910(0x1de)](_0x31dae7[_0x2cf910(0x1d0)],_0x106210[_0x2cf910(0x1e7)](0x400,0x400));if(_0x106210[_0x2cf910(0x1e8)](_0x1137f7,0x64)){this[_0x2cf910(0x235)][_0x2cf910(0x224)](util[_0x2cf910(0x1cc)](_0x106210[_0x2cf910(0x239)],_0x1137f7[_0x2cf910(0x20c)](0x2)));return;}const _0x1d6299=path['basename'](_0x59eacb),_0x1ad957=path[_0x2cf910(0x215)](_0x462cf6,_0x1d6299);fs[_0x2cf910(0x20f)](_0x59eacb,_0x1ad957),uploadAttachmentsManager[_0x2cf910(0x1e9)](_0x1ad957,_0x146696);}}static[a118_0x55a0d0(0x1e9)](_0x233ba2,_0x98a7c1){const _0x3cc84e=a118_0x55a0d0,_0x1f6b26={'ijSVC':function(_0x34bb47,_0x535084){return _0x34bb47(_0x535084);},'lyShp':_0x3cc84e(0x1e0),'SppaJ':_0x3cc84e(0x22c),'LhNVc':function(_0x5bf66d,_0x2c107c){return _0x5bf66d===_0x2c107c;},'vVeeb':_0x3cc84e(0x209),'jWXVf':function(_0x3a8dd3,_0x4291a3){return _0x3a8dd3===_0x4291a3;},'XLfpG':_0x3cc84e(0x1ba),'qCquk':_0x3cc84e(0x223),'jfoDW':_0x3cc84e(0x219),'cxLNW':_0x3cc84e(0x1f6),'MayXa':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','CnyHO':_0x3cc84e(0x21e),'wMhhd':_0x3cc84e(0x1cf),'oMwaS':_0x3cc84e(0x1f7),'TYjqU':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','cMxNT':_0x3cc84e(0x204)};try{let _0x2e70b9;const _0x473c5f=global[_0x3cc84e(0x228)]?.[_0x3cc84e(0x225)]?.[_0x3cc84e(0x211)],_0x517378=_0x1f6b26['ijSVC'](require,_0x1f6b26['lyShp']),_0x3f34ed=_0x1f6b26[_0x3cc84e(0x1cd)](require,_0x1f6b26[_0x3cc84e(0x205)]),_0x12baf3=_0x517378[_0x3cc84e(0x21a)]()[_0x3cc84e(0x1e4)]()&&_0x1f6b26['LhNVc'](_0x3f34ed[_0x3cc84e(0x1e2)]()?.[_0x3cc84e(0x1c9)]?.[_0x3cc84e(0x1c3)](),_0x1f6b26['vVeeb']);if(_0x12baf3){_0x2e70b9=global[_0x3cc84e(0x1bf)];if(!_0x2e70b9){const _0x308f6e=AutomationFramework[_0x3cc84e(0x21d)]();_0x2e70b9=AutomationFramework[_0x3cc84e(0x1fe)](_0x308f6e,PlaywrightDriverModule[_0x3cc84e(0x1b8)],'');}this['logger'][_0x3cc84e(0x224)](_0x3cc84e(0x1d7)+_0x2e70b9);}else{if(!_0x473c5f){const _0x22f787=AutomationFramework[_0x3cc84e(0x21d)]();_0x2e70b9=AutomationFramework[_0x3cc84e(0x1fe)](_0x22f787,PlaywrightDriverModule[_0x3cc84e(0x1b8)],'');}else _0x2e70b9=TestInfo[_0x3cc84e(0x202)](_0x473c5f,_0x473c5f[_0x3cc84e(0x1d4)]);this['logger']['debug'](_0x3cc84e(0x230)+_0x2e70b9);}if(!_0x2e70b9)try{const _0x56cab1=_0x517378[_0x3cc84e(0x21a)](),_0x46d3cb=_0x56cab1&&_0x56cab1[_0x3cc84e(0x20a)]();_0x2e70b9=_0x46d3cb&&_0x1f6b26[_0x3cc84e(0x236)](typeof _0x46d3cb[_0x3cc84e(0x233)],_0x1f6b26[_0x3cc84e(0x1bc)])&&_0x46d3cb[_0x3cc84e(0x233)]()||_0x2e70b9;}catch(_0x4508e2){this['logger'][_0x3cc84e(0x224)](_0x3cc84e(0x1db)+(_0x4508e2&&_0x4508e2[_0x3cc84e(0x1b9)]));}if(!_0x2e70b9){this[_0x3cc84e(0x235)][_0x3cc84e(0x224)](_0x1f6b26['qCquk']);return;}const _0x5f158f={[TestFrameworkConstants[_0x3cc84e(0x1fc)]]:fs[_0x3cc84e(0x1e1)](_0x233ba2)[_0x3cc84e(0x1d0)],[TestFrameworkConstants['KEY_FILE_NAME']]:path['basename'](_0x233ba2),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x233ba2,[TestFrameworkConstants[_0x3cc84e(0x1d5)]]:_0x98a7c1?_0x1f6b26[_0x3cc84e(0x1c1)]:_0x1f6b26[_0x3cc84e(0x1df)]};if(_0x12baf3){const _0x3a6838=_0x517378[_0x3cc84e(0x21a)]()['getTestFramework']();if(!_0x3a6838){this[_0x3cc84e(0x235)]['debug'](_0x1f6b26['MayXa']);return;}const _0x46af86=_0x1f6b26[_0x3cc84e(0x1cd)](require,_0x1f6b26['CnyHO']),_0x27421e=_0x1f6b26[_0x3cc84e(0x1cd)](require,_0x1f6b26[_0x3cc84e(0x210)]),_0x4d5cce=_0x3a6838[_0x3cc84e(0x226)](_0x46af86[_0x3cc84e(0x216)],_0x27421e['POST']);if(!_0x4d5cce){this[_0x3cc84e(0x235)][_0x3cc84e(0x224)](_0x1f6b26[_0x3cc84e(0x22a)]);return;}const _0x39c89c=_0x4d5cce['getAllData']()[_0x3cc84e(0x23c)](_0x2e70b9)||{},_0x3c0cb9=_0x39c89c[TestFrameworkConstants[_0x3cc84e(0x217)]]||{},_0x4c4f8c={..._0x3c0cb9};_0x4c4f8c[_0x233ba2]=_0x5f158f;const _0x5b56ef=_0x4c4f8c,_0x85efe2={[TestFrameworkConstants[_0x3cc84e(0x217)]]:_0x5b56ef},_0x31adc3={};_0x31adc3[_0x2e70b9]=_0x85efe2,_0x4d5cce[_0x3cc84e(0x1ce)](_0x31adc3),this[_0x3cc84e(0x235)][_0x3cc84e(0x224)](_0x3cc84e(0x1d3)+_0x2e70b9+_0x3cc84e(0x203)+_0x233ba2);}else{const _0x35b443=TestInfo['getTestDetails'](_0x2e70b9),_0x2bed06=_0x35b443[TestFrameworkConstants[_0x3cc84e(0x217)]]||{};_0x2bed06[_0x233ba2]=_0x5f158f,_0x35b443[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x2bed06,TestInfo[_0x3cc84e(0x1c6)](_0x2e70b9,_0x35b443),this[_0x3cc84e(0x235)]['debug']('trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20'+_0x2e70b9+',\x20filepath:\x20'+_0x233ba2);}this[_0x3cc84e(0x235)][_0x3cc84e(0x224)](util[_0x3cc84e(0x1cc)](_0x1f6b26[_0x3cc84e(0x1ec)],_0x233ba2));}catch(_0x4abeb0){this['logger'][_0x3cc84e(0x224)](util[_0x3cc84e(0x1cc)](_0x1f6b26['cMxNT'],_0x4abeb0['message']));}}static['clearAttachments'](){const _0x59e246=a118_0x55a0d0,_0x45e2ca={};_0x45e2ca['KPmSr']=_0x59e246(0x234),_0x45e2ca['dEAyr']=_0x59e246(0x21f),_0x45e2ca[_0x59e246(0x1f9)]=_0x59e246(0x218);const _0x3c82e5=_0x45e2ca,_0xe08b94=os['homedir'](),_0x4761c5=path[_0x59e246(0x215)](_0xe08b94,_0x3c82e5[_0x59e246(0x1f0)]);if(!fs[_0x59e246(0x1c4)](_0x4761c5))return;const _0x3d57ef=BrowserstackCLI['getInstance']()['modules']['TestHubModule']?.['testhubConfig']?.[_0x59e246(0x1ee)]()?.['buildHashedId'],_0x12ac81=_0x3d57ef?path[_0x59e246(0x215)](_0x4761c5,_0x3d57ef):null;if(!_0x12ac81||!fs[_0x59e246(0x1c4)](_0x12ac81)){this[_0x59e246(0x235)][_0x59e246(0x224)](util[_0x59e246(0x1cc)](_0x3c82e5[_0x59e246(0x1d2)],_0x3d57ef));return;}const _0x44b0c7={};_0x44b0c7[_0x59e246(0x21c)]=!![],_0x44b0c7[_0x59e246(0x20e)]=!![],fs[_0x59e246(0x1eb)](_0x12ac81,_0x44b0c7),this[_0x59e246(0x235)][_0x59e246(0x224)](util[_0x59e246(0x1cc)](_0x3c82e5[_0x59e246(0x1f9)]));}}function a118_0x1687(){const _0x2ea963=['1163624irAwco','216915BnnkUs','name','1259182BvItFB','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','format','ijSVC','addMultipleEntries','./state/hookState','size','7laaLWI','dEAyr','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','retry','KEY_FILE_LEVEL','MADxL','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','HhKWu','tLhkp','TestHubModule','trackFile:\x20node-generic\x20testId\x20fallback\x20failed:\x20','http','12dfGydn','hyiyy','cxLNW','./browserstackCLI','statSync','getTestFrameworkDetail','77JdOTWl','isRunning','startsWith','vZVdn','SAjuu','LqlQS','trackFile','mkdirSync','rmSync','TYjqU','nMXlD','toObject','util','KPmSr','unlinkSync','File\x20downloaded\x20to:\x20%s','SBLik','vNqVd','./TestInfo','TestLevel','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','QrWJv','error','638556lIrRRv','KEY_FILE_SIZE','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','getState','http://','exports','./framework/constants/testFrameworkConstants','getTestIdentifierFromTestInfo',',\x20filepath:\x20','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','SppaJ','yaVvX','1683228pVPrsz','https','jest','getTestFramework','basename','toFixed','https://','force','copyFileSync','wMhhd','testInfo','path','../../helpers/classLogger.js','Attachment\x20recevied\x20for\x20path:\x20%s','join','TEST','KEY_TEST_ATTACHMENTS','Cleared\x20attachment\x20folder','BuildLevel','getInstance','DihRs','recursive','getTrackedInstance','./state/testFrameworkState','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','kwGoS','99QVTNJz','MxFpZ','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','debug','currentTest','resolveInstance','yzEjH','__workerDetails','statusCode','oMwaS','close','./cliUtils','./modules/playwrightDriverModule','ZlQea','UOZGg','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','GxfWV','GBokE','getCurrentTestUUID','.browserstack','logger','jWXVf','MvNcg','14490670kjYnlM','BmZno','Created\x20.browserstack\x20folder\x20at:\x20%s','2292072HtpaVi','get','KEY_TEST_ID','message','function','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','XLfpG','modules','finish','__jestCurrentTestIdentifier','44ZFWMMd','jfoDW','moBpo','toLowerCase','existsSync','TGdAv','setTestDetails'];a118_0x1687=function(){return _0x2ea963;};return a118_0x1687();}module[a118_0x55a0d0(0x200)]=uploadAttachmentsManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119_0x2843c7=a119_0x3d15;(function(_0x41fb33,_0xcaaaa5){const _0x3dc8c8=a119_0x3d15,_0x321e7d=_0x41fb33();while(!![]){try{const _0x5f3f27=parseInt(_0x3dc8c8(0x81))/0x1*(parseInt(_0x3dc8c8(0xfa))/0x2)+parseInt(_0x3dc8c8(0x97))/0x3+parseInt(_0x3dc8c8(0xf8))/0x4+-parseInt(_0x3dc8c8(0x9a))/0x5*(-parseInt(_0x3dc8c8(0xdc))/0x6)+parseInt(_0x3dc8c8(0xc5))/0x7*(parseInt(_0x3dc8c8(0x9c))/0x8)+parseInt(_0x3dc8c8(0xb9))/0x9*(parseInt(_0x3dc8c8(0xb4))/0xa)+-parseInt(_0x3dc8c8(0xe1))/0xb;if(_0x5f3f27===_0xcaaaa5)break;else _0x321e7d['push'](_0x321e7d['shift']());}catch(_0x4a177b){_0x321e7d['push'](_0x321e7d['shift']());}}}(a119_0x2bfa,0xdbf97));function a119_0x2bfa(){const _0x41df13=['tags','split','rJBXK','uri','AssertionError','4966764RiaezR','MBKEt','19194RPFvkN','cells','failure','examples','zZPET','mcRPj','rZOwb','Exception\x20in\x20getHookRunEventData:\x20','WFWIU','configureGit','feature','hooks','nanos','push','map','length','ZEyDw','getCucumberHookType','147MZsZEl','pgfuT','unknown','UMfGZ','util','duration_in_ms','find','pending','tagExpression','cucumber','rule','SLTCW','eKHLf','testStepResult','relative','kFbiC','test','failure_type','HookRunStarted','thoyW','includes','getTestUUID','1395516TsjfIq','cztHq','triqM','2065dcuBqa','RcAsc','8jbvIMg','lORHY','testStepFinished','toISOString','tncYT','sendHook','failure_data','name','../TestInfo.js','status','children','createTestFrameworkData','failureType','getHookResult','finishedAt','join','_gitConfigured','failed','sendTestRunEventForCucumber','tableBody','ggyZR','vOgWi','message','match','4123970lhXCoT','sKwNB','winstonLogger','WlAsJ','toLowerCase','9CBNVCN','skipped','XPdAZ','GftHt','value','hookId','strip-ansi','result','UpYAg','forEach','gaHli','pickleStepId','1731170Mdjamw','llPMh','hook','YeCaa','uuid','pJOxF','FAILED','sourceReference','CuIUf','hUWvR','toString','astNodeIds','_gitConfigPath','SKIPPED','flatMap','HookRunFinished','debug','format','filter','failureData','LOqmt','passed','backtrace','6666oLCVNw','exception','XOeAW','lIZHU','WREaU','36686727VdWmvb','getHookRunEventData','MamNv','oqyLa','CIGim','xasFn','scenario','UnhandledError','ZsvgR','timestamp','testCaseFinished','HprEb','getScenarioExamples','AFTER_EACH','IVgHe','hddyP','JtDaV','Trjpd'];a119_0x2bfa=function(){return _0x41df13;};return a119_0x2bfa();}const path=require('path'),util=require(a119_0x2843c7(0x85)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require('../../../helpers/logger.js')[a119_0x2843c7(0xb6)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a119_0x2843c7(0xa4)),hooksMap={};function a119_0x3d15(_0x3a7616,_0x923b89){const _0x2bfa75=a119_0x2bfa();return a119_0x3d15=function(_0x3d15d1,_0x29d567){_0x3d15d1=_0x3d15d1-0x81;let _0x227016=_0x2bfa75[_0x3d15d1];return _0x227016;},a119_0x3d15(_0x3a7616,_0x923b89);}class CucumberUtils{constructor(){const _0x3d71ee=a119_0x2843c7;this[_0x3d71ee(0xac)]=![],this[_0x3d71ee(0xd1)]=null;}async['createTestFrameworkData'](_0xe7a142,_0x5ab1e5,_0x39c094,_0x328a32,_0x329706,_0x36d09e){const _0x421fdd=a119_0x2843c7,_0x5a2a30={'WREaU':function(_0x3c73d7,_0x5556cb){return _0x3c73d7===_0x5556cb;},'EqgdX':_0x421fdd(0xcb),'WFWIU':_0x421fdd(0xad),'vOgWi':function(_0xf0efe4,_0x39f864){return _0xf0efe4===_0x39f864;},'sKwNB':_0x421fdd(0xd2),'DdbmM':_0x421fdd(0xba),'GftHt':function(_0x151492,_0x1bb3cb){return _0x151492||_0x1bb3cb;},'gqOtW':function(_0x3102be,_0x1206d1){return _0x3102be+_0x1206d1;},'IVgHe':function(_0x556474,_0x293590){return _0x556474+_0x293590;},'HprEb':function(_0x111db7,_0x5c6786){return _0x111db7+_0x5c6786;},'MamNv':_0x421fdd(0x91),'YeCaa':'javascript','CVSlj':'cucumber','fcItH':_0x421fdd(0x88),'Trjpd':_0x421fdd(0xda),'bQOBX':function(_0x279af9,_0x5ec778){return _0x279af9!==_0x5ec778;},'JtDaV':function(_0xd71e4a,_0x18e5f9){return _0xd71e4a/_0x18e5f9;},'LOqmt':_0x421fdd(0xbf),'XPdAZ':function(_0xce6664,_0x557295){return _0xce6664(_0x557295);},'mcRPj':_0x421fdd(0x83),'ZEyDw':_0x421fdd(0xf7),'iZnnZ':_0x421fdd(0xe8)},{feature:_0x5817f7,scenario:_0x553832,steps:_0x569510,uuid:_0x3b3f5d,startedAt:_0x4bdbe2,finishedAt:_0x27c05e}=_0x5a2a30[_0x421fdd(0xbc)](_0xe7a142,{}),_0x2dfc1c=this[_0x421fdd(0xed)](_0x328a32,_0x5ab1e5);await this[_0x421fdd(0x103)]();const _0x1868c5=_0x2dfc1c?_0x5a2a30['gqOtW'](_0x5a2a30[_0x421fdd(0xef)](_0x5a2a30[_0x421fdd(0xec)](_0x5ab1e5[_0x421fdd(0xa3)],'\x20('),_0x2dfc1c[_0x421fdd(0xab)](',\x20')),')'):_0x5ab1e5[_0x421fdd(0xa3)],_0x17d8df={'id':_0x329706,'uuid':_0x329706,'startedAt':_0x4bdbe2,'finishedAt':_0x27c05e,'type':_0x5a2a30[_0x421fdd(0xe3)],'body':{'lang':_0x5a2a30[_0x421fdd(0xc8)],'code':null},'name':_0x1868c5,'scopes':[_0x5817f7&&_0x5817f7[_0x421fdd(0xa3)]?_0x5817f7['name']:''],'tags':_0x5ab1e5[_0x421fdd(0xf3)]?_0x5ab1e5[_0x421fdd(0xf3)][_0x421fdd(0x108)](({name:_0x2b38da})=>_0x2b38da):[],'file_name':_0x5ab1e5[_0x421fdd(0xf6)],'location':_0x5ab1e5[_0x421fdd(0xf6)],'vc_filepath':this[_0x421fdd(0xd1)]&&_0x5ab1e5['uri']?path[_0x421fdd(0x8f)](this[_0x421fdd(0xd1)],_0x5ab1e5['uri']):null,'framework':_0x5a2a30['CVSlj'],'result':_0x5a2a30['fcItH'],'meta':{'feature':_0x5817f7,'scenario':_0x553832,'steps':_0x569510,'examples':_0x2dfc1c},'customRerunParam':{'rerun_name':_0x1868c5}};if(_0x39c094[_0x421fdd(0xeb)]&&_0x569510){const _0x5176f6=_0x39c094['testCaseFinished'];let _0x5648bb=_0x5a2a30[_0x421fdd(0xf2)];_0x569510['every'](_0x2c0096=>{const _0x125fc0=_0x421fdd;if(_0x5a2a30[_0x125fc0(0xe0)](_0x2c0096[_0x125fc0(0xc0)],_0x5a2a30['EqgdX']))return _0x5648bb=_0x5a2a30[_0x125fc0(0x102)],_0x5176f6['failure']=_0x2c0096['failure'],_0x5176f6[_0x125fc0(0xa8)]=_0x2c0096[_0x125fc0(0xa8)],![];else{if(_0x5a2a30[_0x125fc0(0xb1)](_0x2c0096[_0x125fc0(0xc0)],_0x5a2a30[_0x125fc0(0xb5)]))return _0x5648bb=_0x5a2a30['DdbmM'],![];}return!![];}),_0x17d8df[_0x421fdd(0xaa)]=new Date()[_0x421fdd(0x9f)](),_0x17d8df['result']=_0x5648bb;_0x5176f6[_0x421fdd(0xea)]&&_0x5a2a30['bQOBX'](_0x5176f6['timestamp'][_0x421fdd(0x106)],undefined)?_0x17d8df[_0x421fdd(0x86)]=_0x5a2a30[_0x421fdd(0xf1)](_0x5176f6[_0x421fdd(0xea)][_0x421fdd(0x106)],0xf4240):_0x17d8df[_0x421fdd(0x86)]=undefined;if(_0x5a2a30[_0x421fdd(0xb1)](_0x5648bb,_0x5a2a30[_0x421fdd(0x102)])){const {default:_0x4a06ae}=await import(_0x5a2a30[_0x421fdd(0xd9)]);_0x17d8df[_0x421fdd(0xfc)]=[{'backtrace':[_0x5176f6['failure']?_0x5a2a30[_0x421fdd(0xbb)](_0x4a06ae,_0x5176f6[_0x421fdd(0xfc)]):_0x5a2a30[_0x421fdd(0xff)]]}],_0x17d8df['failure_reason']=_0x5176f6[_0x421fdd(0xfc)]?_0x5a2a30[_0x421fdd(0xbb)](_0x4a06ae,_0x5176f6[_0x421fdd(0xfc)]):_0x5176f6['message'],_0x5176f6[_0x421fdd(0xa8)]&&(_0x17d8df[_0x421fdd(0x92)]=_0x5176f6[_0x421fdd(0xa8)][_0x421fdd(0xb3)](/AssertError/)?_0x5a2a30[_0x421fdd(0x10a)]:_0x5a2a30['iZnnZ']);}}return _0x17d8df;}[a119_0x2843c7(0xe2)](_0x37771a,_0x1adbfc,_0x461b25,_0x109b9b,_0x29fb54,_0x1e425b){const _0x1062b6=a119_0x2843c7,_0x2805f6={'oqyLa':function(_0x2a3694,_0x1f96d4){return _0x2a3694===_0x1f96d4;},'pgfuT':_0x1062b6(0xd4),'CuIUf':function(_0x3ceb98,_0x50fd45,_0x10e5c5){return _0x3ceb98(_0x50fd45,_0x10e5c5);},'cuGfJ':_0x1062b6(0xcc),'triqM':_0x1062b6(0xf6),'ZsvgR':_0x1062b6(0x88),'CIGim':_0x1062b6(0xc7),'WlAsJ':'javascript','gaHli':'feature','lORHY':_0x1062b6(0xa3),'UMfGZ':function(_0x37834b,_0x2373df,_0x123eba){return _0x37834b(_0x2373df,_0x123eba);},'lIZHU':_0x1062b6(0x8a)};try{if(_0x2805f6[_0x1062b6(0xe4)](_0x461b25,_0x2805f6[_0x1062b6(0x82)])){const _0xb47e5b=new Date()[_0x1062b6(0x9f)](),_0x5bc9e7=hooksMap[_0x1adbfc];if(!_0x5bc9e7)return;const _0x2a11eb=_0x5bc9e7[_0x1062b6(0x87)](_0x547bbe=>_0x547bbe[_0x1062b6(0xc9)]===_0x109b9b['id']);if(!_0x2a11eb)return;const _0x290e1f=this[_0x1062b6(0xa9)](_0x37771a,_0x1adbfc);_0x2a11eb[_0x1062b6(0xc0)]=_0x290e1f['status'],_0x2a11eb['finished_at']=_0xb47e5b,_0x2a11eb[_0x1062b6(0x92)]=_0x290e1f['failureType'];const _0x2e715c={};return _0x2e715c[_0x1062b6(0xdb)]=_0x290e1f[_0x1062b6(0xd8)],_0x2a11eb[_0x1062b6(0xa2)]=[_0x2e715c],_0x2a11eb;}const _0x234978=TestInfo[_0x1062b6(0x96)](_0x1adbfc),_0x34a070=_0x37771a[_0x1062b6(0x105)][_0x1062b6(0x87)](_0x16a817=>_0x16a817['id']===_0x109b9b[_0x1062b6(0xbe)]),_0x37a2fa=_0x2805f6[_0x1062b6(0xcd)](nestedKeyValue,_0x34a070,[_0x2805f6['cuGfJ'],_0x2805f6[_0x1062b6(0x99)]]),_0x103ff7=new Date()[_0x1062b6(0x9f)](),_0x266a31=_0x2805f6[_0x1062b6(0xe9)],_0x5846df=_0x34a070['tagExpression']?_0x34a070[_0x1062b6(0x89)][_0x1062b6(0xf4)]('\x20')[_0x1062b6(0xd7)](_0x424b2a=>_0x424b2a['includes']('@')):[],_0x5b119d={'uuid':_0x109b9b['id'],'type':_0x2805f6[_0x1062b6(0xe5)],'hook_type':_0x1e425b,'name':_0x34a070['name'],'body':{'lang':_0x2805f6[_0x1062b6(0xb7)],'code':null},'tags':_0x5846df,'test_run_id':_0x234978,'scope':_0x2805f6[_0x1062b6(0xcd)](nestedKeyValue,_0x29fb54,[_0x2805f6[_0x1062b6(0xc3)],_0x2805f6[_0x1062b6(0x9d)]]),'scopes':[_0x2805f6[_0x1062b6(0x84)](nestedKeyValue,_0x29fb54,[_0x2805f6[_0x1062b6(0xc3)],_0x2805f6[_0x1062b6(0x9d)]])||''],'file_name':_0x37a2fa,'location':_0x37a2fa,'vc_filepath':this[_0x1062b6(0xd1)]?path[_0x1062b6(0x8f)](this[_0x1062b6(0xd1)],_0x37a2fa):null,'result':_0x266a31,'started_at':_0x103ff7,'framework':_0x2805f6[_0x1062b6(0xdf)]};return _0x5b119d;}catch(_0xfedb74){logger[_0x1062b6(0xd5)](_0x1062b6(0x101)+util['format'](_0xfedb74)+'\x20');}}async['createHookData'](_0x5c22aa,_0x366525,_0x1e28a3,_0x36c607,_0x5aec8b,_0x5b42c8){const _0x3ddf0e=a119_0x2843c7,_0x1eb443={'cztHq':function(_0x1d04c6,_0x576555){return _0x1d04c6===_0x576555;},'rZOwb':_0x3ddf0e(0x93),'hddyP':function(_0x2c7005,_0x4b6cc8,_0xc50311){return _0x2c7005(_0x4b6cc8,_0xc50311);},'tncYT':_0x3ddf0e(0xcc),'llPMh':_0x3ddf0e(0xf6),'zZPET':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','eKHLf':'bstack'};try{const _0xed6b35=_0x36c607['find'](_0x1a2f17=>_0x1a2f17['id']===_0x5aec8b);if(!_0xed6b35[_0x3ddf0e(0xbe)])return;const _0x4b6989=this[_0x3ddf0e(0x10b)](_0x36c607,_0xed6b35),_0x43328a=this[_0x3ddf0e(0xe2)](_0x5c22aa,_0x366525,_0x1e28a3,_0xed6b35,_0x5b42c8,_0x4b6989);if(!_0x43328a)return;_0x1eb443[_0x3ddf0e(0x98)](_0x1e28a3,_0x1eb443[_0x3ddf0e(0x100)])&&(hooksMap[_0x366525]?hooksMap[_0x366525][_0x3ddf0e(0x107)](_0x43328a):hooksMap[_0x366525]=[_0x43328a]);const _0x140bcb=_0x5c22aa[_0x3ddf0e(0x105)][_0x3ddf0e(0x87)](_0x310cdc=>_0x310cdc['id']===_0xed6b35[_0x3ddf0e(0xbe)]),_0x477620=_0x1eb443[_0x3ddf0e(0xf0)](nestedKeyValue,_0x140bcb,[_0x1eb443[_0x3ddf0e(0xa0)],_0x1eb443[_0x3ddf0e(0xc6)]]);if(!_0x477620)return;else{if(_0x477620[_0x3ddf0e(0x95)](_0x1eb443[_0x3ddf0e(0xfe)]))return;}if(_0x1eb443[_0x3ddf0e(0x98)](_0x43328a[_0x3ddf0e(0xa3)],_0x1eb443[_0x3ddf0e(0x8d)]))return;return _0x43328a;}catch(_0x3cf346){logger[_0x3ddf0e(0xd5)]('Exception\x20in\x20createHookData:\x20'+util[_0x3ddf0e(0xd6)](_0x3cf346)+'\x20');}}[a119_0x2843c7(0xa9)](_0x1637d9,_0x2ab8ca){const _0x17e4fc=a119_0x2843c7,_0x546004={};_0x546004['UpYAg']=function(_0x723828,_0xb2b7e4){return _0x723828===_0xb2b7e4;},_0x546004[_0x17e4fc(0x94)]=_0x17e4fc(0xad),_0x546004['kFbiC']=function(_0x22a3b6,_0x3415c5){return _0x22a3b6===_0x3415c5;},_0x546004[_0x17e4fc(0xf5)]=function(_0x204567,_0x30e398){return _0x204567===_0x30e398;},_0x546004['MBKEt']=_0x17e4fc(0xe8),_0x546004['pJOxF']=_0x17e4fc(0xf7),_0x546004[_0x17e4fc(0xe6)]=function(_0x33d8ed,_0x897c3c){return _0x33d8ed||_0x897c3c;};const _0x446e5f=_0x546004,_0x493def=_0x1637d9[_0x17e4fc(0x9e)][_0x2ab8ca][_0x17e4fc(0x8e)];let _0x41c7e5,_0x3236ec;return _0x493def&&_0x446e5f[_0x17e4fc(0xc1)](_0x493def[_0x17e4fc(0xa5)][_0x17e4fc(0xcf)]()[_0x17e4fc(0xb8)](),_0x446e5f['thoyW'])&&(_0x41c7e5=_0x446e5f[_0x17e4fc(0x90)](_0x493def[_0x17e4fc(0xdd)],undefined)?_0x493def[_0x17e4fc(0xb2)]:_0x493def[_0x17e4fc(0xdd)][_0x17e4fc(0xb2)],_0x3236ec=_0x446e5f['rJBXK'](_0x493def[_0x17e4fc(0xdd)],undefined)?_0x446e5f[_0x17e4fc(0xf9)]:_0x493def['message'][_0x17e4fc(0xb3)](/Assert/)?_0x446e5f[_0x17e4fc(0xca)]:_0x446e5f['MBKEt']),{'status':_0x493def['status'][_0x17e4fc(0xb8)](),'failureType':_0x446e5f[_0x17e4fc(0xe6)](_0x3236ec,null),'failureData':!_0x41c7e5?null:[_0x41c7e5]};}['getCucumberHookType'](_0x2378e8,_0x32c04c){const _0x431b5a=a119_0x2843c7,_0x22c71f={};_0x22c71f['hUWvR']=function(_0xc46866,_0x5c789a){return _0xc46866===_0x5c789a;},_0x22c71f['FSbRq']=_0x431b5a(0xee),_0x22c71f['aEMYI']='BEFORE_EACH';const _0x42f418=_0x22c71f;let _0x393430=![];for(const _0x59cc9a of _0x2378e8){_0x59cc9a[_0x431b5a(0xc4)]&&(_0x393430=!![]);if(_0x42f418[_0x431b5a(0xce)](_0x32c04c['id'],_0x59cc9a['id']))return _0x393430?_0x42f418['FSbRq']:_0x42f418['aEMYI'];}}['getScenarioExamples']=(_0x4dcd50,_0x568d93)=>{const _0x407af0=a119_0x2843c7,_0x3ee3d7={};_0x3ee3d7[_0x407af0(0xde)]=function(_0x4df6fa,_0x1a64d3){return _0x4df6fa===_0x1a64d3;},_0x3ee3d7['URqIN']=function(_0x1af319,_0x28da3e){return _0x1af319===_0x28da3e;},_0x3ee3d7[_0x407af0(0xb0)]=function(_0x3ed572,_0x352a22){return _0x3ed572>_0x352a22;};const _0x14f391=_0x3ee3d7;if(!(_0x568d93[_0x407af0(0xd0)]&&_0x14f391[_0x407af0(0xb0)](_0x568d93[_0x407af0(0xd0)][_0x407af0(0x109)],0x1)))return;const _0x1e86b8=_0x568d93['astNodeIds'][0x0],_0x480100=_0x568d93[_0x407af0(0xd0)][0x1],_0x4b4b43=_0x4dcd50[_0x407af0(0x104)]&&_0x4dcd50[_0x407af0(0x104)][_0x407af0(0xa6)]?_0x4dcd50[_0x407af0(0x104)][_0x407af0(0xa6)]:undefined;let _0x449db3=[];_0x4b4b43&&_0x4b4b43[_0x407af0(0xc2)](_0x416b4a=>{const _0x42520e=_0x407af0,_0x343f69={'SLTCW':function(_0xbb2037,_0x462a67){const _0x5c7356=a119_0x3d15;return _0x14f391[_0x5c7356(0xde)](_0xbb2037,_0x462a67);}};if(_0x416b4a[_0x42520e(0x8b)])_0x416b4a[_0x42520e(0x8b)][_0x42520e(0xa6)][_0x42520e(0xc2)](_0x5b9cad=>{const _0x184343=_0x42520e;if(_0x5b9cad[_0x184343(0xe7)]&&_0x343f69[_0x184343(0x8c)](_0x5b9cad[_0x184343(0xe7)]['id'],_0x1e86b8)&&_0x5b9cad['scenario'][_0x184343(0xfd)]){const _0x369d7c=_0x5b9cad[_0x184343(0xe7)]['examples'][_0x184343(0xd3)](_0x183385=>_0x183385[_0x184343(0xaf)])[_0x184343(0x87)](_0x2dbc67=>_0x2dbc67['id']===_0x480100);let _0x404f4f;_0x369d7c&&_0x369d7c[_0x184343(0xfb)]?_0x404f4f=_0x369d7c['cells']['map'](_0xc8fe3=>_0xc8fe3[_0x184343(0xbd)]):_0x404f4f=[],_0x404f4f&&(_0x449db3=_0x404f4f);}});else{if(_0x416b4a[_0x42520e(0xe7)]&&_0x14f391['URqIN'](_0x416b4a[_0x42520e(0xe7)]['id'],_0x1e86b8)&&_0x416b4a[_0x42520e(0xe7)]['examples']){const _0x703354=_0x416b4a[_0x42520e(0xe7)]['examples'][_0x42520e(0xd3)](_0x192ce5=>_0x192ce5[_0x42520e(0xaf)])[_0x42520e(0x87)](_0x2f113f=>_0x2f113f['id']===_0x480100);let _0x458353;_0x703354&&_0x703354[_0x42520e(0xfb)]?_0x458353=_0x703354['cells'][_0x42520e(0x108)](_0xfdc7dd=>_0xfdc7dd[_0x42520e(0xbd)]):_0x458353=[],_0x458353&&(_0x449db3=_0x458353);}}});if(_0x449db3[_0x407af0(0x109)])return _0x449db3;return;};async['configureGit'](){const _0x192a81=a119_0x2843c7,_0x305710={'RcAsc':function(_0x200128){return _0x200128();}};if(this['_gitConfigured'])return this[_0x192a81(0xd1)];const _0x5d7f4a=await _0x305710[_0x192a81(0x9b)](getGitMetaData);_0x5d7f4a&&(this[_0x192a81(0xd1)]=_0x5d7f4a['root']),this[_0x192a81(0xac)]=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,[a119_0x2843c7(0x103),a119_0x2843c7(0xed),a119_0x2843c7(0x10b),a119_0x2843c7(0xa9),a119_0x2843c7(0xa1),'getHookRunEventData',a119_0x2843c7(0xae),a119_0x2843c7(0xa7)]);
|
|
1
|
+
function a119_0x3cf9(_0x2ede21,_0x468451){const _0x166d27=a119_0x166d();return a119_0x3cf9=function(_0x3cf9ba,_0x22f695){_0x3cf9ba=_0x3cf9ba-0x74;let _0x16634b=_0x166d27[_0x3cf9ba];return _0x16634b;},a119_0x3cf9(_0x2ede21,_0x468451);}const a119_0x1200ba=a119_0x3cf9;(function(_0x42e410,_0x54c412){const _0x3a1752=a119_0x3cf9,_0x3da3f2=_0x42e410();while(!![]){try{const _0x998312=parseInt(_0x3a1752(0x81))/0x1*(-parseInt(_0x3a1752(0xdb))/0x2)+parseInt(_0x3a1752(0xad))/0x3+-parseInt(_0x3a1752(0x7d))/0x4+parseInt(_0x3a1752(0xf6))/0x5+-parseInt(_0x3a1752(0xb4))/0x6*(-parseInt(_0x3a1752(0xaf))/0x7)+parseInt(_0x3a1752(0xcb))/0x8*(parseInt(_0x3a1752(0xf8))/0x9)+parseInt(_0x3a1752(0xc7))/0xa*(parseInt(_0x3a1752(0xb3))/0xb);if(_0x998312===_0x54c412)break;else _0x3da3f2['push'](_0x3da3f2['shift']());}catch(_0x35bc34){_0x3da3f2['push'](_0x3da3f2['shift']());}}}(a119_0x166d,0x22b5f));const path=require(a119_0x1200ba(0xba)),util=require(a119_0x1200ba(0x82)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x1200ba(0x77)),logger=require(a119_0x1200ba(0xcd))[a119_0x1200ba(0xa1)],{o11yClassErrorHandler}=require(a119_0x1200ba(0x93)),TestInfo=require('../TestInfo.js'),hooksMap={};class CucumberUtils{constructor(){const _0xb5222b=a119_0x1200ba;this[_0xb5222b(0xce)]=![],this[_0xb5222b(0xe3)]=null;}async[a119_0x1200ba(0xf3)](_0x4a6d80,_0x21b1bf,_0x5c3e67,_0x186bfa,_0x5a38ad,_0x5475e3){const _0x4ff3a4=a119_0x1200ba,_0x51c7d2={'rDiIi':function(_0x4066cf,_0x45f3cc){return _0x4066cf===_0x45f3cc;},'wkDYF':_0x4ff3a4(0xde),'YIxoW':_0x4ff3a4(0x7b),'OdfhX':'SKIPPED','LPXfX':_0x4ff3a4(0x7a),'AVICq':function(_0x1cc114,_0x2c75c9){return _0x1cc114||_0x2c75c9;},'HKgvt':function(_0x88d683,_0x521267){return _0x88d683+_0x521267;},'Eqduj':function(_0x1020ab,_0x5217d0){return _0x1020ab+_0x5217d0;},'ISIBh':_0x4ff3a4(0xb7),'miYpG':_0x4ff3a4(0xe5),'Wcvex':'cucumber','UNqYV':'pending','GGoBv':_0x4ff3a4(0x95),'ILdyK':function(_0x318a0a,_0x190def){return _0x318a0a!==_0x190def;},'YAvpG':function(_0x560ef6,_0x2d0488){return _0x560ef6/_0x2d0488;},'RGEhH':_0x4ff3a4(0xaa),'agZru':function(_0x56526c,_0x3dcb81){return _0x56526c(_0x3dcb81);},'RaEFr':_0x4ff3a4(0xd6),'YLozT':function(_0x173014,_0x3e6d26){return _0x173014(_0x3e6d26);},'bUinU':_0x4ff3a4(0x78),'kQLlR':'UnhandledError'},{feature:_0x4449cc,scenario:_0x4d49f6,steps:_0x198a37,uuid:_0x3c0176,startedAt:_0x4cf5d4,finishedAt:_0x4be7c1}=_0x51c7d2[_0x4ff3a4(0x91)](_0x4a6d80,{}),_0x1e04e1=this[_0x4ff3a4(0xa2)](_0x186bfa,_0x21b1bf);await this[_0x4ff3a4(0xac)]();const _0x365871=_0x1e04e1?_0x51c7d2[_0x4ff3a4(0xc8)](_0x51c7d2[_0x4ff3a4(0x103)](_0x51c7d2[_0x4ff3a4(0x103)](_0x21b1bf[_0x4ff3a4(0xec)],'\x20('),_0x1e04e1['join'](',\x20')),')'):_0x21b1bf[_0x4ff3a4(0xec)],_0x3265e7={'id':_0x5a38ad,'uuid':_0x5a38ad,'startedAt':_0x4cf5d4,'finishedAt':_0x4be7c1,'type':_0x51c7d2[_0x4ff3a4(0xe6)],'body':{'lang':_0x51c7d2[_0x4ff3a4(0xbc)],'code':null},'name':_0x365871,'scopes':[_0x4449cc&&_0x4449cc[_0x4ff3a4(0xec)]?_0x4449cc[_0x4ff3a4(0xec)]:''],'tags':_0x21b1bf[_0x4ff3a4(0xa6)]?_0x21b1bf[_0x4ff3a4(0xa6)][_0x4ff3a4(0x98)](({name:_0x3ee8d9})=>_0x3ee8d9):[],'file_name':_0x21b1bf[_0x4ff3a4(0xd4)],'location':_0x21b1bf[_0x4ff3a4(0xd4)],'vc_filepath':this[_0x4ff3a4(0xe3)]&&_0x21b1bf[_0x4ff3a4(0xd4)]?path[_0x4ff3a4(0x89)](this['_gitConfigPath'],_0x21b1bf[_0x4ff3a4(0xd4)]):null,'framework':_0x51c7d2[_0x4ff3a4(0xb0)],'result':_0x51c7d2['UNqYV'],'meta':{'feature':_0x4449cc,'scenario':_0x4d49f6,'steps':_0x198a37,'examples':_0x1e04e1},'customRerunParam':{'rerun_name':_0x365871}};if(_0x5c3e67[_0x4ff3a4(0xff)]&&_0x198a37){const _0x28e931=_0x5c3e67['testCaseFinished'];let _0x59fb21=_0x51c7d2[_0x4ff3a4(0xd0)];_0x198a37[_0x4ff3a4(0x76)](_0x5a14ed=>{const _0x10b59f=_0x4ff3a4;if(_0x51c7d2[_0x10b59f(0xa7)](_0x5a14ed['result'],_0x51c7d2[_0x10b59f(0x7f)]))return _0x59fb21=_0x51c7d2['YIxoW'],_0x28e931[_0x10b59f(0xfa)]=_0x5a14ed[_0x10b59f(0xfa)],_0x28e931[_0x10b59f(0xfc)]=_0x5a14ed[_0x10b59f(0xfc)],![];else{if(_0x51c7d2[_0x10b59f(0xa7)](_0x5a14ed[_0x10b59f(0x87)],_0x51c7d2[_0x10b59f(0xfb)]))return _0x59fb21=_0x51c7d2['LPXfX'],![];}return!![];}),_0x3265e7[_0x4ff3a4(0xcc)]=new Date()[_0x4ff3a4(0xb8)](),_0x3265e7[_0x4ff3a4(0x87)]=_0x59fb21;_0x28e931[_0x4ff3a4(0x7e)]&&_0x51c7d2[_0x4ff3a4(0x90)](_0x28e931[_0x4ff3a4(0x7e)]['nanos'],undefined)?_0x3265e7[_0x4ff3a4(0xbb)]=_0x51c7d2[_0x4ff3a4(0xb6)](_0x28e931[_0x4ff3a4(0x7e)][_0x4ff3a4(0xe2)],0xf4240):_0x3265e7[_0x4ff3a4(0xbb)]=undefined;if(_0x51c7d2[_0x4ff3a4(0xa7)](_0x59fb21,_0x51c7d2[_0x4ff3a4(0x96)])){const {default:_0x9e9d6}=await import(_0x51c7d2['RGEhH']);_0x3265e7[_0x4ff3a4(0xfa)]=[{'backtrace':[_0x28e931['failure']?_0x51c7d2[_0x4ff3a4(0xbe)](_0x9e9d6,_0x28e931[_0x4ff3a4(0xfa)]):_0x51c7d2[_0x4ff3a4(0x84)]]}],_0x3265e7[_0x4ff3a4(0xa4)]=_0x28e931[_0x4ff3a4(0xfa)]?_0x51c7d2[_0x4ff3a4(0xdf)](_0x9e9d6,_0x28e931['failure']):_0x28e931[_0x4ff3a4(0x97)],_0x28e931[_0x4ff3a4(0xfc)]&&(_0x3265e7['failure_type']=_0x28e931['failureType'][_0x4ff3a4(0xa0)](/AssertError/)?_0x51c7d2[_0x4ff3a4(0xef)]:_0x51c7d2['kQLlR']);}}return _0x3265e7;}[a119_0x1200ba(0xeb)](_0x2c288a,_0x325eef,_0x16ea88,_0x1031bb,_0xdf73b1,_0x5b2179){const _0x23920a=a119_0x1200ba,_0x51ee84={'nVCDz':function(_0x20ed5a,_0x1c5354){return _0x20ed5a===_0x1c5354;},'HxCdc':_0x23920a(0x8a),'DfmpM':function(_0x2cd6a7,_0x3c1508,_0x59c067){return _0x2cd6a7(_0x3c1508,_0x59c067);},'PnZEB':_0x23920a(0xe8),'VfxrK':_0x23920a(0xd4),'FxEos':_0x23920a(0xf5),'hcdrc':_0x23920a(0x7c),'mJyGe':'javascript','IBYnd':function(_0x34d546,_0x2ac1f1,_0x586468){return _0x34d546(_0x2ac1f1,_0x586468);},'TomDB':_0x23920a(0x9f),'fNtsb':_0x23920a(0xec),'kklmh':function(_0x1fcaa7,_0x501467,_0x253831){return _0x1fcaa7(_0x501467,_0x253831);},'EPvVt':_0x23920a(0xc5)};try{if(_0x51ee84[_0x23920a(0xb9)](_0x16ea88,_0x51ee84['HxCdc'])){const _0xb43991=new Date()['toISOString'](),_0x450cf1=hooksMap[_0x325eef];if(!_0x450cf1)return;const _0x11f5da=_0x450cf1[_0x23920a(0xf1)](_0x2ad7db=>_0x2ad7db[_0x23920a(0x8f)]===_0x1031bb['id']);if(!_0x11f5da)return;const _0x4cf290=this[_0x23920a(0xe7)](_0x2c288a,_0x325eef);_0x11f5da['result']=_0x4cf290[_0x23920a(0xa9)],_0x11f5da[_0x23920a(0xbf)]=_0xb43991,_0x11f5da[_0x23920a(0xdd)]=_0x4cf290[_0x23920a(0xfc)];const _0x200c71={};return _0x200c71[_0x23920a(0xae)]=_0x4cf290[_0x23920a(0xf2)],_0x11f5da[_0x23920a(0xd1)]=[_0x200c71],_0x11f5da;}const _0xee45d7=TestInfo['getTestUUID'](_0x325eef),_0x377d8e=_0x2c288a[_0x23920a(0x102)][_0x23920a(0xf1)](_0x17ac40=>_0x17ac40['id']===_0x1031bb[_0x23920a(0x9c)]),_0x47804c=_0x51ee84[_0x23920a(0x85)](nestedKeyValue,_0x377d8e,[_0x51ee84[_0x23920a(0x8b)],_0x51ee84[_0x23920a(0x9a)]]),_0x582e9d=new Date()[_0x23920a(0xb8)](),_0x498082=_0x51ee84[_0x23920a(0xfd)],_0x3a9dfd=_0x377d8e['tagExpression']?_0x377d8e[_0x23920a(0xb2)][_0x23920a(0x94)]('\x20')[_0x23920a(0x83)](_0x5d4d42=>_0x5d4d42[_0x23920a(0xcf)]('@')):[],_0x1c6898={'uuid':_0x1031bb['id'],'type':_0x51ee84[_0x23920a(0xdc)],'hook_type':_0x5b2179,'name':_0x377d8e[_0x23920a(0xec)],'body':{'lang':_0x51ee84[_0x23920a(0xb1)],'code':null},'tags':_0x3a9dfd,'test_run_id':_0xee45d7,'scope':_0x51ee84['IBYnd'](nestedKeyValue,_0xdf73b1,[_0x51ee84[_0x23920a(0xf7)],_0x51ee84[_0x23920a(0x8e)]]),'scopes':[_0x51ee84[_0x23920a(0xab)](nestedKeyValue,_0xdf73b1,[_0x51ee84[_0x23920a(0xf7)],_0x51ee84[_0x23920a(0x8e)]])||''],'file_name':_0x47804c,'location':_0x47804c,'vc_filepath':this[_0x23920a(0xe3)]?path[_0x23920a(0x89)](this[_0x23920a(0xe3)],_0x47804c):null,'result':_0x498082,'started_at':_0x582e9d,'framework':_0x51ee84[_0x23920a(0xe1)]};return _0x1c6898;}catch(_0x188f6a){logger[_0x23920a(0xc6)](_0x23920a(0x104)+util[_0x23920a(0xe9)](_0x188f6a)+'\x20');}}async[a119_0x1200ba(0x105)](_0x191442,_0x553cf5,_0x2a4ee7,_0x4442aa,_0xe994bd,_0x1fc7e1){const _0x384ae0=a119_0x1200ba,_0xdd05ca={'kwDJU':function(_0x34de9b,_0x484add){return _0x34de9b===_0x484add;},'GKTFq':_0x384ae0(0x101),'lqDAK':function(_0x51eed8,_0x4df2f4,_0x19cc54){return _0x51eed8(_0x4df2f4,_0x19cc54);},'tZOUy':_0x384ae0(0xe8),'FIZCZ':_0x384ae0(0xd4),'DYwad':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','BdQoR':_0x384ae0(0xc4)};try{const _0xacf740=_0x4442aa['find'](_0x530a6b=>_0x530a6b['id']===_0xe994bd);if(!_0xacf740['hookId'])return;const _0x339fd1=this['getCucumberHookType'](_0x4442aa,_0xacf740),_0x223838=this[_0x384ae0(0xeb)](_0x191442,_0x553cf5,_0x2a4ee7,_0xacf740,_0x1fc7e1,_0x339fd1);if(!_0x223838)return;_0xdd05ca['kwDJU'](_0x2a4ee7,_0xdd05ca[_0x384ae0(0xf4)])&&(hooksMap[_0x553cf5]?hooksMap[_0x553cf5]['push'](_0x223838):hooksMap[_0x553cf5]=[_0x223838]);const _0x4193c1=_0x191442['hooks'][_0x384ae0(0xf1)](_0x41674b=>_0x41674b['id']===_0xacf740[_0x384ae0(0x9c)]),_0x3ef0ea=_0xdd05ca[_0x384ae0(0xda)](nestedKeyValue,_0x4193c1,[_0xdd05ca['tZOUy'],_0xdd05ca[_0x384ae0(0xc3)]]);if(!_0x3ef0ea)return;else{if(_0x3ef0ea[_0x384ae0(0xcf)](_0xdd05ca[_0x384ae0(0xca)]))return;}if(_0xdd05ca[_0x384ae0(0xbd)](_0x223838[_0x384ae0(0xec)],_0xdd05ca[_0x384ae0(0xa3)]))return;return _0x223838;}catch(_0x221db2){logger[_0x384ae0(0xc6)](_0x384ae0(0x9e)+util['format'](_0x221db2)+'\x20');}}[a119_0x1200ba(0xe7)](_0x25f19a,_0x35ce28){const _0x11c72d=a119_0x1200ba,_0x115d38={};_0x115d38[_0x11c72d(0xe4)]=function(_0xcf3935,_0x3da391){return _0xcf3935===_0x3da391;},_0x115d38[_0x11c72d(0xc2)]=_0x11c72d(0x7b),_0x115d38['WQGSR']=_0x11c72d(0xed),_0x115d38[_0x11c72d(0xd8)]=_0x11c72d(0x78),_0x115d38[_0x11c72d(0x8c)]=function(_0x1bb84b,_0x4f7799){return _0x1bb84b||_0x4f7799;};const _0x55eb2f=_0x115d38,_0x2228ed=_0x25f19a['testStepFinished'][_0x35ce28][_0x11c72d(0xd7)];let _0x256534,_0x289b55;return _0x2228ed&&_0x55eb2f[_0x11c72d(0xe4)](_0x2228ed[_0x11c72d(0xa9)][_0x11c72d(0x8d)]()[_0x11c72d(0xe0)](),_0x55eb2f[_0x11c72d(0xc2)])&&(_0x256534=_0x55eb2f[_0x11c72d(0xe4)](_0x2228ed['exception'],undefined)?_0x2228ed[_0x11c72d(0x97)]:_0x2228ed[_0x11c72d(0xf9)][_0x11c72d(0x97)],_0x289b55=_0x55eb2f[_0x11c72d(0xe4)](_0x2228ed['exception'],undefined)?_0x55eb2f[_0x11c72d(0xf0)]:_0x2228ed['message'][_0x11c72d(0xa0)](/Assert/)?_0x55eb2f[_0x11c72d(0xd8)]:_0x55eb2f[_0x11c72d(0xf0)]),{'status':_0x2228ed['status'][_0x11c72d(0xe0)](),'failureType':_0x55eb2f[_0x11c72d(0x8c)](_0x289b55,null),'failureData':!_0x256534?null:[_0x256534]};}[a119_0x1200ba(0xd9)](_0x175623,_0x4b1625){const _0x5da95f=a119_0x1200ba,_0x311301={};_0x311301['cFHaR']=function(_0x1f5fd1,_0x105530){return _0x1f5fd1===_0x105530;},_0x311301['ekCjA']=_0x5da95f(0x92),_0x311301[_0x5da95f(0x86)]='BEFORE_EACH';const _0x29436d=_0x311301;let _0x229cfc=![];for(const _0x45c058 of _0x175623){_0x45c058[_0x5da95f(0xc1)]&&(_0x229cfc=!![]);if(_0x29436d[_0x5da95f(0x9b)](_0x4b1625['id'],_0x45c058['id']))return _0x229cfc?_0x29436d[_0x5da95f(0x79)]:_0x29436d[_0x5da95f(0x86)];}}[a119_0x1200ba(0xa2)]=(_0x1667ac,_0x52db12)=>{const _0x179c04=a119_0x1200ba,_0x401923={};_0x401923['DOhfy']=function(_0x40feb0,_0x5a90e3){return _0x40feb0===_0x5a90e3;},_0x401923[_0x179c04(0xee)]=function(_0x36a060,_0x4af038){return _0x36a060===_0x4af038;},_0x401923['nFEyk']=function(_0x4ef85f,_0x57ce0e){return _0x4ef85f>_0x57ce0e;};const _0x419720=_0x401923;if(!(_0x52db12[_0x179c04(0x80)]&&_0x419720[_0x179c04(0x106)](_0x52db12['astNodeIds'][_0x179c04(0xc9)],0x1)))return;const _0x465899=_0x52db12[_0x179c04(0x80)][0x0],_0x1ebb3e=_0x52db12[_0x179c04(0x80)][0x1],_0x32d819=_0x1667ac['feature']&&_0x1667ac[_0x179c04(0x9f)][_0x179c04(0xc0)]?_0x1667ac[_0x179c04(0x9f)][_0x179c04(0xc0)]:undefined;let _0x4c81ab=[];_0x32d819&&_0x32d819[_0x179c04(0x75)](_0x1ef75a=>{const _0x5cbb88=_0x179c04,_0x268fe6={'FzasN':function(_0x5b5cbd,_0x142217){const _0x519303=a119_0x3cf9;return _0x419720[_0x519303(0x100)](_0x5b5cbd,_0x142217);}};if(_0x1ef75a[_0x5cbb88(0x99)])_0x1ef75a[_0x5cbb88(0x99)][_0x5cbb88(0xc0)]['forEach'](_0x475aa7=>{const _0x21cada=_0x5cbb88;if(_0x475aa7[_0x21cada(0xfe)]&&_0x268fe6['FzasN'](_0x475aa7['scenario']['id'],_0x465899)&&_0x475aa7[_0x21cada(0xfe)][_0x21cada(0xd2)]){const _0x7ae1da=_0x475aa7[_0x21cada(0xfe)][_0x21cada(0xd2)][_0x21cada(0xb5)](_0x166c85=>_0x166c85[_0x21cada(0x88)])[_0x21cada(0xf1)](_0x414eb8=>_0x414eb8['id']===_0x1ebb3e);let _0x4cc600;_0x7ae1da&&_0x7ae1da[_0x21cada(0xa5)]?_0x4cc600=_0x7ae1da[_0x21cada(0xa5)][_0x21cada(0x98)](_0x408e69=>_0x408e69[_0x21cada(0xd3)]):_0x4cc600=[],_0x4cc600&&(_0x4c81ab=_0x4cc600);}});else{if(_0x1ef75a[_0x5cbb88(0xfe)]&&_0x419720[_0x5cbb88(0xee)](_0x1ef75a[_0x5cbb88(0xfe)]['id'],_0x465899)&&_0x1ef75a[_0x5cbb88(0xfe)][_0x5cbb88(0xd2)]){const _0x589b21=_0x1ef75a['scenario'][_0x5cbb88(0xd2)][_0x5cbb88(0xb5)](_0xc3b075=>_0xc3b075['tableBody'])[_0x5cbb88(0xf1)](_0xbc979f=>_0xbc979f['id']===_0x1ebb3e);let _0x3b14c8;_0x589b21&&_0x589b21['cells']?_0x3b14c8=_0x589b21[_0x5cbb88(0xa5)][_0x5cbb88(0x98)](_0x18690d=>_0x18690d[_0x5cbb88(0xd3)]):_0x3b14c8=[],_0x3b14c8&&(_0x4c81ab=_0x3b14c8);}}});if(_0x4c81ab[_0x179c04(0xc9)])return _0x4c81ab;return;};async[a119_0x1200ba(0xac)](){const _0x1bea77=a119_0x1200ba,_0x209f82={'Sbaci':function(_0x9c9f5b){return _0x9c9f5b();}};if(this[_0x1bea77(0xce)])return this['_gitConfigPath'];const _0x32a2bb=await _0x209f82[_0x1bea77(0xa8)](getGitMetaData);_0x32a2bb&&(this['_gitConfigPath']=_0x32a2bb[_0x1bea77(0xd5)]),this[_0x1bea77(0xce)]=!![];}}function a119_0x166d(){const _0x4c36bd=['rule','VfxrK','cFHaR','hookId','sendTestRunEventForCucumber','Exception\x20in\x20createHookData:\x20','feature','match','winstonLogger','getScenarioExamples','BdQoR','failure_reason','cells','tags','rDiIi','Sbaci','status','strip-ansi','kklmh','configureGit','77997kmisWH','backtrace','7odRBwS','Wcvex','mJyGe','tagExpression','1129183yKXXAH','724602zgSMKs','flatMap','YAvpG','test','toISOString','nVCDz','path','duration_in_ms','miYpG','kwDJU','agZru','finished_at','children','pickleStepId','quuIL','FIZCZ','bstack','cucumber','debug','10tQXUPG','HKgvt','length','DYwad','1007656tvRZOG','finishedAt','../../../helpers/logger.js','_gitConfigured','includes','GGoBv','failure_data','examples','value','uri','root','unknown','testStepResult','HyURD','getCucumberHookType','lqDAK','176642hIDOoi','hcdrc','failure_type','FAILED','YLozT','toLowerCase','EPvVt','nanos','_gitConfigPath','qQKaC','javascript','ISIBh','getHookResult','sourceReference','format','sendHook','getHookRunEventData','name','UnhandledError','vsVtG','bUinU','WQGSR','find','failureData','createTestFrameworkData','GKTFq','pending','1365640zmvelK','TomDB','9RvBktn','exception','failure','OdfhX','failureType','FxEos','scenario','testCaseFinished','DOhfy','HookRunStarted','hooks','Eqduj','Exception\x20in\x20getHookRunEventData:\x20','createHookData','nFEyk','exports','forEach','every','../../../helpers/helper.js','AssertionError','ekCjA','skipped','failed','hook','965464ocBHRU','timestamp','wkDYF','astNodeIds','3uJmEzb','util','filter','RaEFr','DfmpM','TBYHn','result','tableBody','relative','HookRunFinished','PnZEB','NUlMA','toString','fNtsb','uuid','ILdyK','AVICq','AFTER_EACH','../../../helpers/test-observability/error-handler.js','split','passed','YIxoW','message','map'];a119_0x166d=function(){return _0x4c36bd;};return a119_0x166d();}module[a119_0x1200ba(0x74)]=o11yClassErrorHandler(CucumberUtils,[a119_0x1200ba(0xac),a119_0x1200ba(0xa2),'getCucumberHookType',a119_0x1200ba(0xe7),a119_0x1200ba(0xea),a119_0x1200ba(0xeb),a119_0x1200ba(0x9d),'createTestFrameworkData']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120_0x2e7f77=a120_0x8523;function a120_0x364a(){const _0x3ed83f=['expanded','failure_data','giRmj','JLqvb','gwHyo','type','mJMbS','hex','unknown','getHierarchy','2178246jSxabo','finishedAt','1695685QyOEum','Exception\x20in\x20createHookData:\x20','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','inspect','yKTGS',',\x20testRunId:\x20','MqdLP','apply','18psLIIf','iZGok','failure_backtrace','title','zhhzE','HookRunStarted','ggQKi','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','UfBgb','RcBQj','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','name','beforeAll','TestRunFinished','skipped','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','file','AFTER_EACH','getState','afterAll','3735214BcrgVd','includes','Creating\x20hook\x20data\x20for\x20eventType:\x20','__jestCurrentTestIdentifier','md5','length','match','FCFww','path','nrhGg','\x22\x20hook\x20for\x20\x22','eSXEk','KSnIz','uuid','getTestIdentifier','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','AFTER_ALL','17637872MlJalV','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','sGuLK','bpAmG','1048751jEQmrV','toISOString','fcrSw','UaykL','prefixTestPath',',\x20testIdentifier:\x20','debug','FVkQV','ROOT_DESCRIBE_BLOCK','err','startedAt','cwd','bRddn','getTime','[jestUtils]\x20No\x20test\x20object\x20provided','tjMTQ','WOwar','split','_paths','IfuBQ','BEFORE_EACH','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','toString','jest','HookRunFinished','cXsqd','rIBHX','asyncError','JeIoK','oADsa','jest-circus','Unknown\x20Test','parent','File\x20path\x20could\x20not\x20be\x20found','pending','_gitConfigured','winstonLogger','retryOf','currentTest','stack-trace','recreateIdentifierFromTestInfo','Klvmd','createHookData','failure_reason','Exception\x20in\x20createTestFrameworkData:\x20','CxgaZ','getHookRunEventData','../../../helpers/test-observability/error-handler.js','backtrace','displayName','passed','../TestInfo.js','SHYPq','mpErp','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','[jestUtils]\x20Error\x20creating\x20identifier:\x20','dZiOv','root','createJestTestIdentifier','duration','pid','fiZIT','result','update','expect','started_at','testAnalyticsId','hook','failure','errorsDetailed','PHYwX','error','testIdentifier','ZEUZz','OhyTn','crypto','failure_reason_expanded','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','_gitConfigPath','getFileName','1181340VJeuGr','hooks','OhIQy','tmZIQ','__workerDetails','extractTestFilePath','QvKBz','MqzpB','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','../../../helpers/logger.js','getName','test','stack','frgEs','pIsqH','javascript','BEFORE_ALL','clearHooksMap','wJkJz','2427940SfToxF','call','errors','reverse','FzFJL','TOeQE','failed','configureGit','getRootParentFile','uaNxz','parse','../../../helpers/helper.js','exports','isJestInternalHook','push','Brmuc','testPath','../../../helpers/test-observability/utils','Exception\x20in\x20getHookRunEventData:\x20','format','gSWOQ','find','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','createIdentifierFromJestTest','fwuyr'];a120_0x364a=function(){return _0x3ed83f;};return a120_0x364a();}(function(_0x2e7f1f,_0xcef7d8){const _0xb5974b=a120_0x8523,_0xe53832=_0x2e7f1f();while(!![]){try{const _0xb28f5c=-parseInt(_0xb5974b(0x141))/0x1+-parseInt(_0xb5974b(0x10e))/0x2+parseInt(_0xb5974b(0xd8))/0x3+parseInt(_0xb5974b(0xeb))/0x4+parseInt(_0xb5974b(0x110))/0x5*(-parseInt(_0xb5974b(0x118))/0x6)+parseInt(_0xb5974b(0x12c))/0x7+parseInt(_0xb5974b(0x13d))/0x8;if(_0xb28f5c===_0xcef7d8)break;else _0xe53832['push'](_0xe53832['shift']());}catch(_0x494c61){_0xe53832['push'](_0xe53832['shift']());}}}(a120_0x364a,0x8e888));const path=require(a120_0x2e7f77(0x134)),util=require('util'),crypto=require(a120_0x2e7f77(0xd3)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a120_0x2e7f77(0xf6)),logger=require(a120_0x2e7f77(0xe1))[a120_0x2e7f77(0x165)],{o11yClassErrorHandler}=require(a120_0x2e7f77(0x170)),TestInfo=require(a120_0x2e7f77(0x174)),{failureData,getFailureType,PathHelper}=require(a120_0x2e7f77(0xfc)),stackTrace=require(a120_0x2e7f77(0x168)),{pickUserFrameFile}=require('../../../helpers/stackFrameUtils'),a120_0x4788b1={};a120_0x4788b1[a120_0x2e7f77(0x124)]=a120_0x2e7f77(0xe8),a120_0x4788b1[a120_0x2e7f77(0x12b)]=a120_0x2e7f77(0x13c),a120_0x4788b1['beforeEach']=a120_0x2e7f77(0x155),a120_0x4788b1['afterEach']=a120_0x2e7f77(0x129);const HOOK_TYPES_MAP=a120_0x4788b1,hooksMap={};class JestUtils{constructor(){const _0x524486=a120_0x2e7f77;this[_0x524486(0x164)]=![],this[_0x524486(0xd6)]=null,this[_0x524486(0x153)]=new PathHelper({'cwd':process[_0x524486(0x14c)]()},undefined);}async['createTestFrameworkData'](_0x5b7651,_0x282376,_0x42b4ad='TestRunFinished',_0xab2e38=undefined){const _0x2e929c=a120_0x2e7f77,_0x1c860b={'JLqvb':_0x2e929c(0x101),'QvKBz':_0x2e929c(0x15f),'IfuBQ':_0x2e929c(0x162),'KSnIz':function(_0x55c598,_0x205fdc){return _0x55c598!==_0x205fdc;},'JeIoK':'test','Brmuc':_0x2e929c(0x14a),'wJkJz':_0x2e929c(0x163),'PJpJi':function(_0x375d75,_0x52de4c){return _0x375d75===_0x52de4c;},'uaNxz':'TestRunSkipped','Klvmd':_0x2e929c(0x126),'fcrSw':_0x2e929c(0x125),'fuPZF':function(_0x5bc81e,_0x574a05){return _0x5bc81e>_0x574a05;},'PHYwX':_0x2e929c(0xf1),'MqzpB':'passed','WUuUT':function(_0x42e862,_0x2c5e3b){return _0x42e862!==_0x2c5e3b;},'rIBHX':function(_0x3bf82f,_0x535db4){return _0x3bf82f-_0x535db4;},'ADJgO':_0x2e929c(0xe7),'HXBSd':function(_0x1f93e4,_0x3f0623){return _0x1f93e4>_0x3f0623;},'UaykL':_0x2e929c(0x158),'usQBp':function(_0x3519cd,_0x7ae01c){return _0x3519cd(_0x7ae01c);},'TOeQE':function(_0x589152,_0x163f6f){return _0x589152===_0x163f6f;},'gSWOQ':function(_0x57a7dd,_0x3007f3){return _0x57a7dd===_0x3007f3;}};logger[_0x2e929c(0x147)](_0x2e929c(0x112)+_0x42b4ad+_0x2e929c(0x146)+_0x282376);try{if(!_0x5b7651)return logger[_0x2e929c(0x147)](_0x1c860b[_0x2e929c(0x107)]),null;if(_0x5b7651['fn']&&_0x5b7651['fn'][_0x2e929c(0x157)]()[_0x2e929c(0x132)](/browserstack internal helper hook/))return null;await this[_0x2e929c(0xf2)]();let _0x2834cc;try{_0x2834cc=this[_0x2e929c(0xf3)](_0x5b7651);if(_0x2834cc&&_0x2834cc[_0x2e929c(0x12d)](_0x1c860b[_0x2e929c(0xde)]))return null;}catch(_0x208591){logger['debug']('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util['format'](_0x208591)),_0x2834cc=null;}const _0x8202e1=this['getHierarchy'](_0x5b7651),_0x2ceae3=this[_0x2e929c(0xe2)](_0x5b7651),_0x1bf09b=_0x2834cc?this['_paths'][_0x2e929c(0x145)](_0x2834cc):_0x1c860b[_0x2e929c(0x154)];let _0x10daa1=[];const _0x4cb006=_0x5b7651[_0x2e929c(0xcd)]||_0x5b7651[_0x2e929c(0xed)];if(_0x1c860b[_0x2e929c(0x138)](_0x4cb006,undefined))_0x10daa1=[_0x4cb006,_0x1c860b[_0x2e929c(0x15d)]];else _0x1c860b['KSnIz'](_0xab2e38,undefined)&&(_0x10daa1=[_0xab2e38,_0x1c860b[_0x2e929c(0xfa)]]);const _0x2356c5=_0x1c860b[_0x2e929c(0x138)](_0x4cb006,undefined)?util['inspect'](_0x4cb006[0x0]):_0x1c860b[_0x2e929c(0x138)](_0xab2e38,undefined)?_0xab2e38[_0x2e929c(0x157)]():undefined;let _0x498a99=_0x1c860b[_0x2e929c(0xea)];if(_0x1c860b['PJpJi'](_0x42b4ad,_0x1c860b['uaNxz']))_0x498a99=_0x1c860b[_0x2e929c(0x16a)];else _0x1c860b['PJpJi'](_0x42b4ad,_0x1c860b[_0x2e929c(0x143)])&&(_0x4cb006&&_0x1c860b['fuPZF'](_0x4cb006['length'],0x0)?_0x498a99=_0x1c860b[_0x2e929c(0xce)]:_0x498a99=_0x1c860b[_0x2e929c(0xdf)]);let _0x176f2a=null;if(_0x1c860b['WUuUT'](_0x5b7651['duration'],undefined))_0x176f2a=_0x5b7651[_0x2e929c(0x17c)];else(_0x42b4ad[_0x2e929c(0x132)](/Finished/)||_0x42b4ad['match'](/Skipped/))&&(_0x5b7651['started_at']&&(_0x176f2a=_0x1c860b[_0x2e929c(0x15b)](Date['now'](),new Date(_0x5b7651['started_at'])[_0x2e929c(0x14e)]())));const _0x3121a5=_0x5b7651['fn']?_0x5b7651['fn'][_0x2e929c(0x157)]():null,_0x70f251={'id':_0x282376,'uuid':_0x282376,'startedAt':_0x5b7651[_0x2e929c(0x182)]||new Date()[_0x2e929c(0x142)](),'finishedAt':_0x42b4ad[_0x2e929c(0x132)](/Finished/)||_0x42b4ad[_0x2e929c(0x132)](/Skipped/)?new Date()[_0x2e929c(0x142)]():null,'type':_0x1c860b['JeIoK'],'body':{'lang':_0x1c860b['ADJgO'],'code':_0x3121a5},'name':_0x2ceae3,'errorsDetailed':_0x1c860b['HXBSd'](_0x4cb006?.[_0x2e929c(0x131)],0x0)?_0x4cb006[0x0]:_0x4cb006?_0x4cb006:undefined,'scopes':_0x8202e1,'file_name':_0x1bf09b,'location':_0x1bf09b,'vc_filepath':this['_gitConfigPath']&&_0x2834cc?path['relative'](this[_0x2e929c(0xd6)],_0x2834cc):null,'framework':_0x1c860b[_0x2e929c(0x144)],'result':_0x498a99,'failure_reason':_0x2356c5,'duration_in_ms':_0x176f2a,'failure':failureData[_0x2e929c(0x117)](null,_0x10daa1),'failure_type':!_0x2356c5?null:_0x1c860b['usQBp'](getFailureType,_0x2356c5),'retry_of':_0x5b7651[_0x2e929c(0x166)]||null,'customRerunParam':{'rerun_name':_0x2ceae3}};_0x1c860b['PJpJi'](_0x42b4ad,_0x1c860b['uaNxz'])&&!_0x70f251[_0x2e929c(0x14b)]&&(_0x70f251['startedAt']=_0x70f251[_0x2e929c(0x10f)]);const _0x104b40=_0x70f251[_0x2e929c(0xcc)]&&_0x70f251[_0x2e929c(0xcc)][0x0];return _0x104b40&&(_0x70f251[_0x2e929c(0x11a)]=_0x104b40[_0x2e929c(0x171)],_0x70f251[_0x2e929c(0xd4)]=_0x104b40[_0x2e929c(0x104)]),(_0x1c860b[_0x2e929c(0xf0)](_0x42b4ad,_0x1c860b[_0x2e929c(0x143)])||_0x1c860b[_0x2e929c(0xff)](_0x42b4ad,_0x1c860b[_0x2e929c(0xf4)]))&&(_0x5b7651[_0x2e929c(0xd9)]&&(_0x70f251[_0x2e929c(0xd9)]=_0x5b7651['hooks'])),_0x70f251;}catch(_0x160f04){return logger[_0x2e929c(0x147)](_0x2e929c(0x16d)+util[_0x2e929c(0xfe)](_0x160f04)),null;}}async[a120_0x2e7f77(0x16b)](_0x2db00d,_0x5b4eec,_0x32a04e,_0x586a85){const _0x3a6bf2=a120_0x2e7f77,_0x275f3b={'zhhzE':'No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','eSXEk':'jest-circus','pIsqH':'browserstack-node-agent/src/bin/jest','zWgdu':_0x3a6bf2(0x10c),'HiXCk':_0x3a6bf2(0x163),'fwuyr':function(_0x5c16bc,_0x24592c){return _0x5c16bc===_0x24592c;},'dZiOv':_0x3a6bf2(0x159),'mpErp':function(_0x177ad5,_0x1a65b2){return _0x177ad5>_0x1a65b2;},'ggQKi':_0x3a6bf2(0xf1),'TBgmV':function(_0x192ce4,_0x42d1c4){return _0x192ce4(_0x42d1c4);},'WOwar':'test','tmZIQ':_0x3a6bf2(0x173),'MuNyv':_0x3a6bf2(0xcb),'bpAmG':_0x3a6bf2(0xe7),'tDELa':_0x3a6bf2(0x158),'cXsqd':_0x3a6bf2(0x11d)};logger[_0x3a6bf2(0x147)](_0x3a6bf2(0x12e)+_0x32a04e+',\x20hookUUID:\x20'+_0x5b4eec+_0x3a6bf2(0x115)+_0x586a85);try{if(!_0x2db00d)return logger['debug'](_0x275f3b[_0x3a6bf2(0x11c)]),null;if(this[_0x3a6bf2(0xf8)](_0x2db00d))return null;await this[_0x3a6bf2(0xf2)]();let _0x5cb41a=null;try{_0x5cb41a=this[_0x3a6bf2(0xf3)](_0x2db00d);if(_0x5cb41a&&_0x5cb41a[_0x3a6bf2(0x12d)](_0x275f3b[_0x3a6bf2(0x137)]))return null;if(_0x5cb41a&&_0x5cb41a[_0x3a6bf2(0x12d)](_0x275f3b[_0x3a6bf2(0xe6)]))return null;}catch(_0x210d76){logger['debug'](_0x3a6bf2(0x122)+util[_0x3a6bf2(0xfe)](_0x210d76));}const _0xb064e=_0x5cb41a?this[_0x3a6bf2(0x153)]['prefixTestPath'](_0x5cb41a):_0x5cb41a,_0x2d46c1=this[_0x3a6bf2(0xe2)](_0x2db00d),_0x313cc1=_0x2db00d[_0x3a6bf2(0x109)]||_0x275f3b['zWgdu'],_0x44c10f=HOOK_TYPES_MAP[_0x313cc1]||_0x313cc1['toUpperCase'](),_0x570595=_0x2db00d['parent']&&_0x2db00d[_0x3a6bf2(0x161)][_0x3a6bf2(0x123)]?_0x2db00d[_0x3a6bf2(0x161)][_0x3a6bf2(0x123)]:'';let _0x3ba52d=_0x275f3b['HiXCk'],_0x2a435e=null,_0x164609=null,_0x27c3e6=null,_0x4d47f8=null;_0x275f3b[_0x3a6bf2(0x103)](_0x32a04e,_0x275f3b[_0x3a6bf2(0x179)])&&(_0x4d47f8=new Date()[_0x3a6bf2(0x142)](),_0x2db00d[_0x3a6bf2(0xcd)]&&_0x275f3b[_0x3a6bf2(0x176)](_0x2db00d[_0x3a6bf2(0xcd)][_0x3a6bf2(0x131)],0x0)?(_0x3ba52d=_0x275f3b[_0x3a6bf2(0x11e)],_0x164609=util[_0x3a6bf2(0x113)](_0x2db00d[_0x3a6bf2(0xcd)][0x0]),_0x2a435e=_0x275f3b['TBgmV'](getFailureType,_0x164609),_0x27c3e6=failureData['apply'](null,[_0x2db00d[_0x3a6bf2(0xcd)],_0x275f3b[_0x3a6bf2(0x151)]])):_0x3ba52d=_0x275f3b[_0x3a6bf2(0xdb)]);const _0x171721={'uuid':_0x5b4eec,'type':_0x275f3b['MuNyv'],'hook_type':_0x44c10f,'name':_0x2d46c1,'body':{'lang':_0x275f3b[_0x3a6bf2(0x140)],'code':_0x2db00d['fn']?_0x2db00d['fn'][_0x3a6bf2(0x157)]():null},'tags':[],'test_run_id':_0x586a85,'scope':_0x570595,'scopes':[_0x570595],'file_name':_0xb064e,'location':_0xb064e,'vc_filepath':this[_0x3a6bf2(0xd6)]&&_0x5cb41a?path['relative'](this[_0x3a6bf2(0xd6)],_0x5cb41a):null,'result':_0x3ba52d,'started_at':_0x2db00d['started_at']||new Date()[_0x3a6bf2(0x142)](),'finished_at':_0x4d47f8,'failure_type':_0x2a435e,'failure_reason':_0x164609,'failure_data':_0x27c3e6,'framework':_0x275f3b['tDELa']};return _0x275f3b['fwuyr'](_0x32a04e,_0x275f3b[_0x3a6bf2(0x15a)])&&(hooksMap[_0x586a85]?hooksMap[_0x586a85]['push'](_0x171721):hooksMap[_0x586a85]=[_0x171721]),_0x171721;}catch(_0x41f898){return logger[_0x3a6bf2(0x147)](_0x3a6bf2(0x111)+util[_0x3a6bf2(0xfe)](_0x41f898)),null;}}[a120_0x2e7f77(0x16f)](_0x100a70,_0x355d28,_0x58b40b){const _0x4b25b5=a120_0x2e7f77,_0x539828={'FVkQV':function(_0x1fd2b1,_0x5e37cf){return _0x1fd2b1>_0x5e37cf;},'FzFJL':_0x4b25b5(0xf1),'fiZIT':function(_0xb1d04,_0x17f275){return _0xb1d04(_0x17f275);},'khhjy':_0x4b25b5(0xe3),'yKTGS':_0x4b25b5(0x173)};try{const _0x4c6746=hooksMap[_0x100a70];if(!_0x4c6746)return null;const _0x1b139c=_0x4c6746[_0x4b25b5(0x100)](_0x12f54a=>_0x12f54a[_0x4b25b5(0x139)]===_0x355d28);if(!_0x1b139c)return null;return _0x1b139c['finished_at']=new Date()[_0x4b25b5(0x142)](),_0x58b40b[_0x4b25b5(0xcd)]&&_0x539828[_0x4b25b5(0x148)](_0x58b40b[_0x4b25b5(0xcd)]['length'],0x0)?(_0x1b139c[_0x4b25b5(0x17f)]=_0x539828[_0x4b25b5(0xef)],_0x1b139c[_0x4b25b5(0x16c)]=util[_0x4b25b5(0x113)](_0x58b40b['errorsDetailed'][0x0]),_0x1b139c['failure_type']=_0x539828[_0x4b25b5(0x17e)](getFailureType,_0x1b139c[_0x4b25b5(0x16c)]),_0x1b139c[_0x4b25b5(0x105)]=failureData[_0x4b25b5(0x117)](null,[_0x58b40b[_0x4b25b5(0xcd)],_0x539828['khhjy']])):_0x1b139c['result']=_0x539828[_0x4b25b5(0x114)],_0x1b139c;}catch(_0x18811b){return logger[_0x4b25b5(0x147)](_0x4b25b5(0xfd)+util[_0x4b25b5(0xfe)](_0x18811b)),null;}}[a120_0x2e7f77(0xe2)](_0x35bc48){const _0x278d0c=a120_0x2e7f77,_0x18ed2d={};_0x18ed2d[_0x278d0c(0x10a)]=function(_0x41858f,_0xf4b1b6){return _0x41858f!==_0xf4b1b6;},_0x18ed2d[_0x278d0c(0x119)]='test',_0x18ed2d[_0x278d0c(0xd2)]=_0x278d0c(0x160);const _0x5cd5a4=_0x18ed2d;if(_0x5cd5a4['mJMbS'](_0x35bc48[_0x278d0c(0x109)],_0x5cd5a4[_0x278d0c(0x119)]))return'\x22'+_0x35bc48['type']+_0x278d0c(0x136)+(_0x35bc48[_0x278d0c(0x161)]&&_0x35bc48['parent'][_0x278d0c(0x123)])+'\x22';return _0x35bc48[_0x278d0c(0x123)]||_0x5cd5a4[_0x278d0c(0xd2)];}[a120_0x2e7f77(0x10d)](_0x2eb2ed){const _0x26ba45=a120_0x2e7f77,_0x47aff0={};_0x47aff0[_0x26ba45(0x120)]=function(_0x1d50fb,_0x37a174){return _0x1d50fb!==_0x37a174;},_0x47aff0[_0x26ba45(0xe5)]=function(_0x310d79,_0x37cc2e){return _0x310d79!==_0x37cc2e;},_0x47aff0['sGuLK']=_0x26ba45(0x149);const _0x5accc3=_0x47aff0,_0x2eed02=[];if(_0x2eb2ed&&_0x2eb2ed[_0x26ba45(0x161)]){let _0x446919=_0x2eb2ed[_0x26ba45(0x161)];while(_0x446919&&_0x446919['name']&&_0x5accc3[_0x26ba45(0x120)](_0x446919[_0x26ba45(0x123)],'')&&_0x5accc3[_0x26ba45(0xe5)](_0x446919[_0x26ba45(0x123)],_0x5accc3[_0x26ba45(0x13f)])){_0x2eed02[_0x26ba45(0xf9)](_0x446919['name']),_0x446919=_0x446919[_0x26ba45(0x161)];}}return _0x2eed02[_0x26ba45(0xee)](),_0x2eed02;}['getRootParentFile'](_0x3af916){const _0x2ebbee=a120_0x2e7f77,_0x4aaf9f={'XOTUY':function(_0xab2f5c,_0x4b291){return _0xab2f5c(_0x4b291);}};if(_0x3af916['file'])return _0x3af916[_0x2ebbee(0x128)];if(_0x3af916[_0x2ebbee(0x15c)])try{const _0x389616=stackTrace['parse'][_0x2ebbee(0xec)](stackTrace,_0x3af916[_0x2ebbee(0x15c)]),_0x15d5a1=_0x4aaf9f['XOTUY'](pickUserFrameFile,_0x389616);if(_0x15d5a1)return _0x15d5a1;logger[_0x2ebbee(0x147)](_0x2ebbee(0x13b)+_0x389616['length']+')');}catch(_0x2f71c6){logger[_0x2ebbee(0x147)](_0x2ebbee(0xe0)+util[_0x2ebbee(0xfe)](_0x2f71c6));}return null;}[a120_0x2e7f77(0xf8)](_0x21d4cd){const _0x4281ec=a120_0x2e7f77,_0x170a84={};_0x170a84[_0x4281ec(0x175)]='jest-circus';const _0x48e427=_0x170a84;try{const _0x3a60b5=this['getRootParentFile'](_0x21d4cd);if(!_0x3a60b5||_0x3a60b5[_0x4281ec(0x12d)](_0x48e427['SHYPq']))return!![];}catch(_0x5325aa){logger[_0x4281ec(0x147)](_0x4281ec(0x13e)+util[_0x4281ec(0xfe)](_0x5325aa));}return![];}[a120_0x2e7f77(0x13a)](_0xc7f400=null){const _0x303401=a120_0x2e7f77;try{const _0x3e8d04=_0xc7f400||global[_0x303401(0xdc)]||{};if(global[_0x303401(0x12f)])return global['__jestCurrentTestIdentifier'];if(_0x3e8d04?.['currentTest']?.[_0x303401(0x183)])return _0x3e8d04[_0x303401(0x167)][_0x303401(0x183)];if(_0x3e8d04?.[_0x303401(0x167)]?.['id'])return _0x3e8d04[_0x303401(0x167)]['id'];return null;}catch(_0x5ef154){return logger[_0x303401(0x147)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util['format'](_0x5ef154)),null;}}async[a120_0x2e7f77(0xf2)](){const _0x41ed12=a120_0x2e7f77,_0xb79c33={'gwHyo':function(_0x3f3cff){return _0x3f3cff();}};if(this[_0x41ed12(0x164)])return this['_gitConfigPath'];const _0x1257a9=await _0xb79c33[_0x41ed12(0x108)](getGitMetaData);_0x1257a9&&(this[_0x41ed12(0xd6)]=_0x1257a9[_0x41ed12(0x17a)]),this[_0x41ed12(0x164)]=!![];}[a120_0x2e7f77(0xe9)](_0x5d16f8){hooksMap[_0x5d16f8]&&delete hooksMap[_0x5d16f8];}['extractTestFilePath'](_0x5e7592){const _0x569cd4=a120_0x2e7f77,_0x58fb20={'giRmj':_0x569cd4(0x15f),'OhIQy':function(_0x3ea179,_0x14216a){return _0x3ea179(_0x14216a);},'bRddn':_0x569cd4(0x181)};if(_0x5e7592[_0x569cd4(0x128)])return _0x5e7592[_0x569cd4(0x128)];if(_0x5e7592[_0x569cd4(0x15c)]){try{const _0x538b33=stackTrace[_0x569cd4(0xf5)](_0x5e7592[_0x569cd4(0x15c)]);if(_0x538b33[0x0]&&_0x538b33[0x0][_0x569cd4(0xd7)]){const _0x2b8ecd=_0x538b33[0x0]['getFileName']();if(_0x2b8ecd&&!_0x2b8ecd['includes'](_0x58fb20[_0x569cd4(0x106)]))return _0x2b8ecd;}}catch(_0x1f4049){logger[_0x569cd4(0x147)](_0x569cd4(0x11f)+util[_0x569cd4(0xfe)](_0x1f4049));}if(_0x5e7592['asyncError'][_0x569cd4(0xe4)]){const _0x3810d2=_0x5e7592[_0x569cd4(0x15c)]['stack'][_0x569cd4(0x152)]('\x0a');for(const _0x5a0e21 of _0x3810d2){const _0x284700=_0x5a0e21[_0x569cd4(0x132)](/at (.+?):\d+:\d+/);if(_0x284700&&_0x284700[0x1]&&!_0x284700[0x1][_0x569cd4(0x12d)](_0x58fb20[_0x569cd4(0x106)]))return _0x284700[0x1];}}}let _0x41f220=_0x5e7592[_0x569cd4(0x161)];while(_0x41f220){if(_0x41f220[_0x569cd4(0x128)])return _0x41f220['file'];if(_0x41f220['asyncError'])try{const _0x2aa5c8=stackTrace[_0x569cd4(0xf5)](_0x41f220[_0x569cd4(0x15c)]);if(_0x2aa5c8[0x0]&&_0x2aa5c8[0x0][_0x569cd4(0xd7)]){const _0x46b257=_0x2aa5c8[0x0]['getFileName']();if(_0x46b257&&!_0x46b257[_0x569cd4(0x12d)](_0x58fb20[_0x569cd4(0x106)]))return _0x46b257;}}catch(_0x513c86){}_0x41f220=_0x41f220[_0x569cd4(0x161)];}try{const _0x16a28c=_0x58fb20[_0x569cd4(0xda)](require,_0x58fb20[_0x569cd4(0x14d)]);if(_0x16a28c&&_0x16a28c[_0x569cd4(0x12a)]){const _0x10d69a=_0x16a28c['getState']();if(_0x10d69a&&_0x10d69a[_0x569cd4(0xfb)])return _0x10d69a[_0x569cd4(0xfb)];}}catch(_0x4ac53e){logger['debug'](_0x569cd4(0x177)+util['format'](_0x4ac53e));}return null;}[a120_0x2e7f77(0x17b)](_0x2ce9f5){const _0x3f2b43=a120_0x2e7f77,_0x5c181a={};_0x5c181a['oADsa']=_0x3f2b43(0x156),_0x5c181a[_0x3f2b43(0x16e)]=function(_0x1affc4,_0x16ba8f){return _0x1affc4!==_0x16ba8f;},_0x5c181a[_0x3f2b43(0x121)]=_0x3f2b43(0x149),_0x5c181a[_0x3f2b43(0x133)]=_0x3f2b43(0x15f),_0x5c181a[_0x3f2b43(0xd1)]=_0x3f2b43(0x130),_0x5c181a['tjMTQ']=_0x3f2b43(0x10b);const _0x147923=_0x5c181a;try{if(!_0x2ce9f5)return logger[_0x3f2b43(0xcf)](_0x147923[_0x3f2b43(0x15e)]),null;const _0x3dc68d=_0x2ce9f5['fullName']||_0x2ce9f5[_0x3f2b43(0x123)]||_0x2ce9f5[_0x3f2b43(0x11b)]||_0x2ce9f5[_0x3f2b43(0x172)];let _0x3c2b1e=_0x3dc68d;if(_0x2ce9f5['parent']&&_0x2ce9f5[_0x3f2b43(0x161)][_0x3f2b43(0x123)]&&_0x147923[_0x3f2b43(0x16e)](_0x2ce9f5[_0x3f2b43(0x161)]['name'],_0x147923[_0x3f2b43(0x121)])){const _0x19a9a1=_0x2ce9f5['name']||_0x2ce9f5[_0x3f2b43(0x11b)];_0x19a9a1&&(_0x3c2b1e=_0x2ce9f5['parent'][_0x3f2b43(0x123)]+'\x20'+_0x19a9a1);}let _0x4491b3=_0x2ce9f5[_0x3f2b43(0xfb)];if(!_0x4491b3&&_0x2ce9f5[_0x3f2b43(0x15c)]){try{const _0x37006d=stackTrace['parse'](_0x2ce9f5[_0x3f2b43(0x15c)]);if(_0x37006d[0x0]&&_0x37006d[0x0][_0x3f2b43(0xd7)]){const _0x191503=_0x37006d[0x0][_0x3f2b43(0xd7)]();_0x191503&&!_0x191503['includes'](_0x147923[_0x3f2b43(0x133)])&&(_0x4491b3=_0x191503);}}catch(_0x96a584){logger['debug'](_0x3f2b43(0x11f)+util[_0x3f2b43(0xfe)](_0x96a584));}if(!_0x4491b3&&_0x2ce9f5[_0x3f2b43(0x15c)][_0x3f2b43(0xe4)]){const _0x3b4f84=_0x2ce9f5[_0x3f2b43(0x15c)][_0x3f2b43(0xe4)][_0x3f2b43(0x152)]('\x0a');for(const _0x29b95d of _0x3b4f84){const _0x1ce7f5=_0x29b95d[_0x3f2b43(0x132)](/at (.+?):\d+:\d+/);if(_0x1ce7f5&&_0x1ce7f5[0x1]&&!_0x1ce7f5[0x1][_0x3f2b43(0x12d)](_0x147923[_0x3f2b43(0x133)])){_0x4491b3=_0x1ce7f5[0x1];break;}}}}const _0x328d88=_0x4491b3+'::'+_0x3c2b1e,_0xd8e14f=crypto['createHash'](_0x147923[_0x3f2b43(0xd1)])[_0x3f2b43(0x180)](_0x328d88)['digest'](_0x147923[_0x3f2b43(0x150)])['substring'](0x0,0x8),_0x51c813=process[_0x3f2b43(0x17d)]+':jest-'+_0xd8e14f;return logger['debug']('[jestUtils]\x20Created\x20identifier:\x20'+_0x51c813+'\x20from\x20compositeKey:\x20'+_0x328d88),_0x51c813;}catch(_0x5eda5f){return logger[_0x3f2b43(0xcf)](_0x3f2b43(0x178)+util['format'](_0x5eda5f)),null;}}[a120_0x2e7f77(0x102)](_0x2815f1){const _0x3d4093=a120_0x2e7f77,_0x5ccee8={};_0x5ccee8[_0x3d4093(0x135)]=_0x3d4093(0x14f);const _0x1b29bb=_0x5ccee8;if(!_0x2815f1)return logger[_0x3d4093(0x147)](_0x1b29bb['nrhGg']),null;const _0x5d2874=this[_0x3d4093(0xdd)](_0x2815f1),_0xc86ebe={};_0xc86ebe['name']=_0x2815f1[_0x3d4093(0x123)]||_0x2815f1[_0x3d4093(0x11b)],_0xc86ebe[_0x3d4093(0x161)]=_0x2815f1[_0x3d4093(0x161)],_0xc86ebe[_0x3d4093(0xfb)]=_0x5d2874,_0xc86ebe[_0x3d4093(0x15c)]=_0x2815f1[_0x3d4093(0x15c)];const _0x48ec8b=_0xc86ebe;return this[_0x3d4093(0x17b)](_0x48ec8b);}['recreateIdentifierFromTestInfo'](_0x2ca908,_0x210788=null){const _0xe43888=a120_0x2e7f77,_0x2efd0a={};_0x2efd0a[_0xe43888(0x116)]=_0xe43888(0x127);const _0x38d250=_0x2efd0a;if(!_0x2ca908)return logger[_0xe43888(0x147)](_0x38d250['MqdLP']),_0x210788;if(_0x2ca908[_0xe43888(0xd0)])return logger[_0xe43888(0x147)](_0xe43888(0xd5)+_0x2ca908['testIdentifier']),_0x2ca908['testIdentifier'];return this[_0xe43888(0x17b)](_0x2ca908)||_0x210788;}}function a120_0x8523(_0x4f0967,_0x226266){const _0x364a73=a120_0x364a();return a120_0x8523=function(_0x85233,_0x1a47ea){_0x85233=_0x85233-0xcb;let _0x5c40d8=_0x364a73[_0x85233];return _0x5c40d8;},a120_0x8523(_0x4f0967,_0x226266);}module[a120_0x2e7f77(0xf7)]=o11yClassErrorHandler(JestUtils,[a120_0x2e7f77(0xf2),'getHierarchy','getRootParentFile',a120_0x2e7f77(0xe2),'isJestInternalHook',a120_0x2e7f77(0x13a),'createTestFrameworkData','createHookData','getHookRunEventData',a120_0x2e7f77(0xe9),a120_0x2e7f77(0xdd),a120_0x2e7f77(0x17b),a120_0x2e7f77(0x102),a120_0x2e7f77(0x169)]);
|
|
1
|
+
const a120_0x11281d=a120_0x1910;function a120_0x4494(){const _0x1752d3=['finished_at','40lVdsLc','lDMIe','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','currentTest','afterAll','frsNk','failure','passed','XdepA',',\x20testIdentifier:\x20','MsAXv','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','DsdLQ','isJestInternalHook','failure_backtrace','172408sthCBk','parent','toString','file','__workerDetails','sqFoP','[jestUtils]\x20Error\x20creating\x20identifier:\x20','cwd','GvENm','exports','recreateIdentifierFromTestInfo','prefixTestPath','getHookRunEventData','getRootParentFile','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','UUZCf','test','_paths','title','util','testPath','javascript','../../../helpers/helper.js','MAlYv','hex','backtrace','unknown','WnkKL','expect','retryOf','vWkzS','eeLSn','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','../../../helpers/stackFrameUtils','_gitConfigured','hFjzI','Wlprc','sdtoK','displayName','clearHooksMap','getTestIdentifier','update','failure_type','765pABVch','errorsDetailed','HookRunStarted','TestRunSkipped','[jestUtils]\x20No\x20test\x20object\x20provided','DTsCb','iQRKd','wCsWJ','OPArC','toUpperCase','result','finishedAt','kNtgs','type','[jestUtils]\x20Created\x20identifier:\x20','HkYyF','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','CgVdz','fNOMF','match','getHierarchy','HkVga','pending','relative','../../../helpers/test-observability/error-handler.js','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','PGyQv','3456695cuBaMs','Exception\x20in\x20getHookRunEventData:\x20','NUGjd','failed','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','push','TestRunFinished','kIzkb','AFTER_ALL','includes','jest-circus','substring','61026LMlerL','createHash','TZDyv','crypto','md5','aOWxQ',':jest-','afterEach','find','JWXCN','errors','now','skipped','__jestCurrentTestIdentifier','configureGit','RlSUj','getFileName','1445420daTqkD','parse','DahOT','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','pid','CQmUX','createIdentifierFromJestTest','rRrtc','getName','../../../helpers/test-observability/utils','qKbRw','\x22\x20hook\x20for\x20\x22','beforeAll','eZyvk','failure_data','../../../helpers/logger.js','BuubA','4930QhkUID','inspect','1428hZUqrr','path','error','cuazv','207yFQDwh','cIGwK','fullName','asyncError','expanded','hooks','Owelp','name','failure_reason','started_at','split','createTestFrameworkData','getTime','XgLAL','stack','debug','7692CoGMFv','ZYjkL','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','jest','startedAt','length',',\x20hookUUID:\x20','wRhdw','PgOij','duration','YKPjO','Exception\x20in\x20createTestFrameworkData:\x20','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','apply','createHookData','KLIvf','reverse','ltWnT','Exception\x20in\x20createHookData:\x20','toISOString','format','DDnwf','ozhbA','SCJeP','LKGQf','UTien','Unknown\x20Test','testIdentifier','ROOT_DESCRIBE_BLOCK','BEFORE_ALL','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','3076495MOTXew','createJestTestIdentifier','PBSTY','root','YnBRS','winstonLogger','lliug','\x20from\x20compositeKey:\x20','extractTestFilePath','THgqw','_gitConfigPath'];a120_0x4494=function(){return _0x1752d3;};return a120_0x4494();}(function(_0x1f939e,_0x18d7a5){const _0x5d946d=a120_0x1910,_0x396230=_0x1f939e();while(!![]){try{const _0xb7467d=-parseInt(_0x5d946d(0x1f4))/0x1+parseInt(_0x5d946d(0x216))/0x2*(-parseInt(_0x5d946d(0x1cd))/0x3)+-parseInt(_0x5d946d(0x205))/0x4+-parseInt(_0x5d946d(0x24b))/0x5+parseInt(_0x5d946d(0x22c))/0x6*(parseInt(_0x5d946d(0x218))/0x7)+-parseInt(_0x5d946d(0x267))/0x8*(-parseInt(_0x5d946d(0x21c))/0x9)+-parseInt(_0x5d946d(0x257))/0xa*(-parseInt(_0x5d946d(0x1e8))/0xb);if(_0xb7467d===_0x18d7a5)break;else _0x396230['push'](_0x396230['shift']());}catch(_0x150122){_0x396230['push'](_0x396230['shift']());}}}(a120_0x4494,0x54f16));const path=require(a120_0x11281d(0x219)),util=require(a120_0x11281d(0x1b5)),crypto=require(a120_0x11281d(0x1f7)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a120_0x11281d(0x1b8)),logger=require(a120_0x11281d(0x214))[a120_0x11281d(0x250)],{o11yClassErrorHandler}=require(a120_0x11281d(0x1e5)),TestInfo=require('../TestInfo.js'),{failureData,getFailureType,PathHelper}=require(a120_0x11281d(0x20e)),stackTrace=require('stack-trace'),{pickUserFrameFile}=require(a120_0x11281d(0x1c3)),a120_0x17de75={};a120_0x17de75[a120_0x11281d(0x211)]=a120_0x11281d(0x249),a120_0x17de75[a120_0x11281d(0x25c)]=a120_0x11281d(0x1f0),a120_0x17de75['beforeEach']='BEFORE_EACH',a120_0x17de75[a120_0x11281d(0x1fb)]='AFTER_EACH';function a120_0x1910(_0x3de8f4,_0x41665d){const _0x4494ca=a120_0x4494();return a120_0x1910=function(_0x1910ed,_0x121426){_0x1910ed=_0x1910ed-0x1af;let _0x58e03b=_0x4494ca[_0x1910ed];return _0x58e03b;},a120_0x1910(_0x3de8f4,_0x41665d);}const HOOK_TYPES_MAP=a120_0x17de75,hooksMap={};class JestUtils{constructor(){const _0x4f7edf=a120_0x11281d;this[_0x4f7edf(0x1c4)]=![],this['_gitConfigPath']=null,this['_paths']=new PathHelper({'cwd':process[_0x4f7edf(0x26e)]()},undefined);}async[a120_0x11281d(0x227)](_0x47458a,_0x5e5189,_0x17ce0c='TestRunFinished',_0x3962c4=undefined){const _0x1bbe37=a120_0x11281d,_0x279f97={'eZyvk':_0x1bbe37(0x1ec),'cIGwK':_0x1bbe37(0x1f2),'KLIvf':'File\x20path\x20could\x20not\x20be\x20found','aOWxQ':function(_0x5c935d,_0x1253e2){return _0x5c935d!==_0x1253e2;},'qKbRw':'test','ozhbA':function(_0x5bf0bc,_0x2dd935){return _0x5bf0bc!==_0x2dd935;},'YnBRS':'err','OPArC':_0x1bbe37(0x1e3),'CgVdz':function(_0x335f45,_0x5da061){return _0x335f45===_0x5da061;},'PgOij':_0x1bbe37(0x1d0),'TZDyv':_0x1bbe37(0x200),'YKPjO':_0x1bbe37(0x1ee),'ltWnT':function(_0x36db7b,_0x20cc80){return _0x36db7b>_0x20cc80;},'DTsCb':'failed','SCJeP':_0x1bbe37(0x25f),'lAvYE':function(_0x54a2ad,_0x4ebdb0){return _0x54a2ad!==_0x4ebdb0;},'GvENm':function(_0x2c6ecf,_0x512f1e){return _0x2c6ecf-_0x512f1e;},'lliug':_0x1bbe37(0x1b7),'PGyQv':function(_0x564d88,_0x5b6374){return _0x564d88>_0x5b6374;},'hFjzI':_0x1bbe37(0x22f),'hXIIF':function(_0x49f65a,_0x2ce48f){return _0x49f65a(_0x2ce48f);},'sqFoP':function(_0x31015e,_0x37ec76){return _0x31015e===_0x37ec76;},'pIqcG':function(_0x4ce291,_0x4f4f98){return _0x4ce291===_0x4f4f98;}};logger[_0x1bbe37(0x22b)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x17ce0c+_0x1bbe37(0x261)+_0x5e5189);try{if(!_0x47458a)return logger[_0x1bbe37(0x22b)](_0x279f97[_0x1bbe37(0x212)]),null;if(_0x47458a['fn']&&_0x47458a['fn'][_0x1bbe37(0x269)]()[_0x1bbe37(0x1e0)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0x454139;try{_0x454139=this['getRootParentFile'](_0x47458a);if(_0x454139&&_0x454139[_0x1bbe37(0x1f1)](_0x279f97[_0x1bbe37(0x21d)]))return null;}catch(_0x218000){logger[_0x1bbe37(0x22b)](_0x1bbe37(0x1b0)+util[_0x1bbe37(0x240)](_0x218000)),_0x454139=null;}const _0x12cabf=this[_0x1bbe37(0x1e1)](_0x47458a),_0x342697=this[_0x1bbe37(0x20d)](_0x47458a),_0x44bb65=_0x454139?this[_0x1bbe37(0x1b3)][_0x1bbe37(0x272)](_0x454139):_0x279f97[_0x1bbe37(0x23b)];let _0x39a903=[];const _0x5bd345=_0x47458a[_0x1bbe37(0x1ce)]||_0x47458a[_0x1bbe37(0x1fe)];if(_0x279f97[_0x1bbe37(0x1f9)](_0x5bd345,undefined))_0x39a903=[_0x5bd345,_0x279f97[_0x1bbe37(0x20f)]];else _0x279f97[_0x1bbe37(0x242)](_0x3962c4,undefined)&&(_0x39a903=[_0x3962c4,_0x279f97[_0x1bbe37(0x24f)]]);const _0x339642=_0x279f97['aOWxQ'](_0x5bd345,undefined)?util[_0x1bbe37(0x217)](_0x5bd345[0x0]):_0x279f97['ozhbA'](_0x3962c4,undefined)?_0x3962c4['toString']():undefined;let _0xed8f6c=_0x279f97[_0x1bbe37(0x1d5)];if(_0x279f97['CgVdz'](_0x17ce0c,_0x279f97[_0x1bbe37(0x234)]))_0xed8f6c=_0x279f97[_0x1bbe37(0x1f6)];else _0x279f97[_0x1bbe37(0x1de)](_0x17ce0c,_0x279f97[_0x1bbe37(0x236)])&&(_0x5bd345&&_0x279f97[_0x1bbe37(0x23d)](_0x5bd345['length'],0x0)?_0xed8f6c=_0x279f97[_0x1bbe37(0x1d2)]:_0xed8f6c=_0x279f97[_0x1bbe37(0x243)]);let _0x4fae1e=null;if(_0x279f97['lAvYE'](_0x47458a['duration'],undefined))_0x4fae1e=_0x47458a[_0x1bbe37(0x235)];else(_0x17ce0c[_0x1bbe37(0x1e0)](/Finished/)||_0x17ce0c[_0x1bbe37(0x1e0)](/Skipped/))&&(_0x47458a[_0x1bbe37(0x225)]&&(_0x4fae1e=_0x279f97[_0x1bbe37(0x26f)](Date[_0x1bbe37(0x1ff)](),new Date(_0x47458a[_0x1bbe37(0x225)])[_0x1bbe37(0x228)]())));const _0x56f6e8=_0x47458a['fn']?_0x47458a['fn'][_0x1bbe37(0x269)]():null,_0xdc7e5e={'id':_0x5e5189,'uuid':_0x5e5189,'startedAt':_0x47458a[_0x1bbe37(0x225)]||new Date()['toISOString'](),'finishedAt':_0x17ce0c[_0x1bbe37(0x1e0)](/Finished/)||_0x17ce0c['match'](/Skipped/)?new Date()[_0x1bbe37(0x23f)]():null,'type':_0x279f97[_0x1bbe37(0x20f)],'body':{'lang':_0x279f97[_0x1bbe37(0x251)],'code':_0x56f6e8},'name':_0x342697,'errorsDetailed':_0x279f97[_0x1bbe37(0x1e7)](_0x5bd345?.[_0x1bbe37(0x231)],0x0)?_0x5bd345[0x0]:_0x5bd345?_0x5bd345:undefined,'scopes':_0x12cabf,'file_name':_0x44bb65,'location':_0x44bb65,'vc_filepath':this[_0x1bbe37(0x255)]&&_0x454139?path[_0x1bbe37(0x1e4)](this['_gitConfigPath'],_0x454139):null,'framework':_0x279f97[_0x1bbe37(0x1c5)],'result':_0xed8f6c,'failure_reason':_0x339642,'duration_in_ms':_0x4fae1e,'failure':failureData[_0x1bbe37(0x239)](null,_0x39a903),'failure_type':!_0x339642?null:_0x279f97['hXIIF'](getFailureType,_0x339642),'retry_of':_0x47458a[_0x1bbe37(0x1bf)]||null,'customRerunParam':{'rerun_name':_0x342697}};_0x279f97[_0x1bbe37(0x1de)](_0x17ce0c,_0x279f97[_0x1bbe37(0x234)])&&!_0xdc7e5e[_0x1bbe37(0x230)]&&(_0xdc7e5e['startedAt']=_0xdc7e5e[_0x1bbe37(0x1d8)]);const _0x4d2fde=_0xdc7e5e[_0x1bbe37(0x25e)]&&_0xdc7e5e[_0x1bbe37(0x25e)][0x0];return _0x4d2fde&&(_0xdc7e5e[_0x1bbe37(0x266)]=_0x4d2fde[_0x1bbe37(0x1bb)],_0xdc7e5e['failure_reason_expanded']=_0x4d2fde[_0x1bbe37(0x220)]),(_0x279f97[_0x1bbe37(0x26c)](_0x17ce0c,_0x279f97[_0x1bbe37(0x236)])||_0x279f97['pIqcG'](_0x17ce0c,_0x279f97[_0x1bbe37(0x234)]))&&(_0x47458a[_0x1bbe37(0x221)]&&(_0xdc7e5e['hooks']=_0x47458a['hooks'])),_0xdc7e5e;}catch(_0x30f48c){return logger['debug'](_0x1bbe37(0x237)+util[_0x1bbe37(0x240)](_0x30f48c)),null;}}async[a120_0x11281d(0x23a)](_0x5d0b4a,_0x54292f,_0x43da89,_0x16d72c){const _0x5b5715=a120_0x11281d,_0x37f6ea={'XgLAL':'No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','sdtoK':'jest-circus','XdepA':'browserstack-node-agent/src/bin/jest','iQRKd':_0x5b5715(0x1bc),'HkVga':_0x5b5715(0x1e3),'RlSUj':function(_0x4330e0,_0x319ddb){return _0x4330e0===_0x319ddb;},'Owelp':'HookRunFinished','eeLSn':function(_0x3ae023,_0x371dc6){return _0x3ae023>_0x371dc6;},'lDMIe':'failed','MsAXv':function(_0x5bfc4c,_0x4241ce){return _0x5bfc4c(_0x4241ce);},'vWkzS':_0x5b5715(0x1b2),'pJUat':_0x5b5715(0x25f),'BuubA':'hook','HkYyF':_0x5b5715(0x1b7),'kIzkb':_0x5b5715(0x22f),'MAlYv':function(_0x552e33,_0x19f2e5){return _0x552e33===_0x19f2e5;},'cuazv':_0x5b5715(0x1cf)};logger[_0x5b5715(0x22b)]('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x43da89+_0x5b5715(0x232)+_0x54292f+',\x20testRunId:\x20'+_0x16d72c);try{if(!_0x5d0b4a)return logger[_0x5b5715(0x22b)](_0x37f6ea[_0x5b5715(0x229)]),null;if(this[_0x5b5715(0x265)](_0x5d0b4a))return null;await this[_0x5b5715(0x202)]();let _0x226f9b=null;try{_0x226f9b=this[_0x5b5715(0x1af)](_0x5d0b4a);if(_0x226f9b&&_0x226f9b[_0x5b5715(0x1f1)](_0x37f6ea[_0x5b5715(0x1c7)]))return null;if(_0x226f9b&&_0x226f9b[_0x5b5715(0x1f1)](_0x37f6ea[_0x5b5715(0x260)]))return null;}catch(_0x37c042){logger['debug'](_0x5b5715(0x24a)+util['format'](_0x37c042));}const _0x277213=_0x226f9b?this[_0x5b5715(0x1b3)][_0x5b5715(0x272)](_0x226f9b):_0x226f9b,_0x2f0b83=this[_0x5b5715(0x20d)](_0x5d0b4a),_0x26da01=_0x5d0b4a[_0x5b5715(0x1da)]||_0x37f6ea[_0x5b5715(0x1d3)],_0x3a88ac=HOOK_TYPES_MAP[_0x26da01]||_0x26da01[_0x5b5715(0x1d6)](),_0x2f95be=_0x5d0b4a[_0x5b5715(0x268)]&&_0x5d0b4a[_0x5b5715(0x268)][_0x5b5715(0x223)]?_0x5d0b4a[_0x5b5715(0x268)][_0x5b5715(0x223)]:'';let _0x46a26a=_0x37f6ea[_0x5b5715(0x1e2)],_0x12aa72=null,_0x57ca17=null,_0x2ab52a=null,_0x4dc9f6=null;_0x37f6ea[_0x5b5715(0x203)](_0x43da89,_0x37f6ea[_0x5b5715(0x222)])&&(_0x4dc9f6=new Date()['toISOString'](),_0x5d0b4a[_0x5b5715(0x1ce)]&&_0x37f6ea[_0x5b5715(0x1c1)](_0x5d0b4a['errorsDetailed'][_0x5b5715(0x231)],0x0)?(_0x46a26a=_0x37f6ea[_0x5b5715(0x258)],_0x57ca17=util[_0x5b5715(0x217)](_0x5d0b4a[_0x5b5715(0x1ce)][0x0]),_0x12aa72=_0x37f6ea[_0x5b5715(0x262)](getFailureType,_0x57ca17),_0x2ab52a=failureData[_0x5b5715(0x239)](null,[_0x5d0b4a['errorsDetailed'],_0x37f6ea[_0x5b5715(0x1c0)]])):_0x46a26a=_0x37f6ea['pJUat']);const _0x447d9d={'uuid':_0x54292f,'type':_0x37f6ea[_0x5b5715(0x215)],'hook_type':_0x3a88ac,'name':_0x2f0b83,'body':{'lang':_0x37f6ea[_0x5b5715(0x1dc)],'code':_0x5d0b4a['fn']?_0x5d0b4a['fn'][_0x5b5715(0x269)]():null},'tags':[],'test_run_id':_0x16d72c,'scope':_0x2f95be,'scopes':[_0x2f95be],'file_name':_0x277213,'location':_0x277213,'vc_filepath':this[_0x5b5715(0x255)]&&_0x226f9b?path['relative'](this[_0x5b5715(0x255)],_0x226f9b):null,'result':_0x46a26a,'started_at':_0x5d0b4a[_0x5b5715(0x225)]||new Date()[_0x5b5715(0x23f)](),'finished_at':_0x4dc9f6,'failure_type':_0x12aa72,'failure_reason':_0x57ca17,'failure_data':_0x2ab52a,'framework':_0x37f6ea[_0x5b5715(0x1ef)]};return _0x37f6ea[_0x5b5715(0x1b9)](_0x43da89,_0x37f6ea[_0x5b5715(0x21b)])&&(hooksMap[_0x16d72c]?hooksMap[_0x16d72c]['push'](_0x447d9d):hooksMap[_0x16d72c]=[_0x447d9d]),_0x447d9d;}catch(_0x27a246){return logger['debug'](_0x5b5715(0x23e)+util[_0x5b5715(0x240)](_0x27a246)),null;}}[a120_0x11281d(0x273)](_0x1706f2,_0x41777e,_0x20742e){const _0x5e683d=a120_0x11281d,_0x48fbf4={'wCsWJ':function(_0x44ed1f,_0x3e26cc){return _0x44ed1f>_0x3e26cc;},'DDnwf':_0x5e683d(0x1eb),'DsdLQ':function(_0x534c49,_0x3353d6){return _0x534c49(_0x3353d6);},'DahOT':_0x5e683d(0x1b2),'CQmUX':_0x5e683d(0x25f)};try{const _0x4c49fd=hooksMap[_0x1706f2];if(!_0x4c49fd)return null;const _0x3a20a9=_0x4c49fd[_0x5e683d(0x1fc)](_0x2c0810=>_0x2c0810['uuid']===_0x41777e);if(!_0x3a20a9)return null;return _0x3a20a9[_0x5e683d(0x256)]=new Date()[_0x5e683d(0x23f)](),_0x20742e[_0x5e683d(0x1ce)]&&_0x48fbf4[_0x5e683d(0x1d4)](_0x20742e['errorsDetailed'][_0x5e683d(0x231)],0x0)?(_0x3a20a9[_0x5e683d(0x1d7)]=_0x48fbf4[_0x5e683d(0x241)],_0x3a20a9['failure_reason']=util[_0x5e683d(0x217)](_0x20742e[_0x5e683d(0x1ce)][0x0]),_0x3a20a9[_0x5e683d(0x1cc)]=_0x48fbf4[_0x5e683d(0x264)](getFailureType,_0x3a20a9[_0x5e683d(0x224)]),_0x3a20a9[_0x5e683d(0x213)]=failureData[_0x5e683d(0x239)](null,[_0x20742e['errorsDetailed'],_0x48fbf4[_0x5e683d(0x207)]])):_0x3a20a9['result']=_0x48fbf4[_0x5e683d(0x20a)],_0x3a20a9;}catch(_0x1882ba){return logger[_0x5e683d(0x22b)](_0x5e683d(0x1e9)+util[_0x5e683d(0x240)](_0x1882ba)),null;}}['getName'](_0x2b1746){const _0x50f48b=a120_0x11281d,_0x1b435c={};_0x1b435c[_0x50f48b(0x254)]=function(_0xd8c33c,_0x1eecce){return _0xd8c33c!==_0x1eecce;},_0x1b435c[_0x50f48b(0x1b1)]=_0x50f48b(0x1b2),_0x1b435c[_0x50f48b(0x1bd)]=_0x50f48b(0x246);const _0x59b848=_0x1b435c;if(_0x59b848[_0x50f48b(0x254)](_0x2b1746[_0x50f48b(0x1da)],_0x59b848[_0x50f48b(0x1b1)]))return'\x22'+_0x2b1746[_0x50f48b(0x1da)]+_0x50f48b(0x210)+(_0x2b1746[_0x50f48b(0x268)]&&_0x2b1746['parent'][_0x50f48b(0x223)])+'\x22';return _0x2b1746['name']||_0x59b848['WnkKL'];}[a120_0x11281d(0x1e1)](_0x1ca694){const _0x43b1a0=a120_0x11281d,_0x23ee16={};_0x23ee16['wRhdw']=function(_0x521923,_0x37ec45){return _0x521923!==_0x37ec45;},_0x23ee16[_0x43b1a0(0x25d)]=_0x43b1a0(0x248);const _0x2a6e4c=_0x23ee16,_0x3e7976=[];if(_0x1ca694&&_0x1ca694[_0x43b1a0(0x268)]){let _0xc4c29a=_0x1ca694[_0x43b1a0(0x268)];while(_0xc4c29a&&_0xc4c29a[_0x43b1a0(0x223)]&&_0x2a6e4c[_0x43b1a0(0x233)](_0xc4c29a['name'],'')&&_0x2a6e4c['wRhdw'](_0xc4c29a[_0x43b1a0(0x223)],_0x2a6e4c['frsNk'])){_0x3e7976[_0x43b1a0(0x1ed)](_0xc4c29a[_0x43b1a0(0x223)]),_0xc4c29a=_0xc4c29a[_0x43b1a0(0x268)];}}return _0x3e7976[_0x43b1a0(0x23c)](),_0x3e7976;}[a120_0x11281d(0x1af)](_0x1ff46f){const _0xb2e1a0=a120_0x11281d,_0x28c781={'FyzNN':function(_0x25c289,_0x44a837){return _0x25c289(_0x44a837);}};if(_0x1ff46f[_0xb2e1a0(0x26a)])return _0x1ff46f[_0xb2e1a0(0x26a)];if(_0x1ff46f['asyncError'])try{const _0x96a36=stackTrace[_0xb2e1a0(0x206)]['call'](stackTrace,_0x1ff46f[_0xb2e1a0(0x21f)]),_0x592b14=_0x28c781['FyzNN'](pickUserFrameFile,_0x96a36);if(_0x592b14)return _0x592b14;logger[_0xb2e1a0(0x22b)](_0xb2e1a0(0x263)+_0x96a36[_0xb2e1a0(0x231)]+')');}catch(_0x18738f){logger[_0xb2e1a0(0x22b)](_0xb2e1a0(0x1e6)+util[_0xb2e1a0(0x240)](_0x18738f));}return null;}['isJestInternalHook'](_0x91612d){const _0x38c7f0=a120_0x11281d,_0x5815e3={};_0x5815e3[_0x38c7f0(0x1d9)]=_0x38c7f0(0x1f2);const _0xa4b724=_0x5815e3;try{const _0x3c1c0b=this[_0x38c7f0(0x1af)](_0x91612d);if(!_0x3c1c0b||_0x3c1c0b[_0x38c7f0(0x1f1)](_0xa4b724['kNtgs']))return!![];}catch(_0xcc44b9){logger['debug'](_0x38c7f0(0x1c2)+util[_0x38c7f0(0x240)](_0xcc44b9));}return![];}[a120_0x11281d(0x1ca)](_0x431192=null){const _0xfee055=a120_0x11281d;try{const _0x611f06=_0x431192||global[_0xfee055(0x26b)]||{};if(global['__jestCurrentTestIdentifier'])return global[_0xfee055(0x201)];if(_0x611f06?.[_0xfee055(0x25b)]?.['testAnalyticsId'])return _0x611f06[_0xfee055(0x25b)]['testAnalyticsId'];if(_0x611f06?.['currentTest']?.['id'])return _0x611f06[_0xfee055(0x25b)]['id'];return null;}catch(_0x2e1536){return logger[_0xfee055(0x22b)](_0xfee055(0x208)+util[_0xfee055(0x240)](_0x2e1536)),null;}}async[a120_0x11281d(0x202)](){const _0x4e798c=a120_0x11281d,_0x1014e9={'UTien':function(_0x22005e){return _0x22005e();}};if(this[_0x4e798c(0x1c4)])return this[_0x4e798c(0x255)];const _0xdaab1f=await _0x1014e9[_0x4e798c(0x245)](getGitMetaData);_0xdaab1f&&(this[_0x4e798c(0x255)]=_0xdaab1f[_0x4e798c(0x24e)]),this[_0x4e798c(0x1c4)]=!![];}['clearHooksMap'](_0x391fab){hooksMap[_0x391fab]&&delete hooksMap[_0x391fab];}['extractTestFilePath'](_0x40c9f1){const _0x338ede=a120_0x11281d,_0xb9b16d={'JWXCN':_0x338ede(0x1f2),'uCqoW':function(_0x2683d0,_0x35c0ad){return _0x2683d0(_0x35c0ad);},'KZgSz':_0x338ede(0x1be)};if(_0x40c9f1['file'])return _0x40c9f1[_0x338ede(0x26a)];if(_0x40c9f1[_0x338ede(0x21f)]){try{const _0x132aa3=stackTrace['parse'](_0x40c9f1['asyncError']);if(_0x132aa3[0x0]&&_0x132aa3[0x0][_0x338ede(0x204)]){const _0x4e197a=_0x132aa3[0x0][_0x338ede(0x204)]();if(_0x4e197a&&!_0x4e197a[_0x338ede(0x1f1)](_0xb9b16d[_0x338ede(0x1fd)]))return _0x4e197a;}}catch(_0x5137b0){logger[_0x338ede(0x22b)](_0x338ede(0x259)+util[_0x338ede(0x240)](_0x5137b0));}if(_0x40c9f1[_0x338ede(0x21f)][_0x338ede(0x22a)]){const _0x489133=_0x40c9f1['asyncError'][_0x338ede(0x22a)][_0x338ede(0x226)]('\x0a');for(const _0x2ec0cd of _0x489133){const _0x1ae9e4=_0x2ec0cd[_0x338ede(0x1e0)](/at (.+?):\d+:\d+/);if(_0x1ae9e4&&_0x1ae9e4[0x1]&&!_0x1ae9e4[0x1]['includes'](_0xb9b16d[_0x338ede(0x1fd)]))return _0x1ae9e4[0x1];}}}let _0x27a295=_0x40c9f1['parent'];while(_0x27a295){if(_0x27a295['file'])return _0x27a295[_0x338ede(0x26a)];if(_0x27a295['asyncError'])try{const _0x11430e=stackTrace[_0x338ede(0x206)](_0x27a295['asyncError']);if(_0x11430e[0x0]&&_0x11430e[0x0][_0x338ede(0x204)]){const _0x4897f8=_0x11430e[0x0][_0x338ede(0x204)]();if(_0x4897f8&&!_0x4897f8[_0x338ede(0x1f1)](_0xb9b16d['JWXCN']))return _0x4897f8;}}catch(_0x420d2d){}_0x27a295=_0x27a295[_0x338ede(0x268)];}try{const _0x2a549a=_0xb9b16d['uCqoW'](require,_0xb9b16d['KZgSz']);if(_0x2a549a&&_0x2a549a['getState']){const _0x36c74e=_0x2a549a['getState']();if(_0x36c74e&&_0x36c74e[_0x338ede(0x1b6)])return _0x36c74e[_0x338ede(0x1b6)];}}catch(_0x1acb17){logger[_0x338ede(0x22b)](_0x338ede(0x25a)+util[_0x338ede(0x240)](_0x1acb17));}return null;}[a120_0x11281d(0x24c)](_0x2e8c77){const _0x4c21b0=a120_0x11281d,_0x4282d2={};_0x4282d2[_0x4c21b0(0x244)]=_0x4c21b0(0x1dd),_0x4282d2[_0x4c21b0(0x1df)]=function(_0x3819c6,_0x24548d){return _0x3819c6!==_0x24548d;},_0x4282d2[_0x4c21b0(0x1ea)]='ROOT_DESCRIBE_BLOCK',_0x4282d2[_0x4c21b0(0x22d)]='jest-circus',_0x4282d2[_0x4c21b0(0x20c)]=_0x4c21b0(0x1f8),_0x4282d2['AsfQx']=_0x4c21b0(0x1ba);const _0xbe3e89=_0x4282d2;try{if(!_0x2e8c77)return logger[_0x4c21b0(0x21a)](_0xbe3e89[_0x4c21b0(0x244)]),null;const _0x20b9ad=_0x2e8c77[_0x4c21b0(0x21e)]||_0x2e8c77[_0x4c21b0(0x223)]||_0x2e8c77[_0x4c21b0(0x1b4)]||_0x2e8c77[_0x4c21b0(0x1c8)];let _0x1f03c1=_0x20b9ad;if(_0x2e8c77[_0x4c21b0(0x268)]&&_0x2e8c77[_0x4c21b0(0x268)][_0x4c21b0(0x223)]&&_0xbe3e89['fNOMF'](_0x2e8c77[_0x4c21b0(0x268)][_0x4c21b0(0x223)],_0xbe3e89[_0x4c21b0(0x1ea)])){const _0x341516=_0x2e8c77[_0x4c21b0(0x223)]||_0x2e8c77[_0x4c21b0(0x1b4)];_0x341516&&(_0x1f03c1=_0x2e8c77[_0x4c21b0(0x268)][_0x4c21b0(0x223)]+'\x20'+_0x341516);}let _0x5231bb=_0x2e8c77['testPath'];if(!_0x5231bb&&_0x2e8c77[_0x4c21b0(0x21f)]){try{const _0x5c59e1=stackTrace[_0x4c21b0(0x206)](_0x2e8c77[_0x4c21b0(0x21f)]);if(_0x5c59e1[0x0]&&_0x5c59e1[0x0][_0x4c21b0(0x204)]){const _0x4c2569=_0x5c59e1[0x0]['getFileName']();_0x4c2569&&!_0x4c2569[_0x4c21b0(0x1f1)](_0xbe3e89['ZYjkL'])&&(_0x5231bb=_0x4c2569);}}catch(_0x530513){logger[_0x4c21b0(0x22b)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x4c21b0(0x240)](_0x530513));}if(!_0x5231bb&&_0x2e8c77[_0x4c21b0(0x21f)][_0x4c21b0(0x22a)]){const _0x58d2a0=_0x2e8c77[_0x4c21b0(0x21f)][_0x4c21b0(0x22a)][_0x4c21b0(0x226)]('\x0a');for(const _0x4dd69f of _0x58d2a0){const _0x1b80ac=_0x4dd69f[_0x4c21b0(0x1e0)](/at (.+?):\d+:\d+/);if(_0x1b80ac&&_0x1b80ac[0x1]&&!_0x1b80ac[0x1][_0x4c21b0(0x1f1)](_0xbe3e89[_0x4c21b0(0x22d)])){_0x5231bb=_0x1b80ac[0x1];break;}}}}const _0xb64d6e=_0x5231bb+'::'+_0x1f03c1,_0x3a6b9d=crypto[_0x4c21b0(0x1f5)](_0xbe3e89[_0x4c21b0(0x20c)])[_0x4c21b0(0x1cb)](_0xb64d6e)['digest'](_0xbe3e89['AsfQx'])[_0x4c21b0(0x1f3)](0x0,0x8),_0xa89195=process[_0x4c21b0(0x209)]+_0x4c21b0(0x1fa)+_0x3a6b9d;return logger['debug'](_0x4c21b0(0x1db)+_0xa89195+_0x4c21b0(0x252)+_0xb64d6e),_0xa89195;}catch(_0x57ad00){return logger[_0x4c21b0(0x21a)](_0x4c21b0(0x26d)+util['format'](_0x57ad00)),null;}}[a120_0x11281d(0x20b)](_0x495feb){const _0x1d79e2=a120_0x11281d,_0x1f5a08={};_0x1f5a08[_0x1d79e2(0x24d)]=_0x1d79e2(0x1d1);const _0x44dd04=_0x1f5a08;if(!_0x495feb)return logger['debug'](_0x44dd04[_0x1d79e2(0x24d)]),null;const _0x2cb2e3=this[_0x1d79e2(0x253)](_0x495feb),_0x3cd4ba={};_0x3cd4ba[_0x1d79e2(0x223)]=_0x495feb[_0x1d79e2(0x223)]||_0x495feb[_0x1d79e2(0x1b4)],_0x3cd4ba['parent']=_0x495feb[_0x1d79e2(0x268)],_0x3cd4ba[_0x1d79e2(0x1b6)]=_0x2cb2e3,_0x3cd4ba['asyncError']=_0x495feb[_0x1d79e2(0x21f)];const _0x285816=_0x3cd4ba;return this[_0x1d79e2(0x24c)](_0x285816);}['recreateIdentifierFromTestInfo'](_0x68aa7b,_0x133239=null){const _0x56469b=a120_0x11281d,_0x514f16={};_0x514f16[_0x56469b(0x1c6)]=_0x56469b(0x238);const _0x2bd2d=_0x514f16;if(!_0x68aa7b)return logger[_0x56469b(0x22b)](_0x2bd2d['Wlprc']),_0x133239;if(_0x68aa7b['testIdentifier'])return logger[_0x56469b(0x22b)](_0x56469b(0x22e)+_0x68aa7b['testIdentifier']),_0x68aa7b[_0x56469b(0x247)];return this[_0x56469b(0x24c)](_0x68aa7b)||_0x133239;}}module[a120_0x11281d(0x270)]=o11yClassErrorHandler(JestUtils,[a120_0x11281d(0x202),'getHierarchy',a120_0x11281d(0x1af),a120_0x11281d(0x20d),a120_0x11281d(0x265),a120_0x11281d(0x1ca),a120_0x11281d(0x227),'createHookData',a120_0x11281d(0x273),a120_0x11281d(0x1c9),a120_0x11281d(0x253),a120_0x11281d(0x24c),a120_0x11281d(0x20b),a120_0x11281d(0x271)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a121_0x2c8ef6=a121_0x24fb;function a121_0x2f52(){const _0x44b35a=['isRunning','isBrowserSupportedForAccessibility','773394ZjImji','deviceName','exports','warn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','finally','getMinVersionForBrowser','isMainConnected','vanilla','scannerVersion','parallelsPerPlatform','[TRACE:node-generic]\x20parallelVanillaRun\x20complete,\x20stopping\x20binary','start','[TRACE:node-generic]\x20Error\x20enriching\x20accessibility\x20config:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isChildConnected','FRZOI','accessibilityOptions','mqxwp','isCliEnabled','HRxPM','stop','hjnDY','107IhDInr','752940jugmVP','existsSync','Accessibility\x20Automation\x20is\x20not\x20supported\x20with\x20w3c:\x20false.\x20Skipping\x20accessibility\x20for\x20this\x20run.','NkeVB','RfCLl','Acura','parse','FnEui','\x20doesn\x27t\x20exist','on\x20non-BrowserStack\x20infrastructure\x20','2061CwWdys','__accessibilityOptions','isUndefined','configuration','zYmYO','args','path','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','NODE_GENERIC','setBrowserstackConfig','20755ycCjJQ','../v2/browserstackCLI','checkAccessibilityPlatformConfig','beforeExit','message','Config\x20yml\x20is\x20required','EVENTS','../../helpers/BrowserStackSetup','push','hMqXY','file','env','startsWith','../../helpers/helper','[TRACE:node-generic]\x20Binary\x20bootstrapped,\x20starting\x20parallelVanillaRun','cwd','\x20browser\x20version\x20greater\x20than\x20','configPath','length','stringify','168GuUswi','1808xFJpnM','resolve','end','[TRACE:node-generic]\x20CLI\x20not\x20enabled\x20—\x20using\x20Direct\x20Flow','isVersionSupported','CreOg','1227960EJPkbc','QlEuS','config','accessibility','tbHhK','[TRACE:node-generic]\x20Accessibility\x20config\x20enriched\x20with\x20binary\x20scannerVersion=','finalExecution','../test-runner','bhnGJ','[TRACE:node-generic]\x20Binary\x20Flow\x20error:\x20','[TRACE:node-generic]\x20Error\x20during\x20stop:\x20','../../helpers/utilities','[TRACE:node-generic]\x20beforeExit\x20safety\x20net\x20—\x20stopping\x20binary','../../helpers/performance/performance-tester','MSiRP','366378WAoOdb','browserstack.accessibilityOptions.scannerVersion','getPlatformName','BROWSERSTACK_PRODUCT_MAP','getBrowserDisplayName','nYFUc','modifyBrowserStackW3CCaps','getInstance','index','forEach','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','useW3C','[TRACE:node-generic]\x20Accessibility:\x20enabled=','platforms','SDK_SETUP','../../helpers/performance/constants','SDK_CLEANUP','modifyBrowserStackCaps','dLxFG','Pmviq','bootstrap','fdkSg','qGuof','5620hwrVQD','BROWSERSTACK_TEST_ACCESSIBILITY_YML','debug','browserVersion','File\x20','../../helpers/testhub/utils','proxySettings','setupBrowserstackLocal','info','isFinite','getHubUrl'];a121_0x2f52=function(){return _0x44b35a;};return a121_0x2f52();}(function(_0x5205f5,_0x241c85){const _0x377509=a121_0x24fb,_0x3bcbc3=_0x5205f5();while(!![]){try{const _0x37ae6f=-parseInt(_0x377509(0xcb))/0x1*(-parseInt(_0x377509(0x7b))/0x2)+-parseInt(_0x377509(0xb4))/0x3+parseInt(_0x377509(0xcc))/0x4+parseInt(_0x377509(0x81))/0x5+-parseInt(_0x377509(0x90))/0x6+parseInt(_0x377509(0xe0))/0x7*(parseInt(_0x377509(0x7a))/0x8)+parseInt(_0x377509(0xd6))/0x9*(-parseInt(_0x377509(0xa7))/0xa);if(_0x37ae6f===_0x241c85)break;else _0x3bcbc3['push'](_0x3bcbc3['shift']());}catch(_0x2c0705){_0x3bcbc3['push'](_0x3bcbc3['shift']());}}}(a121_0x2f52,0x2376d));const fs=require('fs'),path=require(a121_0x2c8ef6(0xdc)),{default:BrowserStackSetup}=require(a121_0x2c8ef6(0x6d)),helper=require(a121_0x2c8ef6(0x73)),PerformanceTester=require(a121_0x2c8ef6(0x8e)),PerformanceEvents=require(a121_0x2c8ef6(0x9f))[a121_0x2c8ef6(0x6c)],utilities=require(a121_0x2c8ef6(0x8c)),{parallelVanillaRun}=require(a121_0x2c8ef6(0x88)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),BrowserstackCLI=require(a121_0x2c8ef6(0xe1)),logger=require('../../helpers/logger')['winstonLogger'],CLIUtils=require('../v2/cliUtils'),{FRAMEWORKS}=require('../utils/constants'),accessibilityHelper=require('../../helpers/accessibility-automation/helper');function a121_0x24fb(_0x3c5259,_0x43a3c5){const _0x2f52d9=a121_0x2f52();return a121_0x24fb=function(_0x24fb2b,_0x3d9182){_0x24fb2b=_0x24fb2b-0x6b;let _0x4d9188=_0x2f52d9[_0x24fb2b];return _0x4d9188;},a121_0x24fb(_0x3c5259,_0x43a3c5);}async function run(_0xe9c6d8,_0x42ba93,_0x29a4b3){const _0x28b267=a121_0x2c8ef6,_0x59d3d7={'NkeVB':_0x28b267(0xbc),'CreOg':_0x28b267(0xdd),'hjnDY':function(_0x2bc3f4,_0x49ac30){return _0x2bc3f4(_0x49ac30);},'bhnGJ':function(_0x2e1782,_0x4746ab){return _0x2e1782(_0x4746ab);},'hMqXY':function(_0x2be353,_0x38ac3a){return _0x2be353(_0x38ac3a);},'dLxFG':function(_0xac1c0c,_0x13ec5b){return _0xac1c0c>_0x13ec5b;},'Acura':_0x28b267(0xd5),'UcQNg':_0x28b267(0x8d),'YvmBu':'File\x20path\x20is\x20required','QlEuS':function(_0x3e94d2,_0x44d65b){return _0x3e94d2!==_0x44d65b;},'xeBqP':function(_0x50a45b,_0x14cb55){return _0x50a45b+_0x14cb55;},'FnEui':function(_0x49888d,_0x5ce4a1){return _0x49888d(_0x5ce4a1);},'liwyf':function(_0x5372fa,_0x51faac){return _0x5372fa(_0x51faac);},'mqxwp':function(_0x329ed3,_0x507c87){return _0x329ed3(_0x507c87);},'fdkSg':_0x28b267(0x6b),'fgkRm':function(_0x4c1b1c,_0x10ee0e){return _0x4c1b1c>_0x10ee0e;},'RfCLl':function(_0x372a05,_0x407f17){return _0x372a05&&_0x407f17;},'HTdXi':_0x28b267(0xce),'WTESa':_0x28b267(0xac),'tbHhK':'[TRACE:node-generic]\x20CLI\x20enabled\x20—\x20using\x20Binary\x20Flow','JBtxd':_0x28b267(0x74),'Pmviq':_0x28b267(0x91),'nYFUc':function(_0x23900d,_0x3bb323){return _0x23900d*_0x3bb323;},'qGuof':function(_0x4d3041,_0x5a31f5,_0x92f224){return _0x4d3041(_0x5a31f5,_0x92f224);},'zYmYO':_0x28b267(0xbf),'FRZOI':_0x28b267(0x7e),'HRxPM':function(_0x2f019b,_0x26078a,_0xb83cfd){return _0x2f019b(_0x26078a,_0xb83cfd);},'MSiRP':_0x28b267(0xe3)};await _0x29a4b3['initialize'](_0xe9c6d8);!BrowserstackCLI[_0x28b267(0x97)]()[_0x28b267(0xb2)]()&&await _0x29a4b3[_0x28b267(0xae)]();await helper['handleApp'](_0x29a4b3[_0x28b267(0x83)]);const _0x3a649a=[];if(helper[_0x28b267(0xd8)](_0xe9c6d8['_'][0x1]))throw _0x59d3d7[_0x28b267(0x6f)](Error,_0x59d3d7['YvmBu']);const _0x41bee6=process[_0x28b267(0x75)](),_0x72a07a=path[_0x28b267(0x7c)](_0x41bee6,_0xe9c6d8['_'][0x1]);if(_0x59d3d7[_0x28b267(0x82)](_0x72a07a,_0x41bee6)&&!_0x72a07a[_0x28b267(0x72)](_0x59d3d7['xeBqP'](_0x41bee6,path['sep'])))throw _0x59d3d7['FnEui'](Error,'File\x20path\x20'+_0xe9c6d8['_'][0x1]+_0x28b267(0x9a));if(!fs[_0x28b267(0xcd)](_0x72a07a))throw _0x59d3d7['liwyf'](Error,_0x28b267(0xab)+_0xe9c6d8['_'][0x1]+_0x28b267(0xd4));if(!_0x29a4b3['config'])throw _0x59d3d7[_0x28b267(0xc6)](Error,_0x59d3d7[_0x28b267(0xa5)]);const _0x2d9c12=helper[_0x28b267(0x9b)](_0x29a4b3[_0x28b267(0x83)]);_0x29a4b3[_0x28b267(0x83)][_0x28b267(0x9d)]&&_0x59d3d7['fgkRm'](_0x29a4b3[_0x28b267(0x83)][_0x28b267(0x9d)][_0x28b267(0x78)],0x0)&&_0x29a4b3[_0x28b267(0x83)][_0x28b267(0x9d)][_0x28b267(0x99)]((_0x485580,_0xb7194d)=>{const _0x4c551c=_0x28b267;_0x2d9c12?_0x3a649a[_0x4c551c(0x6e)](helper[_0x4c551c(0x96)](_0x29a4b3['config'],_0x59d3d7['NkeVB'],_0xb7194d)):_0x3a649a[_0x4c551c(0x6e)](helper[_0x4c551c(0xa1)](_0x29a4b3['config'],_0x59d3d7[_0x4c551c(0xcf)],_0xb7194d));});let _0x3efc99,_0x47a3f4;const _0x36cc89=[];if(_0x59d3d7[_0x28b267(0xa2)](_0x3a649a[_0x28b267(0x78)],0x0))_0x3a649a[_0x28b267(0x99)]((_0x1d1257,_0x5e70ba)=>{const _0x5d252=_0x28b267,_0x4bd25b={};_0x4bd25b[_0x5d252(0x98)]=_0x5e70ba,_0x3efc99={'server':helper[_0x5d252(0xb1)](_0x29a4b3[_0x5d252(0x83)]),'proxySettings':_0x29a4b3[_0x5d252(0x83)]['proxySettings'],'platform':helper[_0x5d252(0x92)](_0x1d1257),'platformCaps':Object['assign'](_0x4bd25b,_0x29a4b3['config'][_0x5d252(0x9d)][_0x5e70ba])};const _0x2e4ab6={'capability':_0x1d1257,..._0x3efc99};_0x2e4ab6[_0x5d252(0x70)]=_0x72a07a,_0x2e4ab6[_0x5d252(0xdb)]=_0x42ba93;const _0x319c42={};_0x319c42['configuration']=_0x2e4ab6,_0x47a3f4=_0x319c42,_0x36cc89[_0x5d252(0x6e)](_0x47a3f4);});else{let _0x362b30;_0x2d9c12?_0x362b30=helper['modifyBrowserStackW3CCaps'](_0x29a4b3['config'],_0x59d3d7[_0x28b267(0xcf)],0x0):_0x362b30=helper[_0x28b267(0xa1)](_0x29a4b3[_0x28b267(0x83)],_0x59d3d7['NkeVB'],0x0);_0x3efc99={'server':helper['getHubUrl'](_0x29a4b3['config']),'proxySettings':_0x29a4b3[_0x28b267(0x83)][_0x28b267(0xad)]};const _0x3b406f={'capability':_0x362b30,..._0x3efc99};_0x3b406f[_0x28b267(0x70)]=_0x72a07a,_0x3b406f[_0x28b267(0xdb)]=_0x42ba93;const _0x6a877a={};_0x6a877a[_0x28b267(0xd9)]=_0x3b406f,_0x47a3f4=_0x6a877a,_0x36cc89[_0x28b267(0x6e)](_0x47a3f4);}!helper[_0x28b267(0xd8)](_0x29a4b3[_0x28b267(0x83)][_0x28b267(0xc5)])&&(process[_0x28b267(0x71)][_0x28b267(0xc2)]=JSON[_0x28b267(0x79)](_0x29a4b3['config']['accessibilityOptions']));let _0x536462=_0x29a4b3['config'][_0x28b267(0x84)];_0x536462=_0x536462||accessibilityHelper[_0x28b267(0xe2)](_0x29a4b3[_0x28b267(0x83)]);_0x59d3d7[_0x28b267(0xd0)](_0x536462,!_0x2d9c12)&&(logger[_0x28b267(0xb7)](_0x59d3d7['HTdXi']),_0x536462=![]);process[_0x28b267(0x71)][_0x28b267(0xa8)]=_0x536462;if(_0x536462){const _0x5105e0=helper['isBrowserstackInfra']();(_0x29a4b3['config'][_0x28b267(0x9d)]||[])[_0x28b267(0x99)](_0x18ede0=>{const _0x5269f9=_0x28b267;if(!_0x18ede0||_0x18ede0[_0x5269f9(0xb5)])return;const _0x1b6d8a=_0x18ede0['browserName'];if(!accessibilityHelper[_0x5269f9(0xb3)](_0x1b6d8a)){logger['warn'](_0x59d3d7[_0x5269f9(0x80)]);return;}const _0x3d751a=_0x18ede0[_0x5269f9(0xaa)]||_0x18ede0['browser_version'];if(helper['isUndefined'](_0x3d751a)||!Number[_0x5269f9(0xb0)](_0x59d3d7[_0x5269f9(0xca)](parseFloat,_0x59d3d7[_0x5269f9(0xca)](String,_0x3d751a))))return;const _0x120621=accessibilityHelper[_0x5269f9(0xba)](_0x1b6d8a,_0x5105e0),_0x200431=_0x59d3d7[_0x5269f9(0xca)](parseFloat,_0x120621),_0x544f56=_0x59d3d7[_0x5269f9(0x89)](parseFloat,_0x59d3d7[_0x5269f9(0x6f)](String,_0x3d751a)),_0x1b553c=Number[_0x5269f9(0xb0)](_0x200431)?_0x59d3d7['dLxFG'](_0x544f56,_0x200431):accessibilityHelper[_0x5269f9(0x7f)](_0x3d751a,_0x120621);if(!_0x1b553c){const _0x19ea3b=accessibilityHelper[_0x5269f9(0x94)](_0x1b6d8a),_0x5d1b70=_0x5105e0?'':_0x59d3d7[_0x5269f9(0xd1)];logger[_0x5269f9(0xb7)](_0x5269f9(0xb8)+_0x19ea3b+_0x5269f9(0x76)+_0x120621+'\x20'+_0x5d1b70+'.');}});}logger[_0x28b267(0xaf)](_0x28b267(0x9c)+_0x536462);const _0x266d7a=BrowserstackCLI[_0x28b267(0x97)]();CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x28b267(0xde)],FRAMEWORKS['NODE_GENERIC']);const {getProductMap:_0x15646d}=_0x59d3d7[_0x28b267(0xd3)](require,_0x59d3d7['WTESa']);process[_0x28b267(0x71)][_0x28b267(0x93)]=JSON[_0x28b267(0x79)](_0x59d3d7['hMqXY'](_0x15646d,_0x29a4b3[_0x28b267(0x83)])),_0x266d7a[_0x28b267(0xdf)](_0x29a4b3[_0x28b267(0x83)],_0x29a4b3[_0x28b267(0x77)],_0x29a4b3['cliConfig']);if(_0x266d7a[_0x28b267(0xc7)]()){logger['info'](_0x59d3d7[_0x28b267(0x85)]);try{await _0x266d7a[_0x28b267(0xa4)](),logger[_0x28b267(0xaf)](_0x59d3d7['JBtxd']);try{const _0xa14dd1=global[_0x28b267(0xd7)]||{},_0x50ba1b=_0xa14dd1[_0x59d3d7[_0x28b267(0xa3)]];if(_0x50ba1b){const _0x44ad42=JSON[_0x28b267(0xd2)](process[_0x28b267(0x71)][_0x28b267(0xc2)]||'{}');_0x44ad42[_0x28b267(0xbd)]=_0x50ba1b,process[_0x28b267(0x71)][_0x28b267(0xc2)]=JSON[_0x28b267(0x79)](_0x44ad42),logger['info'](_0x28b267(0x86)+_0x50ba1b);}}catch(_0x30a1a9){logger[_0x28b267(0xa9)](_0x28b267(0xc1)+_0x30a1a9[_0x28b267(0xe4)]);}const _0x4706d9=_0x59d3d7[_0x28b267(0x95)](_0x29a4b3['config'][_0x28b267(0x9d)][_0x28b267(0x78)]||0x1,_0x29a4b3['config'][_0x28b267(0xbe)]||0x1);PerformanceTester[_0x28b267(0x7d)](PerformanceEvents['SDK_SETUP']),await _0x59d3d7[_0x28b267(0xa6)](parallelVanillaRun,_0x36cc89,_0x4706d9),logger[_0x28b267(0xaf)](_0x59d3d7[_0x28b267(0xda)]),await _0x266d7a[_0x28b267(0xc9)]();}catch(_0x5ef15c){logger['error'](_0x28b267(0x8a)+_0x5ef15c['message']);try{await _0x266d7a[_0x28b267(0xc9)]();}catch(_0x143223){logger['debug'](_0x28b267(0x8b)+_0x143223[_0x28b267(0xe4)]);}}finally{PerformanceTester[_0x28b267(0xc0)](PerformanceEvents[_0x28b267(0xa0)]),await utilities[_0x28b267(0x87)](_0x29a4b3);}}else{logger['info'](_0x59d3d7[_0x28b267(0xc4)]);const _0x1ecf6b=await TestHubHandler['launchBuild'](_0x59d3d7[_0x28b267(0xcf)],_0x29a4b3),_0x4393c3=_0x59d3d7['nYFUc'](_0x29a4b3[_0x28b267(0x83)][_0x28b267(0x9d)][_0x28b267(0x78)]||0x1,_0x29a4b3[_0x28b267(0x83)][_0x28b267(0xbe)]||0x1);PerformanceTester[_0x28b267(0x7d)](PerformanceEvents[_0x28b267(0x9e)]),_0x59d3d7[_0x28b267(0xc8)](parallelVanillaRun,_0x36cc89,_0x4393c3)['then'](_0x573187=>{})[_0x28b267(0xb9)](async()=>{const _0x4740ed=_0x28b267;PerformanceTester[_0x4740ed(0xc0)](PerformanceEvents[_0x4740ed(0xa0)]),await utilities[_0x4740ed(0x87)](_0x29a4b3);});}process['on'](_0x59d3d7[_0x28b267(0x8f)],async()=>{const _0x15895a=_0x28b267;try{(_0x266d7a[_0x15895a(0xbb)]||_0x266d7a[_0x15895a(0xc3)])&&(logger['info'](_0x59d3d7['UcQNg']),await _0x266d7a[_0x15895a(0xc9)]());}catch(_0x37ee08){}});}module[a121_0x2c8ef6(0xb6)]=run;
|
|
2
|
+
'use strict';function a121_0x220e(){const _0x34cb0a=['qKcmH','../../helpers/performance/performance-tester','2189907wGHNRQ','path','file','../../helpers/utilities','index','LhbKs','lUbZG','Accessibility\x20Automation\x20is\x20not\x20supported\x20with\x20w3c:\x20false.\x20Skipping\x20accessibility\x20for\x20this\x20run.','finally','4WafBwl','../../helpers/testhub/testhubHandler','BROWSERSTACK_PRODUCT_MAP','isCliEnabled','length','GFyXI','then','1976400iuOSat','finalExecution','[TRACE:node-generic]\x20beforeExit\x20safety\x20net\x20—\x20stopping\x20binary','../utils/constants','assign','isUndefined','accessibility','end','setupBrowserstackLocal','\x20doesn\x27t\x20exist','vanilla','isBrowserstackInfra','1759261wUFBnv','../../helpers/testhub/utils','configuration','File\x20','EVENTS','browser_version','[TRACE:node-generic]\x20Binary\x20Flow\x20error:\x20','OxfXO','parallelsPerPlatform','[TRACE:node-generic]\x20Error\x20during\x20stop:\x20','proxySettings','BjNNL','resolve','253391MvBSwF','ncsle','18VQdOtW','XiAzc','Yxovn','on\x20non-BrowserStack\x20infrastructure\x20','SDK_CLEANUP','startsWith','message','config','getHubUrl','accessibilityOptions','62142FqrpDv','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../test-runner','lLWFc','beforeExit','BuyWk','push','HCekH','wqJBv','stringify','Mflur','forEach','NeLxt','stop','isVersionSupported','winstonLogger','isRunning','__accessibilityOptions','SDK_SETUP','getInstance','browserName','vSHzd','args','[TRACE:node-generic]\x20Accessibility:\x20enabled=','LszAR','getPlatformName','AcWwl','getBrowserDisplayName','8ndMAol','env','handleApp','20geDOMj','cliConfig','../v2/browserstackCLI','debug','warn','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','setBrowserstackConfig','ZlLyM','XmYfn','isMainConnected','modifyBrowserStackW3CCaps','getMinVersionForBrowser','iiLjr','modifyBrowserStackCaps','1374109CleiUo','isFinite','checkAccessibilityPlatformConfig','File\x20path\x20is\x20required','../../helpers/BrowserStackSetup','../../helpers/performance/constants','existsSync','NODE_GENERIC','scannerVersion','[TRACE:node-generic]\x20CLI\x20enabled\x20—\x20using\x20Binary\x20Flow','info','../../helpers/accessibility-automation/helper','deviceName','error','FHkeP','platforms','isChildConnected','2538366tfFuif','launchBuild','File\x20path\x20','bootstrap','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','setFrameworkDetail','Wfhjz'];a121_0x220e=function(){return _0x34cb0a;};return a121_0x220e();}const a121_0x4ccfe4=a121_0x226e;(function(_0x13eb6a,_0x5862d2){const _0x2e1537=a121_0x226e,_0x56d2a8=_0x13eb6a();while(!![]){try{const _0x4df4b9=parseInt(_0x2e1537(0x122))/0x1+-parseInt(_0x2e1537(0x124))/0x2*(-parseInt(_0x2e1537(0x12e))/0x3)+parseInt(_0x2e1537(0x102))/0x4*(-parseInt(_0x2e1537(0x109))/0x5)+-parseInt(_0x2e1537(0x16c))/0x6+-parseInt(_0x2e1537(0x115))/0x7*(-parseInt(_0x2e1537(0x14a))/0x8)+parseInt(_0x2e1537(0xf9))/0x9+parseInt(_0x2e1537(0x14d))/0xa*(parseInt(_0x2e1537(0x15b))/0xb);if(_0x4df4b9===_0x5862d2)break;else _0x56d2a8['push'](_0x56d2a8['shift']());}catch(_0x334761){_0x56d2a8['push'](_0x56d2a8['shift']());}}}(a121_0x220e,0x59588));function a121_0x226e(_0xa6916,_0x5cff2a){const _0x220ee9=a121_0x220e();return a121_0x226e=function(_0x226ea0,_0x5bd1f3){_0x226ea0=_0x226ea0-0xf2;let _0x45c6ba=_0x220ee9[_0x226ea0];return _0x45c6ba;},a121_0x226e(_0xa6916,_0x5cff2a);}const fs=require('fs'),path=require(a121_0x4ccfe4(0xfa)),{default:BrowserStackSetup}=require(a121_0x4ccfe4(0x15f)),helper=require(a121_0x4ccfe4(0xf3)),PerformanceTester=require(a121_0x4ccfe4(0xf8)),PerformanceEvents=require(a121_0x4ccfe4(0x160))[a121_0x4ccfe4(0x119)],utilities=require(a121_0x4ccfe4(0xfc)),{parallelVanillaRun}=require(a121_0x4ccfe4(0x130)),TestHubHandler=require(a121_0x4ccfe4(0x103)),BrowserstackCLI=require(a121_0x4ccfe4(0x14f)),logger=require('../../helpers/logger')[a121_0x4ccfe4(0x13d)],CLIUtils=require('../v2/cliUtils'),{FRAMEWORKS}=require(a121_0x4ccfe4(0x10c)),accessibilityHelper=require(a121_0x4ccfe4(0x166));async function run(_0x3dccb7,_0x4ec436,_0x522385){const _0x26d252=a121_0x4ccfe4,_0x429251={'BuyWk':_0x26d252(0x113),'iiLjr':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','wqJBv':function(_0x21343c,_0x29dfca){return _0x21343c(_0x29dfca);},'Mflur':function(_0x503f15,_0x1d8331){return _0x503f15(_0x1d8331);},'lUbZG':function(_0x5c68dd,_0x171103){return _0x5c68dd(_0x171103);},'ncsle':function(_0x293cbb,_0x17721b){return _0x293cbb>_0x17721b;},'Bmwsi':_0x26d252(0x127),'xCOYv':_0x26d252(0x10b),'GFyXI':function(_0x3755b1,_0x44951){return _0x3755b1(_0x44951);},'Yxovn':_0x26d252(0x15e),'Wfhjz':function(_0xbb85aa,_0x32c362){return _0xbb85aa!==_0x32c362;},'LszAR':function(_0x58e239,_0x3d0c21){return _0x58e239+_0x3d0c21;},'vSHzd':'Config\x20yml\x20is\x20required','NeLxt':function(_0x4dc0ac,_0x2ab059){return _0x4dc0ac&&_0x2ab059;},'OxfXO':_0x26d252(0x100),'FHkeP':function(_0x377148,_0x22159a){return _0x377148(_0x22159a);},'sqlJr':_0x26d252(0x116),'jDUcd':function(_0x3a3e33,_0x1f4a8e){return _0x3a3e33(_0x1f4a8e);},'XmYfn':_0x26d252(0x164),'AcWwl':'[TRACE:node-generic]\x20Binary\x20bootstrapped,\x20starting\x20parallelVanillaRun','XiAzc':'browserstack.accessibilityOptions.scannerVersion','HCekH':function(_0xc5c7e7,_0x5c9a93){return _0xc5c7e7*_0x5c9a93;},'BjNNL':function(_0x369ef5,_0x65c9d6,_0x557cfd){return _0x369ef5(_0x65c9d6,_0x557cfd);},'lLWFc':'[TRACE:node-generic]\x20parallelVanillaRun\x20complete,\x20stopping\x20binary','PCepk':'[TRACE:node-generic]\x20CLI\x20not\x20enabled\x20—\x20using\x20Direct\x20Flow','LhbKs':function(_0x4fcf2a,_0x2cc8f9){return _0x4fcf2a*_0x2cc8f9;},'qKcmH':function(_0x923461,_0x32fed0,_0x2f7c66){return _0x923461(_0x32fed0,_0x2f7c66);},'ZlLyM':_0x26d252(0x132)};await _0x522385['initialize'](_0x3dccb7);!BrowserstackCLI[_0x26d252(0x141)]()[_0x26d252(0x13e)]()&&await _0x522385[_0x26d252(0x111)]();await helper[_0x26d252(0x14c)](_0x522385[_0x26d252(0x12b)]);const _0xee8362=[];if(helper[_0x26d252(0x10e)](_0x3dccb7['_'][0x1]))throw _0x429251[_0x26d252(0x107)](Error,_0x429251[_0x26d252(0x126)]);const _0x3698ba=process['cwd'](),_0xf2ef12=path[_0x26d252(0x121)](_0x3698ba,_0x3dccb7['_'][0x1]);if(_0x429251[_0x26d252(0xf6)](_0xf2ef12,_0x3698ba)&&!_0xf2ef12[_0x26d252(0x129)](_0x429251[_0x26d252(0x146)](_0x3698ba,path['sep'])))throw _0x429251['wqJBv'](Error,_0x26d252(0x16e)+_0x3dccb7['_'][0x1]+_0x26d252(0x152));if(!fs[_0x26d252(0x161)](_0xf2ef12))throw _0x429251['wqJBv'](Error,_0x26d252(0x118)+_0x3dccb7['_'][0x1]+_0x26d252(0x112));if(!_0x522385[_0x26d252(0x12b)])throw _0x429251[_0x26d252(0x107)](Error,_0x429251[_0x26d252(0x143)]);const _0x1d689c=helper['useW3C'](_0x522385[_0x26d252(0x12b)]);_0x522385['config']['platforms']&&_0x429251['ncsle'](_0x522385[_0x26d252(0x12b)][_0x26d252(0x16a)][_0x26d252(0x106)],0x0)&&_0x522385[_0x26d252(0x12b)][_0x26d252(0x16a)]['forEach']((_0xec70e2,_0x295ed9)=>{const _0x36679e=_0x26d252;_0x1d689c?_0xee8362[_0x36679e(0x134)](helper['modifyBrowserStackW3CCaps'](_0x522385['config'],_0x429251[_0x36679e(0x133)],_0x295ed9)):_0xee8362[_0x36679e(0x134)](helper['modifyBrowserStackCaps'](_0x522385['config'],_0x429251['BuyWk'],_0x295ed9));});let _0x4494ab,_0x2f8e01;const _0x576d2c=[];if(_0x429251['ncsle'](_0xee8362[_0x26d252(0x106)],0x0))_0xee8362[_0x26d252(0x139)]((_0x375e18,_0x2951bf)=>{const _0x4e5a07=_0x26d252,_0x498c34={};_0x498c34[_0x4e5a07(0xfd)]=_0x2951bf,_0x4494ab={'server':helper['getHubUrl'](_0x522385[_0x4e5a07(0x12b)]),'proxySettings':_0x522385[_0x4e5a07(0x12b)]['proxySettings'],'platform':helper[_0x4e5a07(0x147)](_0x375e18),'platformCaps':Object[_0x4e5a07(0x10d)](_0x498c34,_0x522385[_0x4e5a07(0x12b)]['platforms'][_0x2951bf])};const _0x2c346c={'capability':_0x375e18,..._0x4494ab};_0x2c346c['file']=_0xf2ef12,_0x2c346c[_0x4e5a07(0x144)]=_0x4ec436;const _0x51d19b={};_0x51d19b[_0x4e5a07(0x117)]=_0x2c346c,_0x2f8e01=_0x51d19b,_0x576d2c['push'](_0x2f8e01);});else{let _0x154c7d;_0x1d689c?_0x154c7d=helper[_0x26d252(0x157)](_0x522385[_0x26d252(0x12b)],_0x429251[_0x26d252(0x133)],0x0):_0x154c7d=helper[_0x26d252(0x15a)](_0x522385[_0x26d252(0x12b)],_0x429251[_0x26d252(0x133)],0x0);_0x4494ab={'server':helper[_0x26d252(0x12c)](_0x522385[_0x26d252(0x12b)]),'proxySettings':_0x522385[_0x26d252(0x12b)][_0x26d252(0x11f)]};const _0x18b5c0={'capability':_0x154c7d,..._0x4494ab};_0x18b5c0[_0x26d252(0xfb)]=_0xf2ef12,_0x18b5c0['args']=_0x4ec436;const _0x556015={};_0x556015['configuration']=_0x18b5c0,_0x2f8e01=_0x556015,_0x576d2c[_0x26d252(0x134)](_0x2f8e01);}!helper[_0x26d252(0x10e)](_0x522385['config'][_0x26d252(0x12d)])&&(process[_0x26d252(0x14b)][_0x26d252(0x12f)]=JSON[_0x26d252(0x137)](_0x522385[_0x26d252(0x12b)]['accessibilityOptions']));let _0x29f826=_0x522385[_0x26d252(0x12b)][_0x26d252(0x10f)];_0x29f826=_0x29f826||accessibilityHelper[_0x26d252(0x15d)](_0x522385['config']);_0x429251[_0x26d252(0x13a)](_0x29f826,!_0x1d689c)&&(logger[_0x26d252(0x151)](_0x429251[_0x26d252(0x11c)]),_0x29f826=![]);process[_0x26d252(0x14b)][_0x26d252(0xf4)]=_0x29f826;if(_0x29f826){const _0xb511c2=helper[_0x26d252(0x114)]();(_0x522385[_0x26d252(0x12b)][_0x26d252(0x16a)]||[])[_0x26d252(0x139)](_0x51bc2c=>{const _0x18711d=_0x26d252;if(!_0x51bc2c||_0x51bc2c[_0x18711d(0x167)])return;const _0x14a809=_0x51bc2c[_0x18711d(0x142)];if(!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x14a809)){logger[_0x18711d(0x151)](_0x429251[_0x18711d(0x159)]);return;}const _0x580099=_0x51bc2c['browserVersion']||_0x51bc2c[_0x18711d(0x11a)];if(helper[_0x18711d(0x10e)](_0x580099)||!Number[_0x18711d(0x15c)](_0x429251['wqJBv'](parseFloat,_0x429251[_0x18711d(0x136)](String,_0x580099))))return;const _0x2b8881=accessibilityHelper[_0x18711d(0x158)](_0x14a809,_0xb511c2),_0xbfc191=_0x429251[_0x18711d(0x138)](parseFloat,_0x2b8881),_0xb2aba5=_0x429251['wqJBv'](parseFloat,_0x429251[_0x18711d(0xff)](String,_0x580099)),_0x5766c0=Number[_0x18711d(0x15c)](_0xbfc191)?_0x429251[_0x18711d(0x123)](_0xb2aba5,_0xbfc191):accessibilityHelper[_0x18711d(0x13c)](_0x580099,_0x2b8881);if(!_0x5766c0){const _0x741c6f=accessibilityHelper[_0x18711d(0x149)](_0x14a809),_0x417283=_0xb511c2?'':_0x429251['Bmwsi'];logger[_0x18711d(0x151)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x741c6f+'\x20browser\x20version\x20greater\x20than\x20'+_0x2b8881+'\x20'+_0x417283+'.');}});}logger[_0x26d252(0x165)](_0x26d252(0x145)+_0x29f826);const _0x2dfb7a=BrowserstackCLI['getInstance']();CLIUtils[_0x26d252(0xf5)](FRAMEWORKS[_0x26d252(0x162)],FRAMEWORKS[_0x26d252(0x162)]);const {getProductMap:_0x50b9a3}=_0x429251[_0x26d252(0x169)](require,_0x429251['sqlJr']);process[_0x26d252(0x14b)][_0x26d252(0x104)]=JSON[_0x26d252(0x137)](_0x429251['jDUcd'](_0x50b9a3,_0x522385[_0x26d252(0x12b)])),_0x2dfb7a[_0x26d252(0x153)](_0x522385['config'],_0x522385['configPath'],_0x522385[_0x26d252(0x14e)]);if(_0x2dfb7a[_0x26d252(0x105)]()){logger['info'](_0x429251[_0x26d252(0x155)]);try{await _0x2dfb7a[_0x26d252(0xf2)](),logger[_0x26d252(0x165)](_0x429251[_0x26d252(0x148)]);try{const _0x5887f5=global[_0x26d252(0x13f)]||{},_0x79c4a7=_0x5887f5[_0x429251[_0x26d252(0x125)]];if(_0x79c4a7){const _0x6a5243=JSON['parse'](process[_0x26d252(0x14b)][_0x26d252(0x12f)]||'{}');_0x6a5243[_0x26d252(0x163)]=_0x79c4a7,process[_0x26d252(0x14b)][_0x26d252(0x12f)]=JSON[_0x26d252(0x137)](_0x6a5243),logger[_0x26d252(0x165)]('[TRACE:node-generic]\x20Accessibility\x20config\x20enriched\x20with\x20binary\x20scannerVersion='+_0x79c4a7);}}catch(_0x31900a){logger[_0x26d252(0x150)]('[TRACE:node-generic]\x20Error\x20enriching\x20accessibility\x20config:\x20'+_0x31900a[_0x26d252(0x12a)]);}const _0x52478e=_0x429251[_0x26d252(0x135)](_0x522385[_0x26d252(0x12b)][_0x26d252(0x16a)][_0x26d252(0x106)]||0x1,_0x522385['config'][_0x26d252(0x11d)]||0x1);PerformanceTester[_0x26d252(0x110)](PerformanceEvents['SDK_SETUP']),await _0x429251[_0x26d252(0x120)](parallelVanillaRun,_0x576d2c,_0x52478e),logger[_0x26d252(0x165)](_0x429251[_0x26d252(0x131)]),await _0x2dfb7a[_0x26d252(0x13b)]();}catch(_0x4ff98f){logger[_0x26d252(0x168)](_0x26d252(0x11b)+_0x4ff98f[_0x26d252(0x12a)]);try{await _0x2dfb7a[_0x26d252(0x13b)]();}catch(_0xd64c1){logger[_0x26d252(0x150)](_0x26d252(0x11e)+_0xd64c1[_0x26d252(0x12a)]);}}finally{PerformanceTester['start'](PerformanceEvents[_0x26d252(0x128)]),await utilities['finalExecution'](_0x522385);}}else{logger[_0x26d252(0x165)](_0x429251['PCepk']);const _0x2e6012=await TestHubHandler[_0x26d252(0x16d)](_0x429251['BuyWk'],_0x522385),_0x318c9b=_0x429251[_0x26d252(0xfe)](_0x522385[_0x26d252(0x12b)][_0x26d252(0x16a)][_0x26d252(0x106)]||0x1,_0x522385[_0x26d252(0x12b)][_0x26d252(0x11d)]||0x1);PerformanceTester[_0x26d252(0x110)](PerformanceEvents[_0x26d252(0x140)]),_0x429251[_0x26d252(0xf7)](parallelVanillaRun,_0x576d2c,_0x318c9b)[_0x26d252(0x108)](_0x5501f0=>{})[_0x26d252(0x101)](async()=>{const _0xfcf022=_0x26d252;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),await utilities[_0xfcf022(0x10a)](_0x522385);});}process['on'](_0x429251[_0x26d252(0x154)],async()=>{const _0x76e260=_0x26d252;try{(_0x2dfb7a[_0x76e260(0x156)]||_0x2dfb7a[_0x76e260(0x16b)])&&(logger['info'](_0x429251['xCOYv']),await _0x2dfb7a[_0x76e260(0x13b)]());}catch(_0x1b2eda){}});}module['exports']=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122_0x5cc190=a122_0x3e8a;function a122_0x2da4(){const _0xf9e114=['9790970zyGhCC','browserVersion','os_version','475197OgSfyQ','Nxbdf','./helpers/metadata','5VEjkVj','device','exports','268555jlcqlv','ObZWA','uWCIh','9336KKRiAp','1112247OizsTE','browserName','customVariables','30XZQXMf','browser','csULG','29268ALrZCb','getCurrentPlatform','4255144NeAzzP','svbhY','platform','jQsfv','platformVersion','osTcH','UvStN','72kOJTOr','CnAOt','NLZrA','__platformCaps','setTestMetadata','platform_version','ecKpR','XFdVf','browser_version','osVersion','VIjdN'];a122_0x2da4=function(){return _0xf9e114;};return a122_0x2da4();}(function(_0x21777c,_0x4c06d6){const _0x2df436=a122_0x3e8a,_0x38b120=_0x21777c();while(!![]){try{const _0x1b5021=-parseInt(_0x2df436(0xf8))/0x1+-parseInt(_0x2df436(0x101))/0x2*(-parseInt(_0x2df436(0x111))/0x3)+-parseInt(_0x2df436(0x108))/0x4*(-parseInt(_0x2df436(0xfb))/0x5)+parseInt(_0x2df436(0x105))/0x6*(parseInt(_0x2df436(0xfe))/0x7)+-parseInt(_0x2df436(0x10a))/0x8+parseInt(_0x2df436(0x102))/0x9+parseInt(_0x2df436(0xf5))/0xa;if(_0x1b5021===_0x4c06d6)break;else _0x38b120['push'](_0x38b120['shift']());}catch(_0x3a4114){_0x38b120['push'](_0x38b120['shift']());}}}(a122_0x2da4,0x634ec));function a122_0x3e8a(_0x4e9a88,_0x332da9){const _0x2da477=a122_0x2da4();return a122_0x3e8a=function(_0x3e8aa0,_0x487191){_0x3e8aa0=_0x3e8aa0-0xf1;let _0x36290d=_0x2da477[_0x3e8aa0];return _0x36290d;},a122_0x3e8a(_0x4e9a88,_0x332da9);}const TestMetadata=require(a122_0x5cc190(0xfa));class BrowserStackSdk{static[a122_0x5cc190(0x109)](){const _0x2d3fb9=a122_0x5cc190,_0x293b65={};_0x293b65[_0x2d3fb9(0xff)]=_0x2d3fb9(0xf7),_0x293b65[_0x2d3fb9(0x10b)]=_0x2d3fb9(0xf3),_0x293b65['jQsfv']=_0x2d3fb9(0x106),_0x293b65['csULG']=_0x2d3fb9(0x103),_0x293b65[_0x2d3fb9(0x113)]=_0x2d3fb9(0xf2),_0x293b65['Nxbdf']=_0x2d3fb9(0xf6),_0x293b65[_0x2d3fb9(0xf4)]=_0x2d3fb9(0xfc),_0x293b65[_0x2d3fb9(0x100)]='deviceName',_0x293b65[_0x2d3fb9(0x110)]=_0x2d3fb9(0x10c),_0x293b65[_0x2d3fb9(0x10f)]='platformName',_0x293b65['XFdVf']=_0x2d3fb9(0x116),_0x293b65[_0x2d3fb9(0x112)]=_0x2d3fb9(0x10e),_0x293b65[_0x2d3fb9(0x117)]=_0x2d3fb9(0x104);const _0x3e3c57=_0x293b65,_0xf1fed6={};if(global[_0x2d3fb9(0x114)]){const _0x4efb70=global[_0x2d3fb9(0x114)],_0x267f44=_0x4efb70[_0x3e3c57[_0x2d3fb9(0xff)]]||_0x4efb70[_0x3e3c57[_0x2d3fb9(0x10b)]],_0x1c6d83=_0x4efb70[_0x3e3c57[_0x2d3fb9(0x10d)]]||_0x4efb70[_0x3e3c57[_0x2d3fb9(0x107)]],_0x5c0a42=_0x4efb70[_0x3e3c57[_0x2d3fb9(0x113)]]||_0x4efb70[_0x3e3c57[_0x2d3fb9(0xf9)]],_0x1a4afd=_0x4efb70[_0x3e3c57[_0x2d3fb9(0xf4)]]||_0x4efb70[_0x3e3c57[_0x2d3fb9(0x100)]],_0x1c1f1e=_0x4efb70[_0x3e3c57[_0x2d3fb9(0x110)]]||_0x4efb70[_0x3e3c57['osTcH']],_0x3d8307=_0x4efb70[_0x3e3c57[_0x2d3fb9(0xf1)]]||_0x4efb70[_0x3e3c57['CnAOt']];_0x4efb70['os']&&(_0xf1fed6['os']=_0x4efb70['os']),_0x267f44&&(_0xf1fed6[_0x3e3c57[_0x2d3fb9(0x10b)]]=_0x267f44),_0x1c6d83&&(_0xf1fed6[_0x3e3c57['csULG']]=_0x1c6d83),_0x5c0a42&&(_0xf1fed6[_0x3e3c57['Nxbdf']]=_0x5c0a42),_0x1a4afd&&(_0xf1fed6[_0x3e3c57[_0x2d3fb9(0x100)]]=_0x1a4afd),_0x1c1f1e&&(_0xf1fed6[_0x3e3c57[_0x2d3fb9(0x10f)]]=_0x1c1f1e),_0x3d8307&&(_0xf1fed6[_0x3e3c57[_0x2d3fb9(0x112)]]=_0x3d8307),_0x4efb70[_0x3e3c57[_0x2d3fb9(0x117)]]&&(_0xf1fed6[_0x3e3c57[_0x2d3fb9(0x117)]]=_0x4efb70[_0x3e3c57['ecKpR']]);}return _0xf1fed6;}static[a122_0x5cc190(0x115)](_0x3f5dc6={}){TestMetadata['set'](_0x3f5dc6);}}module[a122_0x5cc190(0xfd)]=BrowserStackSdk;
|