browserstack-node-sdk 1.64.0 → 1.64.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115_0x1a57e0=a115_0x274f;(function(_0x534e49,_0x26e23c){const _0x2d1f88=a115_0x274f,_0x14533a=_0x534e49();while(!![]){try{const _0x5dbea3=-parseInt(_0x2d1f88(0x109))/0x1+-parseInt(_0x2d1f88(0xfe))/0x2+parseInt(_0x2d1f88(0x104))/0x3*(-parseInt(_0x2d1f88(0x10a))/0x4)+-parseInt(_0x2d1f88(0x101))/0x5*(parseInt(_0x2d1f88(0x105))/0x6)+-parseInt(_0x2d1f88(0xfd))/0x7*(-parseInt(_0x2d1f88(0x10b))/0x8)+parseInt(_0x2d1f88(0xfb))/0x9+parseInt(_0x2d1f88(0x106))/0xa;if(_0x5dbea3===_0x26e23c)break;else _0x14533a['push'](_0x14533a['shift']());}catch(_0xf260b8){_0x14533a['push'](_0x14533a['shift']());}}}(a115_0x30f6,0xca322));const a115_0x29250a={};a115_0x29250a['value']=0x0,a115_0x29250a[a115_0x1a57e0(0xff)]=function(){const _0x5603ab=a115_0x1a57e0,_0x355ddc={};_0x355ddc[_0x5603ab(0xfa)]='HookState.NONE';const _0x18de2b=_0x355ddc;return _0x18de2b[_0x5603ab(0xfa)];};const a115_0x1764cf={};a115_0x1764cf[a115_0x1a57e0(0x102)]=0x1,a115_0x1764cf[a115_0x1a57e0(0xff)]=function(){const _0x2f36dc=a115_0x1a57e0,_0x4a643f={};_0x4a643f[_0x2f36dc(0xf9)]=_0x2f36dc(0x103);const _0x19c5dc=_0x4a643f;return _0x19c5dc['YEreV'];};const a115_0x5f22c8={};a115_0x5f22c8['value']=0x2,a115_0x5f22c8[a115_0x1a57e0(0xff)]=function(){const _0x91f79=a115_0x1a57e0,_0x3cfa5a={};_0x3cfa5a[_0x91f79(0x100)]=_0x91f79(0x108);const _0x4d3258=_0x3cfa5a;return _0x4d3258[_0x91f79(0x100)];};function a115_0x274f(_0x4996dc,_0x22f527){const _0x30f6c5=a115_0x30f6();return a115_0x274f=function(_0x274f71,_0x4ebdb1){_0x274f71=_0x274f71-0xf8;let _0x415495=_0x30f6c5[_0x274f71];return _0x415495;},a115_0x274f(_0x4996dc,_0x22f527);}const HookState=Object[a115_0x1a57e0(0x107)]({'NONE':a115_0x29250a,'PRE':a115_0x1764cf,'POST':a115_0x5f22c8,'fromValue'(_0x54ad01){const _0xae13a4=a115_0x1a57e0;return Object[_0xae13a4(0xfc)](HookState)['find'](_0x16729d=>_0x16729d[_0xae13a4(0x102)]===_0x54ad01);}});function a115_0x30f6(){const _0x8d2882=['134810vckhEQ','16whlhDu','24tWREkm','exports','YEreV','whfKf','14684940eRwnBE','values','2292920KYpUJH','1028770tkBHZT','toString','xTNVW','535iZACMG','value','HookState.PRE','942729lhjLNA','38586wlJzwX','8081380AiRwtW','freeze','HookState.POST'];a115_0x30f6=function(){return _0x8d2882;};return a115_0x30f6();}module[a115_0x1a57e0(0xf8)]=HookState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116_0x42d197=a116_0x3e56;(function(_0x2b032a,_0x26a920){const _0x162666=a116_0x3e56,_0x11bd15=_0x2b032a();while(!![]){try{const _0x3b2192=-parseInt(_0x162666(0xe7))/0x1*(parseInt(_0x162666(0xec))/0x2)+parseInt(_0x162666(0xd5))/0x3*(parseInt(_0x162666(0xe5))/0x4)+parseInt(_0x162666(0xed))/0x5+-parseInt(_0x162666(0xe6))/0x6*(-parseInt(_0x162666(0xe3))/0x7)+-parseInt(_0x162666(0xd7))/0x8*(parseInt(_0x162666(0xdf))/0x9)+parseInt(_0x162666(0xf2))/0xa*(parseInt(_0x162666(0xd6))/0xb)+-parseInt(_0x162666(0xd0))/0xc;if(_0x3b2192===_0x26a920)break;else _0x11bd15['push'](_0x11bd15['shift']());}catch(_0x2ec567){_0x11bd15['push'](_0x11bd15['shift']());}}}(a116_0x1480,0xf19bb));const a116_0x5bbd09={};function a116_0x1480(){const _0x1b70e1=['RhHCL','gUvMN','7067352ZSQhuz','TestFrameworkState.AFTER_ALL','find','tKmgK','exports','2454324bKnXpG','11hCNqrx','184YFnNLG','toString','AKEoM','RnYJg','TestFrameworkState.BEFORE_ALL','TestFrameworkState.LOG_REPORT','zqRFa','sEFlk','756243KRbNjh','TestFrameworkState.BEFORE_EACH','value','TestFrameworkState.LOG','3241SRfqfq','TestFrameworkState.NONE','4olqeNP','22206dwRakC','358573goIRUx','FHpNv','TestFrameworkState.TEST','xXeDt','hDBXv','2ZksxBC','2024470TFvYxV','TestFrameworkState.SETUP_FIXTURE','values','CAIek','aJEKF','9332020EShgxl','TestFrameworkState.INIT_TEST','TestFrameworkState.TEST_STEP','Xkqpm'];a116_0x1480=function(){return _0x1b70e1;};return a116_0x1480();}a116_0x5bbd09[a116_0x42d197(0xe1)]=0x0,a116_0x5bbd09[a116_0x42d197(0xd8)]=function(){const _0x171aba=a116_0x42d197,_0x5efc01={};_0x5efc01[_0x171aba(0xf1)]=_0x171aba(0xe4);const _0x42b5e1=_0x5efc01;return _0x42b5e1['aJEKF'];};const a116_0x41b419={};a116_0x41b419['value']=0x1,a116_0x41b419['toString']=function(){const _0x2af270=a116_0x42d197,_0x5195ef={};_0x5195ef[_0x2af270(0xf0)]=_0x2af270(0xdb);const _0x4d8276=_0x5195ef;return _0x4d8276['CAIek'];};const a116_0x25b1eb={};a116_0x25b1eb[a116_0x42d197(0xe1)]=0x2,a116_0x25b1eb[a116_0x42d197(0xd8)]=function(){const _0x182b86=a116_0x42d197,_0x2b46f8={};_0x2b46f8['FHpNv']=_0x182b86(0xe2);const _0x15f84f=_0x2b46f8;return _0x15f84f[_0x182b86(0xe8)];};const a116_0x21ef41={};a116_0x21ef41[a116_0x42d197(0xe1)]=0x3,a116_0x21ef41[a116_0x42d197(0xd8)]=function(){const _0x2ba084=a116_0x42d197,_0x443abf={};_0x443abf[_0x2ba084(0xd9)]=_0x2ba084(0xee);const _0x48b480=_0x443abf;return _0x48b480[_0x2ba084(0xd9)];};function a116_0x3e56(_0x220006,_0x28f3ba){const _0x14808f=a116_0x1480();return a116_0x3e56=function(_0x3e5636,_0x123d7d){_0x3e5636=_0x3e5636-0xd0;let _0x547d91=_0x14808f[_0x3e5636];return _0x547d91;},a116_0x3e56(_0x220006,_0x28f3ba);}const a116_0x2778e2={};a116_0x2778e2['value']=0x4,a116_0x2778e2['toString']=function(){const _0x5056c6=a116_0x42d197,_0x102414={};_0x102414[_0x5056c6(0xda)]=_0x5056c6(0xf3);const _0x32b5f7=_0x102414;return _0x32b5f7[_0x5056c6(0xda)];};const a116_0x2e131f={};a116_0x2e131f[a116_0x42d197(0xe1)]=0x5,a116_0x2e131f[a116_0x42d197(0xd8)]=function(){const _0x479bd1=a116_0x42d197,_0x435db6={};_0x435db6[_0x479bd1(0xdd)]=_0x479bd1(0xe0);const _0x10acaa=_0x435db6;return _0x10acaa[_0x479bd1(0xdd)];};const a116_0x5b6981={};a116_0x5b6981[a116_0x42d197(0xe1)]=0x6,a116_0x5b6981[a116_0x42d197(0xd8)]=function(){const _0xdc9ef0=a116_0x42d197,_0x2b61d0={};_0x2b61d0[_0xdc9ef0(0xeb)]='TestFrameworkState.AFTER_EACH';const _0x567dfa=_0x2b61d0;return _0x567dfa[_0xdc9ef0(0xeb)];};const a116_0x5c0cb3={};a116_0x5c0cb3[a116_0x42d197(0xe1)]=0x7,a116_0x5c0cb3[a116_0x42d197(0xd8)]=function(){const _0x52ebfe=a116_0x42d197,_0x5a3515={};_0x5a3515[_0x52ebfe(0xf5)]=_0x52ebfe(0xe9);const _0x3a4de8=_0x5a3515;return _0x3a4de8[_0x52ebfe(0xf5)];};const a116_0x2923c3={};a116_0x2923c3['value']=0x8,a116_0x2923c3[a116_0x42d197(0xd8)]=function(){const _0x35a3f6=a116_0x42d197,_0x2c9d0b={};_0x2c9d0b[_0x35a3f6(0xd3)]='TestFrameworkState.STEP';const _0x1bf64b=_0x2c9d0b;return _0x1bf64b['tKmgK'];};const a116_0x4858ba={};a116_0x4858ba[a116_0x42d197(0xe1)]=0x9,a116_0x4858ba['toString']=function(){const _0x328864=a116_0x42d197,_0x314a8c={};_0x314a8c[_0x328864(0xde)]=_0x328864(0xdc);const _0x28bed9=_0x314a8c;return _0x28bed9['sEFlk'];};const a116_0x5709e5={};a116_0x5709e5[a116_0x42d197(0xe1)]=0xa,a116_0x5709e5['toString']=function(){const _0x2357af=a116_0x42d197,_0x1761e0={};_0x1761e0[_0x2357af(0xf7)]=_0x2357af(0xd1);const _0xf9efee=_0x1761e0;return _0xf9efee[_0x2357af(0xf7)];};const a116_0x262b55={};a116_0x262b55['value']=0xb,a116_0x262b55['toString']=function(){const _0x14b230=a116_0x42d197,_0x510fc1={};_0x510fc1['RhHCL']='TestFrameworkState.TEST_SCREENSHOT';const _0x1f5ce0=_0x510fc1;return _0x1f5ce0[_0x14b230(0xf6)];};const a116_0x4c1064={};a116_0x4c1064['value']=0xc,a116_0x4c1064[a116_0x42d197(0xd8)]=function(){const _0x516ddd=a116_0x42d197,_0x4f4461={};_0x4f4461['xXeDt']=_0x516ddd(0xf4);const _0x3686f6=_0x4f4461;return _0x3686f6[_0x516ddd(0xea)];};const TestFrameworkState=Object['freeze']({'NONE':a116_0x5bbd09,'BEFORE_ALL':a116_0x41b419,'LOG':a116_0x25b1eb,'SETUP_FIXTURE':a116_0x21ef41,'INIT_TEST':a116_0x2778e2,'BEFORE_EACH':a116_0x2e131f,'AFTER_EACH':a116_0x5b6981,'TEST':a116_0x5c0cb3,'STEP':a116_0x2923c3,'LOG_REPORT':a116_0x4858ba,'AFTER_ALL':a116_0x5709e5,'TEST_SCREENSHOT':a116_0x262b55,'TEST_STEP':a116_0x4c1064,'fromValue'(_0x1d377c){const _0x57a34b=a116_0x42d197;return Object[_0x57a34b(0xef)](TestFrameworkState)[_0x57a34b(0xd2)](_0x26eeaf=>_0x26eeaf[_0x57a34b(0xe1)]===_0x1d377c);}});module[a116_0x42d197(0xd4)]=TestFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117_0x197bec=a117_0x55f3;function a117_0x55f3(_0x36d697,_0x4f06dd){const _0x3f8be6=a117_0x3f8b();return a117_0x55f3=function(_0x55f3f8,_0xe50f26){_0x55f3f8=_0x55f3f8-0x1e8;let _0x1db3c8=_0x3f8be6[_0x55f3f8];return _0x1db3c8;},a117_0x55f3(_0x36d697,_0x4f06dd);}function a117_0x3f8b(){const _0x1703c1=['9550098cikZFE','nqEsb','https','TestLevel','getTestFramework','./TestInfo','1EzzGQa','607538GNrwoB','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','RtdQD','./state/hookState','name','exports','ndcMO','TEST','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','resolveInstance','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','currentTest','BuildLevel','./state/testFrameworkState','statusCode','.browserstack','http://','qkAaT','319800wUGcDg','../../helpers/classLogger.js','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','KEY_FILE_NAME','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','message','recursive','__jestCurrentTestIdentifier','Attachment\x20recevied\x20for\x20path:\x20%s','ETvdT','basename','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','CIaFk','MHESh','getTestFrameworkDetail','YosyT','isRunning','Created\x20folder:\x20%s','zOgZR','getAllData','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','774471wtryIr','lOrJg','copyFileSync','join','existsSync','./framework/automationFramework','startsWith','Cleared\x20attachment\x20folder','uCjim','vrXsN','RStYa','format','Gcfpg','VNeaK','testhubConfig','WsSAD','jest','yRySU',',\x20filepath:\x20','error','Niwkr','TestHubModule','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','createWriteStream','hKmxy','toFixed','getTestIdentifierFromTestInfo','HgWVP','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','DwEOh','vGNCI','setTestDetails','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','get','modules','buildHashedId','nOEGN','./cliUtils','AgVrF','homedir','getState','http','TWXYc','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','addMultipleEntries','210scmHcj','logger','sBugC','rlKel','statSync','NtRyD','close','unlinkSync','aiYOb','getInstance','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','debug','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','uUvEd','./modules/playwrightDriverModule','KEY_TEST_ATTACHMENTS','trackFile','./browserstackCLI','KEY_FILE_PATH','umzYR','cMvCI','trim','__workerDetails','getTestDetails','path','OLplu','LPjoi','uploadAttachmentsManager','16373xHwWnJ','size','2860515rXToQd','uQLmW','1729408qGNdBW','clearAttachments','toLowerCase','bLNpe','finish','rkkVp','peaAC'];a117_0x3f8b=function(){return _0x1703c1;};return a117_0x3f8b();}(function(_0x2c3599,_0x2baef4){const _0x4f01fd=a117_0x55f3,_0x2d81d9=_0x2c3599();while(!![]){try{const _0x9c4991=parseInt(_0x4f01fd(0x20f))/0x1*(parseInt(_0x4f01fd(0x210))/0x2)+parseInt(_0x4f01fd(0x237))/0x3+parseInt(_0x4f01fd(0x222))/0x4+parseInt(_0x4f01fd(0x200))/0x5+parseInt(_0x4f01fd(0x265))/0x6*(-parseInt(_0x4f01fd(0x1fe))/0x7)+parseInt(_0x4f01fd(0x202))/0x8+-parseInt(_0x4f01fd(0x209))/0x9;if(_0x9c4991===_0x2baef4)break;else _0x2d81d9['push'](_0x2d81d9['shift']());}catch(_0x3b7c44){_0x2d81d9['push'](_0x2d81d9['shift']());}}}(a117_0x3f8b,0x461c0));const os=require('os'),fs=require('fs'),path=require(a117_0x197bec(0x1fa)),util=require('util'),BrowserstackCLI=require(a117_0x197bec(0x1f3)),https=require(a117_0x197bec(0x20b)),http=require(a117_0x197bec(0x260)),AutomationFramework=require(a117_0x197bec(0x23c)),PlaywrightDriverModule=require(a117_0x197bec(0x1f0)),TestInfo=require(a117_0x197bec(0x20e)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a117_0x197bec(0x223));class uploadAttachmentsManager{static ['logger']=createClassLogger(a117_0x197bec(0x1fd));static['uploadAttachments'](_0x26de35,_0x39e797=![]){const _0x5da9d2=a117_0x197bec,_0x195723={};_0x195723[_0x5da9d2(0x212)]=function(_0x4d40c1,_0xe18103){return _0x4d40c1/_0xe18103;},_0x195723[_0x5da9d2(0x1ea)]=function(_0x2f7212,_0x2145b5){return _0x2f7212*_0x2145b5;},_0x195723[_0x5da9d2(0x1f6)]=function(_0x1768df,_0x11a22e){return _0x1768df>_0x11a22e;},_0x195723['uQLmW']='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x195723[_0x5da9d2(0x255)]='File\x20downloaded\x20to:\x20%s',_0x195723[_0x5da9d2(0x22b)]=function(_0xe8d817,_0x3ef97b){return _0xe8d817===_0x3ef97b;},_0x195723['ndcMO']=_0x5da9d2(0x206),_0x195723['AgVrF']=_0x5da9d2(0x236),_0x195723[_0x5da9d2(0x234)]=_0x5da9d2(0x226),_0x195723[_0x5da9d2(0x205)]=_0x5da9d2(0x22a),_0x195723[_0x5da9d2(0x241)]=_0x5da9d2(0x21f),_0x195723[_0x5da9d2(0x26a)]=_0x5da9d2(0x218),_0x195723['rkkVp']='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x195723[_0x5da9d2(0x261)]=_0x5da9d2(0x233),_0x195723[_0x5da9d2(0x267)]=function(_0xf8180d,_0x4e3605){return _0xf8180d===_0x4e3605;},_0x195723['RmWIa']=_0x5da9d2(0x253),_0x195723['lEokR']='https://',_0x195723[_0x5da9d2(0x246)]=_0x5da9d2(0x220),_0x195723['XgrVS']=_0x5da9d2(0x24a),_0x195723['lTOFw']=_0x5da9d2(0x21a),_0x195723[_0x5da9d2(0x1ef)]=function(_0x3a4e00,_0x2573be){return _0x3a4e00/_0x2573be;},_0x195723[_0x5da9d2(0x208)]=function(_0x3bb712,_0xb124dd){return _0x3bb712*_0xb124dd;},_0x195723['qkAaT']=function(_0x2df9e4,_0x2a2e10){return _0x2df9e4>_0x2a2e10;},_0x195723[_0x5da9d2(0x231)]=_0x5da9d2(0x224);const _0x201945=_0x195723;this[_0x5da9d2(0x266)]['debug'](util[_0x5da9d2(0x242)](_0x201945[_0x5da9d2(0x205)],_0x26de35));const _0x483f51=os[_0x5da9d2(0x25e)](),_0x4b26b8=path['join'](_0x483f51,_0x201945[_0x5da9d2(0x241)]);!fs[_0x5da9d2(0x23b)](_0x4b26b8)&&(this[_0x5da9d2(0x266)]['debug'](util['format'](_0x201945[_0x5da9d2(0x26a)],_0x4b26b8)),fs['mkdirSync'](_0x4b26b8),this['logger']['debug'](util[_0x5da9d2(0x242)](_0x201945[_0x5da9d2(0x207)],_0x4b26b8)));const _0x42a0e9=BrowserstackCLI[_0x5da9d2(0x1eb)]()[_0x5da9d2(0x259)][_0x5da9d2(0x24c)]?.['testhubConfig']?.['toObject']()?.['buildHashedId'],_0x1a78fd=path['join'](_0x4b26b8,_0x42a0e9);!fs[_0x5da9d2(0x23b)](_0x1a78fd)&&(fs['mkdirSync'](_0x1a78fd),this[_0x5da9d2(0x266)][_0x5da9d2(0x1ed)](util[_0x5da9d2(0x242)](_0x201945[_0x5da9d2(0x261)],_0x1a78fd)));if(_0x201945[_0x5da9d2(0x267)](_0x26de35[_0x5da9d2(0x1f7)](),'')){this[_0x5da9d2(0x266)][_0x5da9d2(0x1ed)](util[_0x5da9d2(0x242)](_0x201945['RmWIa']));return;}if(_0x26de35[_0x5da9d2(0x23d)](_0x201945['lEokR'])||_0x26de35[_0x5da9d2(0x23d)](_0x201945[_0x5da9d2(0x246)])){const _0x22565a=_0x26de35[_0x5da9d2(0x23d)](_0x201945['lEokR'])?https:http,_0x2a743a=path['basename'](_0x26de35),_0x560023=path[_0x5da9d2(0x23a)](_0x1a78fd,_0x2a743a),_0xb5d301=fs[_0x5da9d2(0x24e)](_0x560023);_0x22565a[_0x5da9d2(0x258)](_0x26de35,_0x43bd00=>{const _0x1715bf=_0x5da9d2,_0x39ec22={'umzYR':function(_0x5306f1,_0x192b0f){const _0x5bc2cc=a117_0x55f3;return _0x201945[_0x5bc2cc(0x212)](_0x5306f1,_0x192b0f);},'dAVKz':function(_0x37106f,_0x204108){return _0x201945['aiYOb'](_0x37106f,_0x204108);},'Gcfpg':function(_0x5edaf7,_0x104e1b){const _0x164c20=a117_0x55f3;return _0x201945[_0x164c20(0x1f6)](_0x5edaf7,_0x104e1b);},'MHESh':_0x201945[_0x1715bf(0x201)],'QzZfP':_0x201945[_0x1715bf(0x255)]};if(_0x201945['ETvdT'](_0x43bd00[_0x1715bf(0x21e)],0xc8))_0x43bd00['pipe'](_0xb5d301),_0xb5d301['on'](_0x201945[_0x1715bf(0x216)],()=>{const _0x265658=_0x1715bf;_0xb5d301[_0x265658(0x1e8)]();const _0x2df43e=fs['statSync'](_0x560023),_0x408d40=_0x39ec22[_0x265658(0x1f5)](_0x2df43e['size'],_0x39ec22['dAVKz'](0x400,0x400));if(_0x39ec22[_0x265658(0x243)](_0x408d40,0x64)){this['logger'][_0x265658(0x1ed)](util['format'](_0x39ec22[_0x265658(0x22f)],_0x408d40[_0x265658(0x250)](0x2))),fs[_0x265658(0x1e9)](_0x560023);return;}this[_0x265658(0x266)][_0x265658(0x1ed)](util['format'](_0x39ec22['QzZfP'],_0x560023)),uploadAttachmentsManager[_0x265658(0x1f2)](_0x560023,_0x39e797);});else{this[_0x1715bf(0x266)][_0x1715bf(0x1ed)](util['format'](_0x201945[_0x1715bf(0x25d)],_0x43bd00[_0x1715bf(0x21e)])),_0xb5d301[_0x1715bf(0x1e8)](),fs['unlinkSync'](_0x560023);return;}})['on'](_0x201945['XgrVS'],_0x4085c8=>{const _0x2e456b=_0x5da9d2;this['logger'][_0x2e456b(0x1ed)](util['format'](_0x201945[_0x2e456b(0x234)],_0x4085c8[_0x2e456b(0x227)])),_0xb5d301[_0x2e456b(0x1e8)](),fs[_0x2e456b(0x1e9)](_0x560023);return;});}else{if(!fs['existsSync'](_0x26de35)){this[_0x5da9d2(0x266)][_0x5da9d2(0x1ed)](util[_0x5da9d2(0x242)](_0x201945['lTOFw'],_0x26de35));return;}const _0x27b253=fs[_0x5da9d2(0x269)](_0x26de35),_0x49fa84=_0x201945['uUvEd'](_0x27b253[_0x5da9d2(0x1ff)],_0x201945[_0x5da9d2(0x208)](0x400,0x400));if(_0x201945[_0x5da9d2(0x221)](_0x49fa84,0x64)){this['logger'][_0x5da9d2(0x1ed)](util[_0x5da9d2(0x242)](_0x201945['YosyT'],_0x49fa84[_0x5da9d2(0x250)](0x2)));return;}const _0x26c4a0=path[_0x5da9d2(0x22c)](_0x26de35),_0x56abe1=path[_0x5da9d2(0x23a)](_0x1a78fd,_0x26c4a0);fs[_0x5da9d2(0x239)](_0x26de35,_0x56abe1),uploadAttachmentsManager[_0x5da9d2(0x1f2)](_0x56abe1,_0x39e797);}}static[a117_0x197bec(0x1f2)](_0x486477,_0x772123){const _0xf1d5e1=a117_0x197bec,_0x2f1cb4={'yRySU':function(_0x37a088,_0x37c213){return _0x37a088(_0x37c213);},'VNeaK':_0xf1d5e1(0x1f3),'WDtcR':function(_0x50b7fe,_0x4a28dc){return _0x50b7fe(_0x4a28dc);},'nOEGN':_0xf1d5e1(0x25c),'hKmxy':function(_0x4728b9,_0x109312){return _0x4728b9===_0x109312;},'Niwkr':_0xf1d5e1(0x247),'ExQzr':_0xf1d5e1(0x262),'HgWVP':_0xf1d5e1(0x21c),'ckYFm':_0xf1d5e1(0x20c),'LPjoi':_0xf1d5e1(0x257),'CIaFk':function(_0x46f212,_0x178868){return _0x46f212(_0x178868);},'bCePV':_0xf1d5e1(0x21d),'vrXsN':function(_0x5e105b,_0x5de7d4){return _0x5e105b(_0x5de7d4);},'uCjim':_0xf1d5e1(0x213),'DwEOh':_0xf1d5e1(0x24d),'lOrJg':_0xf1d5e1(0x211),'ylzbn':_0xf1d5e1(0x22d)};try{let _0xa40c4;const _0x526afe=global[_0xf1d5e1(0x1f8)]?.[_0xf1d5e1(0x21b)]?.['testInfo'],_0x3b24ee=_0x2f1cb4[_0xf1d5e1(0x248)](require,_0x2f1cb4[_0xf1d5e1(0x244)]),_0x58dc97=_0x2f1cb4['WDtcR'](require,_0x2f1cb4[_0xf1d5e1(0x25b)]),_0x3d33c7=_0x3b24ee['getInstance']()[_0xf1d5e1(0x232)]()&&_0x2f1cb4[_0xf1d5e1(0x24f)](_0x58dc97[_0xf1d5e1(0x230)]()?.[_0xf1d5e1(0x214)]?.[_0xf1d5e1(0x204)](),_0x2f1cb4[_0xf1d5e1(0x24b)]);if(_0x3d33c7){_0xa40c4=global[_0xf1d5e1(0x229)];if(!_0xa40c4){const _0x12a430=AutomationFramework['getTrackedInstance']();_0xa40c4=AutomationFramework[_0xf1d5e1(0x25f)](_0x12a430,PlaywrightDriverModule['KEY_TEST_ID'],'');}this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](_0xf1d5e1(0x1ec)+_0xa40c4);}else{if(!_0x526afe){const _0x2e5704=AutomationFramework['getTrackedInstance']();_0xa40c4=AutomationFramework[_0xf1d5e1(0x25f)](_0x2e5704,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0xa40c4=TestInfo[_0xf1d5e1(0x251)](_0x526afe,_0x526afe['retry']);this[_0xf1d5e1(0x266)]['debug']('trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20'+_0xa40c4);}if(!_0xa40c4){this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](_0x2f1cb4['ExQzr']);return;}const _0x2b7926={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0xf1d5e1(0x269)](_0x486477)[_0xf1d5e1(0x1ff)],[TestFrameworkConstants[_0xf1d5e1(0x225)]]:path[_0xf1d5e1(0x22c)](_0x486477),[TestFrameworkConstants[_0xf1d5e1(0x1f4)]]:_0x486477,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x772123?_0x2f1cb4[_0xf1d5e1(0x252)]:_0x2f1cb4['ckYFm']};if(_0x3d33c7){const _0x59c676=_0x3b24ee[_0xf1d5e1(0x1eb)]()[_0xf1d5e1(0x20d)]();if(!_0x59c676){this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](_0x2f1cb4[_0xf1d5e1(0x1fc)]);return;}const _0x1934e0=_0x2f1cb4[_0xf1d5e1(0x22e)](require,_0x2f1cb4['bCePV']),_0x1696e7=_0x2f1cb4[_0xf1d5e1(0x240)](require,_0x2f1cb4[_0xf1d5e1(0x23f)]),_0x5944a1=_0x59c676[_0xf1d5e1(0x219)](_0x1934e0[_0xf1d5e1(0x217)],_0x1696e7['POST']);if(!_0x5944a1){this[_0xf1d5e1(0x266)]['debug'](_0x2f1cb4[_0xf1d5e1(0x254)]);return;}const _0x545d9e=_0x5944a1[_0xf1d5e1(0x235)]()['get'](_0xa40c4)||{},_0x53f6e2=_0x545d9e[TestFrameworkConstants[_0xf1d5e1(0x1f1)]]||{},_0x463e4f={..._0x53f6e2};_0x463e4f[_0x486477]=_0x2b7926;const _0x487067=_0x463e4f,_0x5a70a2={[TestFrameworkConstants[_0xf1d5e1(0x1f1)]]:_0x487067},_0x341740={};_0x341740[_0xa40c4]=_0x5a70a2,_0x5944a1[_0xf1d5e1(0x264)](_0x341740),this['logger'][_0xf1d5e1(0x1ed)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0xa40c4+',\x20filepath:\x20'+_0x486477);}else{const _0x261dc3=TestInfo[_0xf1d5e1(0x1f9)](_0xa40c4),_0x453fc7=_0x261dc3[TestFrameworkConstants[_0xf1d5e1(0x1f1)]]||{};_0x453fc7[_0x486477]=_0x2b7926,_0x261dc3[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x453fc7,TestInfo[_0xf1d5e1(0x256)](_0xa40c4,_0x261dc3),this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](_0xf1d5e1(0x1ee)+_0xa40c4+_0xf1d5e1(0x249)+_0x486477);}this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](util[_0xf1d5e1(0x242)](_0x2f1cb4[_0xf1d5e1(0x238)],_0x486477));}catch(_0x5e782a){this[_0xf1d5e1(0x266)][_0xf1d5e1(0x1ed)](util['format'](_0x2f1cb4['ylzbn'],_0x5e782a[_0xf1d5e1(0x227)]));}}static[a117_0x197bec(0x203)](){const _0x7a9266=a117_0x197bec,_0x16461d={};_0x16461d[_0x7a9266(0x20a)]=_0x7a9266(0x21f),_0x16461d[_0x7a9266(0x1fb)]=_0x7a9266(0x263),_0x16461d[_0x7a9266(0x268)]=_0x7a9266(0x23e);const _0x47a4bc=_0x16461d,_0x14471f=os[_0x7a9266(0x25e)](),_0x1f1c9b=path[_0x7a9266(0x23a)](_0x14471f,_0x47a4bc[_0x7a9266(0x20a)]);if(!fs[_0x7a9266(0x23b)](_0x1f1c9b))return;const _0x4f763c=BrowserstackCLI[_0x7a9266(0x1eb)]()[_0x7a9266(0x259)][_0x7a9266(0x24c)]?.[_0x7a9266(0x245)]?.['toObject']()?.[_0x7a9266(0x25a)],_0x2319a8=_0x4f763c?path[_0x7a9266(0x23a)](_0x1f1c9b,_0x4f763c):null;if(!_0x2319a8||!fs[_0x7a9266(0x23b)](_0x2319a8)){this[_0x7a9266(0x266)]['debug'](util['format'](_0x47a4bc[_0x7a9266(0x1fb)],_0x4f763c));return;}const _0x4011d7={};_0x4011d7[_0x7a9266(0x228)]=!![],_0x4011d7['force']=!![],fs['rmSync'](_0x2319a8,_0x4011d7),this[_0x7a9266(0x266)]['debug'](util['format'](_0x47a4bc['rlKel']));}}module[a117_0x197bec(0x215)]=uploadAttachmentsManager;
|
|
1
|
+
function a117_0x4a25(_0x584e49,_0xa6f2d5){const _0x17c5f7=a117_0x17c5();return a117_0x4a25=function(_0x4a25f6,_0x3a12bf){_0x4a25f6=_0x4a25f6-0x17c;let _0x1cbc39=_0x17c5f7[_0x4a25f6];return _0x1cbc39;},a117_0x4a25(_0x584e49,_0xa6f2d5);}function a117_0x17c5(){const _0x7a5f8b=['peXKC','1278QYTAxH','KEY_TEST_ID','trim','POST','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','KEY_FILE_NAME','2068610FTYQTj','finish','FJMxt','basename','size','MNxdi','http','join','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','resolveInstance','mkdirSync','getTestIdentifierFromTestInfo','rmSync','KmORg','trackFile','tMhPn','NZAui','logger','TEST','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','currentTest','Cleared\x20attachment\x20folder','CxmQX','./TestInfo','xjwSO','getTrackedInstance','statusCode','toObject','File\x20downloaded\x20to:\x20%s','jVpyF','62811iTBBjJ','./state/hookState','VbMwi','36INUACq','xhUez','homedir','./state/testFrameworkState','modules','BuildLevel','QqGEF','LJlft','isRunning','__jestCurrentTestIdentifier','KEY_FILE_PATH','YUyPg','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','BqzqR','testhubConfig','getTestDetails','QgvOn','40552QFHwof','http://','fcmUL','createWriteStream','./framework/automationFramework','1193187IBOEkt','KEY_TEST_ATTACHMENTS','debug','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','addMultipleEntries','TestHubModule','TestLevel','mqyWC','./browserstackCLI','mphTr','setTestDetails','626gaTqPH','getTestFramework','MBfEp','rOmsc','getInstance','buildHashedId','KEY_FILE_LEVEL','PmfnE','ahldV','avLey','ANCQm','./cliUtils','exports','existsSync','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','TjnUG','util','erXRc','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','https','UBezH','dsLSc','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','statSync','DQtXy','XwMgh','getAllData','uploadAttachments','RrnVZ','./modules/playwrightDriverModule','close','startsWith','__workerDetails','get','NZgtL','yxeuw','getState','Created\x20.browserstack\x20folder\x20at:\x20%s','3137570JkYHYN','glTVQ','4935852tDaiWH','xhbXi','Attachment\x20recevied\x20for\x20path:\x20%s','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','336cKVoaL','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','HhfCH','message','kWLlX','pipe','recursive','tCHjk','unlinkSync','format','EDsgR','sRMsw','jest','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','../../helpers/classLogger.js'];a117_0x17c5=function(){return _0x7a5f8b;};return a117_0x17c5();}const a117_0x1a7b88=a117_0x4a25;(function(_0xe97488,_0x8022c4){const _0x509760=a117_0x4a25,_0x56269d=_0xe97488();while(!![]){try{const _0x5438b2=parseInt(_0x509760(0x1c7))/0x1*(-parseInt(_0x509760(0x17e))/0x2)+-parseInt(_0x509760(0x1bc))/0x3+-parseInt(_0x509760(0x1b7))/0x4+-parseInt(_0x509760(0x184))/0x5+parseInt(_0x509760(0x1ef))/0x6+-parseInt(_0x509760(0x1a2))/0x7*(parseInt(_0x509760(0x1f3))/0x8)+parseInt(_0x509760(0x1a5))/0x9*(parseInt(_0x509760(0x1ed))/0xa);if(_0x5438b2===_0x8022c4)break;else _0x56269d['push'](_0x56269d['shift']());}catch(_0x5f5865){_0x56269d['push'](_0x56269d['shift']());}}}(a117_0x17c5,0x74fe1));const os=require('os'),fs=require('fs'),path=require('path'),util=require(a117_0x1a7b88(0x1d7)),BrowserstackCLI=require(a117_0x1a7b88(0x1c4)),https=require(a117_0x1a7b88(0x1da)),http=require(a117_0x1a7b88(0x18a)),AutomationFramework=require(a117_0x1a7b88(0x1bb)),PlaywrightDriverModule=require(a117_0x1a7b88(0x1e4)),TestInfo=require(a117_0x1a7b88(0x19b)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a117_0x1a7b88(0x17c));class uploadAttachmentsManager{static [a117_0x1a7b88(0x195)]=createClassLogger('uploadAttachmentsManager');static[a117_0x1a7b88(0x1e2)](_0x49ca57,_0x81d3fb=![]){const _0x56ce81=a117_0x1a7b88,_0x338d71={};_0x338d71[_0x56ce81(0x1c9)]=function(_0x35b68c,_0x3e6c4c){return _0x35b68c/_0x3e6c4c;},_0x338d71['CxmQX']=function(_0x11eca5,_0x584cbd){return _0x11eca5*_0x584cbd;},_0x338d71[_0x56ce81(0x1b0)]=function(_0x4faba4,_0x344701){return _0x4faba4>_0x344701;},_0x338d71[_0x56ce81(0x1e3)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x338d71[_0x56ce81(0x1b3)]=_0x56ce81(0x1a0),_0x338d71[_0x56ce81(0x1ca)]=function(_0x2f2eef,_0x3b6ee4){return _0x2f2eef===_0x3b6ee4;},_0x338d71[_0x56ce81(0x189)]=_0x56ce81(0x185),_0x338d71[_0x56ce81(0x1a6)]=_0x56ce81(0x1bf),_0x338d71[_0x56ce81(0x1ac)]=_0x56ce81(0x200),_0x338d71[_0x56ce81(0x1f0)]=_0x56ce81(0x1f1),_0x338d71[_0x56ce81(0x1f5)]='.browserstack',_0x338d71[_0x56ce81(0x1c3)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x338d71[_0x56ce81(0x1ce)]=_0x56ce81(0x1ec),_0x338d71[_0x56ce81(0x186)]='Created\x20folder:\x20%s',_0x338d71[_0x56ce81(0x1ab)]=function(_0x2d5181,_0x4b4b1e){return _0x2d5181===_0x4b4b1e;},_0x338d71[_0x56ce81(0x1ee)]=_0x56ce81(0x197),_0x338d71[_0x56ce81(0x1d1)]='https://',_0x338d71[_0x56ce81(0x191)]=_0x56ce81(0x1b8),_0x338d71[_0x56ce81(0x1b9)]='error',_0x338d71[_0x56ce81(0x1ea)]=_0x56ce81(0x1d9),_0x338d71[_0x56ce81(0x1d8)]=_0x56ce81(0x1f4);const _0x1edef5=_0x338d71;this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util['format'](_0x1edef5[_0x56ce81(0x1f0)],_0x49ca57));const _0x39ea78=os[_0x56ce81(0x1a7)](),_0x48d196=path[_0x56ce81(0x18b)](_0x39ea78,_0x1edef5['HhfCH']);!fs[_0x56ce81(0x1d4)](_0x48d196)&&(this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1c3)],_0x48d196)),fs['mkdirSync'](_0x48d196),this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1ce)],_0x48d196)));const _0x267ac3=BrowserstackCLI[_0x56ce81(0x1cb)]()[_0x56ce81(0x1a9)][_0x56ce81(0x1c1)]?.[_0x56ce81(0x1b4)]?.['toObject']()?.[_0x56ce81(0x1cc)],_0x179f21=path[_0x56ce81(0x18b)](_0x48d196,_0x267ac3);!fs[_0x56ce81(0x1d4)](_0x179f21)&&(fs[_0x56ce81(0x18e)](_0x179f21),this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5['FJMxt'],_0x179f21)));if(_0x1edef5[_0x56ce81(0x1ab)](_0x49ca57[_0x56ce81(0x180)](),'')){this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util['format'](_0x1edef5[_0x56ce81(0x1ee)]));return;}if(_0x49ca57['startsWith'](_0x1edef5[_0x56ce81(0x1d1)])||_0x49ca57[_0x56ce81(0x1e6)](_0x1edef5[_0x56ce81(0x191)])){const _0x5581d9=_0x49ca57[_0x56ce81(0x1e6)](_0x1edef5[_0x56ce81(0x1d1)])?https:http,_0xce17a2=path[_0x56ce81(0x187)](_0x49ca57),_0x14eec8=path['join'](_0x179f21,_0xce17a2),_0x5d9ae8=fs[_0x56ce81(0x1ba)](_0x14eec8);_0x5581d9[_0x56ce81(0x1e8)](_0x49ca57,_0x42fcf5=>{const _0x34572f=_0x56ce81,_0x279997={'xjwSO':function(_0x1b9cd8,_0x476a42){const _0x5e1695=a117_0x4a25;return _0x1edef5[_0x5e1695(0x1c9)](_0x1b9cd8,_0x476a42);},'VbMwi':function(_0x5c09e8,_0x1733de){const _0x5e32aa=a117_0x4a25;return _0x1edef5[_0x5e32aa(0x19a)](_0x5c09e8,_0x1733de);},'civZD':function(_0x3345f9,_0x49777e){const _0x1d18a6=a117_0x4a25;return _0x1edef5[_0x1d18a6(0x1b0)](_0x3345f9,_0x49777e);},'DQtXy':_0x1edef5[_0x34572f(0x1e3)],'gkxxI':_0x1edef5['BqzqR']};if(_0x1edef5[_0x34572f(0x1ca)](_0x42fcf5['statusCode'],0xc8))_0x42fcf5[_0x34572f(0x1f8)](_0x5d9ae8),_0x5d9ae8['on'](_0x1edef5[_0x34572f(0x189)],()=>{const _0x31e92f=_0x34572f;_0x5d9ae8[_0x31e92f(0x1e5)]();const _0xb0b25d=fs[_0x31e92f(0x1de)](_0x14eec8),_0x23e0d2=_0x279997[_0x31e92f(0x19c)](_0xb0b25d['size'],_0x279997[_0x31e92f(0x1a4)](0x400,0x400));if(_0x279997['civZD'](_0x23e0d2,0x64)){this[_0x31e92f(0x195)][_0x31e92f(0x1be)](util[_0x31e92f(0x1fc)](_0x279997[_0x31e92f(0x1df)],_0x23e0d2['toFixed'](0x2))),fs[_0x31e92f(0x1fb)](_0x14eec8);return;}this[_0x31e92f(0x195)]['debug'](util['format'](_0x279997['gkxxI'],_0x14eec8)),uploadAttachmentsManager[_0x31e92f(0x192)](_0x14eec8,_0x81d3fb);});else{this[_0x34572f(0x195)][_0x34572f(0x1be)](util[_0x34572f(0x1fc)](_0x1edef5[_0x34572f(0x1a6)],_0x42fcf5[_0x34572f(0x19e)])),_0x5d9ae8[_0x34572f(0x1e5)](),fs[_0x34572f(0x1fb)](_0x14eec8);return;}})['on'](_0x1edef5[_0x56ce81(0x1b9)],_0xc38a06=>{const _0x1b8380=_0x56ce81;this[_0x1b8380(0x195)][_0x1b8380(0x1be)](util[_0x1b8380(0x1fc)](_0x1edef5['LJlft'],_0xc38a06[_0x1b8380(0x1f6)])),_0x5d9ae8['close'](),fs[_0x1b8380(0x1fb)](_0x14eec8);return;});}else{if(!fs[_0x56ce81(0x1d4)](_0x49ca57)){this[_0x56ce81(0x195)]['debug'](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1ea)],_0x49ca57));return;}const _0x3ad28b=fs['statSync'](_0x49ca57),_0x2fd21a=_0x1edef5[_0x56ce81(0x1c9)](_0x3ad28b[_0x56ce81(0x188)],_0x1edef5[_0x56ce81(0x19a)](0x400,0x400));if(_0x1edef5[_0x56ce81(0x1b0)](_0x2fd21a,0x64)){this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1d8)],_0x2fd21a['toFixed'](0x2)));return;}const _0x2d7120=path[_0x56ce81(0x187)](_0x49ca57),_0x2d3f01=path[_0x56ce81(0x18b)](_0x179f21,_0x2d7120);fs['copyFileSync'](_0x49ca57,_0x2d3f01),uploadAttachmentsManager['trackFile'](_0x2d3f01,_0x81d3fb);}}static[a117_0x1a7b88(0x192)](_0x5ced38,_0x1f2c59){const _0x28ff95=a117_0x1a7b88,_0xbdb86d={'tMhPn':function(_0xb5a230,_0x399243){return _0xb5a230(_0x399243);},'iiCSJ':_0x28ff95(0x1c4),'EDsgR':_0x28ff95(0x1d2),'avLey':function(_0x5ece61,_0x141858){return _0x5ece61===_0x141858;},'UdMxz':_0x28ff95(0x1ff),'XwMgh':_0x28ff95(0x1b2),'ahldV':_0x28ff95(0x1aa),'QgvOn':_0x28ff95(0x1c2),'jVpyF':_0x28ff95(0x18c),'sRMsw':function(_0x156f37,_0x59efe7){return _0x156f37(_0x59efe7);},'NZAui':_0x28ff95(0x1a8),'kWLlX':function(_0x514170,_0x2ff600){return _0x514170(_0x2ff600);},'UBezH':_0x28ff95(0x1a3),'tCHjk':_0x28ff95(0x1b1),'NZgtL':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','dsLSc':_0x28ff95(0x1d5)};try{let _0xbfd5e0;const _0x2c94fc=global[_0x28ff95(0x1e7)]?.[_0x28ff95(0x198)]?.['testInfo'],_0x150220=_0xbdb86d[_0x28ff95(0x193)](require,_0xbdb86d['iiCSJ']),_0x3c6241=_0xbdb86d['tMhPn'](require,_0xbdb86d[_0x28ff95(0x1fd)]),_0x4b4ca2=_0x150220[_0x28ff95(0x1cb)]()[_0x28ff95(0x1ad)]()&&_0xbdb86d[_0x28ff95(0x1d0)](_0x3c6241['getTestFrameworkDetail']()?.['name']?.['toLowerCase'](),_0xbdb86d['UdMxz']);if(_0x4b4ca2){_0xbfd5e0=global[_0x28ff95(0x1ae)];if(!_0xbfd5e0){const _0x5c3dea=AutomationFramework[_0x28ff95(0x19d)]();_0xbfd5e0=AutomationFramework[_0x28ff95(0x1eb)](_0x5c3dea,PlaywrightDriverModule[_0x28ff95(0x17f)],'');}this[_0x28ff95(0x195)]['debug'](_0x28ff95(0x1dd)+_0xbfd5e0);}else{if(!_0x2c94fc){const _0x3ebf87=AutomationFramework[_0x28ff95(0x19d)]();_0xbfd5e0=AutomationFramework[_0x28ff95(0x1eb)](_0x3ebf87,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0xbfd5e0=TestInfo[_0x28ff95(0x18f)](_0x2c94fc,_0x2c94fc['retry']);this['logger'][_0x28ff95(0x1be)](_0x28ff95(0x182)+_0xbfd5e0);}if(!_0xbfd5e0){this[_0x28ff95(0x195)][_0x28ff95(0x1be)](_0xbdb86d[_0x28ff95(0x1e0)]);return;}const _0x2a3cb0={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x28ff95(0x1de)](_0x5ced38)[_0x28ff95(0x188)],[TestFrameworkConstants[_0x28ff95(0x183)]]:path['basename'](_0x5ced38),[TestFrameworkConstants[_0x28ff95(0x1af)]]:_0x5ced38,[TestFrameworkConstants[_0x28ff95(0x1cd)]]:_0x1f2c59?_0xbdb86d[_0x28ff95(0x1cf)]:_0xbdb86d[_0x28ff95(0x1b6)]};if(_0x4b4ca2){const _0x24176d=_0x150220[_0x28ff95(0x1cb)]()[_0x28ff95(0x1c8)]();if(!_0x24176d){this['logger'][_0x28ff95(0x1be)](_0xbdb86d[_0x28ff95(0x1a1)]);return;}const _0x2dbd7a=_0xbdb86d[_0x28ff95(0x1fe)](require,_0xbdb86d[_0x28ff95(0x194)]),_0x3ad25d=_0xbdb86d[_0x28ff95(0x1f7)](require,_0xbdb86d[_0x28ff95(0x1db)]),_0x2fa981=_0x24176d[_0x28ff95(0x18d)](_0x2dbd7a[_0x28ff95(0x196)],_0x3ad25d[_0x28ff95(0x181)]);if(!_0x2fa981){this['logger'][_0x28ff95(0x1be)](_0xbdb86d[_0x28ff95(0x1fa)]);return;}const _0x395a16=_0x2fa981[_0x28ff95(0x1e1)]()[_0x28ff95(0x1e8)](_0xbfd5e0)||{},_0x45ea82=_0x395a16[TestFrameworkConstants[_0x28ff95(0x1bd)]]||{},_0x119981={..._0x45ea82};_0x119981[_0x5ced38]=_0x2a3cb0;const _0x39f247=_0x119981,_0x3a9172={[TestFrameworkConstants[_0x28ff95(0x1bd)]]:_0x39f247},_0x49167e={};_0x49167e[_0xbfd5e0]=_0x3a9172,_0x2fa981[_0x28ff95(0x1c0)](_0x49167e),this[_0x28ff95(0x195)][_0x28ff95(0x1be)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0xbfd5e0+',\x20filepath:\x20'+_0x5ced38);}else{const _0x2d6388=TestInfo[_0x28ff95(0x1b5)](_0xbfd5e0),_0x26b3ed=_0x2d6388[TestFrameworkConstants[_0x28ff95(0x1bd)]]||{};_0x26b3ed[_0x5ced38]=_0x2a3cb0,_0x2d6388[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x26b3ed,TestInfo[_0x28ff95(0x1c6)](_0xbfd5e0,_0x2d6388),this['logger'][_0x28ff95(0x1be)](_0x28ff95(0x1f2)+_0xbfd5e0+',\x20filepath:\x20'+_0x5ced38);}this[_0x28ff95(0x195)][_0x28ff95(0x1be)](util['format'](_0xbdb86d[_0x28ff95(0x1e9)],_0x5ced38));}catch(_0x4ba5e2){this[_0x28ff95(0x195)][_0x28ff95(0x1be)](util[_0x28ff95(0x1fc)](_0xbdb86d[_0x28ff95(0x1dc)],_0x4ba5e2[_0x28ff95(0x1f6)]));}}static['clearAttachments'](){const _0x391a43=a117_0x1a7b88,_0x1e3bf5={};_0x1e3bf5['mphTr']='.browserstack',_0x1e3bf5[_0x391a43(0x1d6)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x1e3bf5[_0x391a43(0x17d)]=_0x391a43(0x199);const _0x28f1f9=_0x1e3bf5,_0x1a0a0f=os[_0x391a43(0x1a7)](),_0x58ebdf=path[_0x391a43(0x18b)](_0x1a0a0f,_0x28f1f9[_0x391a43(0x1c5)]);if(!fs[_0x391a43(0x1d4)](_0x58ebdf))return;const _0x48fae3=BrowserstackCLI['getInstance']()[_0x391a43(0x1a9)][_0x391a43(0x1c1)]?.['testhubConfig']?.[_0x391a43(0x19f)]()?.[_0x391a43(0x1cc)],_0x23115a=_0x48fae3?path['join'](_0x58ebdf,_0x48fae3):null;if(!_0x23115a||!fs[_0x391a43(0x1d4)](_0x23115a)){this[_0x391a43(0x195)][_0x391a43(0x1be)](util['format'](_0x28f1f9[_0x391a43(0x1d6)],_0x48fae3));return;}const _0x15964b={};_0x15964b[_0x391a43(0x1f9)]=!![],_0x15964b['force']=!![],fs[_0x391a43(0x190)](_0x23115a,_0x15964b),this[_0x391a43(0x195)][_0x391a43(0x1be)](util[_0x391a43(0x1fc)](_0x28f1f9[_0x391a43(0x17d)]));}}module[a117_0x1a7b88(0x1d3)]=uploadAttachmentsManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118_0x17ccc0=a118_0x3144;(function(_0x260a7f,_0x1f3652){const _0x45d341=a118_0x3144,_0x5e0da4=_0x260a7f();while(!![]){try{const _0x55a992=parseInt(_0x45d341(0x1d0))/0x1+parseInt(_0x45d341(0x244))/0x2+-parseInt(_0x45d341(0x1e4))/0x3*(-parseInt(_0x45d341(0x24a))/0x4)+parseInt(_0x45d341(0x1eb))/0x5+parseInt(_0x45d341(0x248))/0x6*(-parseInt(_0x45d341(0x1e2))/0x7)+parseInt(_0x45d341(0x236))/0x8*(-parseInt(_0x45d341(0x240))/0x9)+parseInt(_0x45d341(0x206))/0xa*(-parseInt(_0x45d341(0x241))/0xb);if(_0x55a992===_0x1f3652)break;else _0x5e0da4['push'](_0x5e0da4['shift']());}catch(_0x1e7c5d){_0x5e0da4['push'](_0x5e0da4['shift']());}}}(a118_0x27dc,0xa93ff));const path=require(a118_0x17ccc0(0x1ea)),util=require(a118_0x17ccc0(0x202)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0x17ccc0(0x1f9)),logger=require('../../../helpers/logger.js')[a118_0x17ccc0(0x1de)],{o11yClassErrorHandler}=require(a118_0x17ccc0(0x227)),TestInfo=require(a118_0x17ccc0(0x1ff)),hooksMap={};function a118_0x3144(_0x3d7ad6,_0x5c8288){const _0x27dc75=a118_0x27dc();return a118_0x3144=function(_0x31449e,_0x5c96c6){_0x31449e=_0x31449e-0x1cb;let _0x43fff4=_0x27dc75[_0x31449e];return _0x43fff4;},a118_0x3144(_0x3d7ad6,_0x5c8288);}class CucumberUtils{constructor(){const _0x458fdb=a118_0x17ccc0;this['_gitConfigured']=![],this[_0x458fdb(0x1e8)]=null;}async['createTestFrameworkData'](_0x13f3d4,_0x955685,_0x3e0157,_0x1b6402,_0x2e5eca,_0x263fc8){const _0x3f1b99=a118_0x17ccc0,_0x5b1024={'gwzeS':function(_0x39146e,_0x231ba3){return _0x39146e===_0x231ba3;},'JNBye':_0x3f1b99(0x220),'bwVXD':_0x3f1b99(0x223),'KKTBO':_0x3f1b99(0x20f),'eIeMV':'skipped','vdRlS':function(_0x23516e,_0x17cbe9){return _0x23516e||_0x17cbe9;},'gFZAQ':function(_0x5b7ef8,_0x1fc9b7){return _0x5b7ef8+_0x1fc9b7;},'ZiHcm':function(_0x614371,_0x25657f){return _0x614371+_0x25657f;},'VMdeD':function(_0x211c80,_0x3d1089){return _0x211c80+_0x3d1089;},'AzdzV':'test','yNTwf':_0x3f1b99(0x226),'OWHby':'cucumber','EdYNK':'pending','IxcmA':_0x3f1b99(0x1d6),'QsxIx':function(_0x42454b,_0x3f0169){return _0x42454b!==_0x3f0169;},'aMnDf':function(_0x333bc3,_0x5767b4){return _0x333bc3/_0x5767b4;},'xYviA':function(_0x8df648,_0x444963){return _0x8df648===_0x444963;},'klhMI':_0x3f1b99(0x214),'PCZrO':function(_0x16f626,_0x3257a4){return _0x16f626(_0x3257a4);},'TDwGJ':'unknown','vHOSR':_0x3f1b99(0x23d),'GyfPt':'UnhandledError'},{feature:_0x415593,scenario:_0x4ca7b3,steps:_0x24192b,uuid:_0x5f427,startedAt:_0x5c223b,finishedAt:_0x18d0e9}=_0x5b1024['vdRlS'](_0x13f3d4,{}),_0x2ef432=this['getScenarioExamples'](_0x1b6402,_0x955685);await this['configureGit']();const _0x37ee09=_0x2ef432?_0x5b1024[_0x3f1b99(0x24d)](_0x5b1024['ZiHcm'](_0x5b1024[_0x3f1b99(0x213)](_0x955685[_0x3f1b99(0x205)],'\x20('),_0x2ef432[_0x3f1b99(0x21d)](',\x20')),')'):_0x955685[_0x3f1b99(0x205)],_0x386e11={'id':_0x2e5eca,'uuid':_0x2e5eca,'startedAt':_0x5c223b,'finishedAt':_0x18d0e9,'type':_0x5b1024[_0x3f1b99(0x237)],'body':{'lang':_0x5b1024[_0x3f1b99(0x1d2)],'code':null},'name':_0x37ee09,'scopes':[_0x415593&&_0x415593[_0x3f1b99(0x205)]?_0x415593[_0x3f1b99(0x205)]:''],'tags':_0x955685[_0x3f1b99(0x1f3)]?_0x955685[_0x3f1b99(0x1f3)][_0x3f1b99(0x20e)](({name:_0x2c90cd})=>_0x2c90cd):[],'file_name':_0x955685['uri'],'location':_0x955685[_0x3f1b99(0x23f)],'vc_filepath':this[_0x3f1b99(0x1e8)]&&_0x955685[_0x3f1b99(0x23f)]?path[_0x3f1b99(0x1dc)](this[_0x3f1b99(0x1e8)],_0x955685[_0x3f1b99(0x23f)]):null,'framework':_0x5b1024[_0x3f1b99(0x1ec)],'result':_0x5b1024[_0x3f1b99(0x23c)],'meta':{'feature':_0x415593,'scenario':_0x4ca7b3,'steps':_0x24192b,'examples':_0x2ef432},'customRerunParam':{'rerun_name':_0x37ee09}};if(_0x3e0157[_0x3f1b99(0x245)]&&_0x24192b){const _0x5a5de7=_0x3e0157[_0x3f1b99(0x245)];let _0x11a988=_0x5b1024['IxcmA'];_0x24192b['every'](_0x15d2c5=>{const _0x46ac7c=_0x3f1b99;if(_0x5b1024[_0x46ac7c(0x1e3)](_0x15d2c5[_0x46ac7c(0x22d)],_0x5b1024[_0x46ac7c(0x210)]))return _0x11a988=_0x5b1024['bwVXD'],_0x5a5de7[_0x46ac7c(0x20d)]=_0x15d2c5[_0x46ac7c(0x20d)],_0x5a5de7[_0x46ac7c(0x217)]=_0x15d2c5[_0x46ac7c(0x217)],![];else{if(_0x5b1024[_0x46ac7c(0x1e3)](_0x15d2c5[_0x46ac7c(0x22d)],_0x5b1024['KKTBO']))return _0x11a988=_0x5b1024[_0x46ac7c(0x209)],![];}return!![];}),_0x386e11[_0x3f1b99(0x20b)]=new Date()['toISOString'](),_0x386e11[_0x3f1b99(0x22d)]=_0x11a988;_0x5a5de7['timestamp']&&_0x5b1024['QsxIx'](_0x5a5de7[_0x3f1b99(0x1e1)][_0x3f1b99(0x1f5)],undefined)?_0x386e11['duration_in_ms']=_0x5b1024['aMnDf'](_0x5a5de7[_0x3f1b99(0x1e1)]['nanos'],0xf4240):_0x386e11['duration_in_ms']=undefined;if(_0x5b1024[_0x3f1b99(0x20c)](_0x11a988,_0x5b1024[_0x3f1b99(0x23e)])){const {default:_0x5ada09}=await import(_0x5b1024[_0x3f1b99(0x1d4)]);_0x386e11[_0x3f1b99(0x20d)]=[{'backtrace':[_0x5a5de7['failure']?_0x5b1024[_0x3f1b99(0x1d5)](_0x5ada09,_0x5a5de7[_0x3f1b99(0x20d)]):_0x5b1024[_0x3f1b99(0x246)]]}],_0x386e11['failure_reason']=_0x5a5de7['failure']?_0x5b1024[_0x3f1b99(0x1d5)](_0x5ada09,_0x5a5de7[_0x3f1b99(0x20d)]):_0x5a5de7[_0x3f1b99(0x21b)],_0x5a5de7[_0x3f1b99(0x217)]&&(_0x386e11[_0x3f1b99(0x24b)]=_0x5a5de7[_0x3f1b99(0x217)]['match'](/AssertError/)?_0x5b1024['vHOSR']:_0x5b1024[_0x3f1b99(0x20a)]);}}return _0x386e11;}[a118_0x17ccc0(0x203)](_0x4c5054,_0x5e2874,_0x532ba2,_0xdf5134,_0x522d22,_0xb02040){const _0x48a658=a118_0x17ccc0,_0x262705={'tIuKl':function(_0xa8a5e0,_0x3ffad2){return _0xa8a5e0===_0x3ffad2;},'ImxUe':_0x48a658(0x1f0),'cygaO':function(_0xa10111,_0x38d920,_0x4749c7){return _0xa10111(_0x38d920,_0x4749c7);},'LqKbI':_0x48a658(0x1da),'piAcK':_0x48a658(0x23f),'EBMfF':'pending','nEzRZ':_0x48a658(0x204),'btOCB':_0x48a658(0x226),'tZooa':_0x48a658(0x1e9),'PvWNs':'name','fikuE':function(_0x1cd552,_0x4833c6,_0xbc8e60){return _0x1cd552(_0x4833c6,_0xbc8e60);},'QGZMZ':_0x48a658(0x1cb)};try{if(_0x262705['tIuKl'](_0x532ba2,_0x262705[_0x48a658(0x1ef)])){const _0x4112e7=new Date()[_0x48a658(0x1fe)](),_0x4d83b9=hooksMap[_0x5e2874];if(!_0x4d83b9)return;const _0x4d9afd=_0x4d83b9[_0x48a658(0x221)](_0x35e86c=>_0x35e86c[_0x48a658(0x1e6)]===_0xdf5134['id']);if(!_0x4d9afd)return;const _0xb12115=this[_0x48a658(0x1d1)](_0x4c5054,_0x5e2874);_0x4d9afd[_0x48a658(0x22d)]=_0xb12115['status'],_0x4d9afd['finished_at']=_0x4112e7,_0x4d9afd[_0x48a658(0x24b)]=_0xb12115[_0x48a658(0x217)];const _0x90b25={};return _0x90b25['backtrace']=_0xb12115['failureData'],_0x4d9afd['failure_data']=[_0x90b25],_0x4d9afd;}const _0x5d61ef=TestInfo[_0x48a658(0x1cd)](_0x5e2874),_0x558db4=_0x4c5054['hooks']['find'](_0xbe7c8f=>_0xbe7c8f['id']===_0xdf5134['hookId']),_0x214591=_0x262705['cygaO'](nestedKeyValue,_0x558db4,[_0x262705[_0x48a658(0x249)],_0x262705[_0x48a658(0x1fb)]]),_0x723a6c=new Date()[_0x48a658(0x1fe)](),_0x5efaf4=_0x262705[_0x48a658(0x232)],_0x53920c=_0x558db4['tagExpression']?_0x558db4[_0x48a658(0x1df)][_0x48a658(0x1ee)]('\x20')[_0x48a658(0x230)](_0x3fde84=>_0x3fde84[_0x48a658(0x200)]('@')):[],_0x3a4680={'uuid':_0xdf5134['id'],'type':_0x262705[_0x48a658(0x22c)],'hook_type':_0xb02040,'name':_0x558db4[_0x48a658(0x205)],'body':{'lang':_0x262705[_0x48a658(0x247)],'code':null},'tags':_0x53920c,'test_run_id':_0x5d61ef,'scope':_0x262705['cygaO'](nestedKeyValue,_0x522d22,[_0x262705[_0x48a658(0x242)],_0x262705[_0x48a658(0x238)]]),'scopes':[_0x262705['fikuE'](nestedKeyValue,_0x522d22,[_0x262705[_0x48a658(0x242)],_0x262705[_0x48a658(0x238)]])||''],'file_name':_0x214591,'location':_0x214591,'vc_filepath':this[_0x48a658(0x1e8)]?path[_0x48a658(0x1dc)](this[_0x48a658(0x1e8)],_0x214591):null,'result':_0x5efaf4,'started_at':_0x723a6c,'framework':_0x262705[_0x48a658(0x22a)]};return _0x3a4680;}catch(_0x57f627){logger[_0x48a658(0x1e5)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x48a658(0x1f4)](_0x57f627)+'\x20');}}async[a118_0x17ccc0(0x1db)](_0x3f3c64,_0x139390,_0x8bb7a5,_0x18eb8f,_0x57b56f,_0x53c8eb){const _0xe95ce=a118_0x17ccc0,_0x493663={'siPny':function(_0x45ee91,_0x227b4b){return _0x45ee91===_0x227b4b;},'PdbVs':_0xe95ce(0x21a),'qhIRo':function(_0x2df483,_0x491c41,_0x32a54e){return _0x2df483(_0x491c41,_0x32a54e);},'Jtadh':_0xe95ce(0x1da),'UWMBN':_0xe95ce(0x23f),'LAioY':_0xe95ce(0x22e),'KNJfE':function(_0x5d866d,_0x3b1b28){return _0x5d866d===_0x3b1b28;},'SgBUD':'bstack'};try{const _0x1c6ea5=_0x18eb8f[_0xe95ce(0x221)](_0x15ca99=>_0x15ca99['id']===_0x57b56f);if(!_0x1c6ea5[_0xe95ce(0x24e)])return;const _0x9fa361=this['getCucumberHookType'](_0x18eb8f,_0x1c6ea5),_0x56c7d3=this['getHookRunEventData'](_0x3f3c64,_0x139390,_0x8bb7a5,_0x1c6ea5,_0x53c8eb,_0x9fa361);if(!_0x56c7d3)return;_0x493663[_0xe95ce(0x215)](_0x8bb7a5,_0x493663[_0xe95ce(0x1f8)])&&(hooksMap[_0x139390]?hooksMap[_0x139390][_0xe95ce(0x1d9)](_0x56c7d3):hooksMap[_0x139390]=[_0x56c7d3]);const _0x28f49c=_0x3f3c64['hooks']['find'](_0x3e6a29=>_0x3e6a29['id']===_0x1c6ea5['hookId']),_0x490833=_0x493663[_0xe95ce(0x234)](nestedKeyValue,_0x28f49c,[_0x493663['Jtadh'],_0x493663['UWMBN']]);if(!_0x490833)return;else{if(_0x490833['includes'](_0x493663['LAioY']))return;}if(_0x493663[_0xe95ce(0x1f6)](_0x56c7d3[_0xe95ce(0x205)],_0x493663[_0xe95ce(0x1dd)]))return;return _0x56c7d3;}catch(_0x8d389e){logger['debug'](_0xe95ce(0x1e0)+util[_0xe95ce(0x1f4)](_0x8d389e)+'\x20');}}[a118_0x17ccc0(0x1d1)](_0x2881d0,_0x5dfbca){const _0x1639ac=a118_0x17ccc0,_0x3dfa2a={};_0x3dfa2a[_0x1639ac(0x1d8)]=function(_0x2817be,_0x470619){return _0x2817be===_0x470619;},_0x3dfa2a[_0x1639ac(0x1fc)]=_0x1639ac(0x223),_0x3dfa2a[_0x1639ac(0x1d3)]=function(_0x89f4b9,_0x4d762f){return _0x89f4b9===_0x4d762f;},_0x3dfa2a[_0x1639ac(0x216)]=function(_0x287f28,_0x4ab516){return _0x287f28===_0x4ab516;},_0x3dfa2a['njmaF']=_0x1639ac(0x208),_0x3dfa2a[_0x1639ac(0x23a)]='AssertionError',_0x3dfa2a['fuzxL']=function(_0x416418,_0x2fc9d1){return _0x416418||_0x2fc9d1;};const _0xc17a8d=_0x3dfa2a,_0x5f1416=_0x2881d0['testStepFinished'][_0x5dfbca][_0x1639ac(0x233)];let _0x47f949,_0x42b7a2;return _0x5f1416&&_0xc17a8d[_0x1639ac(0x1d8)](_0x5f1416[_0x1639ac(0x21f)]['toString']()[_0x1639ac(0x218)](),_0xc17a8d[_0x1639ac(0x1fc)])&&(_0x47f949=_0xc17a8d[_0x1639ac(0x1d3)](_0x5f1416[_0x1639ac(0x1d7)],undefined)?_0x5f1416[_0x1639ac(0x21b)]:_0x5f1416['exception']['message'],_0x42b7a2=_0xc17a8d[_0x1639ac(0x216)](_0x5f1416[_0x1639ac(0x1d7)],undefined)?_0xc17a8d[_0x1639ac(0x235)]:_0x5f1416[_0x1639ac(0x21b)][_0x1639ac(0x201)](/Assert/)?_0xc17a8d[_0x1639ac(0x23a)]:_0xc17a8d['njmaF']),{'status':_0x5f1416[_0x1639ac(0x21f)][_0x1639ac(0x218)](),'failureType':_0xc17a8d[_0x1639ac(0x24c)](_0x42b7a2,null),'failureData':!_0x47f949?null:[_0x47f949]};}[a118_0x17ccc0(0x1f2)](_0xabbc60,_0x1d45fe){const _0x33458c=a118_0x17ccc0,_0x4efc1d={};_0x4efc1d['vywou']=function(_0x47b5b4,_0x4927af){return _0x47b5b4===_0x4927af;},_0x4efc1d['PrgpC']=_0x33458c(0x224),_0x4efc1d[_0x33458c(0x23b)]=_0x33458c(0x22f);const _0x38d5b2=_0x4efc1d;let _0xeb7733=![];for(const _0x4c8dc4 of _0xabbc60){_0x4c8dc4[_0x33458c(0x225)]&&(_0xeb7733=!![]);if(_0x38d5b2[_0x33458c(0x1cc)](_0x1d45fe['id'],_0x4c8dc4['id']))return _0xeb7733?_0x38d5b2['PrgpC']:_0x38d5b2[_0x33458c(0x23b)];}}[a118_0x17ccc0(0x1e7)]=(_0x4dbb6e,_0x558dbf)=>{const _0x19efd5=a118_0x17ccc0,_0x5a0867={};_0x5a0867[_0x19efd5(0x229)]=function(_0x25fcd2,_0x518682){return _0x25fcd2===_0x518682;},_0x5a0867[_0x19efd5(0x21c)]=function(_0x128418,_0x35e24f){return _0x128418===_0x35e24f;},_0x5a0867[_0x19efd5(0x1fa)]=function(_0x4c1ca9,_0xc11991){return _0x4c1ca9>_0xc11991;};const _0x57e529=_0x5a0867;if(!(_0x558dbf[_0x19efd5(0x1f7)]&&_0x57e529[_0x19efd5(0x1fa)](_0x558dbf['astNodeIds'][_0x19efd5(0x207)],0x1)))return;const _0x149bc1=_0x558dbf[_0x19efd5(0x1f7)][0x0],_0x54067a=_0x558dbf[_0x19efd5(0x1f7)][0x1],_0x2e397f=_0x4dbb6e['feature']&&_0x4dbb6e['feature'][_0x19efd5(0x212)]?_0x4dbb6e[_0x19efd5(0x1e9)][_0x19efd5(0x212)]:undefined;let _0x4fd096=[];_0x2e397f&&_0x2e397f[_0x19efd5(0x219)](_0x37e6f6=>{const _0x46638a=_0x19efd5,_0x3cf637={'aoFpe':function(_0x1351e8,_0x1c8b5b){const _0x5212a2=a118_0x3144;return _0x57e529[_0x5212a2(0x229)](_0x1351e8,_0x1c8b5b);}};if(_0x37e6f6[_0x46638a(0x228)])_0x37e6f6[_0x46638a(0x228)][_0x46638a(0x212)]['forEach'](_0x31882c=>{const _0x5c7691=_0x46638a;if(_0x31882c[_0x5c7691(0x239)]&&_0x3cf637['aoFpe'](_0x31882c[_0x5c7691(0x239)]['id'],_0x149bc1)&&_0x31882c[_0x5c7691(0x239)]['examples']){const _0x38a3fc=_0x31882c[_0x5c7691(0x239)]['examples']['flatMap'](_0x5d5815=>_0x5d5815['tableBody'])[_0x5c7691(0x221)](_0x5cc780=>_0x5cc780['id']===_0x54067a);let _0x3e78e4;_0x38a3fc&&_0x38a3fc[_0x5c7691(0x21e)]?_0x3e78e4=_0x38a3fc['cells'][_0x5c7691(0x20e)](_0x3f4e44=>_0x3f4e44[_0x5c7691(0x1f1)]):_0x3e78e4=[],_0x3e78e4&&(_0x4fd096=_0x3e78e4);}});else{if(_0x37e6f6[_0x46638a(0x239)]&&_0x57e529[_0x46638a(0x21c)](_0x37e6f6['scenario']['id'],_0x149bc1)&&_0x37e6f6[_0x46638a(0x239)]['examples']){const _0x758191=_0x37e6f6[_0x46638a(0x239)]['examples'][_0x46638a(0x1fd)](_0x49f768=>_0x49f768[_0x46638a(0x231)])[_0x46638a(0x221)](_0x1e5663=>_0x1e5663['id']===_0x54067a);let _0x3d81de;_0x758191&&_0x758191['cells']?_0x3d81de=_0x758191[_0x46638a(0x21e)][_0x46638a(0x20e)](_0x18c379=>_0x18c379['value']):_0x3d81de=[],_0x3d81de&&(_0x4fd096=_0x3d81de);}}});if(_0x4fd096[_0x19efd5(0x207)])return _0x4fd096;return;};async[a118_0x17ccc0(0x22b)](){const _0x8777a4=a118_0x17ccc0,_0x5d10d3={'SZuFX':function(_0x6add76){return _0x6add76();}};if(this['_gitConfigured'])return this[_0x8777a4(0x1e8)];const _0x27f7da=await _0x5d10d3[_0x8777a4(0x1ed)](getGitMetaData);_0x27f7da&&(this[_0x8777a4(0x1e8)]=_0x27f7da[_0x8777a4(0x1ce)]),this[_0x8777a4(0x211)]=!![];}}function a118_0x27dc(){const _0x5f4042=['gwzeS','2001126UFbLPK','debug','uuid','getScenarioExamples','_gitConfigPath','feature','path','1493840RkPZoC','OWHby','SZuFX','split','ImxUe','HookRunFinished','value','getCucumberHookType','tags','format','nanos','KNJfE','astNodeIds','PdbVs','../../../helpers/helper.js','WOogw','piAcK','kRHsX','flatMap','toISOString','../TestInfo.js','includes','match','util','getHookRunEventData','hook','name','2878630UZlSVs','length','UnhandledError','eIeMV','GyfPt','finishedAt','xYviA','failure','map','SKIPPED','JNBye','_gitConfigured','children','VMdeD','strip-ansi','siPny','ebKIR','failureType','toLowerCase','forEach','HookRunStarted','message','mmqoi','join','cells','status','FAILED','find','exports','failed','AFTER_EACH','pickleStepId','javascript','../../../helpers/test-observability/error-handler.js','rule','DijeA','QGZMZ','configureGit','nEzRZ','result','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','BEFORE_EACH','filter','tableBody','EBMfF','testStepResult','qhIRo','njmaF','4702920mwhtPm','AzdzV','PvWNs','scenario','rwaTp','hqHAY','EdYNK','AssertionError','bwVXD','uri','9IYKRzK','11dOVUGr','tZooa','sendHook','310424spEyqT','testCaseFinished','TDwGJ','btOCB','42CGGVoH','LqKbI','4LEfAjM','failure_type','fuzxL','gFZAQ','hookId','cucumber','vywou','getTestUUID','root','sendTestRunEventForCucumber','582122SciZKQ','getHookResult','yNTwf','dirsI','klhMI','PCZrO','passed','exception','cAORF','push','sourceReference','createHookData','relative','SgBUD','winstonLogger','tagExpression','Exception\x20in\x20createHookData:\x20','timestamp','134169DkkHsQ'];a118_0x27dc=function(){return _0x5f4042;};return a118_0x27dc();}module[a118_0x17ccc0(0x222)]=o11yClassErrorHandler(CucumberUtils,[a118_0x17ccc0(0x22b),'getScenarioExamples',a118_0x17ccc0(0x1f2),a118_0x17ccc0(0x1d1),a118_0x17ccc0(0x243),a118_0x17ccc0(0x203),a118_0x17ccc0(0x1cf),'createTestFrameworkData']);
|
|
1
|
+
const a118_0xd67bac=a118_0x23f8;(function(_0x35fab3,_0x50f1d2){const _0x22108b=a118_0x23f8,_0x40927d=_0x35fab3();while(!![]){try{const _0x2d2cb6=-parseInt(_0x22108b(0x12a))/0x1+-parseInt(_0x22108b(0x14c))/0x2+parseInt(_0x22108b(0x13c))/0x3+-parseInt(_0x22108b(0xe4))/0x4*(-parseInt(_0x22108b(0x12c))/0x5)+-parseInt(_0x22108b(0x140))/0x6+-parseInt(_0x22108b(0xfb))/0x7*(parseInt(_0x22108b(0xc1))/0x8)+parseInt(_0x22108b(0x12f))/0x9*(parseInt(_0x22108b(0x108))/0xa);if(_0x2d2cb6===_0x50f1d2)break;else _0x40927d['push'](_0x40927d['shift']());}catch(_0x290d3c){_0x40927d['push'](_0x40927d['shift']());}}}(a118_0x2f6f,0xa2785));function a118_0x2f6f(){const _0x8db8b5=['failure','316QiJUBx','duration_in_ms','finished_at','EkDhj','failureData','ZVqsw','finishedAt','_gitConfigPath','OwXRi','failureType','SKIPPED','passed','HookRunStarted','join','zvnnl','message','XxIYC','uRKWF','dsjPB','hooks','OXOnb','match','uuid','2493841kdhUii','Ihhfc','testStepResult','wyflA','relative','cBjft','HookRunFinished','JfImu','ygrnE','failed','createHookData','format','yHJAq','10033630GxHRIr','../../../helpers/helper.js','flatMap','tagExpression','result','toString','tKpwa','toLowerCase','examples','hUGII','hook','configureGit','FAILED','split','bstack','unknown','FPXQY','cucumber','pickleStepId','ODKPQ','CdLgp','OOOMq','zVgqY','AssertionError','createTestFrameworkData','getCucumberHookType','timestamp','JzZKZ','util','aEERs','push','IecWN','HVYOc','strip-ansi','1088955dUBDcE','skipped','9395hdqHIK','ZddRf','debug','18zXXyAL','LSiHN','gguWp','UDOHV','_gitConfigured','mxvdY','getHookRunEventData','name','tags','HTWju','map','cells','sendHook','3227181hFmVXS','test','lZmJm','forEach','1943526yMeMaG','getScenarioExamples','toISOString','aKIRN','sourceReference','testStepFinished','status','GqEdX','lMLrz','failure_reason','every','value','167504WXWHDm','exports','path','uri','root','find','rvFkc','eWoQX','../../../helpers/test-observability/error-handler.js','24luyalf','Exception\x20in\x20getHookRunEventData:\x20','exception','Exception\x20in\x20createHookData:\x20','tableBody','getHookResult','BQrVb','uXcdd','umajO','scenario','mOGXq','NSEpP','JobxT','testCaseFinished','rule','UIfIh','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','astNodeIds','javascript','PsWeF','length','qvasV','nanos','hookId','includes','jREOH','UnhandledError','feature','ikFSr','failure_type','fEJgd','failure_data','sendTestRunEventForCucumber','RWZsA'];a118_0x2f6f=function(){return _0x8db8b5;};return a118_0x2f6f();}const path=require(a118_0xd67bac(0x14e)),util=require(a118_0xd67bac(0x124)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0xd67bac(0x109)),logger=require('../../../helpers/logger.js')['winstonLogger'],{o11yClassErrorHandler}=require(a118_0xd67bac(0xc0)),TestInfo=require('../TestInfo.js'),hooksMap={};function a118_0x23f8(_0x3104fa,_0x5ab719){const _0x2f6f4d=a118_0x2f6f();return a118_0x23f8=function(_0x23f848,_0x3db23c){_0x23f848=_0x23f848-0xbb;let _0x37b24e=_0x2f6f4d[_0x23f848];return _0x37b24e;},a118_0x23f8(_0x3104fa,_0x5ab719);}class CucumberUtils{constructor(){const _0x67457b=a118_0xd67bac;this[_0x67457b(0x133)]=![],this[_0x67457b(0xeb)]=null;}async[a118_0xd67bac(0x120)](_0x5b9592,_0x3bdc64,_0x2e9d29,_0x230112,_0x704198,_0x2502b5){const _0x3f887c=a118_0xd67bac,_0x25ba4e={'NSEpP':function(_0x18d6b6,_0x1b38c0){return _0x18d6b6===_0x1b38c0;},'RWZsA':_0x3f887c(0x114),'rvFkc':_0x3f887c(0x104),'umajO':function(_0x114939,_0xa93b9){return _0x114939===_0xa93b9;},'fEJgd':_0x3f887c(0xee),'aMzwj':_0x3f887c(0x12b),'BQrVb':function(_0x6a042d,_0x107090){return _0x6a042d||_0x107090;},'uXcdd':function(_0x2cfbe0,_0x3ce1ba){return _0x2cfbe0+_0x3ce1ba;},'IecWN':function(_0x1a523b,_0x5595ce){return _0x1a523b+_0x5595ce;},'ZddRf':_0x3f887c(0x13d),'ikFSr':_0x3f887c(0xd3),'UDOHV':_0x3f887c(0x119),'OXOnb':'pending','OxHHH':_0x3f887c(0xef),'ScQSg':function(_0x4bc5a5,_0x122247){return _0x4bc5a5!==_0x122247;},'mOGXq':function(_0x541a87,_0x17902f){return _0x541a87/_0x17902f;},'qvasV':_0x3f887c(0x129),'OOOMq':function(_0x34ff4b,_0x32d281){return _0x34ff4b(_0x32d281);},'gguWp':_0x3f887c(0x117),'ZVqsw':function(_0x328a4a,_0x17f8f){return _0x328a4a(_0x17f8f);},'Ihhfc':_0x3f887c(0x11f),'XxIYC':_0x3f887c(0xdb)},{feature:_0x214e86,scenario:_0x175276,steps:_0x4325a4,uuid:_0x54aec5,startedAt:_0x140e30,finishedAt:_0x37b74e}=_0x25ba4e[_0x3f887c(0xc7)](_0x5b9592,{}),_0x5f0399=this[_0x3f887c(0x141)](_0x230112,_0x3bdc64);await this[_0x3f887c(0x113)]();const _0x344d33=_0x5f0399?_0x25ba4e[_0x3f887c(0xc8)](_0x25ba4e[_0x3f887c(0xc8)](_0x25ba4e[_0x3f887c(0x127)](_0x3bdc64[_0x3f887c(0x136)],'\x20('),_0x5f0399[_0x3f887c(0xf1)](',\x20')),')'):_0x3bdc64[_0x3f887c(0x136)],_0x526e07={'id':_0x704198,'uuid':_0x704198,'startedAt':_0x140e30,'finishedAt':_0x37b74e,'type':_0x25ba4e[_0x3f887c(0x12d)],'body':{'lang':_0x25ba4e[_0x3f887c(0xdd)],'code':null},'name':_0x344d33,'scopes':[_0x214e86&&_0x214e86['name']?_0x214e86[_0x3f887c(0x136)]:''],'tags':_0x3bdc64[_0x3f887c(0x137)]?_0x3bdc64[_0x3f887c(0x137)][_0x3f887c(0x139)](({name:_0x52c1a4})=>_0x52c1a4):[],'file_name':_0x3bdc64[_0x3f887c(0xbb)],'location':_0x3bdc64[_0x3f887c(0xbb)],'vc_filepath':this[_0x3f887c(0xeb)]&&_0x3bdc64[_0x3f887c(0xbb)]?path[_0x3f887c(0xff)](this[_0x3f887c(0xeb)],_0x3bdc64[_0x3f887c(0xbb)]):null,'framework':_0x25ba4e[_0x3f887c(0x132)],'result':_0x25ba4e[_0x3f887c(0xf8)],'meta':{'feature':_0x214e86,'scenario':_0x175276,'steps':_0x4325a4,'examples':_0x5f0399},'customRerunParam':{'rerun_name':_0x344d33}};if(_0x2e9d29[_0x3f887c(0xce)]&&_0x4325a4){const _0x2e18c4=_0x2e9d29['testCaseFinished'];let _0x3b8f82=_0x25ba4e['OxHHH'];_0x4325a4[_0x3f887c(0x14a)](_0x2b557b=>{const _0x22dc75=_0x3f887c;if(_0x25ba4e[_0x22dc75(0xcc)](_0x2b557b[_0x22dc75(0x10c)],_0x25ba4e[_0x22dc75(0xe2)]))return _0x3b8f82=_0x25ba4e[_0x22dc75(0xbe)],_0x2e18c4['failure']=_0x2b557b[_0x22dc75(0xe3)],_0x2e18c4[_0x22dc75(0xed)]=_0x2b557b['failureType'],![];else{if(_0x25ba4e[_0x22dc75(0xc9)](_0x2b557b[_0x22dc75(0x10c)],_0x25ba4e[_0x22dc75(0xdf)]))return _0x3b8f82=_0x25ba4e['aMzwj'],![];}return!![];}),_0x526e07[_0x3f887c(0xea)]=new Date()[_0x3f887c(0x142)](),_0x526e07['result']=_0x3b8f82;_0x2e18c4[_0x3f887c(0x122)]&&_0x25ba4e['ScQSg'](_0x2e18c4[_0x3f887c(0x122)][_0x3f887c(0xd7)],undefined)?_0x526e07[_0x3f887c(0xe5)]=_0x25ba4e[_0x3f887c(0xcb)](_0x2e18c4[_0x3f887c(0x122)][_0x3f887c(0xd7)],0xf4240):_0x526e07['duration_in_ms']=undefined;if(_0x25ba4e[_0x3f887c(0xc9)](_0x3b8f82,_0x25ba4e[_0x3f887c(0xbe)])){const {default:_0x18803b}=await import(_0x25ba4e[_0x3f887c(0xd6)]);_0x526e07[_0x3f887c(0xe3)]=[{'backtrace':[_0x2e18c4['failure']?_0x25ba4e[_0x3f887c(0x11d)](_0x18803b,_0x2e18c4[_0x3f887c(0xe3)]):_0x25ba4e[_0x3f887c(0x131)]]}],_0x526e07[_0x3f887c(0x149)]=_0x2e18c4[_0x3f887c(0xe3)]?_0x25ba4e[_0x3f887c(0xe9)](_0x18803b,_0x2e18c4[_0x3f887c(0xe3)]):_0x2e18c4[_0x3f887c(0xf3)],_0x2e18c4[_0x3f887c(0xed)]&&(_0x526e07['failure_type']=_0x2e18c4[_0x3f887c(0xed)]['match'](/AssertError/)?_0x25ba4e[_0x3f887c(0xfc)]:_0x25ba4e[_0x3f887c(0xf4)]);}}return _0x526e07;}[a118_0xd67bac(0x135)](_0x4a911e,_0x5e0f9f,_0x19d0e4,_0x42e4e7,_0x46445f,_0x214c2e){const _0x4cd53a=a118_0xd67bac,_0x2191c2={'JfImu':function(_0x354f53,_0x4e7793){return _0x354f53===_0x4e7793;},'FPXQY':_0x4cd53a(0x101),'uRKWF':function(_0x1ab7c0,_0x821c80,_0xe4d78){return _0x1ab7c0(_0x821c80,_0xe4d78);},'PsWeF':_0x4cd53a(0x144),'yHJAq':'uri','eWoQX':'pending','aEERs':_0x4cd53a(0x112),'cBjft':_0x4cd53a(0xd3),'xshGs':function(_0x5cf92a,_0x3f2f5e,_0x30954d){return _0x5cf92a(_0x3f2f5e,_0x30954d);},'ODKPQ':_0x4cd53a(0xdc),'jREOH':_0x4cd53a(0x136),'LSiHN':function(_0xea5ec0,_0x4d92fb,_0x3dd2fe){return _0xea5ec0(_0x4d92fb,_0x3dd2fe);},'lMLrz':'cucumber'};try{if(_0x2191c2[_0x4cd53a(0x102)](_0x19d0e4,_0x2191c2[_0x4cd53a(0x118)])){const _0x377a9f=new Date()[_0x4cd53a(0x142)](),_0x5259cf=hooksMap[_0x5e0f9f];if(!_0x5259cf)return;const _0x4f8d10=_0x5259cf['find'](_0x20231b=>_0x20231b[_0x4cd53a(0xfa)]===_0x42e4e7['id']);if(!_0x4f8d10)return;const _0x2a5c5d=this['getHookResult'](_0x4a911e,_0x5e0f9f);_0x4f8d10[_0x4cd53a(0x10c)]=_0x2a5c5d[_0x4cd53a(0x146)],_0x4f8d10[_0x4cd53a(0xe6)]=_0x377a9f,_0x4f8d10[_0x4cd53a(0xde)]=_0x2a5c5d['failureType'];const _0x319a31={};return _0x319a31['backtrace']=_0x2a5c5d[_0x4cd53a(0xe8)],_0x4f8d10[_0x4cd53a(0xe0)]=[_0x319a31],_0x4f8d10;}const _0xc04b85=TestInfo['getTestUUID'](_0x5e0f9f),_0x368772=_0x4a911e['hooks'][_0x4cd53a(0xbd)](_0x169289=>_0x169289['id']===_0x42e4e7['hookId']),_0x280682=_0x2191c2[_0x4cd53a(0xf5)](nestedKeyValue,_0x368772,[_0x2191c2[_0x4cd53a(0xd4)],_0x2191c2[_0x4cd53a(0x107)]]),_0x560c50=new Date()[_0x4cd53a(0x142)](),_0x369ae8=_0x2191c2[_0x4cd53a(0xbf)],_0xd09136=_0x368772[_0x4cd53a(0x10b)]?_0x368772[_0x4cd53a(0x10b)][_0x4cd53a(0x115)]('\x20')['filter'](_0x26b791=>_0x26b791[_0x4cd53a(0xd9)]('@')):[],_0x405828={'uuid':_0x42e4e7['id'],'type':_0x2191c2[_0x4cd53a(0x125)],'hook_type':_0x214c2e,'name':_0x368772['name'],'body':{'lang':_0x2191c2[_0x4cd53a(0x100)],'code':null},'tags':_0xd09136,'test_run_id':_0xc04b85,'scope':_0x2191c2['xshGs'](nestedKeyValue,_0x46445f,[_0x2191c2[_0x4cd53a(0x11b)],_0x2191c2[_0x4cd53a(0xda)]]),'scopes':[_0x2191c2[_0x4cd53a(0x130)](nestedKeyValue,_0x46445f,[_0x2191c2[_0x4cd53a(0x11b)],_0x2191c2[_0x4cd53a(0xda)]])||''],'file_name':_0x280682,'location':_0x280682,'vc_filepath':this[_0x4cd53a(0xeb)]?path['relative'](this[_0x4cd53a(0xeb)],_0x280682):null,'result':_0x369ae8,'started_at':_0x560c50,'framework':_0x2191c2[_0x4cd53a(0x148)]};return _0x405828;}catch(_0xbfd9f6){logger[_0x4cd53a(0x12e)](_0x4cd53a(0xc2)+util['format'](_0xbfd9f6)+'\x20');}}async[a118_0xd67bac(0x105)](_0x35ffd1,_0x4cd0d0,_0x54a0e1,_0x2b4b5d,_0x2627c9,_0x473a61){const _0xede2b3=a118_0xd67bac,_0x2d5b68={'wyflA':function(_0x806b7b,_0x3736ad){return _0x806b7b===_0x3736ad;},'OwXRi':_0xede2b3(0xf0),'HTWju':function(_0x5831ac,_0x289f52,_0x455b0e){return _0x5831ac(_0x289f52,_0x455b0e);},'aKIRN':_0xede2b3(0x144),'zvnnl':'uri','ZXBmq':_0xede2b3(0xd1),'dsjPB':function(_0x281dd5,_0x65d7dd){return _0x281dd5===_0x65d7dd;},'KNPmS':_0xede2b3(0x116)};try{const _0x393df1=_0x2b4b5d[_0xede2b3(0xbd)](_0x1b1f97=>_0x1b1f97['id']===_0x2627c9);if(!_0x393df1[_0xede2b3(0xd8)])return;const _0xe87e62=this[_0xede2b3(0x121)](_0x2b4b5d,_0x393df1),_0xed215d=this[_0xede2b3(0x135)](_0x35ffd1,_0x4cd0d0,_0x54a0e1,_0x393df1,_0x473a61,_0xe87e62);if(!_0xed215d)return;_0x2d5b68[_0xede2b3(0xfe)](_0x54a0e1,_0x2d5b68[_0xede2b3(0xec)])&&(hooksMap[_0x4cd0d0]?hooksMap[_0x4cd0d0][_0xede2b3(0x126)](_0xed215d):hooksMap[_0x4cd0d0]=[_0xed215d]);const _0x3e22e5=_0x35ffd1[_0xede2b3(0xf7)][_0xede2b3(0xbd)](_0x26af02=>_0x26af02['id']===_0x393df1[_0xede2b3(0xd8)]),_0xd5b7aa=_0x2d5b68[_0xede2b3(0x138)](nestedKeyValue,_0x3e22e5,[_0x2d5b68[_0xede2b3(0x143)],_0x2d5b68[_0xede2b3(0xf2)]]);if(!_0xd5b7aa)return;else{if(_0xd5b7aa[_0xede2b3(0xd9)](_0x2d5b68['ZXBmq']))return;}if(_0x2d5b68[_0xede2b3(0xf6)](_0xed215d['name'],_0x2d5b68['KNPmS']))return;return _0xed215d;}catch(_0x32e97d){logger[_0xede2b3(0x12e)](_0xede2b3(0xc4)+util[_0xede2b3(0x106)](_0x32e97d)+'\x20');}}[a118_0xd67bac(0xc6)](_0x389f6b,_0x24cad4){const _0x1ce2f6=a118_0xd67bac,_0x1840fa={};_0x1840fa[_0x1ce2f6(0x103)]=function(_0x1b28b9,_0x27e1ce){return _0x1b28b9===_0x27e1ce;},_0x1840fa[_0x1ce2f6(0x11e)]=_0x1ce2f6(0x104),_0x1840fa[_0x1ce2f6(0x111)]=function(_0x5e324f,_0x4e6749){return _0x5e324f===_0x4e6749;},_0x1840fa['UIfIh']=function(_0x1e4be0,_0x5198b0){return _0x1e4be0===_0x5198b0;},_0x1840fa[_0x1ce2f6(0x13e)]=_0x1ce2f6(0xdb),_0x1840fa['GqEdX']=_0x1ce2f6(0x11f),_0x1840fa['JzZKZ']=function(_0x119419,_0x1c536d){return _0x119419||_0x1c536d;};const _0x413ddd=_0x1840fa,_0x38ead1=_0x389f6b[_0x1ce2f6(0x145)][_0x24cad4][_0x1ce2f6(0xfd)];let _0x6d4d84,_0x44b0c8;return _0x38ead1&&_0x413ddd[_0x1ce2f6(0x103)](_0x38ead1[_0x1ce2f6(0x146)][_0x1ce2f6(0x10d)]()[_0x1ce2f6(0x10f)](),_0x413ddd['zVgqY'])&&(_0x6d4d84=_0x413ddd[_0x1ce2f6(0x111)](_0x38ead1['exception'],undefined)?_0x38ead1[_0x1ce2f6(0xf3)]:_0x38ead1[_0x1ce2f6(0xc3)][_0x1ce2f6(0xf3)],_0x44b0c8=_0x413ddd[_0x1ce2f6(0xd0)](_0x38ead1[_0x1ce2f6(0xc3)],undefined)?_0x413ddd[_0x1ce2f6(0x13e)]:_0x38ead1['message'][_0x1ce2f6(0xf9)](/Assert/)?_0x413ddd[_0x1ce2f6(0x147)]:_0x413ddd['lZmJm']),{'status':_0x38ead1[_0x1ce2f6(0x146)][_0x1ce2f6(0x10f)](),'failureType':_0x413ddd[_0x1ce2f6(0x123)](_0x44b0c8,null),'failureData':!_0x6d4d84?null:[_0x6d4d84]};}[a118_0xd67bac(0x121)](_0x5eb9e9,_0x181c97){const _0x22a367=a118_0xd67bac,_0x159c59={};_0x159c59[_0x22a367(0x11c)]=function(_0x11e016,_0x23b116){return _0x11e016===_0x23b116;},_0x159c59[_0x22a367(0xe7)]='AFTER_EACH',_0x159c59[_0x22a367(0x128)]='BEFORE_EACH';const _0x4d674e=_0x159c59;let _0x3b7d62=![];for(const _0xaf6f1e of _0x5eb9e9){_0xaf6f1e[_0x22a367(0x11a)]&&(_0x3b7d62=!![]);if(_0x4d674e[_0x22a367(0x11c)](_0x181c97['id'],_0xaf6f1e['id']))return _0x3b7d62?_0x4d674e[_0x22a367(0xe7)]:_0x4d674e['HVYOc'];}}['getScenarioExamples']=(_0x5a0343,_0x2bfacd)=>{const _0x212b88=a118_0xd67bac,_0x12d598={};_0x12d598[_0x212b88(0x10e)]=function(_0x46e6b1,_0x1b01e3){return _0x46e6b1===_0x1b01e3;},_0x12d598[_0x212b88(0x134)]=function(_0x514e2c,_0x2b512f){return _0x514e2c>_0x2b512f;};const _0x4f9fdc=_0x12d598;if(!(_0x2bfacd[_0x212b88(0xd2)]&&_0x4f9fdc[_0x212b88(0x134)](_0x2bfacd[_0x212b88(0xd2)][_0x212b88(0xd5)],0x1)))return;const _0x104781=_0x2bfacd[_0x212b88(0xd2)][0x0],_0xb7d811=_0x2bfacd[_0x212b88(0xd2)][0x1],_0x4bd16d=_0x5a0343['feature']&&_0x5a0343['feature']['children']?_0x5a0343[_0x212b88(0xdc)]['children']:undefined;let _0x1f8c7a=[];_0x4bd16d&&_0x4bd16d[_0x212b88(0x13f)](_0x137ae7=>{const _0xd3e2ba=_0x212b88;if(_0x137ae7[_0xd3e2ba(0xcf)])_0x137ae7[_0xd3e2ba(0xcf)]['children']['forEach'](_0x145b63=>{const _0x2e9dbf=_0xd3e2ba;if(_0x145b63[_0x2e9dbf(0xca)]&&_0x4f9fdc['tKpwa'](_0x145b63[_0x2e9dbf(0xca)]['id'],_0x104781)&&_0x145b63[_0x2e9dbf(0xca)][_0x2e9dbf(0x110)]){const _0x27eb38=_0x145b63[_0x2e9dbf(0xca)][_0x2e9dbf(0x110)][_0x2e9dbf(0x10a)](_0x4dbc47=>_0x4dbc47[_0x2e9dbf(0xc5)])[_0x2e9dbf(0xbd)](_0x3c5bde=>_0x3c5bde['id']===_0xb7d811);let _0x11fda3;_0x27eb38&&_0x27eb38['cells']?_0x11fda3=_0x27eb38[_0x2e9dbf(0x13a)][_0x2e9dbf(0x139)](_0x2b5aea=>_0x2b5aea['value']):_0x11fda3=[],_0x11fda3&&(_0x1f8c7a=_0x11fda3);}});else{if(_0x137ae7[_0xd3e2ba(0xca)]&&_0x4f9fdc[_0xd3e2ba(0x10e)](_0x137ae7['scenario']['id'],_0x104781)&&_0x137ae7[_0xd3e2ba(0xca)]['examples']){const _0x1bb7a6=_0x137ae7['scenario'][_0xd3e2ba(0x110)]['flatMap'](_0x1b2c92=>_0x1b2c92[_0xd3e2ba(0xc5)])[_0xd3e2ba(0xbd)](_0x1502db=>_0x1502db['id']===_0xb7d811);let _0x28711d;_0x1bb7a6&&_0x1bb7a6[_0xd3e2ba(0x13a)]?_0x28711d=_0x1bb7a6[_0xd3e2ba(0x13a)][_0xd3e2ba(0x139)](_0x2ce590=>_0x2ce590[_0xd3e2ba(0x14b)]):_0x28711d=[],_0x28711d&&(_0x1f8c7a=_0x28711d);}}});if(_0x1f8c7a[_0x212b88(0xd5)])return _0x1f8c7a;return;};async[a118_0xd67bac(0x113)](){const _0x275664=a118_0xd67bac,_0x4b2dbc={'JobxT':function(_0x57e7a6){return _0x57e7a6();}};if(this[_0x275664(0x133)])return this[_0x275664(0xeb)];const _0x21c779=await _0x4b2dbc[_0x275664(0xcd)](getGitMetaData);_0x21c779&&(this[_0x275664(0xeb)]=_0x21c779[_0x275664(0xbc)]),this[_0x275664(0x133)]=!![];}}module[a118_0xd67bac(0x14d)]=o11yClassErrorHandler(CucumberUtils,[a118_0xd67bac(0x113),a118_0xd67bac(0x141),a118_0xd67bac(0x121),'getHookResult',a118_0xd67bac(0x13b),'getHookRunEventData',a118_0xd67bac(0xe1),a118_0xd67bac(0x120)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a119_0x2391(){const _0x38ff6d=['treMi','HQUja','\x20from\x20compositeKey:\x20','gPWlx','format','GkTRF','path','gYmMA','failure','started_at','\x22\x20hook\x20for\x20\x22','../../../helpers/logger.js','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','416488bqYqLV','MOAGW','failure_backtrace','find','3183466tkRRqZ','prefixTestPath','recreateIdentifierFromTestInfo','Unknown\x20Test','result','mIapU','cwd','../../../helpers/test-observability/error-handler.js','beforeEach','vWCCo','split','HULAG','kqZNq','finishedAt','reverse','ZzoOg','TestRunSkipped','error','_paths','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','129UITljB','gwUbr','displayName','includes','AFTER_ALL',',\x20testRunId:\x20','2685RuHNbT','toString','getHookRunEventData','zBvSL','hRbtQ','jest-circus','extractTestFilePath','17SZsnvb','root','RVpyg','failed','hook','file','call','2653963ABlIYJ','getHierarchy','err','5354964VcFVZs','MdXqz','esjgm','TwRBP','pid','failure_data','backtrace','isJestInternalHook','testIdentifier','ojeOB','retryOf','xWIqp','pSfYr','../../../helpers/test-observability/utils','stack','afterEach','eeAfa','skipped','OUCYr','passed','configureGit','vqlkg','browserstack-node-agent/src/bin/jest','errorsDetailed','createJestTestIdentifier','../../../helpers/helper.js','Creating\x20hook\x20data\x20for\x20eventType:\x20','createHash','now','type','526ityQlv',',\x20hookUUID:\x20','HookRunStarted','parse','afterAll','startedAt','nPTwi','[jestUtils]\x20No\x20test\x20object\x20provided','sTKYD','Exception\x20in\x20createTestFrameworkData:\x20','getState','util','[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','hooks','test','21ubMriz','zYpcM','../TestInfo.js','File\x20path\x20could\x20not\x20be\x20found','beforeAll','KOWFo','toUpperCase','12XQJWIm','failure_reason','ZCilw','winstonLogger','clearHooksMap','currentTest','idDTL','FiULO',',\x20testIdentifier:\x20','../../../helpers/stackFrameUtils','getTime','10dtMpvy','testAnalyticsId','createTestFrameworkData','ARidF','name','getName','rZucy','4548JDMPek','LXjtw','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','ROOT_DESCRIBE_BLOCK','getTestIdentifier','shSUg','vNvRy','rKLTv','stack-trace','__workerDetails','HIcMo','md5','createIdentifierFromJestTest','failure_reason_expanded','__jestCurrentTestIdentifier','parent','pRKof','testPath','GXydT','pPpGu','bdteb','apply','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','hex','_gitConfigPath','failure_type','toISOString','AFTER_EACH','DlyPX','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','length','TestRunFinished','createHookData','push','_gitConfigured','errors','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','zmPDP','fullName','WwsXI','pending','asyncError','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','duration','title','getFileName','NzyGv','3028nRRPhE','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','getRootParentFile','relative','OqfVp','inspect','debug','IfKnj','javascript','HookRunFinished','match'];a119_0x2391=function(){return _0x38ff6d;};return a119_0x2391();}const a119_0x2e9de9=a119_0x36bf;(function(_0x4303df,_0x2a0008){const _0xf5c2f5=a119_0x36bf,_0x1c666f=_0x4303df();while(!![]){try{const _0x240493=-parseInt(_0xf5c2f5(0xf8))/0x1*(parseInt(_0xf5c2f5(0x120))/0x2)+-parseInt(_0xf5c2f5(0xeb))/0x3*(parseInt(_0xf5c2f5(0xbb))/0x4)+parseInt(_0xf5c2f5(0xf1))/0x5*(parseInt(_0xf5c2f5(0x8c))/0x6)+-parseInt(_0xf5c2f5(0x12f))/0x7*(parseInt(_0xf5c2f5(0xd3))/0x8)+-parseInt(_0xf5c2f5(0x102))/0x9*(-parseInt(_0xf5c2f5(0x85))/0xa)+-parseInt(_0xf5c2f5(0xd7))/0xb+-parseInt(_0xf5c2f5(0x7a))/0xc*(parseInt(_0xf5c2f5(0xff))/0xd);if(_0x240493===_0x2a0008)break;else _0x1c666f['push'](_0x1c666f['shift']());}catch(_0x34dac2){_0x1c666f['push'](_0x1c666f['shift']());}}}(a119_0x2391,0x4cf90));const path=require(a119_0x2e9de9(0xcc)),util=require(a119_0x2e9de9(0x12b)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x2e9de9(0x11b)),logger=require(a119_0x2e9de9(0xd1))[a119_0x2e9de9(0x7d)],{o11yClassErrorHandler}=require(a119_0x2e9de9(0xde)),TestInfo=require(a119_0x2e9de9(0x131)),{failureData,getFailureType,PathHelper}=require(a119_0x2e9de9(0x10f)),stackTrace=require(a119_0x2e9de9(0x94)),{pickUserFrameFile}=require(a119_0x2e9de9(0x83)),a119_0x10833a={};a119_0x10833a[a119_0x2e9de9(0x133)]='BEFORE_ALL',a119_0x10833a[a119_0x2e9de9(0x124)]=a119_0x2e9de9(0xef),a119_0x10833a[a119_0x2e9de9(0xdf)]='BEFORE_EACH',a119_0x10833a[a119_0x2e9de9(0x111)]=a119_0x2e9de9(0xa7);const HOOK_TYPES_MAP=a119_0x10833a,hooksMap={};function a119_0x36bf(_0x1fa59f,_0x455020){const _0x239184=a119_0x2391();return a119_0x36bf=function(_0x36bfd7,_0x20ec27){_0x36bfd7=_0x36bfd7-0x7a;let _0x358053=_0x239184[_0x36bfd7];return _0x358053;},a119_0x36bf(_0x1fa59f,_0x455020);}class JestUtils{constructor(){const _0x22f72c=a119_0x2e9de9;this[_0x22f72c(0xae)]=![],this[_0x22f72c(0xa4)]=null,this['_paths']=new PathHelper({'cwd':process[_0x22f72c(0xdd)]()},undefined);}async['createTestFrameworkData'](_0x4dd86b,_0xd11877,_0x3b088d=a119_0x2e9de9(0xab),_0x18d53b=undefined){const _0x3f91c4=a119_0x2e9de9,_0x5b00b5={'pPpGu':'No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','ZzoOg':'jest-circus','vWCCo':_0x3f91c4(0x132),'GXydT':function(_0x13d2f5,_0x576fbb){return _0x13d2f5!==_0x576fbb;},'IfKnj':_0x3f91c4(0x12e),'zYpcM':_0x3f91c4(0x101),'WwsXI':_0x3f91c4(0xb4),'vNvRy':function(_0x59b9e7,_0x453afb){return _0x59b9e7===_0x453afb;},'vqlkg':_0x3f91c4(0xe7),'nWhWe':_0x3f91c4(0x113),'tgxGf':_0x3f91c4(0xab),'DlyPX':function(_0xb0fab3,_0x1b5055){return _0xb0fab3>_0x1b5055;},'GkTRF':'failed','HtZIN':'passed','HQUja':function(_0x30c8eb,_0x59d684){return _0x30c8eb!==_0x59d684;},'mIapU':function(_0x3ac154,_0x538f1a){return _0x3ac154-_0x538f1a;},'kQkig':_0x3f91c4(0xc3),'ZCilw':'jest','xtYVE':function(_0x1cedd9,_0x1e962d){return _0x1cedd9(_0x1e962d);},'eeAfa':function(_0x3c16c7,_0x256786){return _0x3c16c7===_0x256786;},'dTAFm':function(_0x543d19,_0x46fd3a){return _0x543d19===_0x46fd3a;}};logger[_0x3f91c4(0xc1)](_0x3f91c4(0xb6)+_0x3b088d+_0x3f91c4(0x82)+_0xd11877);try{if(!_0x4dd86b)return logger['debug'](_0x5b00b5[_0x3f91c4(0x9f)]),null;if(_0x4dd86b['fn']&&_0x4dd86b['fn'][_0x3f91c4(0xf2)]()[_0x3f91c4(0xc5)](/browserstack internal helper hook/))return null;await this[_0x3f91c4(0x116)]();let _0x15632f;try{_0x15632f=this[_0x3f91c4(0xbd)](_0x4dd86b);if(_0x15632f&&_0x15632f[_0x3f91c4(0xee)](_0x5b00b5[_0x3f91c4(0xe6)]))return null;}catch(_0xcec820){logger[_0x3f91c4(0xc1)]('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util[_0x3f91c4(0xca)](_0xcec820)),_0x15632f=null;}const _0x2af0df=this[_0x3f91c4(0x100)](_0x4dd86b),_0x9adb4d=this[_0x3f91c4(0x8a)](_0x4dd86b),_0x334275=_0x15632f?this[_0x3f91c4(0xe9)]['prefixTestPath'](_0x15632f):_0x5b00b5[_0x3f91c4(0xe0)];let _0xb57e0f=[];const _0x3cf283=_0x4dd86b['errorsDetailed']||_0x4dd86b[_0x3f91c4(0xaf)];if(_0x5b00b5['GXydT'](_0x3cf283,undefined))_0xb57e0f=[_0x3cf283,_0x5b00b5[_0x3f91c4(0xc2)]];else _0x5b00b5[_0x3f91c4(0x9e)](_0x18d53b,undefined)&&(_0xb57e0f=[_0x18d53b,_0x5b00b5[_0x3f91c4(0x130)]]);const _0x507d75=_0x5b00b5[_0x3f91c4(0x9e)](_0x3cf283,undefined)?util[_0x3f91c4(0xc0)](_0x3cf283[0x0]):_0x5b00b5[_0x3f91c4(0x9e)](_0x18d53b,undefined)?_0x18d53b['toString']():undefined;let _0x2050e4=_0x5b00b5[_0x3f91c4(0xb3)];if(_0x5b00b5[_0x3f91c4(0x92)](_0x3b088d,_0x5b00b5[_0x3f91c4(0x117)]))_0x2050e4=_0x5b00b5['nWhWe'];else _0x5b00b5[_0x3f91c4(0x92)](_0x3b088d,_0x5b00b5['tgxGf'])&&(_0x3cf283&&_0x5b00b5[_0x3f91c4(0xa8)](_0x3cf283['length'],0x0)?_0x2050e4=_0x5b00b5[_0x3f91c4(0xcb)]:_0x2050e4=_0x5b00b5['HtZIN']);let _0x528c14=null;if(_0x5b00b5[_0x3f91c4(0xc7)](_0x4dd86b[_0x3f91c4(0xb7)],undefined))_0x528c14=_0x4dd86b[_0x3f91c4(0xb7)];else(_0x3b088d[_0x3f91c4(0xc5)](/Finished/)||_0x3b088d[_0x3f91c4(0xc5)](/Skipped/))&&(_0x4dd86b[_0x3f91c4(0xcf)]&&(_0x528c14=_0x5b00b5[_0x3f91c4(0xdc)](Date[_0x3f91c4(0x11e)](),new Date(_0x4dd86b['started_at'])[_0x3f91c4(0x84)]())));const _0x53f9e7=_0x4dd86b['fn']?_0x4dd86b['fn'][_0x3f91c4(0xf2)]():null,_0x24ebf3={'id':_0xd11877,'uuid':_0xd11877,'startedAt':_0x4dd86b[_0x3f91c4(0xcf)]||new Date()[_0x3f91c4(0xa6)](),'finishedAt':_0x3b088d[_0x3f91c4(0xc5)](/Finished/)||_0x3b088d[_0x3f91c4(0xc5)](/Skipped/)?new Date()[_0x3f91c4(0xa6)]():null,'type':_0x5b00b5['IfKnj'],'body':{'lang':_0x5b00b5['kQkig'],'code':_0x53f9e7},'name':_0x9adb4d,'errorsDetailed':_0x5b00b5[_0x3f91c4(0xa8)](_0x3cf283?.[_0x3f91c4(0xaa)],0x0)?_0x3cf283[0x0]:_0x3cf283?_0x3cf283:undefined,'scopes':_0x2af0df,'file_name':_0x334275,'location':_0x334275,'vc_filepath':this[_0x3f91c4(0xa4)]&&_0x15632f?path[_0x3f91c4(0xbe)](this[_0x3f91c4(0xa4)],_0x15632f):null,'framework':_0x5b00b5[_0x3f91c4(0x7c)],'result':_0x2050e4,'failure_reason':_0x507d75,'duration_in_ms':_0x528c14,'failure':failureData[_0x3f91c4(0xa1)](null,_0xb57e0f),'failure_type':!_0x507d75?null:_0x5b00b5['xtYVE'](getFailureType,_0x507d75),'retry_of':_0x4dd86b[_0x3f91c4(0x10c)]||null,'customRerunParam':{'rerun_name':_0x9adb4d}};_0x5b00b5[_0x3f91c4(0x112)](_0x3b088d,_0x5b00b5[_0x3f91c4(0x117)])&&!_0x24ebf3[_0x3f91c4(0x125)]&&(_0x24ebf3[_0x3f91c4(0x125)]=_0x24ebf3[_0x3f91c4(0xe4)]);const _0x73bae7=_0x24ebf3['failure']&&_0x24ebf3[_0x3f91c4(0xce)][0x0];return _0x73bae7&&(_0x24ebf3[_0x3f91c4(0xd5)]=_0x73bae7[_0x3f91c4(0x108)],_0x24ebf3[_0x3f91c4(0x99)]=_0x73bae7['expanded']),(_0x5b00b5['dTAFm'](_0x3b088d,_0x5b00b5['tgxGf'])||_0x5b00b5[_0x3f91c4(0x92)](_0x3b088d,_0x5b00b5[_0x3f91c4(0x117)]))&&(_0x4dd86b[_0x3f91c4(0x12d)]&&(_0x24ebf3[_0x3f91c4(0x12d)]=_0x4dd86b['hooks'])),_0x24ebf3;}catch(_0x63a819){return logger[_0x3f91c4(0xc1)](_0x3f91c4(0x129)+util['format'](_0x63a819)),null;}}async[a119_0x2e9de9(0xac)](_0xdb4b8a,_0x3142e9,_0x321756,_0xd0fe8c){const _0x14d13f=a119_0x2e9de9,_0x3fa2ab={'yDWgt':_0x14d13f(0xb0),'FBocm':_0x14d13f(0xf6),'esjgm':_0x14d13f(0x118),'idDTL':'unknown','shSUg':'pending','xRSoZ':function(_0x143e80,_0x386d52){return _0x143e80===_0x386d52;},'Qmcal':_0x14d13f(0xc4),'nPTwi':function(_0x22add6,_0x2b9466){return _0x22add6>_0x2b9466;},'LXjtw':'failed','rZucy':function(_0x7a5f4f,_0x125e81){return _0x7a5f4f(_0x125e81);},'HULAG':_0x14d13f(0x12e),'RVpyg':_0x14d13f(0x115),'NzyGv':_0x14d13f(0xfc),'USlLH':_0x14d13f(0xc3),'ARidF':'jest','OqfVp':function(_0x1979f5,_0x445b28){return _0x1979f5===_0x445b28;},'KOWFo':_0x14d13f(0x122)};logger[_0x14d13f(0xc1)](_0x14d13f(0x11c)+_0x321756+_0x14d13f(0x121)+_0x3142e9+_0x14d13f(0xf0)+_0xd0fe8c);try{if(!_0xdb4b8a)return logger[_0x14d13f(0xc1)](_0x3fa2ab['yDWgt']),null;if(this['isJestInternalHook'](_0xdb4b8a))return null;await this['configureGit']();let _0x34d2ec=null;try{_0x34d2ec=this[_0x14d13f(0xbd)](_0xdb4b8a);if(_0x34d2ec&&_0x34d2ec[_0x14d13f(0xee)](_0x3fa2ab['FBocm']))return null;if(_0x34d2ec&&_0x34d2ec[_0x14d13f(0xee)](_0x3fa2ab[_0x14d13f(0x104)]))return null;}catch(_0x7b69f5){logger[_0x14d13f(0xc1)](_0x14d13f(0xa9)+util['format'](_0x7b69f5));}const _0x4d2a2e=_0x34d2ec?this['_paths'][_0x14d13f(0xd8)](_0x34d2ec):_0x34d2ec,_0x1660ea=this[_0x14d13f(0x8a)](_0xdb4b8a),_0x37db52=_0xdb4b8a[_0x14d13f(0x11f)]||_0x3fa2ab[_0x14d13f(0x80)],_0x56c6f2=HOOK_TYPES_MAP[_0x37db52]||_0x37db52[_0x14d13f(0x135)](),_0x564c01=_0xdb4b8a[_0x14d13f(0x9b)]&&_0xdb4b8a[_0x14d13f(0x9b)][_0x14d13f(0x89)]?_0xdb4b8a[_0x14d13f(0x9b)]['name']:'';let _0x477605=_0x3fa2ab[_0x14d13f(0x91)],_0x2950d8=null,_0x210401=null,_0x2940c1=null,_0x28b879=null;_0x3fa2ab['xRSoZ'](_0x321756,_0x3fa2ab['Qmcal'])&&(_0x28b879=new Date()['toISOString'](),_0xdb4b8a[_0x14d13f(0x119)]&&_0x3fa2ab[_0x14d13f(0x126)](_0xdb4b8a[_0x14d13f(0x119)]['length'],0x0)?(_0x477605=_0x3fa2ab[_0x14d13f(0x8d)],_0x210401=util['inspect'](_0xdb4b8a[_0x14d13f(0x119)][0x0]),_0x2950d8=_0x3fa2ab[_0x14d13f(0x8b)](getFailureType,_0x210401),_0x2940c1=failureData[_0x14d13f(0xa1)](null,[_0xdb4b8a[_0x14d13f(0x119)],_0x3fa2ab[_0x14d13f(0xe2)]])):_0x477605=_0x3fa2ab[_0x14d13f(0xfa)]);const _0x3fa499={'uuid':_0x3142e9,'type':_0x3fa2ab[_0x14d13f(0xba)],'hook_type':_0x56c6f2,'name':_0x1660ea,'body':{'lang':_0x3fa2ab['USlLH'],'code':_0xdb4b8a['fn']?_0xdb4b8a['fn'][_0x14d13f(0xf2)]():null},'tags':[],'test_run_id':_0xd0fe8c,'scope':_0x564c01,'scopes':[_0x564c01],'file_name':_0x4d2a2e,'location':_0x4d2a2e,'vc_filepath':this['_gitConfigPath']&&_0x34d2ec?path['relative'](this[_0x14d13f(0xa4)],_0x34d2ec):null,'result':_0x477605,'started_at':_0xdb4b8a[_0x14d13f(0xcf)]||new Date()[_0x14d13f(0xa6)](),'finished_at':_0x28b879,'failure_type':_0x2950d8,'failure_reason':_0x210401,'failure_data':_0x2940c1,'framework':_0x3fa2ab[_0x14d13f(0x88)]};return _0x3fa2ab[_0x14d13f(0xbf)](_0x321756,_0x3fa2ab[_0x14d13f(0x134)])&&(hooksMap[_0xd0fe8c]?hooksMap[_0xd0fe8c][_0x14d13f(0xad)](_0x3fa499):hooksMap[_0xd0fe8c]=[_0x3fa499]),_0x3fa499;}catch(_0x3e47c8){return logger[_0x14d13f(0xc1)]('Exception\x20in\x20createHookData:\x20'+util[_0x14d13f(0xca)](_0x3e47c8)),null;}}['getHookRunEventData'](_0x5ea0c0,_0x43515a,_0x11cfa9){const _0x4e1379=a119_0x2e9de9,_0x420b19={'OUCYr':function(_0x3df249,_0x60a858){return _0x3df249>_0x60a858;},'kqZNq':_0x4e1379(0xfb),'zBvSL':function(_0x4215f8,_0x695838){return _0x4215f8(_0x695838);},'MdXqz':_0x4e1379(0x12e),'HIcMo':'passed'};try{const _0x32c1e6=hooksMap[_0x5ea0c0];if(!_0x32c1e6)return null;const _0x4f3c9f=_0x32c1e6[_0x4e1379(0xd6)](_0x2f8bf7=>_0x2f8bf7['uuid']===_0x43515a);if(!_0x4f3c9f)return null;return _0x4f3c9f['finished_at']=new Date()[_0x4e1379(0xa6)](),_0x11cfa9['errorsDetailed']&&_0x420b19[_0x4e1379(0x114)](_0x11cfa9[_0x4e1379(0x119)][_0x4e1379(0xaa)],0x0)?(_0x4f3c9f['result']=_0x420b19[_0x4e1379(0xe3)],_0x4f3c9f['failure_reason']=util[_0x4e1379(0xc0)](_0x11cfa9['errorsDetailed'][0x0]),_0x4f3c9f[_0x4e1379(0xa5)]=_0x420b19[_0x4e1379(0xf4)](getFailureType,_0x4f3c9f[_0x4e1379(0x7b)]),_0x4f3c9f[_0x4e1379(0x107)]=failureData[_0x4e1379(0xa1)](null,[_0x11cfa9['errorsDetailed'],_0x420b19[_0x4e1379(0x103)]])):_0x4f3c9f[_0x4e1379(0xdb)]=_0x420b19[_0x4e1379(0x96)],_0x4f3c9f;}catch(_0x5e217f){return logger[_0x4e1379(0xc1)]('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x5e217f)),null;}}[a119_0x2e9de9(0x8a)](_0x52e52d){const _0x575061=a119_0x2e9de9,_0x515a3f={};_0x515a3f[_0x575061(0xcd)]=function(_0x2f900a,_0x28e23a){return _0x2f900a!==_0x28e23a;},_0x515a3f['jqnDC']=_0x575061(0x12e),_0x515a3f[_0x575061(0xc6)]=_0x575061(0xda);const _0x88f9cd=_0x515a3f;if(_0x88f9cd[_0x575061(0xcd)](_0x52e52d[_0x575061(0x11f)],_0x88f9cd['jqnDC']))return'\x22'+_0x52e52d[_0x575061(0x11f)]+_0x575061(0xd0)+(_0x52e52d[_0x575061(0x9b)]&&_0x52e52d[_0x575061(0x9b)][_0x575061(0x89)])+'\x22';return _0x52e52d[_0x575061(0x89)]||_0x88f9cd[_0x575061(0xc6)];}['getHierarchy'](_0x452125){const _0x224e83=a119_0x2e9de9,_0x2e38d3={};_0x2e38d3[_0x224e83(0x105)]=function(_0x269590,_0xbac4a0){return _0x269590!==_0xbac4a0;},_0x2e38d3[_0x224e83(0x81)]=_0x224e83(0x8f);const _0x5e1025=_0x2e38d3,_0xb9472b=[];if(_0x452125&&_0x452125['parent']){let _0x268f6c=_0x452125[_0x224e83(0x9b)];while(_0x268f6c&&_0x268f6c[_0x224e83(0x89)]&&_0x5e1025['TwRBP'](_0x268f6c[_0x224e83(0x89)],'')&&_0x5e1025[_0x224e83(0x105)](_0x268f6c['name'],_0x5e1025[_0x224e83(0x81)])){_0xb9472b[_0x224e83(0xad)](_0x268f6c['name']),_0x268f6c=_0x268f6c[_0x224e83(0x9b)];}}return _0xb9472b[_0x224e83(0xe5)](),_0xb9472b;}['getRootParentFile'](_0x18fb71){const _0x456078=a119_0x2e9de9,_0x4db9ee={'SMouG':function(_0x31659e,_0x537aae){return _0x31659e(_0x537aae);}};if(_0x18fb71['file'])return _0x18fb71['file'];if(_0x18fb71['asyncError'])try{const _0x24c856=stackTrace[_0x456078(0x123)][_0x456078(0xfe)](stackTrace,_0x18fb71[_0x456078(0xb5)]),_0xf41485=_0x4db9ee['SMouG'](pickUserFrameFile,_0x24c856);if(_0xf41485)return _0xf41485;logger[_0x456078(0xc1)](_0x456078(0x12c)+_0x24c856[_0x456078(0xaa)]+')');}catch(_0xcd8cb6){logger['debug'](_0x456078(0xd2)+util['format'](_0xcd8cb6));}return null;}[a119_0x2e9de9(0x109)](_0x4fd5e6){const _0xa18cc9=a119_0x2e9de9,_0x20caef={};_0x20caef[_0xa18cc9(0x10e)]=_0xa18cc9(0xf6);const _0x4b1449=_0x20caef;try{const _0x30a8cd=this[_0xa18cc9(0xbd)](_0x4fd5e6);if(!_0x30a8cd||_0x30a8cd['includes'](_0x4b1449[_0xa18cc9(0x10e)]))return!![];}catch(_0x1e955a){logger[_0xa18cc9(0xc1)]('Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20'+util[_0xa18cc9(0xca)](_0x1e955a));}return![];}[a119_0x2e9de9(0x90)](_0x257682=null){const _0x40c430=a119_0x2e9de9;try{const _0x29be0a=_0x257682||global[_0x40c430(0x95)]||{};if(global[_0x40c430(0x9a)])return global[_0x40c430(0x9a)];if(_0x29be0a?.[_0x40c430(0x7f)]?.[_0x40c430(0x86)])return _0x29be0a[_0x40c430(0x7f)]['testAnalyticsId'];if(_0x29be0a?.[_0x40c430(0x7f)]?.['id'])return _0x29be0a[_0x40c430(0x7f)]['id'];return null;}catch(_0x497ee4){return logger['debug'](_0x40c430(0xa2)+util[_0x40c430(0xca)](_0x497ee4)),null;}}async[a119_0x2e9de9(0x116)](){const _0x552469=a119_0x2e9de9,_0x5db948={'hRbtQ':function(_0x1e2c4b){return _0x1e2c4b();}};if(this[_0x552469(0xae)])return this['_gitConfigPath'];const _0xb36943=await _0x5db948[_0x552469(0xf5)](getGitMetaData);_0xb36943&&(this[_0x552469(0xa4)]=_0xb36943[_0x552469(0xf9)]),this[_0x552469(0xae)]=!![];}['clearHooksMap'](_0x33723e){hooksMap[_0x33723e]&&delete hooksMap[_0x33723e];}[a119_0x2e9de9(0xf7)](_0x21583f){const _0x5a1708=a119_0x2e9de9,_0x207386={'xWIqp':'jest-circus','ojeOB':function(_0xe2056b,_0x33a1e4){return _0xe2056b(_0x33a1e4);},'rKLTv':'expect'};if(_0x21583f[_0x5a1708(0xfd)])return _0x21583f[_0x5a1708(0xfd)];if(_0x21583f['asyncError']){try{const _0xc54993=stackTrace[_0x5a1708(0x123)](_0x21583f['asyncError']);if(_0xc54993[0x0]&&_0xc54993[0x0][_0x5a1708(0xb9)]){const _0x455335=_0xc54993[0x0][_0x5a1708(0xb9)]();if(_0x455335&&!_0x455335['includes'](_0x207386[_0x5a1708(0x10d)]))return _0x455335;}}catch(_0x1f898d){logger[_0x5a1708(0xc1)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x5a1708(0xca)](_0x1f898d));}if(_0x21583f[_0x5a1708(0xb5)][_0x5a1708(0x110)]){const _0xe23226=_0x21583f[_0x5a1708(0xb5)][_0x5a1708(0x110)][_0x5a1708(0xe1)]('\x0a');for(const _0x173a14 of _0xe23226){const _0x525021=_0x173a14[_0x5a1708(0xc5)](/at (.+?):\d+:\d+/);if(_0x525021&&_0x525021[0x1]&&!_0x525021[0x1]['includes'](_0x207386[_0x5a1708(0x10d)]))return _0x525021[0x1];}}}let _0x4d28bd=_0x21583f['parent'];while(_0x4d28bd){if(_0x4d28bd[_0x5a1708(0xfd)])return _0x4d28bd[_0x5a1708(0xfd)];if(_0x4d28bd[_0x5a1708(0xb5)])try{const _0x3cb1a3=stackTrace[_0x5a1708(0x123)](_0x4d28bd['asyncError']);if(_0x3cb1a3[0x0]&&_0x3cb1a3[0x0]['getFileName']){const _0x53bc97=_0x3cb1a3[0x0][_0x5a1708(0xb9)]();if(_0x53bc97&&!_0x53bc97[_0x5a1708(0xee)](_0x207386[_0x5a1708(0x10d)]))return _0x53bc97;}}catch(_0x510246){}_0x4d28bd=_0x4d28bd[_0x5a1708(0x9b)];}try{const _0x3330e5=_0x207386[_0x5a1708(0x10b)](require,_0x207386[_0x5a1708(0x93)]);if(_0x3330e5&&_0x3330e5[_0x5a1708(0x12a)]){const _0x154c9d=_0x3330e5[_0x5a1708(0x12a)]();if(_0x154c9d&&_0x154c9d[_0x5a1708(0x9d)])return _0x154c9d['testPath'];}}catch(_0x3a713e){logger[_0x5a1708(0xc1)](_0x5a1708(0x8e)+util[_0x5a1708(0xca)](_0x3a713e));}return null;}[a119_0x2e9de9(0x11a)](_0x51404a){const _0x33f696=a119_0x2e9de9,_0x38e6e={};_0x38e6e[_0x33f696(0x9c)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x38e6e['bdteb']=function(_0x40d173,_0x374dc0){return _0x40d173!==_0x374dc0;},_0x38e6e['sTKYD']=_0x33f696(0x8f),_0x38e6e[_0x33f696(0xb1)]=_0x33f696(0xf6),_0x38e6e[_0x33f696(0xec)]=_0x33f696(0x97),_0x38e6e['NtxEe']=_0x33f696(0xa3);const _0x5a7ee=_0x38e6e;try{if(!_0x51404a)return logger[_0x33f696(0xe8)](_0x5a7ee['pRKof']),null;const _0x429e64=_0x51404a[_0x33f696(0xb2)]||_0x51404a['name']||_0x51404a['title']||_0x51404a[_0x33f696(0xed)];let _0x5b511e=_0x429e64;if(_0x51404a[_0x33f696(0x9b)]&&_0x51404a['parent'][_0x33f696(0x89)]&&_0x5a7ee[_0x33f696(0xa0)](_0x51404a[_0x33f696(0x9b)]['name'],_0x5a7ee[_0x33f696(0x128)])){const _0x2d9d94=_0x51404a[_0x33f696(0x89)]||_0x51404a[_0x33f696(0xb8)];_0x2d9d94&&(_0x5b511e=_0x51404a[_0x33f696(0x9b)][_0x33f696(0x89)]+'\x20'+_0x2d9d94);}let _0x2ce776=_0x51404a[_0x33f696(0x9d)];if(!_0x2ce776&&_0x51404a[_0x33f696(0xb5)]){try{const _0x30d862=stackTrace['parse'](_0x51404a[_0x33f696(0xb5)]);if(_0x30d862[0x0]&&_0x30d862[0x0][_0x33f696(0xb9)]){const _0x1937ad=_0x30d862[0x0][_0x33f696(0xb9)]();_0x1937ad&&!_0x1937ad[_0x33f696(0xee)](_0x5a7ee[_0x33f696(0xb1)])&&(_0x2ce776=_0x1937ad);}}catch(_0x5c657e){logger[_0x33f696(0xc1)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0x5c657e));}if(!_0x2ce776&&_0x51404a[_0x33f696(0xb5)][_0x33f696(0x110)]){const _0x3f618c=_0x51404a[_0x33f696(0xb5)][_0x33f696(0x110)][_0x33f696(0xe1)]('\x0a');for(const _0x111025 of _0x3f618c){const _0x124fa9=_0x111025[_0x33f696(0xc5)](/at (.+?):\d+:\d+/);if(_0x124fa9&&_0x124fa9[0x1]&&!_0x124fa9[0x1][_0x33f696(0xee)](_0x5a7ee[_0x33f696(0xb1)])){_0x2ce776=_0x124fa9[0x1];break;}}}}const _0x2c7f42=_0x2ce776+'::'+_0x5b511e,_0x2c4b2a=crypto[_0x33f696(0x11d)](_0x5a7ee[_0x33f696(0xec)])['update'](_0x2c7f42)['digest'](_0x5a7ee['NtxEe'])['substring'](0x0,0x8),_0x45b216=process[_0x33f696(0x106)]+':jest-'+_0x2c4b2a;return logger[_0x33f696(0xc1)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x45b216+_0x33f696(0xc8)+_0x2c7f42),_0x45b216;}catch(_0x17e475){return logger[_0x33f696(0xe8)]('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x33f696(0xca)](_0x17e475)),null;}}[a119_0x2e9de9(0x98)](_0x5d8473){const _0xdcdff3=a119_0x2e9de9,_0x420eed={};_0x420eed[_0xdcdff3(0xc9)]=_0xdcdff3(0x127);const _0x2b0e9c=_0x420eed;if(!_0x5d8473)return logger[_0xdcdff3(0xc1)](_0x2b0e9c['gPWlx']),null;const _0x38c182=this[_0xdcdff3(0xf7)](_0x5d8473),_0x55139e={};_0x55139e[_0xdcdff3(0x89)]=_0x5d8473[_0xdcdff3(0x89)]||_0x5d8473[_0xdcdff3(0xb8)],_0x55139e[_0xdcdff3(0x9b)]=_0x5d8473['parent'],_0x55139e[_0xdcdff3(0x9d)]=_0x38c182,_0x55139e[_0xdcdff3(0xb5)]=_0x5d8473[_0xdcdff3(0xb5)];const _0x3ed949=_0x55139e;return this[_0xdcdff3(0x11a)](_0x3ed949);}[a119_0x2e9de9(0xd9)](_0x4e8302,_0x50eb66=null){const _0x5e08be=a119_0x2e9de9,_0x1adf30={};_0x1adf30[_0x5e08be(0xd4)]=_0x5e08be(0xea);const _0x9cc3aa=_0x1adf30;if(!_0x4e8302)return logger['debug'](_0x9cc3aa['MOAGW']),_0x50eb66;if(_0x4e8302[_0x5e08be(0x10a)])return logger[_0x5e08be(0xc1)](_0x5e08be(0xbc)+_0x4e8302[_0x5e08be(0x10a)]),_0x4e8302[_0x5e08be(0x10a)];return this[_0x5e08be(0x11a)](_0x4e8302)||_0x50eb66;}}module['exports']=o11yClassErrorHandler(JestUtils,['configureGit',a119_0x2e9de9(0x100),'getRootParentFile','getName','isJestInternalHook','getTestIdentifier',a119_0x2e9de9(0x87),a119_0x2e9de9(0xac),a119_0x2e9de9(0xf3),a119_0x2e9de9(0x7e),'extractTestFilePath','createJestTestIdentifier','createIdentifierFromJestTest',a119_0x2e9de9(0xd9)]);
|
|
1
|
+
const a119_0x3720e1=a119_0x4236;(function(_0x5359a1,_0x34f5e7){const _0x2eef82=a119_0x4236,_0x241af4=_0x5359a1();while(!![]){try{const _0x280fd8=-parseInt(_0x2eef82(0x111))/0x1*(parseInt(_0x2eef82(0x12e))/0x2)+-parseInt(_0x2eef82(0xfa))/0x3*(parseInt(_0x2eef82(0xa0))/0x4)+-parseInt(_0x2eef82(0xc1))/0x5+-parseInt(_0x2eef82(0x137))/0x6+-parseInt(_0x2eef82(0xc5))/0x7*(-parseInt(_0x2eef82(0xe3))/0x8)+parseInt(_0x2eef82(0xa4))/0x9+-parseInt(_0x2eef82(0x136))/0xa*(-parseInt(_0x2eef82(0xb6))/0xb);if(_0x280fd8===_0x34f5e7)break;else _0x241af4['push'](_0x241af4['shift']());}catch(_0x592bab){_0x241af4['push'](_0x241af4['shift']());}}}(a119_0xc62e,0xcc569));function a119_0x4236(_0x3a6e1c,_0x1378df){const _0xc62e19=a119_0xc62e();return a119_0x4236=function(_0x423625,_0x2c371e){_0x423625=_0x423625-0x8d;let _0x328c55=_0xc62e19[_0x423625];return _0x328c55;},a119_0x4236(_0x3a6e1c,_0x1378df);}const path=require(a119_0x3720e1(0xea)),util=require(a119_0x3720e1(0xce)),crypto=require(a119_0x3720e1(0xc4)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x3720e1(0xe0)),logger=require(a119_0x3720e1(0xeb))['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a119_0x3720e1(0x141)),{failureData,getFailureType,PathHelper}=require(a119_0x3720e1(0xb5)),stackTrace=require(a119_0x3720e1(0x102)),{pickUserFrameFile}=require(a119_0x3720e1(0xb7)),a119_0x38000a={};function a119_0xc62e(){const _0x3050ac=['includes','vjIxw','EpnuK','update','XXzMk','getName','nXAYU','TestRunSkipped','currentTest','3001638bqcTUz','createTestFrameworkData','mlnrL','hex','toString','expect','clearHooksMap','getHierarchy','6730690hyomnD','4098690vIWrQF','getState','ybxOt','uUWqX','prefixTestPath','asyncError','GMCQD','KEeBY',',\x20hookUUID:\x20','duration','../TestInfo.js','Creating\x20hook\x20data\x20for\x20eventType:\x20','skipped','md5','testIdentifier','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','\x22\x20hook\x20for\x20\x22','_gitConfigPath','lPcfG','parent','jest','hooks','RxQFi','find','jest-circus','dzVZN','extractTestFilePath','started_at','retryOf','eDMMA','backtrace','4BphvJV','getRootParentFile','[jestUtils]\x20No\x20test\x20object\x20provided','title','5159439QIfpjA','ajcBF','AFTER_ALL','createHookData','__jestCurrentTestIdentifier','now','pid','format','zHsjt','\x20from\x20compositeKey:\x20','dCStB','BuUXA','Exception\x20in\x20createTestFrameworkData:\x20','oUgnq','[jestUtils]\x20Created\x20identifier:\x20','ANxLP','finished_at','../../../helpers/test-observability/utils','55pIzouA','../../../helpers/stackFrameUtils','cwd','pending','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','AFTER_EACH','AYIwe','pAHgl','getTestIdentifier','jwTNQ','stack','6607430DAMBJa','failed','getHookRunEventData','crypto','7LsiatS','configureGit','BEFORE_ALL','hook','length','Fjsmv','root','apply','getTime','util','KBODo','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20',',\x20testRunId:\x20','GxIhD','[jestUtils]\x20Error\x20creating\x20identifier:\x20','reverse','EAmxq','recreateIdentifierFromTestInfo','substring','relative','Unknown\x20Test','createHash','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','digest','wCLMg','name','lRnJO','../../../helpers/helper.js','toISOString','Aaqey','3241240pDsliL','failure_data','RfmmG','NzqJQ','displayName','type','inspect','path','../../../helpers/logger.js','file','qICdD','createIdentifierFromJestTest','_paths','PGNBV','testAnalyticsId','match','startedAt','failure','testPath','errorsDetailed','toUpperCase','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','Exception\x20in\x20createHookData:\x20','4146BJORIh','ndTun','err','test','hYBqN','aZaLc','failure_reason','failure_type','stack-trace','xkzeQ','createJestTestIdentifier','call','DxHLF','error','parse','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','fullName','_gitConfigured','lLKEq','beforeEach','javascript','CpbCy','1BxcIvE','MwHJb','Exception\x20in\x20getHookRunEventData:\x20','ROOT_DESCRIBE_BLOCK','YzIwk','errors','TestRunFinished','AAobR','exports','JQwQs','passed','TpUqp','sPVTT','debug','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation',',\x20testIdentifier:\x20','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','CEcxZ','crwtN','getFileName'];a119_0xc62e=function(){return _0x3050ac;};return a119_0xc62e();}a119_0x38000a['beforeAll']=a119_0x3720e1(0xc7),a119_0x38000a['afterAll']=a119_0x3720e1(0xa6),a119_0x38000a[a119_0x3720e1(0x10e)]='BEFORE_EACH',a119_0x38000a['afterEach']=a119_0x3720e1(0xbb);const HOOK_TYPES_MAP=a119_0x38000a,hooksMap={};class JestUtils{constructor(){const _0x255361=a119_0x3720e1;this[_0x255361(0x10c)]=![],this[_0x255361(0x92)]=null,this[_0x255361(0xef)]=new PathHelper({'cwd':process[_0x255361(0xb8)]()},undefined);}async[a119_0x3720e1(0x12f)](_0xb8d33e,_0x3df255,_0xda15f4='TestRunFinished',_0x2b999e=undefined){const _0x4f6c72=a119_0x3720e1,_0x2df889={'qICdD':_0x4f6c72(0xf8),'oAizG':_0x4f6c72(0x99),'crwtN':'File\x20path\x20could\x20not\x20be\x20found','eDMMA':function(_0x134833,_0x644fec){return _0x134833!==_0x644fec;},'ybxOt':'test','pAHgl':_0x4f6c72(0xfc),'lRnJO':function(_0x5d1187,_0x2ad10a){return _0x5d1187!==_0x2ad10a;},'DCaPM':_0x4f6c72(0xb9),'VYXSo':function(_0x424b1b,_0x4dd6e0){return _0x424b1b===_0x4dd6e0;},'NzqJQ':_0x4f6c72(0x12c),'BGlWK':_0x4f6c72(0x8d),'ajcBF':function(_0x21dcec,_0x5c6598){return _0x21dcec===_0x5c6598;},'ndTun':_0x4f6c72(0x117),'sPVTT':function(_0x587a40,_0x4a78c6){return _0x587a40>_0x4a78c6;},'Aaqey':'failed','BuUXA':'passed','nXAYU':function(_0x52b7e5,_0x14e034){return _0x52b7e5-_0x14e034;},'PGNBV':'javascript','GMCQD':_0x4f6c72(0x95),'IziqD':function(_0x29424e,_0x11500a){return _0x29424e(_0x11500a);},'DxHLF':function(_0x571675,_0x1b079a){return _0x571675===_0x1b079a;},'hYBqN':function(_0x746a59,_0x593ef4){return _0x746a59===_0x593ef4;},'YVvJE':function(_0x148424,_0x411295){return _0x148424===_0x411295;}};logger[_0x4f6c72(0x11e)](_0x4f6c72(0xba)+_0xda15f4+_0x4f6c72(0x120)+_0x3df255);try{if(!_0xb8d33e)return logger[_0x4f6c72(0x11e)](_0x2df889[_0x4f6c72(0xed)]),null;if(_0xb8d33e['fn']&&_0xb8d33e['fn'][_0x4f6c72(0x132)]()[_0x4f6c72(0xf2)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0x31b490;try{_0x31b490=this['getRootParentFile'](_0xb8d33e);if(_0x31b490&&_0x31b490[_0x4f6c72(0x125)](_0x2df889['oAizG']))return null;}catch(_0x4ef414){logger[_0x4f6c72(0x11e)](_0x4f6c72(0x121)+util[_0x4f6c72(0xab)](_0x4ef414)),_0x31b490=null;}const _0x423871=this[_0x4f6c72(0x135)](_0xb8d33e),_0x17b711=this[_0x4f6c72(0x12a)](_0xb8d33e),_0x1daeae=_0x31b490?this[_0x4f6c72(0xef)][_0x4f6c72(0x13b)](_0x31b490):_0x2df889[_0x4f6c72(0x123)];let _0x10a410=[];const _0x306c5a=_0xb8d33e[_0x4f6c72(0xf6)]||_0xb8d33e[_0x4f6c72(0x116)];if(_0x2df889[_0x4f6c72(0x9e)](_0x306c5a,undefined))_0x10a410=[_0x306c5a,_0x2df889[_0x4f6c72(0x139)]];else _0x2df889[_0x4f6c72(0x9e)](_0x2b999e,undefined)&&(_0x10a410=[_0x2b999e,_0x2df889[_0x4f6c72(0xbd)]]);const _0x219a0d=_0x2df889['lRnJO'](_0x306c5a,undefined)?util[_0x4f6c72(0xe9)](_0x306c5a[0x0]):_0x2df889[_0x4f6c72(0xdf)](_0x2b999e,undefined)?_0x2b999e['toString']():undefined;let _0x25b1fb=_0x2df889['DCaPM'];if(_0x2df889['VYXSo'](_0xda15f4,_0x2df889[_0x4f6c72(0xe6)]))_0x25b1fb=_0x2df889['BGlWK'];else _0x2df889[_0x4f6c72(0xa5)](_0xda15f4,_0x2df889[_0x4f6c72(0xfb)])&&(_0x306c5a&&_0x2df889[_0x4f6c72(0x11d)](_0x306c5a[_0x4f6c72(0xc9)],0x0)?_0x25b1fb=_0x2df889[_0x4f6c72(0xe2)]:_0x25b1fb=_0x2df889[_0x4f6c72(0xaf)]);let _0x4c214f=null;if(_0x2df889[_0x4f6c72(0x9e)](_0xb8d33e[_0x4f6c72(0x140)],undefined))_0x4c214f=_0xb8d33e[_0x4f6c72(0x140)];else(_0xda15f4[_0x4f6c72(0xf2)](/Finished/)||_0xda15f4[_0x4f6c72(0xf2)](/Skipped/))&&(_0xb8d33e['started_at']&&(_0x4c214f=_0x2df889[_0x4f6c72(0x12b)](Date[_0x4f6c72(0xa9)](),new Date(_0xb8d33e[_0x4f6c72(0x9c)])[_0x4f6c72(0xcd)]())));const _0x502536=_0xb8d33e['fn']?_0xb8d33e['fn'][_0x4f6c72(0x132)]():null,_0x144035={'id':_0x3df255,'uuid':_0x3df255,'startedAt':_0xb8d33e[_0x4f6c72(0x9c)]||new Date()[_0x4f6c72(0xe1)](),'finishedAt':_0xda15f4[_0x4f6c72(0xf2)](/Finished/)||_0xda15f4['match'](/Skipped/)?new Date()[_0x4f6c72(0xe1)]():null,'type':_0x2df889['ybxOt'],'body':{'lang':_0x2df889[_0x4f6c72(0xf0)],'code':_0x502536},'name':_0x17b711,'errorsDetailed':_0x2df889[_0x4f6c72(0x11d)](_0x306c5a?.[_0x4f6c72(0xc9)],0x0)?_0x306c5a[0x0]:_0x306c5a?_0x306c5a:undefined,'scopes':_0x423871,'file_name':_0x1daeae,'location':_0x1daeae,'vc_filepath':this[_0x4f6c72(0x92)]&&_0x31b490?path[_0x4f6c72(0xd8)](this[_0x4f6c72(0x92)],_0x31b490):null,'framework':_0x2df889[_0x4f6c72(0x13d)],'result':_0x25b1fb,'failure_reason':_0x219a0d,'duration_in_ms':_0x4c214f,'failure':failureData[_0x4f6c72(0xcc)](null,_0x10a410),'failure_type':!_0x219a0d?null:_0x2df889['IziqD'](getFailureType,_0x219a0d),'retry_of':_0xb8d33e[_0x4f6c72(0x9d)]||null,'customRerunParam':{'rerun_name':_0x17b711}};_0x2df889[_0x4f6c72(0x106)](_0xda15f4,_0x2df889[_0x4f6c72(0xe6)])&&!_0x144035['startedAt']&&(_0x144035[_0x4f6c72(0xf3)]=_0x144035['finishedAt']);const _0x26f56c=_0x144035[_0x4f6c72(0xf4)]&&_0x144035['failure'][0x0];return _0x26f56c&&(_0x144035['failure_backtrace']=_0x26f56c[_0x4f6c72(0x9f)],_0x144035['failure_reason_expanded']=_0x26f56c['expanded']),(_0x2df889[_0x4f6c72(0xfe)](_0xda15f4,_0x2df889[_0x4f6c72(0xfb)])||_0x2df889['YVvJE'](_0xda15f4,_0x2df889[_0x4f6c72(0xe6)]))&&(_0xb8d33e[_0x4f6c72(0x96)]&&(_0x144035[_0x4f6c72(0x96)]=_0xb8d33e[_0x4f6c72(0x96)])),_0x144035;}catch(_0x400ecd){return logger[_0x4f6c72(0x11e)](_0x4f6c72(0xb0)+util[_0x4f6c72(0xab)](_0x400ecd)),null;}}async[a119_0x3720e1(0xa7)](_0x2a8022,_0x92fb68,_0x20bdbb,_0x256ed7){const _0x565ef6=a119_0x3720e1,_0x152fb2={'XXzMk':_0x565ef6(0xdb),'CEcxZ':_0x565ef6(0x99),'wZJtw':'browserstack-node-agent/src/bin/jest','ANxLP':'unknown','YzIwk':'pending','AAobR':function(_0x59c402,_0x4981f2){return _0x59c402===_0x4981f2;},'PGowI':'HookRunFinished','gliCi':function(_0x1e94bb,_0x432aa9){return _0x1e94bb>_0x432aa9;},'dTUKR':_0x565ef6(0xc2),'lPcfG':function(_0x581597,_0x251065){return _0x581597(_0x251065);},'jCsJa':'test','irKkT':_0x565ef6(0x11b),'Fjsmv':_0x565ef6(0xc8),'MwHJb':_0x565ef6(0x10f),'dCStB':_0x565ef6(0x95),'GxIhD':'HookRunStarted'};logger[_0x565ef6(0x11e)](_0x565ef6(0x142)+_0x20bdbb+_0x565ef6(0x13f)+_0x92fb68+_0x565ef6(0xd1)+_0x256ed7);try{if(!_0x2a8022)return logger[_0x565ef6(0x11e)](_0x152fb2[_0x565ef6(0x129)]),null;if(this['isJestInternalHook'](_0x2a8022))return null;await this[_0x565ef6(0xc6)]();let _0x1e0634=null;try{_0x1e0634=this['getRootParentFile'](_0x2a8022);if(_0x1e0634&&_0x1e0634[_0x565ef6(0x125)](_0x152fb2[_0x565ef6(0x122)]))return null;if(_0x1e0634&&_0x1e0634['includes'](_0x152fb2['wZJtw']))return null;}catch(_0x2bc688){logger['debug']('Failed\x20to\x20get\x20hook\x20file\x20path:\x20'+util[_0x565ef6(0xab)](_0x2bc688));}const _0x239e94=_0x1e0634?this[_0x565ef6(0xef)]['prefixTestPath'](_0x1e0634):_0x1e0634,_0xd6e753=this[_0x565ef6(0x12a)](_0x2a8022),_0x4e3ec2=_0x2a8022[_0x565ef6(0xe8)]||_0x152fb2[_0x565ef6(0xb3)],_0x5a25da=HOOK_TYPES_MAP[_0x4e3ec2]||_0x4e3ec2[_0x565ef6(0xf7)](),_0xff8817=_0x2a8022[_0x565ef6(0x94)]&&_0x2a8022['parent'][_0x565ef6(0xde)]?_0x2a8022[_0x565ef6(0x94)][_0x565ef6(0xde)]:'';let _0x377ed9=_0x152fb2[_0x565ef6(0x115)],_0x13a31f=null,_0x2e4fd3=null,_0x4a692c=null,_0x21bd13=null;_0x152fb2['AAobR'](_0x20bdbb,_0x152fb2['PGowI'])&&(_0x21bd13=new Date()['toISOString'](),_0x2a8022[_0x565ef6(0xf6)]&&_0x152fb2['gliCi'](_0x2a8022[_0x565ef6(0xf6)]['length'],0x0)?(_0x377ed9=_0x152fb2['dTUKR'],_0x2e4fd3=util[_0x565ef6(0xe9)](_0x2a8022['errorsDetailed'][0x0]),_0x13a31f=_0x152fb2[_0x565ef6(0x93)](getFailureType,_0x2e4fd3),_0x4a692c=failureData[_0x565ef6(0xcc)](null,[_0x2a8022[_0x565ef6(0xf6)],_0x152fb2['jCsJa']])):_0x377ed9=_0x152fb2['irKkT']);const _0x2f7988={'uuid':_0x92fb68,'type':_0x152fb2[_0x565ef6(0xca)],'hook_type':_0x5a25da,'name':_0xd6e753,'body':{'lang':_0x152fb2[_0x565ef6(0x112)],'code':_0x2a8022['fn']?_0x2a8022['fn'][_0x565ef6(0x132)]():null},'tags':[],'test_run_id':_0x256ed7,'scope':_0xff8817,'scopes':[_0xff8817],'file_name':_0x239e94,'location':_0x239e94,'vc_filepath':this[_0x565ef6(0x92)]&&_0x1e0634?path[_0x565ef6(0xd8)](this[_0x565ef6(0x92)],_0x1e0634):null,'result':_0x377ed9,'started_at':_0x2a8022[_0x565ef6(0x9c)]||new Date()[_0x565ef6(0xe1)](),'finished_at':_0x21bd13,'failure_type':_0x13a31f,'failure_reason':_0x2e4fd3,'failure_data':_0x4a692c,'framework':_0x152fb2[_0x565ef6(0xae)]};return _0x152fb2[_0x565ef6(0x118)](_0x20bdbb,_0x152fb2[_0x565ef6(0xd2)])&&(hooksMap[_0x256ed7]?hooksMap[_0x256ed7]['push'](_0x2f7988):hooksMap[_0x256ed7]=[_0x2f7988]),_0x2f7988;}catch(_0x504857){return logger[_0x565ef6(0x11e)](_0x565ef6(0xf9)+util[_0x565ef6(0xab)](_0x504857)),null;}}[a119_0x3720e1(0xc3)](_0x4b4bf2,_0x36ad35,_0x510af6){const _0x5c366c=a119_0x3720e1,_0x5bc3c1={'dzVZN':function(_0x541a3e,_0x14f211){return _0x541a3e>_0x14f211;},'uUWqX':_0x5c366c(0xc2),'gQIcd':function(_0x254388,_0x472ed7){return _0x254388(_0x472ed7);},'Ftbdx':_0x5c366c(0xfd),'sZbit':_0x5c366c(0x11b)};try{const _0x3998b5=hooksMap[_0x4b4bf2];if(!_0x3998b5)return null;const _0x53371d=_0x3998b5[_0x5c366c(0x98)](_0x592ecb=>_0x592ecb['uuid']===_0x36ad35);if(!_0x53371d)return null;return _0x53371d[_0x5c366c(0xb4)]=new Date()[_0x5c366c(0xe1)](),_0x510af6[_0x5c366c(0xf6)]&&_0x5bc3c1[_0x5c366c(0x9a)](_0x510af6[_0x5c366c(0xf6)][_0x5c366c(0xc9)],0x0)?(_0x53371d['result']=_0x5bc3c1[_0x5c366c(0x13a)],_0x53371d[_0x5c366c(0x100)]=util[_0x5c366c(0xe9)](_0x510af6[_0x5c366c(0xf6)][0x0]),_0x53371d[_0x5c366c(0x101)]=_0x5bc3c1['gQIcd'](getFailureType,_0x53371d['failure_reason']),_0x53371d[_0x5c366c(0xe4)]=failureData[_0x5c366c(0xcc)](null,[_0x510af6[_0x5c366c(0xf6)],_0x5bc3c1['Ftbdx']])):_0x53371d['result']=_0x5bc3c1['sZbit'],_0x53371d;}catch(_0x446a5c){return logger['debug'](_0x5c366c(0x113)+util['format'](_0x446a5c)),null;}}[a119_0x3720e1(0x12a)](_0x5ed1dc){const _0x3c00d3=a119_0x3720e1,_0x3829d4={};_0x3829d4[_0x3c00d3(0xe5)]=function(_0x1f7f8f,_0x2c6ce5){return _0x1f7f8f!==_0x2c6ce5;},_0x3829d4['oUgnq']='test',_0x3829d4[_0x3c00d3(0x10d)]=_0x3c00d3(0xd9);const _0x312d67=_0x3829d4;if(_0x312d67[_0x3c00d3(0xe5)](_0x5ed1dc[_0x3c00d3(0xe8)],_0x312d67[_0x3c00d3(0xb1)]))return'\x22'+_0x5ed1dc[_0x3c00d3(0xe8)]+_0x3c00d3(0x91)+(_0x5ed1dc[_0x3c00d3(0x94)]&&_0x5ed1dc[_0x3c00d3(0x94)][_0x3c00d3(0xde)])+'\x22';return _0x5ed1dc[_0x3c00d3(0xde)]||_0x312d67[_0x3c00d3(0x10d)];}[a119_0x3720e1(0x135)](_0xacae27){const _0x35409c=a119_0x3720e1,_0x163932={};_0x163932[_0x35409c(0x11a)]=function(_0x155c8c,_0x558313){return _0x155c8c!==_0x558313;},_0x163932['wCLMg']=function(_0x2a2d9f,_0x3d3140){return _0x2a2d9f!==_0x3d3140;},_0x163932[_0x35409c(0x110)]=_0x35409c(0x114);const _0x2126b7=_0x163932,_0x2b811c=[];if(_0xacae27&&_0xacae27[_0x35409c(0x94)]){let _0x355eb5=_0xacae27[_0x35409c(0x94)];while(_0x355eb5&&_0x355eb5[_0x35409c(0xde)]&&_0x2126b7[_0x35409c(0x11a)](_0x355eb5[_0x35409c(0xde)],'')&&_0x2126b7[_0x35409c(0xdd)](_0x355eb5[_0x35409c(0xde)],_0x2126b7[_0x35409c(0x110)])){_0x2b811c['push'](_0x355eb5[_0x35409c(0xde)]),_0x355eb5=_0x355eb5['parent'];}}return _0x2b811c[_0x35409c(0xd4)](),_0x2b811c;}[a119_0x3720e1(0xa1)](_0x3ecf23){const _0x2f2799=a119_0x3720e1,_0xdffca3={'TpUqp':function(_0x2fe054,_0xc44710){return _0x2fe054(_0xc44710);}};if(_0x3ecf23[_0x2f2799(0xec)])return _0x3ecf23['file'];if(_0x3ecf23[_0x2f2799(0x13c)])try{const _0x1bcef0=stackTrace[_0x2f2799(0x108)][_0x2f2799(0x105)](stackTrace,_0x3ecf23[_0x2f2799(0x13c)]),_0x189b63=_0xdffca3[_0x2f2799(0x11c)](pickUserFrameFile,_0x1bcef0);if(_0x189b63)return _0x189b63;logger[_0x2f2799(0x11e)]('[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length='+_0x1bcef0['length']+')');}catch(_0x317b5f){logger[_0x2f2799(0x11e)]('Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0x317b5f));}return null;}['isJestInternalHook'](_0x2844ae){const _0x15df59=a119_0x3720e1,_0x3d941f={};_0x3d941f[_0x15df59(0x103)]=_0x15df59(0x99);const _0x1cc013=_0x3d941f;try{const _0x202e4=this[_0x15df59(0xa1)](_0x2844ae);if(!_0x202e4||_0x202e4['includes'](_0x1cc013[_0x15df59(0x103)]))return!![];}catch(_0xe42825){logger[_0x15df59(0x11e)](_0x15df59(0xd0)+util[_0x15df59(0xab)](_0xe42825));}return![];}['getTestIdentifier'](_0x4b7c78=null){const _0x121176=a119_0x3720e1;try{const _0x31c4ca=_0x4b7c78||global['__workerDetails']||{};if(global[_0x121176(0xa8)])return global[_0x121176(0xa8)];if(_0x31c4ca?.['currentTest']?.[_0x121176(0xf1)])return _0x31c4ca[_0x121176(0x12d)][_0x121176(0xf1)];if(_0x31c4ca?.['currentTest']?.['id'])return _0x31c4ca[_0x121176(0x12d)]['id'];return null;}catch(_0x36f873){return logger[_0x121176(0x11e)](_0x121176(0x90)+util[_0x121176(0xab)](_0x36f873)),null;}}async['configureGit'](){const _0x5eb14a=a119_0x3720e1,_0x316c00={'zHsjt':function(_0x526e13){return _0x526e13();}};if(this['_gitConfigured'])return this[_0x5eb14a(0x92)];const _0x226742=await _0x316c00[_0x5eb14a(0xac)](getGitMetaData);_0x226742&&(this[_0x5eb14a(0x92)]=_0x226742[_0x5eb14a(0xcb)]),this[_0x5eb14a(0x10c)]=!![];}['clearHooksMap'](_0x56f887){hooksMap[_0x56f887]&&delete hooksMap[_0x56f887];}[a119_0x3720e1(0x9b)](_0x214674){const _0x3d6076=a119_0x3720e1,_0x2c809d={'KBODo':_0x3d6076(0x99),'jwTNQ':function(_0x43cd19,_0x3be5dd){return _0x43cd19(_0x3be5dd);},'ETMdB':_0x3d6076(0x133)};if(_0x214674['file'])return _0x214674[_0x3d6076(0xec)];if(_0x214674[_0x3d6076(0x13c)]){try{const _0x2775a2=stackTrace[_0x3d6076(0x108)](_0x214674[_0x3d6076(0x13c)]);if(_0x2775a2[0x0]&&_0x2775a2[0x0][_0x3d6076(0x124)]){const _0x13b439=_0x2775a2[0x0][_0x3d6076(0x124)]();if(_0x13b439&&!_0x13b439['includes'](_0x2c809d[_0x3d6076(0xcf)]))return _0x13b439;}}catch(_0x8290f9){logger[_0x3d6076(0x11e)](_0x3d6076(0x109)+util[_0x3d6076(0xab)](_0x8290f9));}if(_0x214674[_0x3d6076(0x13c)]['stack']){const _0x2c9433=_0x214674[_0x3d6076(0x13c)][_0x3d6076(0xc0)]['split']('\x0a');for(const _0x116bd9 of _0x2c9433){const _0x3d9f3f=_0x116bd9[_0x3d6076(0xf2)](/at (.+?):\d+:\d+/);if(_0x3d9f3f&&_0x3d9f3f[0x1]&&!_0x3d9f3f[0x1][_0x3d6076(0x125)](_0x2c809d[_0x3d6076(0xcf)]))return _0x3d9f3f[0x1];}}}let _0x251efb=_0x214674[_0x3d6076(0x94)];while(_0x251efb){if(_0x251efb[_0x3d6076(0xec)])return _0x251efb[_0x3d6076(0xec)];if(_0x251efb[_0x3d6076(0x13c)])try{const _0x3bc2d1=stackTrace['parse'](_0x251efb[_0x3d6076(0x13c)]);if(_0x3bc2d1[0x0]&&_0x3bc2d1[0x0]['getFileName']){const _0x20267c=_0x3bc2d1[0x0][_0x3d6076(0x124)]();if(_0x20267c&&!_0x20267c[_0x3d6076(0x125)](_0x2c809d[_0x3d6076(0xcf)]))return _0x20267c;}}catch(_0x14edd2){}_0x251efb=_0x251efb[_0x3d6076(0x94)];}try{const _0x315cc0=_0x2c809d[_0x3d6076(0xbf)](require,_0x2c809d['ETMdB']);if(_0x315cc0&&_0x315cc0[_0x3d6076(0x138)]){const _0x50fb74=_0x315cc0['getState']();if(_0x50fb74&&_0x50fb74[_0x3d6076(0xf5)])return _0x50fb74['testPath'];}}catch(_0x2fac47){logger[_0x3d6076(0x11e)](_0x3d6076(0x10a)+util['format'](_0x2fac47));}return null;}[a119_0x3720e1(0x104)](_0x50b9d4){const _0x30c724=a119_0x3720e1,_0x3e5c8c={};_0x3e5c8c['RxQFi']='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x3e5c8c[_0x30c724(0xbc)]=function(_0x5c1f22,_0x16c91a){return _0x5c1f22!==_0x16c91a;},_0x3e5c8c[_0x30c724(0xd5)]='ROOT_DESCRIBE_BLOCK',_0x3e5c8c['EpnuK']=_0x30c724(0x99),_0x3e5c8c[_0x30c724(0x126)]=_0x30c724(0x8e),_0x3e5c8c[_0x30c724(0xff)]=_0x30c724(0x131);const _0x3698e0=_0x3e5c8c;try{if(!_0x50b9d4)return logger[_0x30c724(0x107)](_0x3698e0[_0x30c724(0x97)]),null;const _0x2a5ec1=_0x50b9d4[_0x30c724(0x10b)]||_0x50b9d4[_0x30c724(0xde)]||_0x50b9d4[_0x30c724(0xa3)]||_0x50b9d4[_0x30c724(0xe7)];let _0x2d5e58=_0x2a5ec1;if(_0x50b9d4[_0x30c724(0x94)]&&_0x50b9d4[_0x30c724(0x94)][_0x30c724(0xde)]&&_0x3698e0[_0x30c724(0xbc)](_0x50b9d4['parent'][_0x30c724(0xde)],_0x3698e0['EAmxq'])){const _0x14d576=_0x50b9d4[_0x30c724(0xde)]||_0x50b9d4['title'];_0x14d576&&(_0x2d5e58=_0x50b9d4['parent'][_0x30c724(0xde)]+'\x20'+_0x14d576);}let _0x58eb79=_0x50b9d4['testPath'];if(!_0x58eb79&&_0x50b9d4[_0x30c724(0x13c)]){try{const _0xa428f7=stackTrace[_0x30c724(0x108)](_0x50b9d4['asyncError']);if(_0xa428f7[0x0]&&_0xa428f7[0x0][_0x30c724(0x124)]){const _0x150110=_0xa428f7[0x0][_0x30c724(0x124)]();_0x150110&&!_0x150110[_0x30c724(0x125)](_0x3698e0[_0x30c724(0x127)])&&(_0x58eb79=_0x150110);}}catch(_0x395ea0){logger[_0x30c724(0x11e)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x30c724(0xab)](_0x395ea0));}if(!_0x58eb79&&_0x50b9d4[_0x30c724(0x13c)][_0x30c724(0xc0)]){const _0x57ff9e=_0x50b9d4[_0x30c724(0x13c)][_0x30c724(0xc0)]['split']('\x0a');for(const _0x47400f of _0x57ff9e){const _0x275c13=_0x47400f[_0x30c724(0xf2)](/at (.+?):\d+:\d+/);if(_0x275c13&&_0x275c13[0x1]&&!_0x275c13[0x1][_0x30c724(0x125)](_0x3698e0['EpnuK'])){_0x58eb79=_0x275c13[0x1];break;}}}}const _0x4eff48=_0x58eb79+'::'+_0x2d5e58,_0x9b3a6d=crypto[_0x30c724(0xda)](_0x3698e0['vjIxw'])[_0x30c724(0x128)](_0x4eff48)[_0x30c724(0xdc)](_0x3698e0[_0x30c724(0xff)])[_0x30c724(0xd7)](0x0,0x8),_0xbe8a3c=process[_0x30c724(0xaa)]+':jest-'+_0x9b3a6d;return logger['debug'](_0x30c724(0xb2)+_0xbe8a3c+_0x30c724(0xad)+_0x4eff48),_0xbe8a3c;}catch(_0x2eaafb){return logger['error'](_0x30c724(0xd3)+util[_0x30c724(0xab)](_0x2eaafb)),null;}}[a119_0x3720e1(0xee)](_0xfe2ea){const _0x4419f9=a119_0x3720e1,_0x5bed81={};_0x5bed81[_0x4419f9(0x130)]=_0x4419f9(0xa2);const _0x144b3c=_0x5bed81;if(!_0xfe2ea)return logger[_0x4419f9(0x11e)](_0x144b3c[_0x4419f9(0x130)]),null;const _0x5bbea4=this[_0x4419f9(0x9b)](_0xfe2ea),_0x2961ee={};_0x2961ee[_0x4419f9(0xde)]=_0xfe2ea['name']||_0xfe2ea['title'],_0x2961ee[_0x4419f9(0x94)]=_0xfe2ea['parent'],_0x2961ee[_0x4419f9(0xf5)]=_0x5bbea4,_0x2961ee['asyncError']=_0xfe2ea[_0x4419f9(0x13c)];const _0x5e4ccf=_0x2961ee;return this[_0x4419f9(0x104)](_0x5e4ccf);}[a119_0x3720e1(0xd6)](_0x4d5773,_0x270e74=null){const _0x4122e8=a119_0x3720e1,_0xec92e4={};_0xec92e4[_0x4122e8(0x13e)]=_0x4122e8(0x11f);const _0x2d7cc0=_0xec92e4;if(!_0x4d5773)return logger['debug'](_0x2d7cc0[_0x4122e8(0x13e)]),_0x270e74;if(_0x4d5773[_0x4122e8(0x8f)])return logger[_0x4122e8(0x11e)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x4d5773[_0x4122e8(0x8f)]),_0x4d5773[_0x4122e8(0x8f)];return this[_0x4122e8(0x104)](_0x4d5773)||_0x270e74;}}module[a119_0x3720e1(0x119)]=o11yClassErrorHandler(JestUtils,[a119_0x3720e1(0xc6),a119_0x3720e1(0x135),'getRootParentFile','getName','isJestInternalHook',a119_0x3720e1(0xbe),a119_0x3720e1(0x12f),a119_0x3720e1(0xa7),a119_0x3720e1(0xc3),a119_0x3720e1(0x134),'extractTestFilePath',a119_0x3720e1(0x104),a119_0x3720e1(0xee),a119_0x3720e1(0xd6)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a120_0x47d21e=a120_0x3997;(function(_0x3ac1fd,_0x5db39f){const _0x157a6c=a120_0x3997,_0x253ef1=_0x3ac1fd();while(!![]){try{const _0x55122e=-parseInt(_0x157a6c(0x1ee))/0x1*(-parseInt(_0x157a6c(0x21f))/0x2)+parseInt(_0x157a6c(0x211))/0x3+-parseInt(_0x157a6c(0x21d))/0x4*(parseInt(_0x157a6c(0x214))/0x5)+parseInt(_0x157a6c(0x21b))/0x6*(parseInt(_0x157a6c(0x1fc))/0x7)+parseInt(_0x157a6c(0x1eb))/0x8*(parseInt(_0x157a6c(0x219))/0x9)+-parseInt(_0x157a6c(0x1ff))/0xa*(-parseInt(_0x157a6c(0x207))/0xb)+-parseInt(_0x157a6c(0x203))/0xc;if(_0x55122e===_0x5db39f)break;else _0x253ef1['push'](_0x253ef1['shift']());}catch(_0x14b275){_0x253ef1['push'](_0x253ef1['shift']());}}}(a120_0x2232,0x38dfb));const fs=require('fs'),path=require(a120_0x47d21e(0x1f4)),{default:BrowserStackSetup}=require(a120_0x47d21e(0x21a)),helper=require(a120_0x47d21e(0x217)),PerformanceTester=require(a120_0x47d21e(0x218)),PerformanceEvents=require(a120_0x47d21e(0x200))[a120_0x47d21e(0x1f6)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require(a120_0x47d21e(0x204)),BrowserstackCLI=require(a120_0x47d21e(0x20a));function a120_0x2232(){const _0x155a0c=['14zcQexf','Config\x20yml\x20is\x20required','handleApp','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','length','launchBuild','then','KLhhZ','getInstance','SGeha','\x20doesn\x27t\x20exist','File\x20path\x20is\x20required','1849000CYmGel','forEach','resolve','19476pdYBuJ','vanilla','proxySettings','VWUFU','zZevn','NKYWE','path','SDK_SETUP','EVENTS','index','push','SKkIJ','isRunning','sep','1106035AmtcKd','modifyBrowserStackCaps','assign','2809670TBQGsq','../../helpers/performance/constants','file','initialize','8341908dYdDTI','../../helpers/testhub/testhubHandler','finally','useW3C','11PFPhWt','startsWith','platforms','../v2/browserstackCLI','config','cwd','start','modifyBrowserStackW3CCaps','setupBrowserstackLocal','LmkIU','526227pJFklJ','existsSync','getHubUrl','1058645popxuB','isUndefined','getPlatformName','../../helpers/helper','../../helpers/performance/performance-tester','9yDOEfa','../../helpers/BrowserStackSetup','12mnPaGn','configuration','4lQEzTY','args'];a120_0x2232=function(){return _0x155a0c;};return a120_0x2232();}async function run(_0x35b38c,_0x45ed4c,_0x56e0a3){const _0x3fe36d=a120_0x47d21e,_0x2f8735={'VWUFU':_0x3fe36d(0x1ef),'SKkIJ':function(_0x178899,_0x3133fc){return _0x178899(_0x3133fc);},'Alcah':_0x3fe36d(0x1ea),'tucEa':function(_0x59a203,_0x5723ec){return _0x59a203!==_0x5723ec;},'CXWcZ':function(_0x237853,_0x38f46b){return _0x237853+_0x38f46b;},'LmkIU':function(_0x25f937,_0x3ce243){return _0x25f937(_0x3ce243);},'KLhhZ':_0x3fe36d(0x220),'NKYWE':function(_0x1aed4c,_0x569f48){return _0x1aed4c>_0x569f48;},'SGeha':function(_0x25c21c,_0x3155ca){return _0x25c21c>_0x3155ca;},'zZevn':function(_0x4c7521,_0x432ee3){return _0x4c7521*_0x432ee3;},'IxzGS':function(_0x5c6838,_0x5c1f21,_0x10f504){return _0x5c6838(_0x5c1f21,_0x10f504);}};await _0x56e0a3[_0x3fe36d(0x202)](_0x35b38c);!BrowserstackCLI[_0x3fe36d(0x227)]()[_0x3fe36d(0x1fa)]()&&await _0x56e0a3[_0x3fe36d(0x20f)]();await helper[_0x3fe36d(0x221)](_0x56e0a3[_0x3fe36d(0x20b)]);const _0x3de4ea=[];if(helper[_0x3fe36d(0x215)](_0x35b38c['_'][0x1]))throw _0x2f8735[_0x3fe36d(0x1f9)](Error,_0x2f8735['Alcah']);const _0x303fe5=process[_0x3fe36d(0x20c)](),_0x446866=path[_0x3fe36d(0x1ed)](_0x303fe5,_0x35b38c['_'][0x1]);if(_0x2f8735['tucEa'](_0x446866,_0x303fe5)&&!_0x446866[_0x3fe36d(0x208)](_0x2f8735['CXWcZ'](_0x303fe5,path[_0x3fe36d(0x1fb)])))throw _0x2f8735[_0x3fe36d(0x1f9)](Error,'File\x20path\x20'+_0x35b38c['_'][0x1]+_0x3fe36d(0x222));if(!fs[_0x3fe36d(0x212)](_0x446866))throw _0x2f8735['SKkIJ'](Error,'File\x20'+_0x35b38c['_'][0x1]+_0x3fe36d(0x229));if(!_0x56e0a3[_0x3fe36d(0x20b)])throw _0x2f8735[_0x3fe36d(0x210)](Error,_0x2f8735[_0x3fe36d(0x226)]);const _0x335065=helper[_0x3fe36d(0x206)](_0x56e0a3['config']);_0x56e0a3['config']['platforms']&&_0x2f8735[_0x3fe36d(0x1f3)](_0x56e0a3[_0x3fe36d(0x20b)]['platforms'][_0x3fe36d(0x223)],0x0)&&_0x56e0a3[_0x3fe36d(0x20b)][_0x3fe36d(0x209)][_0x3fe36d(0x1ec)]((_0x3ba189,_0x4ece8b)=>{const _0x24f708=_0x3fe36d;_0x335065?_0x3de4ea[_0x24f708(0x1f8)](helper[_0x24f708(0x20e)](_0x56e0a3[_0x24f708(0x20b)],_0x2f8735[_0x24f708(0x1f1)],_0x4ece8b)):_0x3de4ea[_0x24f708(0x1f8)](helper[_0x24f708(0x1fd)](_0x56e0a3[_0x24f708(0x20b)],_0x2f8735['VWUFU'],_0x4ece8b));});let _0x4beb93,_0x5d9d74;const _0x33013b=[];if(_0x2f8735[_0x3fe36d(0x228)](_0x3de4ea[_0x3fe36d(0x223)],0x0))_0x3de4ea['forEach']((_0x294066,_0x4dda71)=>{const _0x6dbe25=_0x3fe36d,_0x4fbe50={};_0x4fbe50[_0x6dbe25(0x1f7)]=_0x4dda71,_0x4beb93={'server':helper[_0x6dbe25(0x213)](_0x56e0a3[_0x6dbe25(0x20b)]),'proxySettings':_0x56e0a3[_0x6dbe25(0x20b)][_0x6dbe25(0x1f0)],'platform':helper[_0x6dbe25(0x216)](_0x294066),'platformCaps':Object[_0x6dbe25(0x1fe)](_0x4fbe50,_0x56e0a3[_0x6dbe25(0x20b)][_0x6dbe25(0x209)][_0x4dda71])};const _0x359936={'capability':_0x294066,..._0x4beb93};_0x359936[_0x6dbe25(0x201)]=_0x446866,_0x359936[_0x6dbe25(0x21e)]=_0x45ed4c;const _0x2da22a={};_0x2da22a[_0x6dbe25(0x21c)]=_0x359936,_0x5d9d74=_0x2da22a,_0x33013b[_0x6dbe25(0x1f8)](_0x5d9d74);});else{let _0x1383f8;_0x335065?_0x1383f8=helper[_0x3fe36d(0x20e)](_0x56e0a3['config'],_0x2f8735[_0x3fe36d(0x1f1)],0x0):_0x1383f8=helper[_0x3fe36d(0x1fd)](_0x56e0a3[_0x3fe36d(0x20b)],_0x2f8735['VWUFU'],0x0);_0x4beb93={'server':helper[_0x3fe36d(0x213)](_0x56e0a3[_0x3fe36d(0x20b)]),'proxySettings':_0x56e0a3[_0x3fe36d(0x20b)][_0x3fe36d(0x1f0)]};const _0x3f9192={'capability':_0x1383f8,..._0x4beb93};_0x3f9192[_0x3fe36d(0x201)]=_0x446866,_0x3f9192[_0x3fe36d(0x21e)]=_0x45ed4c;const _0x4b245f={};_0x4b245f[_0x3fe36d(0x21c)]=_0x3f9192,_0x5d9d74=_0x4b245f,_0x33013b[_0x3fe36d(0x1f8)](_0x5d9d74);}const _0x25c498=await TestHubHandler[_0x3fe36d(0x224)](_0x2f8735['VWUFU'],_0x56e0a3),_0x10a72c=_0x2f8735[_0x3fe36d(0x1f2)](_0x56e0a3[_0x3fe36d(0x20b)]['platforms'][_0x3fe36d(0x223)]||0x1,_0x56e0a3[_0x3fe36d(0x20b)]['parallelsPerPlatform']||0x1);PerformanceTester['end'](PerformanceEvents[_0x3fe36d(0x1f5)]),_0x2f8735['IxzGS'](parallelVanillaRun,_0x33013b,_0x10a72c)[_0x3fe36d(0x225)](_0x3f0ba3=>{})[_0x3fe36d(0x205)](async()=>{const _0x40e67d=_0x3fe36d;PerformanceTester[_0x40e67d(0x20d)](PerformanceEvents['SDK_CLEANUP']),await utilities['finalExecution'](_0x56e0a3);});}function a120_0x3997(_0x574313,_0x126074){const _0x223247=a120_0x2232();return a120_0x3997=function(_0x3997e9,_0x26bc2d){_0x3997e9=_0x3997e9-0x1ea;let _0x37ee89=_0x223247[_0x3997e9];return _0x37ee89;},a120_0x3997(_0x574313,_0x126074);}module['exports']=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a121_0x563eeb=a121_0x90ea;(function(_0x32c357,_0x2cc6cd){const _0x491a5c=a121_0x90ea,_0x30c6d6=_0x32c357();while(!![]){try{const _0x417b25=parseInt(_0x491a5c(0x146))/0x1+parseInt(_0x491a5c(0x150))/0x2+-parseInt(_0x491a5c(0x15f))/0x3*(parseInt(_0x491a5c(0x141))/0x4)+parseInt(_0x491a5c(0x145))/0x5+-parseInt(_0x491a5c(0x158))/0x6*(-parseInt(_0x491a5c(0x14a))/0x7)+-parseInt(_0x491a5c(0x14f))/0x8+-parseInt(_0x491a5c(0x161))/0x9;if(_0x417b25===_0x2cc6cd)break;else _0x30c6d6['push'](_0x30c6d6['shift']());}catch(_0x5a0713){_0x30c6d6['push'](_0x30c6d6['shift']());}}}(a121_0x5d5d,0x5ca59));const TestMetadata=require(a121_0x563eeb(0x15b));function a121_0x5d5d(){const _0x4b02e2=['deviceName','exports','12skWqmB','customVariables','AyUSI','MPlGE','3243605IkKfMc','719658NrHyZd','browserName','__platformCaps','os_version','2096661YSweZN','lksde','FULyf','osVersion','getCurrentPlatform','3902312wPIVUd','930850rKlcgZ','setTestMetadata','qPded','browser','uSbrl','Oltug','Aiyjx','platform_version','6ZGWuBW','ysXEH','platform','./helpers/metadata','browserVersion','HrmDJ','platformName','559293TRLncU','GLBOz','6360876VoEwca','YyIWn','QjkMn','device','set','browser_version'];a121_0x5d5d=function(){return _0x4b02e2;};return a121_0x5d5d();}function a121_0x90ea(_0x3d6a1d,_0xdb6bf0){const _0x5d5dd4=a121_0x5d5d();return a121_0x90ea=function(_0x90eacf,_0xd6e345){_0x90eacf=_0x90eacf-0x13a;let _0x15fa30=_0x5d5dd4[_0x90eacf];return _0x15fa30;},a121_0x90ea(_0x3d6a1d,_0xdb6bf0);}class BrowserStackSdk{static[a121_0x563eeb(0x14e)](){const _0x145fe1=a121_0x563eeb,_0x1653d7={};_0x1653d7[_0x145fe1(0x143)]=_0x145fe1(0x149),_0x1653d7['YyIWn']=_0x145fe1(0x14d),_0x1653d7['Aiyjx']=_0x145fe1(0x153),_0x1653d7[_0x145fe1(0x14b)]=_0x145fe1(0x147),_0x1653d7[_0x145fe1(0x155)]=_0x145fe1(0x13e),_0x1653d7[_0x145fe1(0x13b)]=_0x145fe1(0x15c),_0x1653d7['MPlGE']=_0x145fe1(0x13c),_0x1653d7[_0x145fe1(0x15d)]=_0x145fe1(0x13f),_0x1653d7[_0x145fe1(0x152)]=_0x145fe1(0x15a),_0x1653d7[_0x145fe1(0x14c)]=_0x145fe1(0x15e),_0x1653d7[_0x145fe1(0x160)]=_0x145fe1(0x157),_0x1653d7[_0x145fe1(0x154)]='platformVersion',_0x1653d7[_0x145fe1(0x159)]=_0x145fe1(0x142);const _0x341c8c=_0x1653d7,_0x4d386a={};if(global['__platformCaps']){const _0x1b6007=global[_0x145fe1(0x148)],_0x2bb211=_0x1b6007[_0x341c8c[_0x145fe1(0x143)]]||_0x1b6007[_0x341c8c[_0x145fe1(0x13a)]],_0x44f1e5=_0x1b6007[_0x341c8c[_0x145fe1(0x156)]]||_0x1b6007[_0x341c8c['lksde']],_0x959eb=_0x1b6007[_0x341c8c[_0x145fe1(0x155)]]||_0x1b6007[_0x341c8c[_0x145fe1(0x13b)]],_0x27a207=_0x1b6007[_0x341c8c[_0x145fe1(0x144)]]||_0x1b6007[_0x341c8c[_0x145fe1(0x15d)]],_0xa509ac=_0x1b6007[_0x341c8c['qPded']]||_0x1b6007[_0x341c8c[_0x145fe1(0x14c)]],_0x5c7110=_0x1b6007[_0x341c8c['GLBOz']]||_0x1b6007[_0x341c8c['uSbrl']];_0x1b6007['os']&&(_0x4d386a['os']=_0x1b6007['os']),_0x2bb211&&(_0x4d386a[_0x341c8c['YyIWn']]=_0x2bb211),_0x44f1e5&&(_0x4d386a[_0x341c8c[_0x145fe1(0x14b)]]=_0x44f1e5),_0x959eb&&(_0x4d386a[_0x341c8c[_0x145fe1(0x13b)]]=_0x959eb),_0x27a207&&(_0x4d386a[_0x341c8c[_0x145fe1(0x15d)]]=_0x27a207),_0xa509ac&&(_0x4d386a[_0x341c8c[_0x145fe1(0x14c)]]=_0xa509ac),_0x5c7110&&(_0x4d386a[_0x341c8c[_0x145fe1(0x154)]]=_0x5c7110),_0x1b6007[_0x341c8c[_0x145fe1(0x159)]]&&(_0x4d386a[_0x341c8c[_0x145fe1(0x159)]]=_0x1b6007[_0x341c8c[_0x145fe1(0x159)]]);}return _0x4d386a;}static[a121_0x563eeb(0x151)](_0x494ca3={}){const _0x16f934=a121_0x563eeb;TestMetadata[_0x16f934(0x13d)](_0x494ca3);}}module[a121_0x563eeb(0x140)]=BrowserStackSdk;
|