browserstack-node-sdk 1.53.2 → 1.53.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/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 +6 -4
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/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/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/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/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/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/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/testhubModule.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/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/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/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 a75_0x177cd9=a75_0x11eb;function a75_0x11eb(_0xc2f192,_0xe7597d){const _0x21a435=a75_0x21a4();return a75_0x11eb=function(_0x11eb2b,_0x5959a4){_0x11eb2b=_0x11eb2b-0xec;let _0x548348=_0x21a435[_0x11eb2b];return _0x548348;},a75_0x11eb(_0xc2f192,_0xe7597d);}(function(_0x51c6c8,_0x2618ea){const _0x42817f=a75_0x11eb,_0x57d57a=_0x51c6c8();while(!![]){try{const _0x1a6c9d=parseInt(_0x42817f(0x1ca))/0x1+parseInt(_0x42817f(0x179))/0x2+parseInt(_0x42817f(0x19e))/0x3*(-parseInt(_0x42817f(0x234))/0x4)+parseInt(_0x42817f(0x135))/0x5*(-parseInt(_0x42817f(0x197))/0x6)+-parseInt(_0x42817f(0x1a8))/0x7+-parseInt(_0x42817f(0x272))/0x8+-parseInt(_0x42817f(0x198))/0x9*(-parseInt(_0x42817f(0x212))/0xa);if(_0x1a6c9d===_0x2618ea)break;else _0x57d57a['push'](_0x57d57a['shift']());}catch(_0x59271c){_0x57d57a['push'](_0x57d57a['shift']());}}}(a75_0x21a4,0x8df44));const TestFramework=require('./testFramework'),TestFrameworkState=require(a75_0x177cd9(0x114)),HookState=require(a75_0x177cd9(0x174)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x177cd9(0x127)),CLIUtils=require(a75_0x177cd9(0x154)),TrackedInstance=require(a75_0x177cd9(0x26a)),TestFrameworkConstants=require(a75_0x177cd9(0x176)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x177cd9(0x13a)),logger=createClassLogger(a75_0x177cd9(0x1c1)),{v4:uuidv4}=require('uuid'),util=require(a75_0x177cd9(0x23a)),TestInfo=require(a75_0x177cd9(0x1c8)),GrpcClient=require(a75_0x177cd9(0x157)),stackTrace=require(a75_0x177cd9(0x1df));class JestTestFramework extends TestFramework{constructor(_0x510063,_0x28f9a5,_0x2787d4){const _0x17fe8f=a75_0x177cd9;super(_0x510063,_0x28f9a5,_0x2787d4),this[_0x17fe8f(0x22b)]=new Map();}['setActiveHook'](_0xd74e81,_0x3818c7,_0x54878f){const _0x44f770=a75_0x177cd9,_0x841e1f={};_0x841e1f['eLTbi']=function(_0x26d0c9,_0x2311bf){return _0x26d0c9||_0x2311bf;};const _0x556be5=_0x841e1f;if(_0x556be5[_0x44f770(0x25d)](!_0xd74e81,!_0x3818c7)){logger[_0x44f770(0x1ee)](_0x44f770(0x18b)+_0xd74e81+_0x44f770(0x13c)+_0x3818c7);return;}!this['activeHooks'][_0x44f770(0x258)](_0xd74e81)&&this[_0x44f770(0x22b)][_0x44f770(0x257)](_0xd74e81,[]);const _0x135f17={'hookUUID':_0x3818c7,'hookType':_0x54878f,'startedAt':new Date()[_0x44f770(0x137)]()};this[_0x44f770(0x22b)][_0x44f770(0x275)](_0xd74e81)['push'](_0x135f17),logger['debug'](_0x44f770(0x1ac)+_0xd74e81+_0x44f770(0x13c)+_0x3818c7+',\x20hookType='+_0x54878f+',\x20totalHooks='+this['activeHooks'][_0x44f770(0x275)](_0xd74e81)['length']);}[a75_0x177cd9(0x1bb)](_0x55e2d7,_0x23f0d4){const _0x2e8e5c=a75_0x177cd9,_0x2655d={};_0x2655d[_0x2e8e5c(0x104)]=function(_0x2b6d56,_0x2ce853){return _0x2b6d56||_0x2ce853;},_0x2655d[_0x2e8e5c(0x1a6)]=function(_0x59ddf4,_0x308ef1){return _0x59ddf4!==_0x308ef1;},_0x2655d[_0x2e8e5c(0x1de)]=function(_0xa1daba,_0x43c97e){return _0xa1daba===_0x43c97e;};const _0x4ecbd4=_0x2655d;if(_0x4ecbd4[_0x2e8e5c(0x104)](!_0x55e2d7,!_0x23f0d4)){logger[_0x2e8e5c(0x1ee)](_0x2e8e5c(0x160)+_0x55e2d7+_0x2e8e5c(0x13c)+_0x23f0d4);return;}if(this[_0x2e8e5c(0x22b)]['has'](_0x55e2d7)){const _0x3e6da2=this[_0x2e8e5c(0x22b)][_0x2e8e5c(0x275)](_0x55e2d7),_0x1c2b7f=_0x3e6da2[_0x2e8e5c(0x145)](_0x56a5b0=>_0x56a5b0['hookUUID']===_0x23f0d4);_0x4ecbd4[_0x2e8e5c(0x1a6)](_0x1c2b7f,-0x1)?(_0x3e6da2['splice'](_0x1c2b7f,0x1),logger[_0x2e8e5c(0x1e1)](_0x2e8e5c(0xf8)+_0x55e2d7+_0x2e8e5c(0x13c)+_0x23f0d4+',\x20remainingHooks='+_0x3e6da2['length']),_0x4ecbd4[_0x2e8e5c(0x1de)](_0x3e6da2[_0x2e8e5c(0x255)],0x0)&&this['activeHooks'][_0x2e8e5c(0x14b)](_0x55e2d7)):logger['debug'](_0x2e8e5c(0x266)+_0x55e2d7+_0x2e8e5c(0x13c)+_0x23f0d4);}}[a75_0x177cd9(0x15d)](_0xfda357){const _0x5d6af3=a75_0x177cd9,_0x3ffe29={};_0x3ffe29['rCFTH']=function(_0xdb785,_0x10a57c){return _0xdb785>_0x10a57c;},_0x3ffe29[_0x5d6af3(0x276)]=function(_0x534b0f,_0x199bb9){return _0x534b0f-_0x199bb9;};const _0x1343a8=_0x3ffe29;if(!_0xfda357)return null;if(this[_0x5d6af3(0x22b)]['has'](_0xfda357)){const _0x41f8a4=this['activeHooks'][_0x5d6af3(0x275)](_0xfda357);if(_0x1343a8[_0x5d6af3(0x1dc)](_0x41f8a4[_0x5d6af3(0x255)],0x0)){const _0x2ae36c=_0x41f8a4[_0x1343a8[_0x5d6af3(0x276)](_0x41f8a4[_0x5d6af3(0x255)],0x1)];return logger['debug'](_0x5d6af3(0x158)+_0xfda357+_0x5d6af3(0x13c)+_0x2ae36c[_0x5d6af3(0x18d)]+_0x5d6af3(0x26b)+_0x2ae36c[_0x5d6af3(0x22e)]),_0x2ae36c;}}return null;}async[a75_0x177cd9(0x17d)](_0x555ff9,_0x4f1172,_0x300148={}){const _0xce16b1=a75_0x177cd9,_0x31c8cf={};_0x31c8cf['hwGtT']=_0xce16b1(0x180),_0x31c8cf['zzzZv']=function(_0x3878a1,_0x1643d3){return _0x3878a1===_0x1643d3;},_0x31c8cf[_0xce16b1(0x25c)]=function(_0x29f37b,_0x875758){return _0x29f37b===_0x875758;},_0x31c8cf[_0xce16b1(0x1dd)]=function(_0x23a4d5,_0x2b70d9){return _0x23a4d5||_0x2b70d9;},_0x31c8cf['hQNHD']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x31c8cf[_0xce16b1(0x1f0)]=function(_0x2749eb,_0x83ebf4){return _0x2749eb===_0x83ebf4;};const _0x167733=_0x31c8cf;logger[_0xce16b1(0x1e1)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x555ff9+_0xce16b1(0x123)+_0x4f1172+_0xce16b1(0x1e2)+Object[_0xce16b1(0x132)](_0x300148)['join'](',')),await super['trackEvent'](_0x555ff9,_0x4f1172,_0x300148);const _0x9fb80d=this[_0xce16b1(0x164)](_0x555ff9,_0x4f1172,_0x300148);if(!_0x9fb80d){logger[_0xce16b1(0x1e1)](_0x167733['hwGtT']);return;}try{let _0x2bdccd,_0x2b0e90,_0x1fe58c;switch(_0x555ff9){case TestFrameworkState[_0xce16b1(0x277)]:_0x2bdccd=_0x300148['test'];const _0xac598c={};_0xac598c[_0xce16b1(0x1f5)]=0x2,_0xac598c['maxArrayLength']=0x3,logger[_0xce16b1(0x1e1)](_0xce16b1(0x13d)+_0x4f1172+_0xce16b1(0x1ba)+util[_0xce16b1(0xfd)](_0x2bdccd,_0xac598c)),_0x1fe58c=this['getJestTestIdentifier'](_0x2bdccd),_0x2b0e90=null,logger['debug'](_0xce16b1(0x1d4)+_0x1fe58c+'\x20(testIdentifier)');if(_0x167733[_0xce16b1(0x26e)](_0x4f1172,HookState[_0xce16b1(0x26d)])){logger['debug'](_0xce16b1(0x250)+_0x1fe58c);const _0x42034a={};_0x42034a[_0xce16b1(0x254)]=_0x2b0e90,_0x42034a[_0xce16b1(0x253)]=_0x2bdccd,_0x42034a[_0xce16b1(0xf7)]=_0x1fe58c;const _0xfc09b5=this[_0xce16b1(0x207)](_0x42034a),_0x1d86b7={};_0x1d86b7[_0xce16b1(0x1f5)]=0x2,_0x1d86b7[_0xce16b1(0xf5)]=0x3,logger['debug'](_0xce16b1(0x16a)+util[_0xce16b1(0xfd)](_0xfc09b5,_0x1d86b7)),_0x9fb80d[_0xce16b1(0x1ad)](_0xfc09b5),logger[_0xce16b1(0x1e1)](_0xce16b1(0x120)+_0x1fe58c),await this[_0xce16b1(0x256)](_0x9fb80d,_0x1fe58c);}else{if(_0x167733['jqXfA'](_0x4f1172,HookState[_0xce16b1(0x143)])){logger[_0xce16b1(0x1e1)](_0xce16b1(0x1ea)+_0x1fe58c);const _0x4f4b0c=_0x9fb80d[_0xce16b1(0x155)]()[_0xce16b1(0x275)](_0x1fe58c);logger['debug'](_0xce16b1(0x18f)+util[_0xce16b1(0xfd)](Object['keys'](_0x167733[_0xce16b1(0x1dd)](_0x4f4b0c,{}))));_0x4f4b0c&&_0x4f4b0c[TestFrameworkConstants[_0xce16b1(0x1c3)]]?logger[_0xce16b1(0x1e1)](_0xce16b1(0x1d3)+Object['keys'](_0x4f4b0c[TestFrameworkConstants[_0xce16b1(0x1c3)]])[_0xce16b1(0x255)]+_0xce16b1(0x1e4)):logger[_0xce16b1(0x1e1)](_0x167733[_0xce16b1(0x163)]);const _0x41be9e=_0x300148[_0xce16b1(0x113)]||null,_0x25d599={};_0x25d599[_0xce16b1(0x254)]=_0x2b0e90,_0x25d599[_0xce16b1(0x253)]=_0x2bdccd,_0x25d599[_0xce16b1(0xf7)]=_0x1fe58c,_0x25d599[_0xce16b1(0x113)]=_0x41be9e;const _0x34d140=this[_0xce16b1(0x23c)](_0x25d599),_0x43d7c9={};_0x43d7c9[_0xce16b1(0x1f5)]=0x2,_0x43d7c9[_0xce16b1(0xf5)]=0x3,logger[_0xce16b1(0x1e1)](_0xce16b1(0x1f1)+util['inspect'](_0x34d140,_0x43d7c9)),_0x9fb80d[_0xce16b1(0x1ad)](_0x34d140),logger[_0xce16b1(0x1e1)](_0xce16b1(0x107)+_0x1fe58c),await this[_0xce16b1(0x256)](_0x9fb80d,_0x1fe58c);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x167733[_0xce16b1(0x1f0)](_0x4f1172,HookState['POST'])){const _0x40e325={};_0x40e325[_0xce16b1(0x1f5)]=0x2,logger[_0xce16b1(0x1e1)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0xce16b1(0xfd)](_0x300148,_0x40e325)),await this[_0xce16b1(0x1c0)](_0x9fb80d,_0x555ff9,_0x300148);}break;default:if(CLIUtils[_0xce16b1(0x1b9)](_0x555ff9[_0xce16b1(0x156)]()[_0xce16b1(0x196)]('.')[0x1])){const _0x27ac54={};_0x27ac54['depth']=0x2,_0x27ac54[_0xce16b1(0xf5)]=0x3,logger['debug'](_0xce16b1(0x1a1)+_0x555ff9+_0xce16b1(0x123)+_0x4f1172+_0xce16b1(0x146)+util['inspect'](_0x300148['hookData'],_0x27ac54));const _0x2eb1da=await this[_0xce16b1(0x1aa)](_0x9fb80d,_0x555ff9,_0x4f1172,_0x300148),_0x56437c={};_0x56437c[_0xce16b1(0x1f5)]=0x2,_0x56437c[_0xce16b1(0xf5)]=0x3,logger['debug'](_0xce16b1(0x105)+util[_0xce16b1(0xfd)](_0x2eb1da,_0x56437c)),_0x9fb80d[_0xce16b1(0x1ad)](_0x2eb1da);}else logger['debug'](_0xce16b1(0x16f)+_0x555ff9+'\x20&\x20hookState='+_0x4f1172);break;}logger['debug'](_0xce16b1(0x26f)+_0x555ff9+',\x20hookState='+_0x4f1172);}catch(_0x456cb1){logger['error'](_0xce16b1(0x228)+_0x555ff9+_0xce16b1(0x123)+_0x4f1172+',\x20exception='+util[_0xce16b1(0x1e8)](_0x456cb1));}_0x300148[_0xce16b1(0x27d)]=_0x9fb80d,await this[_0xce16b1(0xff)](_0x9fb80d,_0x555ff9,_0x4f1172,_0x300148);}[a75_0x177cd9(0x10c)](_0x2699ef){const _0x5cd305=a75_0x177cd9,_0x5c5985={};_0x5c5985[_0x5cd305(0x142)]=_0x5cd305(0x1f3);const _0x2d4090=_0x5c5985;if(_0x2699ef&&(_0x2699ef['id']||_0x2699ef[_0x5cd305(0x10b)])){const _0x431efc=_0x2699ef['id']||_0x2699ef[_0x5cd305(0x10b)];return logger['debug'](_0x5cd305(0x1d8)+_0x431efc+_0x5cd305(0x13b)),_0x431efc;}return logger['debug'](_0x2d4090[_0x5cd305(0x142)]),process['pid']+_0x5cd305(0x18c);}[a75_0x177cd9(0x164)](_0x37ceba,_0x216d8f,_0x42bc99={}){const _0x8192b8=a75_0x177cd9;let _0x2c78d2=null;return _0x2c78d2=TestFramework[_0x8192b8(0x103)](),!_0x2c78d2?(logger[_0x8192b8(0x1e1)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x37ceba),this[_0x8192b8(0x15a)](_0x37ceba,_0x42bc99),_0x2c78d2=TestFramework[_0x8192b8(0x103)](),logger[_0x8192b8(0x1e1)](_0x8192b8(0x12c)+!!_0x2c78d2+',\x20contextId='+_0x2c78d2?.['getContext']()?.[_0x8192b8(0x271)]())):logger[_0x8192b8(0x1e1)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x2c78d2['getContext']()?.['getId']()),_0x2c78d2;}[a75_0x177cd9(0x15a)](_0x568073,_0x74e8f1){const _0x2fd302=a75_0x177cd9,_0x229891={};_0x229891[_0x2fd302(0x1a3)]=_0x2fd302(0x149);const _0x3c0b7b=_0x229891;if(TestFramework[_0x2fd302(0x103)]()){logger[_0x2fd302(0x1e1)](_0x3c0b7b[_0x2fd302(0x1a3)]);return;}const _0x3fc820=CLIUtils[_0x2fd302(0xfa)](),_0x1d30e0=TrackedInstance['createContext'](_0x3fc820);let _0x21299e=null;logger[_0x2fd302(0x1e1)](_0x2fd302(0x12b)+_0x3fc820+_0x2fd302(0x14a)+_0x568073),_0x21299e=new TestFrameworkInstance(_0x1d30e0,this['getTestFrameworks'](),this[_0x2fd302(0x1b6)](),_0x568073,HookState[_0x2fd302(0x1ef)]),TestFramework[_0x2fd302(0x119)](_0x1d30e0,_0x21299e),logger['debug'](_0x2fd302(0x125)+_0x1d30e0[_0x2fd302(0x271)]()+',\x20target='+_0x3fc820+_0x2fd302(0xec)+this['getTestFrameworks']()[0x0]+_0x2fd302(0x1f7)+this[_0x2fd302(0x1b6)]()[this[_0x2fd302(0x15e)]()[0x0]]);}[a75_0x177cd9(0x207)](_0x5a2330){const _0x5ef7ab=a75_0x177cd9,_0x54d23e={};_0x54d23e[_0x5ef7ab(0x240)]=function(_0xe6f004,_0x36b9b5){return _0xe6f004||_0x36b9b5;},_0x54d23e[_0x5ef7ab(0x20e)]=_0x5ef7ab(0x102);const _0x3a1fdd=_0x54d23e,{testUUID:_0x52f515,testData:_0x202626,testId:_0x2c1c16}=_0x5a2330;if(_0x3a1fdd[_0x5ef7ab(0x240)](!_0x202626,!_0x2c1c16))return logger[_0x5ef7ab(0x1e1)](_0x3a1fdd[_0x5ef7ab(0x20e)]),{};const _0x129a36=this[_0x5ef7ab(0x15e)]()[0x0],_0x13ae73=this[_0x5ef7ab(0x1b6)](),_0xfc498e={};_0xfc498e[_0x5ef7ab(0x1f5)]=0x2,_0xfc498e[_0x5ef7ab(0xf5)]=0x3,logger[_0x5ef7ab(0x1e1)](_0x5ef7ab(0x1bd)+util['inspect'](_0x202626,_0xfc498e));const _0x271d28=_0x202626?.[_0x5ef7ab(0x227)]||[],_0x76e177=this['getJestTestName'](_0x202626),_0x1327df=this[_0x5ef7ab(0x17f)](_0x202626),_0x481cb9=_0x202626['fn']?_0x202626['fn'][_0x5ef7ab(0x156)]():_0x202626?.[_0x5ef7ab(0x151)]?_0x202626[_0x5ef7ab(0x151)][_0x5ef7ab(0x172)]['toString']():null,_0x43dad5=this['getJestTestTags'](_0x202626),_0x2b2d40={[TestFrameworkConstants[_0x5ef7ab(0x259)]]:_0x129a36,[TestFrameworkConstants[_0x5ef7ab(0xf1)]]:_0x13ae73[_0x129a36],[TestFrameworkConstants[_0x5ef7ab(0x1ff)]]:[],[TestFrameworkConstants[_0x5ef7ab(0x249)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x5ef7ab(0x273)],[TestFrameworkConstants[_0x5ef7ab(0x267)]]:_0x76e177,[TestFrameworkConstants[_0x5ef7ab(0x1fc)]]:_0x1327df,[TestFrameworkConstants[_0x5ef7ab(0x260)]]:_0x2c1c16,[TestFrameworkConstants[_0x5ef7ab(0x1c4)]]:_0x76e177,[TestFrameworkConstants[_0x5ef7ab(0x1f8)]]:_0x1327df,[TestFrameworkConstants[_0x5ef7ab(0x11c)]]:_0x481cb9,[TestFrameworkConstants[_0x5ef7ab(0x16d)]]:_0x43dad5,[TestFrameworkConstants[_0x5ef7ab(0x229)]]:_0x202626['started_at']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x271d28[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x271d28,[TestFrameworkConstants[_0x5ef7ab(0x14e)]]:_0x76e177,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x5ef7ab(0x19f)]]:{}};_0x202626['retryOf']&&(_0x2b2d40[TestFrameworkConstants[_0x5ef7ab(0x25b)]]=_0x202626[_0x5ef7ab(0x11e)]);logger[_0x5ef7ab(0x1e1)](_0x5ef7ab(0x1b2)+_0x76e177+_0x5ef7ab(0x110)+_0x2c1c16+'\x20(testIdentifier),\x20tags='+JSON[_0x5ef7ab(0x1db)](_0x43dad5)+_0x5ef7ab(0x217)+util[_0x5ef7ab(0xfd)](_0x271d28)+_0x5ef7ab(0x26c)+_0x1327df);const _0x1d8f9b={};return _0x1d8f9b[_0x2c1c16]=_0x2b2d40,_0x1d8f9b;}[a75_0x177cd9(0x23c)](_0x115058){const _0x6969db=a75_0x177cd9,_0x419fdc={'gqbdM':function(_0x4f03ef,_0x1f1c7e){return _0x4f03ef===_0x1f1c7e;},'ewfZw':_0x6969db(0x268),'KUYld':function(_0x5261ca,_0xd0276c){return _0x5261ca===_0xd0276c;},'CLkuX':'beforeAll','ZYMsr':_0x6969db(0x1da),'fOPeS':_0x6969db(0x265),'Zkqoe':function(_0x382983,_0xc25f3f){return _0x382983||_0xc25f3f;},'YGvgl':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','mxYoD':_0x6969db(0x1fd),'DyANC':function(_0x7e8d9f,_0x95b976){return _0x7e8d9f>_0x95b976;},'VkGVD':_0x6969db(0x24b),'pePAw':function(_0x1d7303,_0x174027){return _0x1d7303===_0x174027;},'ocUxR':_0x6969db(0x1a2),'EWjhW':'skipped','cLcbj':'passed','FdJlD':function(_0x268c97,_0x27b17f){return _0x268c97!==_0x27b17f;},'oDODp':function(_0x3a557c,_0x2c31bf,_0x15f0c0,_0x1708fd){return _0x3a557c(_0x2c31bf,_0x15f0c0,_0x1708fd);},'bWEeQ':function(_0x2167bb,_0x3afa65){return _0x2167bb>_0x3afa65;},'LtqmR':_0x6969db(0x262),'MyKGU':function(_0x3c183b,_0x14035c){return _0x3c183b===_0x14035c;}},{testUUID:_0x2b7d15,testData:_0x38ed68,testId:_0xdc66be}=_0x115058;if(_0x419fdc[_0x6969db(0x10e)](!_0x38ed68,!_0xdc66be))return logger[_0x6969db(0x1e1)](_0x419fdc[_0x6969db(0x12e)]),{};const _0x3b1746=this[_0x6969db(0x164)](TestFrameworkState[_0x6969db(0x277)],HookState[_0x6969db(0x143)]),_0x17fda0=_0x3b1746['getAllData']()[_0x6969db(0x275)](_0xdc66be),_0x175749=_0x419fdc[_0x6969db(0x10e)](_0x17fda0,{}),_0x924b1=_0x175749?_0x175749[TestFrameworkConstants[_0x6969db(0x22a)]]||{}:{},_0x149e41=_0x175749[TestFrameworkConstants[_0x6969db(0x1c3)]];logger[_0x6969db(0x1e1)](_0x6969db(0x25a)+(_0x149e41?Object[_0x6969db(0x132)](_0x149e41)['length']:0x0)+_0x6969db(0x245));let _0x304f3c=_0x419fdc[_0x6969db(0x27e)];if(_0x38ed68['result'])_0x304f3c=_0x38ed68['result'];else{if(_0x38ed68[_0x6969db(0x21a)]&&_0x419fdc[_0x6969db(0x1a9)](_0x38ed68[_0x6969db(0x21a)][_0x6969db(0x255)],0x0))_0x304f3c=_0x419fdc[_0x6969db(0x222)];else _0x419fdc[_0x6969db(0x122)](_0x38ed68[_0x6969db(0x138)],_0x419fdc['ocUxR'])||_0x419fdc['gqbdM'](_0x38ed68[_0x6969db(0x138)],_0x419fdc[_0x6969db(0x214)])?_0x304f3c=_0x419fdc[_0x6969db(0x214)]:_0x304f3c=_0x419fdc[_0x6969db(0x193)];}const _0x1d2e88={..._0x175749,[TestFrameworkConstants[_0x6969db(0x1a0)]]:_0x304f3c,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x38ed68[_0x6969db(0x209)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x6969db(0x22a)]]:_0x924b1,[TestFrameworkConstants[_0x6969db(0x150)]]:_0x175749[TestFrameworkConstants[_0x6969db(0x150)]]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x419fdc[_0x6969db(0x16e)](_0x304f3c,_0x419fdc[_0x6969db(0x222)])&&_0x38ed68['errorsDetailed']){const _0xa89c2e=this[_0x6969db(0x1d0)](_0x38ed68),_0x8f4aa6=this[_0x6969db(0x200)](_0x38ed68),_0x2989d8=this['getJestFailureData'](_0x38ed68);_0x1d2e88[TestFrameworkConstants[_0x6969db(0x141)]]=_0x8f4aa6,_0x1d2e88[TestFrameworkConstants[_0x6969db(0x178)]]=_0xa89c2e,_0x1d2e88[TestFrameworkConstants[_0x6969db(0x15c)]]=_0x2989d8;}_0x419fdc[_0x6969db(0x1f6)](_0x38ed68['duration'],undefined)&&(_0x1d2e88[TestFrameworkConstants[_0x6969db(0x159)]]=_0x38ed68[_0x6969db(0x11b)]);_0x38ed68['retryOf']&&(_0x1d2e88[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x38ed68[_0x6969db(0x11e)]);const _0x58ef62=_0x17fda0?_0x17fda0[TestFrameworkConstants[_0x6969db(0x1c3)]]||{}:{},_0x1ff1cc=_0x17fda0?_0x17fda0[TestFrameworkConstants[_0x6969db(0xf9)]]:_0x2b7d15,_0x24de74=_0x419fdc[_0x6969db(0x1c9)](getManualUploadLogs,_0x58ef62,_0x1ff1cc,_0xdc66be);if(_0x419fdc[_0x6969db(0x1a9)](_0x24de74['length'],0x0)){const _0x58854a=_0x1d2e88[TestFrameworkConstants[_0x6969db(0x150)]]||[];_0x1d2e88[TestFrameworkConstants[_0x6969db(0x150)]]=[..._0x58854a,..._0x24de74];}const _0x2da6e8=_0x175749[TestFrameworkConstants[_0x6969db(0x249)]]||{},_0x3365f0=_0x175749[TestFrameworkConstants[_0x6969db(0x140)]]||{},_0x3e17c1={..._0x2da6e8},_0x5bccac=_0x3e17c1;Object[_0x6969db(0x132)](_0x3365f0)[_0x6969db(0x1ae)](_0x1852db=>{const _0x4c0c3e=_0x6969db;!_0x5bccac[_0x1852db]&&(_0x5bccac[_0x1852db]=[]);const _0x58fc87=new Set((_0x5bccac[_0x1852db]||[])['map'](_0x774a1f=>_0x774a1f[TestFrameworkConstants[_0x4c0c3e(0x18e)]]||_0x774a1f[_0x4c0c3e(0x162)]));(_0x3365f0[_0x1852db]||[])[_0x4c0c3e(0x1ae)](_0x32f098=>{const _0x559694=_0x4c0c3e,_0x43bb96=_0x32f098[TestFrameworkConstants[_0x559694(0x18e)]]||_0x32f098['hook_id'];if(!_0x58fc87[_0x559694(0x258)](_0x43bb96)){const _0x20a158={..._0x32f098},_0xc331f1=_0x20a158;!_0xc331f1[TestFrameworkConstants[_0x559694(0x232)]]&&!_0xc331f1[_0x559694(0x195)]&&(_0xc331f1[TestFrameworkConstants[_0x559694(0x232)]]=new Date()[_0x559694(0x137)]()),!_0xc331f1[TestFrameworkConstants[_0x559694(0x1cd)]]&&!_0xc331f1[_0x559694(0x204)]&&(_0xc331f1[TestFrameworkConstants[_0x559694(0x1cd)]]=TestFrameworkConstants[_0x559694(0x1fa)]),_0x5bccac[_0x1852db][_0x559694(0x14f)](_0xc331f1);}});});if(_0x115058[_0x6969db(0x113)]){this[_0x6969db(0x182)](_0x115058['originalTest']);const _0x14f61a=this['buildHookMapFromTest'](_0x115058[_0x6969db(0x113)]),_0x4fc0d5=this['getHooksForTest'](_0x115058[_0x6969db(0x113)]);_0x4fc0d5[_0x6969db(0x1ae)](_0x37f49b=>{const _0x479087=_0x6969db,_0x1a1234=_0x14f61a[_0x479087(0x275)](_0x37f49b);if(_0x1a1234&&(_0x419fdc[_0x479087(0x16e)](_0x1a1234['type'],_0x419fdc[_0x479087(0x19c)])||_0x419fdc[_0x479087(0x1b4)](_0x1a1234[_0x479087(0x112)],_0x419fdc[_0x479087(0x23f)]))){const _0x50f319=_0x1a1234['type']['toUpperCase']()['replace'](_0x419fdc[_0x479087(0x1c6)],_0x419fdc['fOPeS']),_0x2d91ef=_0x50f319;!_0x5bccac[_0x2d91ef]&&(_0x5bccac[_0x2d91ef]=[]);const _0x1ce76f=_0x5bccac[_0x2d91ef][_0x479087(0x189)](_0x4b4c3b=>(_0x4b4c3b[TestFrameworkConstants[_0x479087(0x18e)]]||_0x4b4c3b[_0x479087(0x162)])===_0x37f49b);!_0x1ce76f&&_0x5bccac[_0x2d91ef][_0x479087(0x14f)]({'key':_0x2d91ef,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x37f49b,[TestFrameworkConstants[_0x479087(0x1cd)]]:TestFrameworkConstants[_0x479087(0x1fa)],[TestFrameworkConstants[_0x479087(0x1b1)]]:new Date()[_0x479087(0x137)](),[TestFrameworkConstants[_0x479087(0x232)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x479087(0x183)]]:[],[TestFrameworkConstants[_0x479087(0x168)]]:_0x1a1234[_0x479087(0x1c7)]||_0x1a1234[_0x479087(0x112)]+_0x479087(0x1b8),[TestFrameworkConstants[_0x479087(0x22a)]]:_0x924b1});}});}if(_0x38ed68[_0x6969db(0x139)]&&_0x419fdc[_0x6969db(0x17c)](_0x38ed68['hooks'][_0x6969db(0x255)],0x0))_0x1d2e88[TestFrameworkConstants[_0x6969db(0x249)]]=_0x38ed68[_0x6969db(0x139)],logger[_0x6969db(0x1e1)](_0x419fdc[_0x6969db(0x274)]);else _0x419fdc[_0x6969db(0x17c)](Object[_0x6969db(0x132)](_0x5bccac)[_0x6969db(0x255)],0x0)&&(_0x1d2e88[TestFrameworkConstants[_0x6969db(0x249)]]=_0x5bccac,logger['debug'](_0x6969db(0x252)+Object[_0x6969db(0x132)](_0x5bccac)[_0x6969db(0x161)](',')));const _0x4c21fb=this[_0x6969db(0x1fb)](_0x38ed68);logger[_0x6969db(0x1e1)](_0x6969db(0x16c)+_0x4c21fb+_0x6969db(0x110)+_0xdc66be+_0x6969db(0x1d9)+_0x304f3c+_0x6969db(0x100)+_0x38ed68[_0x6969db(0x11b)]);_0x419fdc[_0x6969db(0x261)](_0x304f3c,_0x419fdc[_0x6969db(0x222)])&&logger['debug'](_0x6969db(0x126)+_0xdc66be+',\x20failureType='+_0x1d2e88[TestFrameworkConstants[_0x6969db(0x141)]]+_0x6969db(0x23d)+_0x1d2e88[TestFrameworkConstants[_0x6969db(0x178)]]?.[_0x6969db(0x167)](0x0,0xc8));const _0xd8104b={};return _0xd8104b[_0xdc66be]=_0x1d2e88,_0xd8104b;}[a75_0x177cd9(0x20b)](_0x42fb3d){const _0x151869=a75_0x177cd9,_0x2a433f={};_0x2a433f['AmGcY']=function(_0x3b5110,_0x259ee6){return _0x3b5110!==_0x259ee6;},_0x2a433f[_0x151869(0x219)]=_0x151869(0x1e3);const _0x3a83ee=_0x2a433f,_0x34fe2e={};_0x34fe2e[_0x151869(0x1f5)]=0x2,_0x34fe2e[_0x151869(0xf5)]=0x3,logger[_0x151869(0x1e1)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x151869(0xfd)](_0x42fb3d,_0x34fe2e));const _0x19928d=[];if(_0x42fb3d&&_0x42fb3d[_0x151869(0x248)]){let _0x4657b9=_0x42fb3d[_0x151869(0x248)];while(_0x4657b9&&_0x4657b9[_0x151869(0x1c7)]&&_0x3a83ee['AmGcY'](_0x4657b9[_0x151869(0x1c7)],'')&&_0x3a83ee[_0x151869(0x1b7)](_0x4657b9[_0x151869(0x1c7)],_0x3a83ee[_0x151869(0x219)])){_0x19928d[_0x151869(0x14f)](_0x4657b9[_0x151869(0x1c7)]),_0x4657b9=_0x4657b9[_0x151869(0x248)];}}return _0x19928d[_0x151869(0x199)]();}[a75_0x177cd9(0x1fb)](_0x544a22){const _0x38b05a=a75_0x177cd9,_0x168bdd={};_0x168bdd[_0x38b05a(0x1d2)]='Unknown\x20Test';const _0x50a10e=_0x168bdd;if(_0x544a22[_0x38b05a(0x1c7)])return _0x544a22[_0x38b05a(0x1c7)];if(_0x544a22[_0x38b05a(0x111)])return _0x544a22[_0x38b05a(0x111)];return _0x50a10e['kwcPS'];}['getJestTestTags'](_0x3fec6d){const _0x2b2d8c=a75_0x177cd9,_0x217a72=[];if(_0x3fec6d[_0x2b2d8c(0x27c)]&&Array[_0x2b2d8c(0x19a)](_0x3fec6d[_0x2b2d8c(0x27c)]))return _0x3fec6d[_0x2b2d8c(0x27c)][_0x2b2d8c(0x148)](_0x17bdaa=>_0x17bdaa[_0x2b2d8c(0x27b)]('@')?_0x17bdaa[_0x2b2d8c(0x108)](0x1):_0x17bdaa);const _0x21fb2d=this[_0x2b2d8c(0x1fb)](_0x3fec6d),_0x3db3a4=_0x21fb2d[_0x2b2d8c(0x242)](/@(\w+)/g);if(_0x3db3a4)return _0x3db3a4['map'](_0x12f531=>_0x12f531[_0x2b2d8c(0x1ed)](0x1));return _0x3fec6d['scopes']&&Array[_0x2b2d8c(0x19a)](_0x3fec6d[_0x2b2d8c(0x227)])&&_0x3fec6d[_0x2b2d8c(0x227)][_0x2b2d8c(0x1ae)](_0x58f5f4=>{const _0x4f0930=_0x2b2d8c,_0x1c4db3=_0x58f5f4[_0x4f0930(0x242)](/@(\w+)/g);_0x1c4db3&&_0x1c4db3[_0x4f0930(0x1ae)](_0x55a1d2=>{const _0x5dd22f=_0x4f0930,_0x22bc73=_0x55a1d2[_0x5dd22f(0x1ed)](0x1);!_0x217a72[_0x5dd22f(0x1e6)](_0x22bc73)&&_0x217a72['push'](_0x22bc73);});}),_0x217a72;}['getJestTestFilePath'](_0x1cd022){const _0xd92760=a75_0x177cd9,_0x1c0c6b={'WneEm':function(_0x194934,_0x2b266b){return _0x194934(_0x2b266b);},'UmGjS':'stack-trace'};if(_0x1cd022[_0xd92760(0x1cb)])return _0x1cd022[_0xd92760(0x1cb)];if(_0x1cd022[_0xd92760(0x14d)]){const _0x4fa490=_0x1c0c6b[_0xd92760(0x225)](require,_0x1c0c6b['UmGjS']);try{const _0xcf8ea3=_0x4fa490[_0xd92760(0x218)](_0x1cd022[_0xd92760(0x14d)]);if(_0xcf8ea3[0x0]&&_0xcf8ea3[0x0][_0xd92760(0x17a)])return _0xcf8ea3[0x0][_0xd92760(0x17a)]();}catch(_0xf84615){logger[_0xd92760(0x1e1)](_0xd92760(0x185)+util[_0xd92760(0x1e8)](_0xf84615));}}return null;}[a75_0x177cd9(0x1d0)](_0x13bbe0){const _0x23426c=a75_0x177cd9,_0x4611ce={};_0x4611ce[_0x23426c(0x121)]=function(_0x1f1d22,_0x480f58){return _0x1f1d22>_0x480f58;},_0x4611ce[_0x23426c(0x15f)]='Unknown\x20error';const _0x4d97ac=_0x4611ce;if(_0x13bbe0[_0x23426c(0x21a)]&&_0x4d97ac[_0x23426c(0x121)](_0x13bbe0[_0x23426c(0x21a)]['length'],0x0))return util[_0x23426c(0xfd)](_0x13bbe0[_0x23426c(0x21a)][0x0]);if(_0x13bbe0[_0x23426c(0x264)])return _0x13bbe0[_0x23426c(0x264)];return _0x4d97ac[_0x23426c(0x15f)];}[a75_0x177cd9(0x200)](_0x33a82b){const _0x55b6bb=a75_0x177cd9,_0x4d32bc={};_0x4d32bc[_0x55b6bb(0x1cc)]='Assert',_0x4d32bc[_0x55b6bb(0x13e)]='AssertionError',_0x4d32bc['RPMcE']=_0x55b6bb(0x186);const _0x5d3fc7=_0x4d32bc,_0x237d4c=this[_0x55b6bb(0x1d0)](_0x33a82b);if(_0x237d4c&&_0x237d4c[_0x55b6bb(0x1e6)](_0x5d3fc7['eiMHH']))return _0x5d3fc7[_0x55b6bb(0x13e)];return _0x5d3fc7['RPMcE'];}[a75_0x177cd9(0x109)](_0x3a7fd4){const _0x1dc366=a75_0x177cd9,_0x29300e={'TOnLt':function(_0x23d0b7,_0x10776a){return _0x23d0b7(_0x10776a);},'ocQMg':_0x1dc366(0x13a),'UWcrs':function(_0xba514a,_0x4322da){return _0xba514a!==_0x4322da;},'FwvbW':_0x1dc366(0x20d)},{failureData:_0x539193}=_0x29300e[_0x1dc366(0x201)](require,_0x29300e[_0x1dc366(0x251)]),_0x8cd80b=[];return _0x29300e['UWcrs'](_0x3a7fd4['errorsDetailed'],undefined)&&_0x8cd80b['push'](_0x3a7fd4[_0x1dc366(0x21a)],_0x29300e['FwvbW']),_0x539193[_0x1dc366(0x247)](null,_0x8cd80b);}async[a75_0x177cd9(0x1aa)](_0x830454,_0x416e87,_0x4b448b,_0x16946b){const _0x4258cf=a75_0x177cd9,_0x4c1abe={'onQLX':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','ffTbA':function(_0x452be4){return _0x452be4();},'irFLw':function(_0x4a2837,_0x20f5dd){return _0x4a2837 in _0x20f5dd;},'cvQpg':function(_0x6d56fe,_0x69a70){return _0x6d56fe===_0x69a70;},'sqOYv':function(_0xd76ebc,_0x48fe2c){return _0xd76ebc===_0x48fe2c;},'zkcya':function(_0x1d2b45,_0xb2ddd2){return _0x1d2b45>_0xb2ddd2;},'gEIpi':_0x4258cf(0x24b),'UZUpk':'passed','cxckn':function(_0x5c816a,_0x52021b){return _0x5c816a===_0x52021b;},'FDefy':_0x4258cf(0x223),'VvrTR':function(_0x4cb67a,_0x5cf96d){return _0x4cb67a>_0x5cf96d;},'yFTPZ':function(_0x81831a,_0x539c09){return _0x81831a===_0x539c09;},'gGLcH':function(_0x64c6ef,_0x541cb2){return _0x64c6ef!==_0x541cb2;}},{hookData:_0x31b4e9}=_0x16946b,_0x244114=_0x4b448b[_0x4258cf(0x156)](),_0xda28d7=_0x416e87[_0x4258cf(0x156)](),_0x33db55={};_0x33db55[_0x4258cf(0x1f5)]=0x2,_0x33db55[_0x4258cf(0xf5)]=0x3,logger[_0x4258cf(0x1e1)](_0x4258cf(0x1b5)+_0xda28d7+_0x4258cf(0x123)+_0x244114+',\x20hookData='+util[_0x4258cf(0xfd)](_0x31b4e9,_0x33db55));if(!_0x31b4e9)return logger[_0x4258cf(0x1e1)](_0x4c1abe[_0x4258cf(0x1be)]),{};const _0x363488=_0x31b4e9[_0x4258cf(0x10b)]||_0x31b4e9['hookAnalyticsId']||_0x4c1abe[_0x4258cf(0xf2)](uuidv4),_0x25e8e9=_0x31b4e9[_0x4258cf(0x20c)]||this[_0x4258cf(0x10c)](_0x31b4e9),_0x1113d5=_0x416e87['toString']()['split']('.')[0x1],_0x9ff7c8=_0x830454[_0x4258cf(0x155)]()[_0x4258cf(0x275)](_0x25e8e9),_0x3e3bd5=_0x9ff7c8?_0x9ff7c8[TestFrameworkConstants[_0x4258cf(0x22a)]]||{}:{};logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x363488+_0x4258cf(0x110)+_0x25e8e9+_0x4258cf(0x1b3)+_0x1113d5+_0x4258cf(0x123)+_0x244114);if(!_0x9ff7c8)return logger[_0x4258cf(0x1e1)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x25e8e9+_0x4258cf(0x27a)),this['storePendingHook'](_0x830454,_0x25e8e9,_0x416e87,_0x4b448b,_0x16946b),{};let _0x522dfa=_0x9ff7c8[TestFrameworkConstants[_0x4258cf(0x140)]];!_0x522dfa&&(_0x522dfa={});!_0x4c1abe['irFLw'](_0x1113d5,_0x522dfa)&&(_0x522dfa[_0x1113d5]=[]);let _0x2820e3=_0x9ff7c8[TestFrameworkConstants[_0x4258cf(0x249)]];!_0x2820e3&&(_0x2820e3={});!_0x4c1abe['irFLw'](_0x1113d5,_0x2820e3)&&(_0x2820e3[_0x1113d5]=[]);const _0x493781={[_0x25e8e9]:{[TestFrameworkConstants[_0x4258cf(0x140)]]:_0x522dfa,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2820e3,[TestFrameworkConstants[_0x4258cf(0x259)]]:this[_0x4258cf(0x15e)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4258cf(0x1b6)]()[this[_0x4258cf(0x15e)]()[0x0]]||''}};if(_0x4c1abe[_0x4258cf(0x211)](_0x4b448b,HookState[_0x4258cf(0x26d)])){const _0x533f08={'key':_0x1113d5,[TestFrameworkConstants[_0x4258cf(0x18e)]]:_0x363488,[TestFrameworkConstants[_0x4258cf(0x1cd)]]:TestFrameworkConstants[_0x4258cf(0x1fa)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x31b4e9[_0x4258cf(0x1e9)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x4258cf(0x168)]]:_0x31b4e9[_0x4258cf(0x1c7)]||_0x31b4e9[_0x4258cf(0x21c)]||_0x1113d5,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x3e3bd5};_0x522dfa[_0x1113d5][_0x4258cf(0x14f)](_0x533f08),_0x493781[_0x25e8e9][TestFrameworkConstants[_0x4258cf(0x24a)]]=_0x1113d5;const _0xa7bb6={};_0xa7bb6[_0x4258cf(0x1f5)]=0x2,logger[_0x4258cf(0x1e1)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x1113d5+_0x4258cf(0x170)+_0x363488+',\x20testId='+_0x25e8e9+',\x20hook='+util[_0x4258cf(0xfd)](_0x533f08,_0xa7bb6));}else{if(_0x4c1abe[_0x4258cf(0x188)](_0x4b448b,HookState[_0x4258cf(0x143)])){const _0x3f2bbe=_0x31b4e9[_0x4258cf(0x12a)]||(_0x31b4e9['errorsDetailed']&&_0x4c1abe[_0x4258cf(0x279)](_0x31b4e9[_0x4258cf(0x21a)][_0x4258cf(0x255)],0x0)?_0x4c1abe['gEIpi']:_0x4c1abe[_0x4258cf(0x11f)]),_0x105fdb=_0x522dfa[_0x1113d5]||[];logger['debug'](_0x4258cf(0x1af)+_0x1113d5+_0x4258cf(0x110)+_0x25e8e9+_0x4258cf(0x14c)+_0x3f2bbe+_0x4258cf(0x165)+_0x105fdb[_0x4258cf(0x255)]);if(_0x4c1abe[_0x4258cf(0x188)](_0x105fdb['length'],0x0)&&_0x4c1abe[_0x4258cf(0x20f)](_0x416e87,TestFrameworkState['BEFORE_ALL']))return logger[_0x4258cf(0x1e1)](_0x4c1abe[_0x4258cf(0x278)]),this[_0x4258cf(0x269)](_0x830454,_0x25e8e9,_0x416e87,_0x4b448b,_0x16946b),{};if(_0x4c1abe['VvrTR'](_0x105fdb[_0x4258cf(0x255)],0x0)){const _0x59f137=_0x105fdb['pop']();_0x4c1abe['yFTPZ'](_0x3f2bbe,_0x4c1abe['gEIpi'])&&_0x31b4e9[_0x4258cf(0x21a)]?(_0x59f137[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x4258cf(0x200)](_0x31b4e9),_0x59f137[TestFrameworkConstants[_0x4258cf(0x215)]]=this[_0x4258cf(0x1d0)](_0x31b4e9),_0x59f137[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x4258cf(0x109)](_0x31b4e9),logger[_0x4258cf(0x1e1)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x1113d5+_0x4258cf(0x1c2)+_0x59f137[TestFrameworkConstants[_0x4258cf(0x22d)]]+',\x20failureReason='+_0x59f137[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x4258cf(0x167)](0x0,0xc8))):_0x59f137[TestFrameworkConstants[_0x4258cf(0x1cd)]]=_0x4c1abe[_0x4258cf(0x11f)];_0x4c1abe['gGLcH'](_0x3f2bbe,TestFrameworkConstants[_0x4258cf(0x1fa)])&&(_0x59f137[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3f2bbe);_0x59f137[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x31b4e9[_0x4258cf(0x209)]||new Date()['toISOString'](),_0x59f137[TestFrameworkConstants[_0x4258cf(0x22a)]]=_0x3e3bd5;const _0x390118=_0x59f137[TestFrameworkConstants[_0x4258cf(0x18e)]];!_0x2820e3[_0x1113d5]&&(_0x2820e3[_0x1113d5]=[]);_0x2820e3[_0x1113d5][_0x4258cf(0x14f)](_0x59f137),_0x493781[_0x25e8e9][TestFrameworkConstants[_0x4258cf(0x147)]]=_0x1113d5;const _0x4644db={};_0x4644db[_0x4258cf(0x1f5)]=0x2,logger[_0x4258cf(0x1e1)](_0x4258cf(0x129)+_0x1113d5+_0x4258cf(0x170)+_0x390118+_0x4258cf(0x14c)+_0x3f2bbe+_0x4258cf(0x1b0)+util[_0x4258cf(0xfd)](_0x59f137,_0x4644db));}}}return _0x493781;}['createTestFrameworkEventPayload'](_0x34eda3){const _0x3a2d58=a75_0x177cd9,_0x83518c={};_0x83518c['vIzGf']='base64';const _0x456e82=_0x83518c;try{const _0x53f5ec=_0x34eda3[_0x3a2d58(0x20d)]?this[_0x3a2d58(0x10c)](_0x34eda3[_0x3a2d58(0x20d)]):_0x34eda3['hookData'][_0x3a2d58(0x20c)],_0x14cefe=_0x34eda3['instance'],_0x353de0=_0x14cefe[_0x3a2d58(0x1d6)](),_0x4480bb=_0x14cefe['getAllData']()[_0x3a2d58(0x275)](_0x53f5ec);if(!_0x4480bb)return logger[_0x3a2d58(0x1e1)](_0x3a2d58(0x21e)+_0x53f5ec),{};const {[TestFrameworkConstants[_0x3a2d58(0x259)]]:_0x5b8094=this[_0x3a2d58(0x15e)]()[0x0]||'',[TestFrameworkConstants[_0x3a2d58(0xf1)]]:_0x79adb8=this[_0x3a2d58(0x1b6)]()[this[_0x3a2d58(0x15e)]()[0x0]]||'',[TestFrameworkConstants[_0x3a2d58(0x229)]]:_0xb9457b='',[TestFrameworkConstants[_0x3a2d58(0x133)]]:_0x579080=''}=_0x4480bb,_0x2825a8=_0x14cefe[_0x3a2d58(0x208)]()[_0x3a2d58(0x156)]()[_0x3a2d58(0x196)]('.')[0x1],_0x51b815=_0x14cefe[_0x3a2d58(0x220)]()[_0x3a2d58(0x156)]()[_0x3a2d58(0x196)]('.')[0x1],_0x3c7e9a=global?.[_0x3a2d58(0x25f)]?.['workerInfo']?.[_0x3a2d58(0x22c)]||global[_0x3a2d58(0x11a)]||0x0,_0x1b3623=_0x14cefe[_0x3a2d58(0xfb)](),_0x2cc499=Buffer[_0x3a2d58(0x1c5)](JSON[_0x3a2d58(0x1db)](_0x4480bb))[_0x3a2d58(0x156)](_0x456e82[_0x3a2d58(0x1bc)]),_0x4aca27={'hash':_0x353de0[_0x3a2d58(0x271)](),'threadId':_0x353de0['getThreadId']()[_0x3a2d58(0x156)](),'processId':_0x353de0[_0x3a2d58(0x24d)]()[_0x3a2d58(0x156)]()},_0x39edfc={};_0x39edfc[_0x3a2d58(0x21d)]=_0x3c7e9a,_0x39edfc['testFrameworkName']=_0x5b8094,_0x39edfc[_0x3a2d58(0x166)]=_0x79adb8,_0x39edfc[_0x3a2d58(0x10f)]=_0x2825a8,_0x39edfc[_0x3a2d58(0x187)]=_0x51b815,_0x39edfc[_0x3a2d58(0x131)]=_0xb9457b,_0x39edfc['endedAt']=_0x579080,_0x39edfc[_0x3a2d58(0x10b)]=_0x1b3623,_0x39edfc[_0x3a2d58(0x241)]=_0x2cc499,_0x39edfc[_0x3a2d58(0x128)]=_0x4aca27,_0x39edfc[_0x3a2d58(0x18a)]=_0x53f5ec;const _0x4d5f83=_0x39edfc;return _0x4d5f83;}catch(_0x5ec3b8){return logger[_0x3a2d58(0x270)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x3a2d58(0x1e8)](_0x5ec3b8)),{};}}async[a75_0x177cd9(0x1c0)](_0x542a81,_0x40e6f0,_0x39bf3b){const _0x38e4a4=a75_0x177cd9,_0x31af67={'hZHwN':function(_0x319d52,_0x34cf69){return _0x319d52+_0x34cf69;},'KaGGq':_0x38e4a4(0x177),'QVyMO':'none','LNnPC':function(_0x676b08,_0xfa7706){return _0x676b08>_0xfa7706;},'XNmHe':function(_0x32d97a,_0x52173a,_0x54b6b3,_0x4103e6){return _0x32d97a(_0x52173a,_0x54b6b3,_0x4103e6);},'fTYzo':function(_0x112f24,_0x31b8b3){return _0x112f24-_0x31b8b3;},'NbQYk':function(_0x21865c,_0x1536ad){return _0x21865c===_0x1536ad;},'gtJQg':function(_0x31abcb,_0x236ca0){return _0x31abcb/_0x236ca0;},'argMY':function(_0x5bb3e0,_0x5db111){return _0x5bb3e0<_0x5db111;},'lYJbv':function(_0x53efe3,_0x40aef6){return _0x53efe3*_0x40aef6;},'GOczq':function(_0x336b00,_0x4a1da9){return _0x336b00+_0x4a1da9;},'dJYOK':function(_0x54ba81,_0x220e13){return _0x54ba81+_0x220e13;}};try{const _0x93bf3b=_0x39bf3b[_0x38e4a4(0x254)]||_0x39bf3b[_0x38e4a4(0xf7)],_0x9a159b=Array[_0x38e4a4(0x1c5)](_0x542a81[_0x38e4a4(0x155)]()['keys']()),_0x466845=_0x542a81[_0x38e4a4(0x155)]()[_0x38e4a4(0x275)](_0x93bf3b);if(!_0x466845){logger['debug'](_0x38e4a4(0x236)+_0x93bf3b);return;}const {[TestFrameworkConstants[_0x38e4a4(0x259)]]:_0x5c39c4='',[TestFrameworkConstants[_0x38e4a4(0xf1)]]:_0x5bfd56=''}=_0x466845;let _0x32cb2f=[];_0x466845&&_0x466845[TestFrameworkConstants[_0x38e4a4(0x150)]]&&Array[_0x38e4a4(0x19a)](_0x466845[TestFrameworkConstants[_0x38e4a4(0x150)]])?(_0x32cb2f=_0x466845[TestFrameworkConstants[_0x38e4a4(0x150)]]||[],logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x19d)+_0x32cb2f['length']+_0x38e4a4(0x124)+_0x93bf3b),_0x542a81[_0x38e4a4(0x1ad)]({[_0x93bf3b]:{[TestFrameworkConstants[_0x38e4a4(0x150)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x38e4a4(0x15e)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x38e4a4(0x1b6)]()[this[_0x38e4a4(0x15e)]()[0x0]]||''}}),logger[_0x38e4a4(0x1e1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x93bf3b)):logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x17e)+_0x93bf3b);logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x16b)+_0x32cb2f['length']+_0x38e4a4(0x1ec)+_0x93bf3b);const _0xe5ed92=_0x32cb2f[_0x38e4a4(0x134)](_0x23fcd1=>_0x23fcd1[_0x38e4a4(0xf6)]===_0x38e4a4(0x152));_0x31af67[_0x38e4a4(0x190)](_0xe5ed92['length'],0x0)&&(logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x21f)+_0xe5ed92['length']+_0x38e4a4(0x1bf)+_0x93bf3b),_0xe5ed92['forEach']((_0x5dbfca,_0xea5a2d)=>{const _0x23fbfa=_0x38e4a4;logger[_0x23fbfa(0x1e1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x31af67[_0x23fbfa(0xef)](_0xea5a2d,0x1)+'/'+_0xe5ed92[_0x23fbfa(0x255)]+'\x20-\x20test_identifier='+(_0x5dbfca[_0x23fbfa(0x18a)]||_0x31af67[_0x23fbfa(0x1e5)])+_0x23fbfa(0x116)+(_0x5dbfca[_0x23fbfa(0x226)]||_0x31af67[_0x23fbfa(0x1e5)])+_0x23fbfa(0xf0)+(_0x5dbfca['hook_run_uuid']||_0x31af67[_0x23fbfa(0x1e7)])+_0x23fbfa(0x1ab)+(_0x5dbfca[_0x23fbfa(0x25e)]?.[_0x23fbfa(0x255)]||0x0));}));const _0x38a4d9=_0x466845[TestFrameworkConstants[_0x38e4a4(0x1c3)]]||{},_0x364edd=_0x31af67[_0x38e4a4(0x1a4)](getMediaArtifactsLogs,_0x38a4d9,null,_0x93bf3b),_0x56e474=(_0x32cb2f||[])[_0x38e4a4(0x17b)](_0x364edd||[]),_0xde1d66=_0xe5ed92?.[_0x38e4a4(0x255)]||0x0,_0x2102d4=_0x31af67[_0x38e4a4(0x1f2)](_0x32cb2f?.[_0x38e4a4(0x255)]||0x0,_0xde1d66);logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x233)+_0x93bf3b+_0x38e4a4(0x24e)+_0x2102d4+_0x38e4a4(0x169)+_0xde1d66+_0x38e4a4(0x235)+(_0x364edd?.['length']||0x0)+_0x38e4a4(0x205)+_0x56e474['length']);if(!_0x56e474||_0x31af67[_0x38e4a4(0x194)](_0x56e474[_0x38e4a4(0x255)],0x0)){logger[_0x38e4a4(0x1e1)](_0x38e4a4(0xf3)+_0x93bf3b);return;}const _0x1e4aab=0x28,_0x187231=Math[_0x38e4a4(0x191)](_0x31af67[_0x38e4a4(0x101)](_0x56e474[_0x38e4a4(0x255)],_0x1e4aab));for(let _0x412cc6=0x0;_0x31af67[_0x38e4a4(0x1a5)](_0x412cc6,_0x187231);_0x412cc6++){const _0x36c76f=_0x31af67[_0x38e4a4(0x246)](_0x412cc6,_0x1e4aab),_0x3e8ed4=_0x31af67['hZHwN'](_0x36c76f,_0x1e4aab),_0x2253a2=_0x56e474['slice'](_0x36c76f,_0x3e8ed4),_0x516013=global?.['browserstackPlatformIndex']??0x0,_0xf770a8={'platformIndex':_0x516013,'logs':_0x2253a2,'testFrameworkName':_0x5c39c4,'testFrameworkVersion':_0x5bfd56,'testFrameworkState':_0x40e6f0[_0x38e4a4(0x156)]()[_0x38e4a4(0x196)]('.')[0x1]},_0x17654a={};_0x17654a[_0x38e4a4(0x1f5)]=0x3,_0x17654a[_0x38e4a4(0xf5)]=0x5,logger[_0x38e4a4(0x1e1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x31af67[_0x38e4a4(0x1f9)](_0x412cc6,0x1)+'/'+_0x187231+_0x38e4a4(0x117)+_0x93bf3b+_0x38e4a4(0x263)+_0x2253a2[_0x38e4a4(0x255)]+_0x38e4a4(0x206)+_0x516013+_0x38e4a4(0x203)+util[_0x38e4a4(0xfd)](_0xf770a8,_0x17654a));const _0x5ebd1f=await GrpcClient[_0x38e4a4(0x239)]()['logCreatedEvent'](_0xf770a8);logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x12d)+_0x31af67[_0x38e4a4(0x181)](_0x412cc6,0x1)+'/'+_0x187231+'\x20-\x20testId:\x20'+_0x93bf3b+',\x20response='+util[_0x38e4a4(0xfd)](_0x5ebd1f));}_0x364edd&&_0x31af67[_0x38e4a4(0x190)](_0x364edd[_0x38e4a4(0x255)],0x0)&&_0x466845[TestFrameworkConstants[_0x38e4a4(0x1c3)]]&&_0x542a81[_0x38e4a4(0x1ad)]({[_0x93bf3b]:{[TestFrameworkConstants[_0x38e4a4(0x1c3)]]:{},[TestFrameworkConstants[_0x38e4a4(0x259)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x38e4a4(0xf1)]]:this[_0x38e4a4(0x1b6)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x23e)+_0x93bf3b+_0x38e4a4(0x1d5)+_0x187231);}catch(_0x553ec9){logger[_0x38e4a4(0x270)](_0x38e4a4(0x1cf)+(_0x39bf3b[_0x38e4a4(0x254)]||_0x39bf3b['testId'])+',\x20error:\x20'+util['format'](_0x553ec9));}}[a75_0x177cd9(0x269)](_0x41ba7a,_0x47c60c,_0x5d50aa,_0x1d330,_0xeb5767){const _0x4bc685=a75_0x177cd9,_0x55de40={};_0x55de40[_0x4bc685(0x10d)]=function(_0x144861,_0x2163cf){return _0x144861===_0x2163cf;},_0x55de40[_0x4bc685(0x221)]=_0x4bc685(0x10a);const _0x1284cc=_0x55de40,{hookData:_0x577159}=_0xeb5767,_0x275380={'testId':_0x47c60c,'testFrameworkState':_0x5d50aa,'hookState':_0x1d330,'args':_0xeb5767,'timestamp':new Date()[_0x4bc685(0x137)]()};if(_0x1284cc[_0x4bc685(0x10d)](_0x5d50aa,TestFrameworkState[_0x4bc685(0x1d1)])&&_0x577159){const _0x2fc914={};_0x2fc914[_0x4bc685(0x1f4)]=_0x577159[_0x4bc685(0x1cb)]||_0x577159[_0x4bc685(0x224)],_0x2fc914['scope']=_0x577159['scope']||_0x577159['scopes']&&_0x577159[_0x4bc685(0x227)][0x0]||'',_0x2fc914[_0x4bc685(0x22e)]=_0x1284cc[_0x4bc685(0x221)],_0x275380[_0x4bc685(0x11d)]=_0x2fc914,logger[_0x4bc685(0x1e1)](_0x4bc685(0x1e0)+_0x47c60c+',\x20filePath:\x20'+_0x275380[_0x4bc685(0x11d)][_0x4bc685(0x1f4)]+_0x4bc685(0x184)+_0x275380[_0x4bc685(0x11d)][_0x4bc685(0x231)]);}_0x41ba7a[_0x4bc685(0xf4)](_0x47c60c,_0x275380),logger[_0x4bc685(0x1e1)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x47c60c+_0x4bc685(0x192)+_0x5d50aa+',\x20hookState:\x20'+_0x1d330);}async[a75_0x177cd9(0x256)](_0x122334,_0x5c6f10){const _0x26b57d=a75_0x177cd9,_0x36d6c6={};_0x36d6c6['vRcSM']=function(_0x3b0c32,_0x1937bd){return _0x3b0c32>_0x1937bd;},_0x36d6c6[_0x26b57d(0x21b)]=function(_0x213b58,_0x2f31ae){return _0x213b58===_0x2f31ae;},_0x36d6c6[_0x26b57d(0x173)]=function(_0x7ea5ca,_0x34676b){return _0x7ea5ca===_0x34676b;},_0x36d6c6[_0x26b57d(0x115)]=function(_0x21217d,_0x2ffabd){return _0x21217d===_0x2ffabd;},_0x36d6c6[_0x26b57d(0xfc)]=function(_0x54d10c,_0x1fcf40){return _0x54d10c===_0x1fcf40;},_0x36d6c6[_0x26b57d(0x19b)]=_0x26b57d(0x237);const _0x5eb30b=_0x36d6c6;if(_0x122334[_0x26b57d(0x24f)](_0x5c6f10)){const _0x3d8ab0=_0x122334[_0x26b57d(0x118)](_0x5c6f10);logger['debug'](_0x26b57d(0x202)+_0x3d8ab0[_0x26b57d(0x255)]+_0x26b57d(0xfe)+_0x5c6f10);for(const _0x10b21f of _0x3d8ab0){try{const _0x52bced=await this[_0x26b57d(0x1aa)](_0x122334,_0x10b21f[_0x26b57d(0x10f)],_0x10b21f[_0x26b57d(0x187)],_0x10b21f['args']);_0x52bced&&_0x5eb30b['vRcSM'](Object[_0x26b57d(0x132)](_0x52bced)[_0x26b57d(0x255)],0x0)&&_0x122334[_0x26b57d(0x1ad)](_0x52bced),await this[_0x26b57d(0xff)](_0x122334,_0x10b21f[_0x26b57d(0x10f)],_0x10b21f[_0x26b57d(0x187)],_0x10b21f[_0x26b57d(0x243)]);}catch(_0x405834){logger[_0x26b57d(0x270)](_0x26b57d(0x230)+_0x5c6f10+_0x26b57d(0x1ce)+_0x405834);}}_0x122334[_0x26b57d(0x130)](_0x5c6f10),logger['debug']('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5c6f10);}const _0x525855=_0x122334[_0x26b57d(0x155)]()[_0x26b57d(0x275)](_0x5c6f10);if(_0x525855){const _0x56db53=_0x525855[TestFrameworkConstants[_0x26b57d(0x1fc)]]||_0x525855[TestFrameworkConstants[_0x26b57d(0x1f8)]],_0x1a778f=_0x525855[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x525855[TestFrameworkConstants[_0x26b57d(0x144)]]&&_0x525855[TestFrameworkConstants[_0x26b57d(0x144)]][0x0]||'';logger[_0x26b57d(0x1e1)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x56db53+_0x26b57d(0x184)+_0x1a778f);const _0x1afef2=_0x122334[_0x26b57d(0x210)]();for(const _0x40a5f2 of _0x1afef2){if(_0x5eb30b['ybDkD'](_0x40a5f2,_0x5c6f10))continue;if(_0x122334[_0x26b57d(0x24f)](_0x40a5f2)){const _0xd8aa29=_0x122334['getPendingHooks'](_0x40a5f2);for(const _0x3d748d of _0xd8aa29){if(_0x5eb30b[_0x26b57d(0x173)](_0x3d748d[_0x26b57d(0x10f)],TestFrameworkState['BEFORE_ALL'])&&_0x3d748d[_0x26b57d(0x11d)]){const _0x3a09b9=_0x3d748d[_0x26b57d(0x11d)][_0x26b57d(0x1f4)],_0x1d9045=_0x3d748d[_0x26b57d(0x11d)][_0x26b57d(0x231)];if(_0x5eb30b['FjTIE'](_0x3a09b9,_0x56db53)&&_0x5eb30b[_0x26b57d(0xfc)](_0x1d9045,_0x1a778f)){logger[_0x26b57d(0x1e1)](_0x26b57d(0x20a)+_0x40a5f2+',\x20currentTestId:\x20'+_0x5c6f10+_0x26b57d(0x23b)+_0x3a09b9+_0x26b57d(0x184)+_0x1d9045);_0x3d748d[_0x26b57d(0x243)]&&_0x3d748d[_0x26b57d(0x243)][_0x26b57d(0x1d7)]&&(_0x3d748d[_0x26b57d(0x243)][_0x26b57d(0x1d7)][_0x26b57d(0x20c)]=_0x5c6f10,logger[_0x26b57d(0x1e1)](_0x26b57d(0xed)+_0x40a5f2+_0x26b57d(0x213)+_0x5c6f10));try{const _0x1f0bfd=await this[_0x26b57d(0x1aa)](_0x122334,_0x3d748d['testFrameworkState'],_0x3d748d[_0x26b57d(0x187)],_0x3d748d['args']);_0x1f0bfd&&_0x5eb30b[_0x26b57d(0x175)](Object[_0x26b57d(0x132)](_0x1f0bfd)[_0x26b57d(0x255)],0x0)&&_0x122334[_0x26b57d(0x1ad)](_0x1f0bfd);await this[_0x26b57d(0xff)](_0x122334,_0x3d748d['testFrameworkState'],_0x3d748d[_0x26b57d(0x187)],_0x3d748d['args']);const _0x3e8729=_0x122334['getPendingHooks'](_0x40a5f2)['filter'](_0x37f248=>_0x37f248!==_0x3d748d);if(_0x5eb30b['ZgIMP'](_0x3e8729[_0x26b57d(0x255)],0x0))_0x122334[_0x26b57d(0x130)](_0x40a5f2);else{_0x122334[_0x26b57d(0x130)](_0x40a5f2);for(const _0x7cbe88 of _0x3e8729){_0x122334[_0x26b57d(0xf4)](_0x40a5f2,_0x7cbe88);}}logger['debug'](_0x5eb30b['qZWHN']);}catch(_0x521a65){logger[_0x26b57d(0x270)](_0x26b57d(0x22f)+_0x5c6f10+_0x26b57d(0x1ce)+_0x521a65);}}}}}}}}[a75_0x177cd9(0x182)](_0x395618){const _0x4ed301=a75_0x177cd9,_0x199e82={'uxMCK':function(_0x36bfc2){return _0x36bfc2();}};if(!_0x395618||!_0x395618[_0x4ed301(0x248)])return;_0x395618['parent']['hooks']&&Array[_0x4ed301(0x19a)](_0x395618[_0x4ed301(0x248)][_0x4ed301(0x139)])&&_0x395618[_0x4ed301(0x248)][_0x4ed301(0x139)]['forEach'](_0x5b9243=>{const _0x4c7032=_0x4ed301;!_0x5b9243[_0x4c7032(0x106)]&&!_0x5b9243[_0x4c7032(0x18d)]&&(_0x5b9243[_0x4c7032(0x106)]=_0x199e82['uxMCK'](uuidv4),_0x5b9243[_0x4c7032(0x18d)]=_0x5b9243[_0x4c7032(0x106)],logger[_0x4c7032(0x1e1)](_0x4c7032(0x1a7)+_0x5b9243['type']+_0x4c7032(0x13c)+_0x5b9243[_0x4c7032(0x106)]));}),this[_0x4ed301(0x182)](_0x395618[_0x4ed301(0x248)]);}[a75_0x177cd9(0x1eb)](_0x153c74){const _0x23b64e=a75_0x177cd9,_0x420fa9={'bJvdv':function(_0x3f507b,_0x307bf3){return _0x3f507b(_0x307bf3);}};if(!_0x153c74||!_0x153c74['parent'])return[];const _0x4709e4=[];return _0x153c74['parent'][_0x23b64e(0x139)]&&Array[_0x23b64e(0x19a)](_0x153c74[_0x23b64e(0x248)]['hooks'])&&_0x153c74[_0x23b64e(0x248)][_0x23b64e(0x139)][_0x23b64e(0x1ae)](_0x44cb31=>{const _0x9d7d33=_0x23b64e,_0x1094af=_0x44cb31[_0x9d7d33(0x106)]||_0x44cb31['hookUUID'];_0x1094af&&!this[_0x9d7d33(0x238)](_0x44cb31)&&!_0x420fa9[_0x9d7d33(0xee)](isInternalHook,_0x44cb31['fn'])&&_0x4709e4[_0x9d7d33(0x14f)](_0x1094af);}),[..._0x4709e4,...this[_0x23b64e(0x1eb)](_0x153c74['parent'])];}[a75_0x177cd9(0x153)](_0x56b054){const _0x1c1600=a75_0x177cd9,_0x37f77c={'azrpv':function(_0x15d2b9,_0xb3f832){return _0x15d2b9(_0xb3f832);},'PPlOQ':_0x1c1600(0x1fd)},_0x357d2d=new Map(),_0x30128e=_0x262680=>{const _0x1d48d2=_0x1c1600;if(!_0x262680||!_0x262680[_0x1d48d2(0x248)])return;_0x262680[_0x1d48d2(0x248)][_0x1d48d2(0x139)]&&Array[_0x1d48d2(0x19a)](_0x262680[_0x1d48d2(0x248)][_0x1d48d2(0x139)])&&_0x262680[_0x1d48d2(0x248)][_0x1d48d2(0x139)][_0x1d48d2(0x1ae)](_0x14e499=>{const _0x1ff47d=_0x1d48d2,_0x3b7651=_0x14e499[_0x1ff47d(0x106)]||_0x14e499[_0x1ff47d(0x18d)];if(_0x3b7651&&!this['isJestInternalHook'](_0x14e499)&&!_0x37f77c[_0x1ff47d(0x171)](isInternalHook,_0x14e499['fn'])){const _0x429af2={};_0x429af2[_0x1ff47d(0x112)]=_0x14e499[_0x1ff47d(0x112)]||_0x37f77c[_0x1ff47d(0x15b)],_0x429af2[_0x1ff47d(0x1c7)]=_0x14e499['name']||'\x22'+_0x14e499[_0x1ff47d(0x112)]+'\x22\x20hook',_0x357d2d[_0x1ff47d(0x257)](_0x3b7651,_0x429af2);}}),_0x37f77c[_0x1d48d2(0x171)](_0x30128e,_0x262680[_0x1d48d2(0x248)]);};return _0x37f77c[_0x1c1600(0x171)](_0x30128e,_0x56b054),_0x357d2d;}['isJestInternalHook'](_0x2bc21d){const _0x2699af=a75_0x177cd9,_0x2167d9={};_0x2167d9[_0x2699af(0x216)]=_0x2699af(0x1fe),_0x2167d9[_0x2699af(0x12f)]='[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}';const _0x1c617f=_0x2167d9;try{const _0x3d8ce4=this[_0x2699af(0x244)](_0x2bc21d);return _0x3d8ce4&&_0x3d8ce4[_0x2699af(0x1e6)](_0x1c617f[_0x2699af(0x216)]);}catch(_0x42c31){logger[_0x2699af(0x1e1)](_0x1c617f[_0x2699af(0x12f)]);}return![];}[a75_0x177cd9(0x244)](_0x57d894){const _0xdc3a72=a75_0x177cd9;if(_0x57d894[_0xdc3a72(0x14d)])try{const _0x4d8c78=stackTrace[_0xdc3a72(0x218)](_0x57d894['asyncError']);return _0x4d8c78[0x0]?_0x4d8c78[0x0]['getFileName']():null;}catch(_0x42e1f6){logger[_0xdc3a72(0x1e1)](_0xdc3a72(0x136)+util[_0xdc3a72(0x1e8)](_0x42e1f6));}if(_0x57d894[_0xdc3a72(0x13f)])return _0x57d894[_0xdc3a72(0x13f)];return null;}}module[a75_0x177cd9(0x24c)]=JestTestFramework;function a75_0x21a4(){const _0x1ce584=[',\x20scope:\x20','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','UnhandledError','hookState','sqOYv','find','test_identifier','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=',':testAnalyticsId','hookUUID','KEY_HOOK_ID','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','LNnPC','ceil',',\x20state:\x20','cLcbj','NbQYk','event_ended_at','split','114132zgsedv','860661GNsQuz','reverse','isArray','qZWHN','ewfZw','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','86205OvBSeF','KEY_TEST_META','KEY_TEST_RESULT','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','skip','pBOcy','XNmHe','argMY','LHvgm','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','299593svGCMA','DyANC','trackHookEvent',',\x20messageLength=','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','addMultipleEntries','forEach','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20hook=','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','\x20(testIdentifier),\x20hookType=','KUYld','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getTestFrameworksVersions','AmGcY','\x20hook','matchHookRegex',',\x20testData=','removeActiveHook','vIzGf','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','onQLX','\x20screenshot\x20logs\x20for\x20testId:\x20','sendLogCreatedEvent','JestTestFramework',',\x20failureType=','KEY_TEST_ATTACHMENTS','KEY_TEST_NAME','from','ZYMsr','name','../TestInfo.js','oDODp','51075ZeMxcW','file_name','eiMHH','KEY_HOOK_RESULT',',\x20error:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','getJestFailureReason','BEFORE_ALL','kwcPS','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=',',\x20totalBatches:\x20','getContext','hookData','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','\x20(testIdentifier),\x20result=','ALL','stringify','rCFTH','QVJxU','YpozP','stack-trace','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','debug',',\x20argsKeys=','ROOT_DESCRIBE_BLOCK','\x20files','KaGGq','includes','QVyMO','format','started_at','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','getHooksForTest','\x20for\x20testId:\x20','slice','warn','NONE','fbhhg','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','fTYzo','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','filePath','depth','FdJlD',',\x20version=','KEY_TEST_LOCATION','GOczq','DEFAULT_HOOK_RESULT','getJestTestName','KEY_TEST_FILE_PATH','unknown','jest-circus','KEY_TEST_LOGS','getJestFailureType','TOnLt','Processing\x20',',\x20payload:\x20','hook_result',',\x20totalLogs:\x20',',\x20platformIndex:\x20','parseJestTest','getCurrentTestState','finished_at','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','getJestTestScopes','test_run_id','test','Klfvi','cxckn','getAllPendingHookTestIds','cvQpg','310UNJCcV','\x20to\x20','EWjhW','KEY_HOOK_FAILURE_REASON','fDMCY',',\x20scopes=','parse','dalor','errorsDetailed','ybDkD','hook_type','platformIndex','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','getCurrentHookState','eeKVd','VkGVD','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','location','WneEm','test_run_uuid','scopes','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_TEST_STARTED_AT','KEY_CUSTOM_TAGS','activeHooks','parallelIndex','KEY_HOOK_FAILURE_TYPE','hookType','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','scope','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','132CLLoWA',',\x20attachmentLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','isJestInternalHook','getInstance','util',',\x20filePath:\x20','parseJestTestResult',',\x20failureReason=','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','CLkuX','mWgiD','eventJson','match','args','getRootParentFile','\x20attachments','lYJbv','apply','parent','KEY_HOOKS_FINISHED','KEY_HOOK_LAST_STARTED','failed','exports','getProcessId',',\x20consoleLogs:\x20','hasPendingHooks','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','ocQMg','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','testData','testUUID','length','processPendingHooks','set','has','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_TEST_RETRY_OF','jqXfA','eLTbi','message','__workerDetails','KEY_TEST_ID','MyKGU','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20logsInBatch:\x20','failure_reason','_ALL','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_AUTOMATE_SESSION_NAME','afterAll','storePendingHook','../instances/trackedInstance.js',',\x20hookType=',',\x20filePath=','PRE','zzzZv','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','error','getId','9182544WNInAw','DEFAULT_TEST_RESULT','LtqmR','get','ZKbLs','TEST','FDefy','zkcya',',\x20storing\x20as\x20pending\x20hook','startsWith','tags','instance','mxYoD',',\x20testFramework=','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','bJvdv','hZHwN',',\x20hook_run_uuid=','KEY_TEST_FRAMEWORK_VERSION','ffTbA','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','addPendingHook','maxArrayLength','kind','testId','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','KEY_TEST_UUID','getCurrentInstanceName','getRef','YmKMV','inspect','\x20pending\x20hooks\x20for\x20testId:\x20','runHooks',',\x20duration=','gtJQg','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','getTrackedInstance','sjKQq','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','hookAnalyticsId','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','substr','getJestFailureData','beforeAll','uuid','getJestTestIdentifier','SAQkt','Zkqoe','testFrameworkState',',\x20testId=','title','type','originalTest','../state/testFrameworkState.js','FjTIE',',\x20test_run_uuid=','\x20-\x20testId:\x20','getPendingHooks','setTrackedInstance','__bstackPlatformIndex','duration','KEY_TEST_CODE','hookMetadata','retryOf','UZUpk','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','YImYz','pePAw',',\x20hookState=','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','../instances/testFrameworkInstance.js','executionContext','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','result','trackJestInstance:\x20created\x20instance\x20for\x20target=','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','YGvgl','SUfyo','removePendingHooks','startedAt','keys','KEY_TEST_ENDED_AT','filter','80NMaiMF','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','toISOString','status','hooks','../../../helpers/test-observability/utils','\x22\x20from\x20testData',',\x20hookUUID=','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','UNFbv','file','KEY_HOOKS_STARTED','KEY_TEST_FAILURE_TYPE','DgeGr','POST','KEY_TEST_SCOPES','findIndex',',\x20hookData=','KEY_HOOK_LAST_FINISHED','map','trackJestInstance:\x20instance\x20already\x20exists',',\x20state=','delete',',\x20result=','asyncError','KEY_TEST_RERUN_NAME','push','KEY_LOGS','body','TEST_SCREENSHOT','buildHookMapFromTest','../cliUtils.js','getAllData','toString','../grpcClient','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','KEY_TEST_DURATION','trackJestInstance','PPlOQ','KEY_TEST_FAILURE','getActiveHook','getTestFrameworks','lxYLF','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','join','hook_id','hQNHD','resolveInstance',',\x20hooksListLength=','testFrameworkVersion','substring','KEY_HOOK_NAME',',\x20screenshotLogs:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_TEST_TAGS','gqbdM','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=',',\x20hookId=','azrpv','code','ZgIMP','../state/hookState.js','vRcSM','./constants/testFrameworkConstants.js','missing','KEY_TEST_FAILURE_REASON','18188RFMSVC','getFileName','concat','bWEeQ','trackEvent','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getJestTestFilePath','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','dJYOK','mapTestHooks','KEY_HOOK_LOGS'];a75_0x21a4=function(){return _0x1ce584;};return a75_0x21a4();}
|
|
1
|
+
const a75_0x514b27=a75_0x5f0e;function a75_0x5f0e(_0x299310,_0x32777f){const _0x53916b=a75_0x5391();return a75_0x5f0e=function(_0x5f0e75,_0x4ba8d3){_0x5f0e75=_0x5f0e75-0xfb;let _0x3e351c=_0x53916b[_0x5f0e75];return _0x3e351c;},a75_0x5f0e(_0x299310,_0x32777f);}(function(_0x4f8f1a,_0x378ce4){const _0x4d99bf=a75_0x5f0e,_0x1af5eb=_0x4f8f1a();while(!![]){try{const _0x1f46f1=-parseInt(_0x4d99bf(0x171))/0x1+-parseInt(_0x4d99bf(0x241))/0x2*(-parseInt(_0x4d99bf(0x1cc))/0x3)+-parseInt(_0x4d99bf(0x131))/0x4+parseInt(_0x4d99bf(0x11f))/0x5+-parseInt(_0x4d99bf(0x16f))/0x6*(-parseInt(_0x4d99bf(0x17b))/0x7)+parseInt(_0x4d99bf(0x18b))/0x8*(parseInt(_0x4d99bf(0x226))/0x9)+-parseInt(_0x4d99bf(0x253))/0xa;if(_0x1f46f1===_0x378ce4)break;else _0x1af5eb['push'](_0x1af5eb['shift']());}catch(_0x1aa5cc){_0x1af5eb['push'](_0x1af5eb['shift']());}}}(a75_0x5391,0x35df4));const TestFramework=require(a75_0x514b27(0x10a)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a75_0x514b27(0x159)),{createClassLogger}=require(a75_0x514b27(0x1fc)),TestFrameworkInstance=require(a75_0x514b27(0x17a)),CLIUtils=require(a75_0x514b27(0x143)),TrackedInstance=require(a75_0x514b27(0x203)),TestFrameworkConstants=require(a75_0x514b27(0x1b6)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x514b27(0x225)),logger=createClassLogger(a75_0x514b27(0x20c)),{v4:uuidv4}=require(a75_0x514b27(0x28f)),util=require(a75_0x514b27(0x179)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a75_0x514b27(0x209)),stackTrace=require(a75_0x514b27(0x170));class JestTestFramework extends TestFramework{constructor(_0x34d5c9,_0x5f4ff2,_0x359f13){const _0x45b568=a75_0x514b27;super(_0x34d5c9,_0x5f4ff2,_0x359f13),this[_0x45b568(0x245)]=new Map();}[a75_0x514b27(0x205)](_0x27801a,_0x18ab83,_0x2e6c6c){const _0x372029=a75_0x514b27,_0x794c3a={};_0x794c3a[_0x372029(0x145)]=function(_0x1e856,_0x5d0605){return _0x1e856||_0x5d0605;};const _0x4c6bab=_0x794c3a;if(_0x4c6bab['twuVg'](!_0x27801a,!_0x18ab83)){logger['warn'](_0x372029(0x1fe)+_0x27801a+',\x20hookUUID='+_0x18ab83);return;}!this['activeHooks'][_0x372029(0x13c)](_0x27801a)&&this[_0x372029(0x245)]['set'](_0x27801a,[]);const _0x513332={'hookUUID':_0x18ab83,'hookType':_0x2e6c6c,'startedAt':new Date()[_0x372029(0x17c)]()};this['activeHooks']['get'](_0x27801a)[_0x372029(0x1ad)](_0x513332),logger[_0x372029(0x287)](_0x372029(0x18c)+_0x27801a+_0x372029(0x1b8)+_0x18ab83+_0x372029(0x1d2)+_0x2e6c6c+',\x20totalHooks='+this[_0x372029(0x245)]['get'](_0x27801a)[_0x372029(0x14b)]);}[a75_0x514b27(0x206)](_0x16208c,_0xca8ce3){const _0x3e97ea=a75_0x514b27,_0x2f6fb8={};_0x2f6fb8[_0x3e97ea(0x212)]=function(_0x2d8ba7,_0x48600c){return _0x2d8ba7||_0x48600c;},_0x2f6fb8[_0x3e97ea(0x153)]=function(_0x202f4a,_0x40a276){return _0x202f4a!==_0x40a276;},_0x2f6fb8[_0x3e97ea(0x1f6)]=function(_0x2c7cfb,_0x5b4303){return _0x2c7cfb===_0x5b4303;};const _0x488ec8=_0x2f6fb8;if(_0x488ec8[_0x3e97ea(0x212)](!_0x16208c,!_0xca8ce3)){logger[_0x3e97ea(0x246)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x16208c+_0x3e97ea(0x1b8)+_0xca8ce3);return;}if(this[_0x3e97ea(0x245)][_0x3e97ea(0x13c)](_0x16208c)){const _0x16de2b=this[_0x3e97ea(0x245)][_0x3e97ea(0x13d)](_0x16208c),_0x5c0b46=_0x16de2b[_0x3e97ea(0x1bc)](_0x91f32a=>_0x91f32a[_0x3e97ea(0x17f)]===_0xca8ce3);_0x488ec8[_0x3e97ea(0x153)](_0x5c0b46,-0x1)?(_0x16de2b[_0x3e97ea(0x25e)](_0x5c0b46,0x1),logger[_0x3e97ea(0x287)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x16208c+_0x3e97ea(0x1b8)+_0xca8ce3+_0x3e97ea(0x27f)+_0x16de2b['length']),_0x488ec8['rJWAW'](_0x16de2b[_0x3e97ea(0x14b)],0x0)&&this[_0x3e97ea(0x245)][_0x3e97ea(0x185)](_0x16208c)):logger[_0x3e97ea(0x287)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x16208c+_0x3e97ea(0x1b8)+_0xca8ce3);}}[a75_0x514b27(0x1d8)](_0x5e8424){const _0x5cb54c=a75_0x514b27,_0x5b98f1={};_0x5b98f1[_0x5cb54c(0x21f)]=function(_0x33a422,_0x36865d){return _0x33a422>_0x36865d;},_0x5b98f1[_0x5cb54c(0x1f5)]=function(_0x248399,_0x5c6a71){return _0x248399-_0x5c6a71;};const _0x354973=_0x5b98f1;if(!_0x5e8424)return null;if(this['activeHooks'][_0x5cb54c(0x13c)](_0x5e8424)){const _0x4ad7eb=this[_0x5cb54c(0x245)][_0x5cb54c(0x13d)](_0x5e8424);if(_0x354973[_0x5cb54c(0x21f)](_0x4ad7eb[_0x5cb54c(0x14b)],0x0)){const _0x4d2c0f=_0x4ad7eb[_0x354973['YNTXZ'](_0x4ad7eb[_0x5cb54c(0x14b)],0x1)];return logger['debug'](_0x5cb54c(0x115)+_0x5e8424+_0x5cb54c(0x1b8)+_0x4d2c0f[_0x5cb54c(0x17f)]+',\x20hookType='+_0x4d2c0f[_0x5cb54c(0x110)]),_0x4d2c0f;}}return null;}async[a75_0x514b27(0x150)](_0xf4a7b5,_0x4f75ec,_0x5ea71f={}){const _0x24572b=a75_0x514b27,_0x564a56={};_0x564a56[_0x24572b(0x288)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x564a56['Uvlxi']=function(_0x43eb14,_0x356656){return _0x43eb14===_0x356656;},_0x564a56[_0x24572b(0x20b)]=function(_0x581735,_0x20e941){return _0x581735===_0x20e941;},_0x564a56[_0x24572b(0x204)]=function(_0x469c16,_0x26ebb2){return _0x469c16||_0x26ebb2;},_0x564a56[_0x24572b(0x161)]=_0x24572b(0x1f8),_0x564a56['HVSdJ']=function(_0x10488f,_0x137901){return _0x10488f===_0x137901;};const _0x38c7c9=_0x564a56;logger[_0x24572b(0x287)](_0x24572b(0x1e9)+_0xf4a7b5+',\x20hookState='+_0x4f75ec+',\x20argsKeys='+Object[_0x24572b(0x1f4)](_0x5ea71f)[_0x24572b(0x192)](',')),await super[_0x24572b(0x150)](_0xf4a7b5,_0x4f75ec,_0x5ea71f);const _0x3c2c4a=this[_0x24572b(0x1be)](_0xf4a7b5,_0x4f75ec,_0x5ea71f);if(!_0x3c2c4a){logger[_0x24572b(0x287)](_0x38c7c9[_0x24572b(0x288)]);return;}try{let _0xb015c2,_0x402145,_0x1167d9;switch(_0xf4a7b5){case TestFrameworkState[_0x24572b(0x142)]:_0xb015c2=_0x5ea71f['test'];const _0x4cad88={};_0x4cad88[_0x24572b(0x233)]=0x2,_0x4cad88[_0x24572b(0x1de)]=0x3,logger[_0x24572b(0x287)](_0x24572b(0x105)+_0x4f75ec+_0x24572b(0x112)+util['inspect'](_0xb015c2,_0x4cad88)),_0x1167d9=this[_0x24572b(0x132)](_0xb015c2),_0x402145=null,logger[_0x24572b(0x287)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0x1167d9+'\x20(testIdentifier)');if(_0x38c7c9[_0x24572b(0x23b)](_0x4f75ec,HookState[_0x24572b(0x25f)])){logger[_0x24572b(0x287)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x1167d9);const _0x3d796d={};_0x3d796d[_0x24572b(0x252)]=_0x402145,_0x3d796d[_0x24572b(0x184)]=_0xb015c2,_0x3d796d[_0x24572b(0x1c2)]=_0x1167d9;const _0x5470f0=this[_0x24572b(0x27e)](_0x3d796d),_0x1d133a={};_0x1d133a[_0x24572b(0x233)]=0x2,_0x1d133a[_0x24572b(0x1de)]=0x3,logger[_0x24572b(0x287)](_0x24572b(0x22d)+util[_0x24572b(0x14a)](_0x5470f0,_0x1d133a)),_0x3c2c4a[_0x24572b(0x11c)](_0x5470f0),logger[_0x24572b(0x287)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x1167d9),await this[_0x24572b(0x24e)](_0x3c2c4a,_0x1167d9);}else{if(_0x38c7c9['pYWTN'](_0x4f75ec,HookState[_0x24572b(0x19e)])){logger['debug'](_0x24572b(0x243)+_0x1167d9);const _0xddc4de=_0x3c2c4a[_0x24572b(0x16b)]()['get'](_0x1167d9);logger[_0x24572b(0x287)](_0x24572b(0x28d)+util['inspect'](Object['keys'](_0x38c7c9[_0x24572b(0x204)](_0xddc4de,{}))));_0xddc4de&&_0xddc4de[TestFrameworkConstants[_0x24572b(0x1cf)]]?logger[_0x24572b(0x287)](_0x24572b(0x15d)+Object[_0x24572b(0x1f4)](_0xddc4de[TestFrameworkConstants[_0x24572b(0x1cf)]])['length']+_0x24572b(0x14c)):logger[_0x24572b(0x287)](_0x38c7c9['ioOKM']);const _0x308ade=_0x5ea71f[_0x24572b(0x199)]||null,_0x3d4711={};_0x3d4711[_0x24572b(0x252)]=_0x402145,_0x3d4711[_0x24572b(0x184)]=_0xb015c2,_0x3d4711['testId']=_0x1167d9,_0x3d4711[_0x24572b(0x199)]=_0x308ade;const _0x3c9257=this[_0x24572b(0x215)](_0x3d4711),_0x5e9647={};_0x5e9647['depth']=0x2,_0x5e9647[_0x24572b(0x1de)]=0x3,logger[_0x24572b(0x287)](_0x24572b(0x19a)+util[_0x24572b(0x14a)](_0x3c9257,_0x5e9647)),_0x3c2c4a[_0x24572b(0x11c)](_0x3c9257),logger['debug'](_0x24572b(0x224)+_0x1167d9),await this['processPendingHooks'](_0x3c2c4a,_0x1167d9);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x38c7c9[_0x24572b(0x1e4)](_0x4f75ec,HookState[_0x24572b(0x19e)])){const _0xbf50a0={};_0xbf50a0[_0x24572b(0x233)]=0x2,logger[_0x24572b(0x287)](_0x24572b(0x16a)+util[_0x24572b(0x14a)](_0x5ea71f,_0xbf50a0)),await this['sendLogCreatedEvent'](_0x3c2c4a,_0xf4a7b5,_0x5ea71f);}break;default:if(CLIUtils['matchHookRegex'](_0xf4a7b5[_0x24572b(0x258)]()['split']('.')[0x1])){const _0x554c97={};_0x554c97[_0x24572b(0x233)]=0x2,_0x554c97[_0x24572b(0x1de)]=0x3,logger[_0x24572b(0x287)](_0x24572b(0x28c)+_0xf4a7b5+',\x20hookState='+_0x4f75ec+_0x24572b(0x146)+util['inspect'](_0x5ea71f[_0x24572b(0x208)],_0x554c97));const _0x294495=await this[_0x24572b(0x10c)](_0x3c2c4a,_0xf4a7b5,_0x4f75ec,_0x5ea71f),_0x4910e6={};_0x4910e6[_0x24572b(0x233)]=0x2,_0x4910e6[_0x24572b(0x1de)]=0x3,logger[_0x24572b(0x287)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x24572b(0x14a)](_0x294495,_0x4910e6)),_0x3c2c4a[_0x24572b(0x11c)](_0x294495);}else logger['debug'](_0x24572b(0x130)+_0xf4a7b5+_0x24572b(0x210)+_0x4f75ec);break;}logger[_0x24572b(0x287)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0xf4a7b5+_0x24572b(0x12c)+_0x4f75ec);}catch(_0x4f04d4){logger[_0x24572b(0x12d)](_0x24572b(0xfe)+_0xf4a7b5+_0x24572b(0x12c)+_0x4f75ec+_0x24572b(0x1af)+util[_0x24572b(0x1a5)](_0x4f04d4));}_0x5ea71f[_0x24572b(0x15e)]=_0x3c2c4a,await this[_0x24572b(0x26a)](_0x3c2c4a,_0xf4a7b5,_0x4f75ec,_0x5ea71f);}[a75_0x514b27(0x132)](_0x4a98f0){const _0x423ca4=a75_0x514b27,_0x2e5fec={};_0x2e5fec[_0x423ca4(0x1db)]=_0x423ca4(0x10f);const _0x1adcc2=_0x2e5fec;if(_0x4a98f0&&(_0x4a98f0['id']||_0x4a98f0[_0x423ca4(0x28f)])){const _0x550204=_0x4a98f0['id']||_0x4a98f0[_0x423ca4(0x28f)];return logger[_0x423ca4(0x287)](_0x423ca4(0x18d)+_0x550204+_0x423ca4(0x272)),_0x550204;}return logger[_0x423ca4(0x287)](_0x1adcc2[_0x423ca4(0x1db)]),process['pid']+_0x423ca4(0x1fa);}['resolveInstance'](_0x58a0bb,_0x47a4e1,_0x568c29={}){const _0x15eb2f=a75_0x514b27;let _0x11897b=null;return _0x11897b=TestFramework[_0x15eb2f(0x136)](),!_0x11897b?(logger[_0x15eb2f(0x287)](_0x15eb2f(0x1f3)+_0x58a0bb),this[_0x15eb2f(0x269)](_0x58a0bb,_0x568c29),_0x11897b=TestFramework['getTrackedInstance'](),logger[_0x15eb2f(0x287)](_0x15eb2f(0x14f)+!!_0x11897b+_0x15eb2f(0x284)+_0x11897b?.[_0x15eb2f(0x1dc)]()?.[_0x15eb2f(0x107)]())):logger[_0x15eb2f(0x287)](_0x15eb2f(0x100)+_0x11897b[_0x15eb2f(0x1dc)]()?.[_0x15eb2f(0x107)]()),_0x11897b;}['trackJestInstance'](_0x37aeb7,_0x975c9c){const _0x43dce3=a75_0x514b27,_0xc7ac56={};_0xc7ac56['byqon']=_0x43dce3(0x1ae);const _0x388be7=_0xc7ac56;if(TestFramework['getTrackedInstance']()){logger[_0x43dce3(0x287)](_0x388be7[_0x43dce3(0x149)]);return;}const _0x5c7039=CLIUtils[_0x43dce3(0x21d)](),_0x5c46ca=TrackedInstance[_0x43dce3(0x15f)](_0x5c7039);let _0x17cedc=null;logger['debug'](_0x43dce3(0x254)+_0x5c7039+',\x20state='+_0x37aeb7),_0x17cedc=new TestFrameworkInstance(_0x5c46ca,this[_0x43dce3(0x20d)](),this[_0x43dce3(0x1c1)](),_0x37aeb7,HookState[_0x43dce3(0x238)]),TestFramework[_0x43dce3(0x17d)](_0x5c46ca,_0x17cedc),logger[_0x43dce3(0x287)](_0x43dce3(0x101)+_0x5c46ca[_0x43dce3(0x107)]()+_0x43dce3(0x137)+_0x5c7039+_0x43dce3(0x1a2)+this[_0x43dce3(0x20d)]()[0x0]+',\x20version='+this[_0x43dce3(0x1c1)]()[this[_0x43dce3(0x20d)]()[0x0]]);}[a75_0x514b27(0x27e)](_0x1a66ec){const _0x4d7d0b=a75_0x514b27,_0x401598={};_0x401598[_0x4d7d0b(0x28a)]=function(_0x2388b7,_0x1a0b18){return _0x2388b7||_0x1a0b18;},_0x401598[_0x4d7d0b(0x1cd)]=_0x4d7d0b(0x117);const _0x3d51a3=_0x401598,{testUUID:_0xf4b6a2,testData:_0x2482dd,testId:_0x431306}=_0x1a66ec;if(_0x3d51a3[_0x4d7d0b(0x28a)](!_0x2482dd,!_0x431306))return logger[_0x4d7d0b(0x287)](_0x3d51a3['mxXxn']),{};const _0x59cd23=this[_0x4d7d0b(0x20d)]()[0x0],_0x126f07=this[_0x4d7d0b(0x1c1)](),_0x405faa={};_0x405faa[_0x4d7d0b(0x233)]=0x2,_0x405faa[_0x4d7d0b(0x1de)]=0x3,logger[_0x4d7d0b(0x287)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util['inspect'](_0x2482dd,_0x405faa));const _0x1ea99e=_0x2482dd?.['scopes']||[],_0x2697d2=this[_0x4d7d0b(0x1f2)](_0x2482dd),_0x2480c5=this[_0x4d7d0b(0x1aa)](_0x2482dd),_0x47171d=_0x2482dd['fn']?_0x2482dd['fn']['toString']():_0x2482dd?.[_0x4d7d0b(0x186)]?_0x2482dd[_0x4d7d0b(0x186)][_0x4d7d0b(0x166)]['toString']():null,_0x439a36=this[_0x4d7d0b(0x24c)](_0x2482dd),_0xc06d2e={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x59cd23,[TestFrameworkConstants[_0x4d7d0b(0x27d)]]:_0x126f07[_0x59cd23],[TestFrameworkConstants[_0x4d7d0b(0x1b5)]]:[],[TestFrameworkConstants[_0x4d7d0b(0x1a9)]]:{},[TestFrameworkConstants[_0x4d7d0b(0x14e)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x4d7d0b(0x135)],[TestFrameworkConstants[_0x4d7d0b(0x118)]]:_0x2697d2,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x2480c5,[TestFrameworkConstants['KEY_TEST_ID']]:_0x431306,[TestFrameworkConstants[_0x4d7d0b(0x218)]]:_0x2697d2,[TestFrameworkConstants[_0x4d7d0b(0x15a)]]:_0x2480c5,[TestFrameworkConstants[_0x4d7d0b(0x21e)]]:_0x47171d,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x439a36,[TestFrameworkConstants[_0x4d7d0b(0x126)]]:_0x2482dd[_0x4d7d0b(0x255)]||new Date()[_0x4d7d0b(0x17c)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1ea99e[0x0]||'',[TestFrameworkConstants[_0x4d7d0b(0x156)]]:_0x1ea99e,[TestFrameworkConstants[_0x4d7d0b(0x103)]]:_0x2697d2,[TestFrameworkConstants[_0x4d7d0b(0x21b)]]:{},[TestFrameworkConstants[_0x4d7d0b(0x102)]]:{}};_0x2482dd[_0x4d7d0b(0x1ce)]&&(_0xc06d2e[TestFrameworkConstants[_0x4d7d0b(0x1a4)]]=_0x2482dd[_0x4d7d0b(0x1ce)]);logger[_0x4d7d0b(0x287)](_0x4d7d0b(0x134)+_0x2697d2+',\x20testId='+_0x431306+'\x20(testIdentifier),\x20tags='+JSON[_0x4d7d0b(0x1ed)](_0x439a36)+_0x4d7d0b(0x27a)+util[_0x4d7d0b(0x14a)](_0x1ea99e)+_0x4d7d0b(0x26c)+_0x2480c5);const _0x818b44={};return _0x818b44[_0x431306]=_0xc06d2e,_0x818b44;}['parseJestTestResult'](_0x55e98c){const _0x5a55db=a75_0x514b27,_0x348a46={'GwDme':function(_0x515c78,_0x4bdf5c){return _0x515c78===_0x4bdf5c;},'VlvId':'afterAll','paJXZ':'beforeAll','TUHcH':'ALL','hVByW':_0x5a55db(0x280),'HjQQt':function(_0x525d99,_0x50a040){return _0x525d99||_0x50a040;},'pmjkJ':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','NInVV':_0x5a55db(0x228),'WvwTK':function(_0x1630c0,_0x238437){return _0x1630c0>_0x238437;},'HxUzp':_0x5a55db(0x108),'nhRlh':function(_0x32353a,_0x4d9a93){return _0x32353a===_0x4d9a93;},'VHImy':_0x5a55db(0x167),'nYYDJ':'skipped','JlrsA':_0x5a55db(0x222),'FEnJq':function(_0x4a361d,_0x5725a9){return _0x4a361d===_0x5725a9;},'TAlyo':function(_0x2cf4dd,_0x33d2dd){return _0x2cf4dd!==_0x33d2dd;},'OCKLX':function(_0x31878f,_0x335798,_0x43ea0c,_0x1ad439){return _0x31878f(_0x335798,_0x43ea0c,_0x1ad439);},'CODAD':function(_0x565e8b,_0x1c11a0){return _0x565e8b>_0x1c11a0;},'SwDOF':_0x5a55db(0x168)},{testUUID:_0x3bf306,testData:_0x347c92,testId:_0x10ba17}=_0x55e98c;if(_0x348a46[_0x5a55db(0x251)](!_0x347c92,!_0x10ba17))return logger['debug'](_0x348a46[_0x5a55db(0x1b4)]),{};const _0x3c520e=this['resolveInstance'](TestFrameworkState[_0x5a55db(0x142)],HookState[_0x5a55db(0x19e)]),_0x32b004=_0x3c520e[_0x5a55db(0x16b)]()[_0x5a55db(0x13d)](_0x10ba17),_0x5da3ee=_0x348a46[_0x5a55db(0x251)](_0x32b004,{}),_0x27d793=_0x5da3ee?_0x5da3ee[TestFrameworkConstants[_0x5a55db(0x21b)]]||{}:{},_0x55d76f=_0x5da3ee[TestFrameworkConstants[_0x5a55db(0x1cf)]];logger[_0x5a55db(0x287)](_0x5a55db(0x21a)+(_0x55d76f?Object[_0x5a55db(0x1f4)](_0x55d76f)[_0x5a55db(0x14b)]:0x0)+_0x5a55db(0x223));let _0x51d464=_0x348a46[_0x5a55db(0x19c)];if(_0x347c92[_0x5a55db(0x230)])_0x51d464=_0x347c92['result'];else{if(_0x347c92[_0x5a55db(0x17e)]&&_0x348a46['WvwTK'](_0x347c92[_0x5a55db(0x17e)]['length'],0x0))_0x51d464=_0x348a46[_0x5a55db(0x25d)];else _0x348a46['nhRlh'](_0x347c92[_0x5a55db(0x207)],_0x348a46['VHImy'])||_0x348a46[_0x5a55db(0x140)](_0x347c92[_0x5a55db(0x207)],_0x348a46[_0x5a55db(0x279)])?_0x51d464=_0x348a46['nYYDJ']:_0x51d464=_0x348a46[_0x5a55db(0x259)];}const _0x7c3386={..._0x5da3ee,[TestFrameworkConstants[_0x5a55db(0x18f)]]:_0x51d464,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x347c92[_0x5a55db(0x1c6)]||new Date()[_0x5a55db(0x17c)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x5a55db(0x17c)](),[TestFrameworkConstants[_0x5a55db(0x21b)]]:_0x27d793,[TestFrameworkConstants['KEY_LOGS']]:_0x5da3ee[TestFrameworkConstants[_0x5a55db(0x25c)]]||[],[TestFrameworkConstants[_0x5a55db(0x102)]]:{}};if(_0x348a46[_0x5a55db(0x22f)](_0x51d464,_0x348a46[_0x5a55db(0x25d)])&&_0x347c92[_0x5a55db(0x17e)]){const _0x472a59=this[_0x5a55db(0x1ea)](_0x347c92),_0x3ec227=this[_0x5a55db(0x1d4)](_0x347c92),_0x42ad65=this[_0x5a55db(0x1a1)](_0x347c92);_0x7c3386[TestFrameworkConstants[_0x5a55db(0x155)]]=_0x3ec227,_0x7c3386[TestFrameworkConstants[_0x5a55db(0x23c)]]=_0x472a59,_0x7c3386[TestFrameworkConstants[_0x5a55db(0x244)]]=_0x42ad65;}_0x348a46[_0x5a55db(0x1e1)](_0x347c92[_0x5a55db(0x24b)],undefined)&&(_0x7c3386[TestFrameworkConstants[_0x5a55db(0x221)]]=_0x347c92[_0x5a55db(0x24b)]);_0x347c92[_0x5a55db(0x1ce)]&&(_0x7c3386[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x347c92[_0x5a55db(0x1ce)]);const _0x149911=_0x32b004?_0x32b004[TestFrameworkConstants[_0x5a55db(0x1cf)]]||{}:{},_0x536b6d=_0x32b004?_0x32b004[TestFrameworkConstants['KEY_TEST_UUID']]:_0x3bf306,_0x52da70=_0x348a46['OCKLX'](getManualUploadLogs,_0x149911,_0x536b6d,_0x10ba17);if(_0x348a46[_0x5a55db(0x133)](_0x52da70[_0x5a55db(0x14b)],0x0)){const _0x1987b0=_0x7c3386[TestFrameworkConstants[_0x5a55db(0x25c)]]||[];_0x7c3386[TestFrameworkConstants[_0x5a55db(0x25c)]]=[..._0x1987b0,..._0x52da70];}const _0x2333fd=_0x5da3ee[TestFrameworkConstants[_0x5a55db(0x1a9)]]||{},_0x32e5f1=_0x5da3ee[TestFrameworkConstants[_0x5a55db(0x14e)]]||{},_0x2da9a={..._0x2333fd},_0x474ae8=_0x2da9a;Object[_0x5a55db(0x1f4)](_0x32e5f1)[_0x5a55db(0x1ec)](_0x235f4c=>{const _0x4f94e9=_0x5a55db;!_0x474ae8[_0x235f4c]&&(_0x474ae8[_0x235f4c]=[]);const _0x29587a=new Set((_0x474ae8[_0x235f4c]||[])[_0x4f94e9(0x15b)](_0x845ca4=>_0x845ca4[TestFrameworkConstants[_0x4f94e9(0x23d)]]||_0x845ca4[_0x4f94e9(0x194)]));(_0x32e5f1[_0x235f4c]||[])[_0x4f94e9(0x1ec)](_0x4ef0aa=>{const _0x5a31c0=_0x4f94e9,_0x591fb4=_0x4ef0aa[TestFrameworkConstants[_0x5a31c0(0x23d)]]||_0x4ef0aa[_0x5a31c0(0x194)];if(!_0x29587a[_0x5a31c0(0x13c)](_0x591fb4)){const _0x67a7da={..._0x4ef0aa},_0x379841=_0x67a7da;!_0x379841[TestFrameworkConstants[_0x5a31c0(0x276)]]&&!_0x379841[_0x5a31c0(0x1d7)]&&(_0x379841[TestFrameworkConstants[_0x5a31c0(0x276)]]=new Date()[_0x5a31c0(0x17c)]()),!_0x379841[TestFrameworkConstants[_0x5a31c0(0x20e)]]&&!_0x379841[_0x5a31c0(0x21c)]&&(_0x379841[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x5a31c0(0x242)]),_0x474ae8[_0x235f4c][_0x5a31c0(0x1ad)](_0x379841);}});});if(_0x55e98c[_0x5a55db(0x199)]){this[_0x5a55db(0x193)](_0x55e98c[_0x5a55db(0x199)]);const _0x415ba5=this['buildHookMapFromTest'](_0x55e98c[_0x5a55db(0x199)]),_0x1d3bf2=this[_0x5a55db(0x22a)](_0x55e98c[_0x5a55db(0x199)]);_0x1d3bf2['forEach'](_0x18d47a=>{const _0x14d57f=_0x5a55db,_0x6bfbd7=_0x415ba5[_0x14d57f(0x13d)](_0x18d47a);if(_0x6bfbd7&&(_0x348a46[_0x14d57f(0x140)](_0x6bfbd7[_0x14d57f(0x195)],_0x348a46[_0x14d57f(0x106)])||_0x348a46['GwDme'](_0x6bfbd7[_0x14d57f(0x195)],_0x348a46['paJXZ']))){const _0x311319=_0x6bfbd7[_0x14d57f(0x195)][_0x14d57f(0x1d0)]()[_0x14d57f(0x24f)](_0x348a46['TUHcH'],_0x348a46[_0x14d57f(0x1e3)]),_0x3199fb=_0x311319;!_0x474ae8[_0x3199fb]&&(_0x474ae8[_0x3199fb]=[]);const _0x26d83f=_0x474ae8[_0x3199fb][_0x14d57f(0x11e)](_0x8cfb4a=>(_0x8cfb4a[TestFrameworkConstants[_0x14d57f(0x23d)]]||_0x8cfb4a['hook_id'])===_0x18d47a);!_0x26d83f&&_0x474ae8[_0x3199fb][_0x14d57f(0x1ad)]({'key':_0x3199fb,[TestFrameworkConstants[_0x14d57f(0x23d)]]:_0x18d47a,[TestFrameworkConstants[_0x14d57f(0x20e)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x14d57f(0x17c)](),[TestFrameworkConstants[_0x14d57f(0x276)]]:new Date()[_0x14d57f(0x17c)](),[TestFrameworkConstants[_0x14d57f(0x232)]]:[],[TestFrameworkConstants[_0x14d57f(0x1a6)]]:_0x6bfbd7[_0x14d57f(0x237)]||_0x6bfbd7[_0x14d57f(0x195)]+_0x14d57f(0x11d),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x27d793});}});}if(_0x347c92[_0x5a55db(0x190)]&&_0x348a46[_0x5a55db(0x133)](_0x347c92[_0x5a55db(0x190)][_0x5a55db(0x14b)],0x0))_0x7c3386[TestFrameworkConstants[_0x5a55db(0x1a9)]]=_0x347c92['hooks'],logger[_0x5a55db(0x287)](_0x348a46[_0x5a55db(0x200)]);else _0x348a46[_0x5a55db(0x133)](Object['keys'](_0x474ae8)['length'],0x0)&&(_0x7c3386[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x474ae8,logger[_0x5a55db(0x287)](_0x5a55db(0x144)+Object[_0x5a55db(0x1f4)](_0x474ae8)[_0x5a55db(0x192)](',')));const _0x4eb847=this[_0x5a55db(0x1f2)](_0x347c92);logger[_0x5a55db(0x287)](_0x5a55db(0x120)+_0x4eb847+_0x5a55db(0x217)+_0x10ba17+_0x5a55db(0x1d6)+_0x51d464+_0x5a55db(0x25b)+_0x347c92[_0x5a55db(0x24b)]);_0x348a46[_0x5a55db(0x22f)](_0x51d464,_0x348a46['HxUzp'])&&logger[_0x5a55db(0x287)](_0x5a55db(0x1c7)+_0x10ba17+',\x20failureType='+_0x7c3386[TestFrameworkConstants[_0x5a55db(0x155)]]+_0x5a55db(0x1a3)+_0x7c3386[TestFrameworkConstants[_0x5a55db(0x23c)]]?.[_0x5a55db(0x27c)](0x0,0xc8));const _0x42ae9b={};return _0x42ae9b[_0x10ba17]=_0x7c3386,_0x42ae9b;}[a75_0x514b27(0x266)](_0x2ec2e6){const _0x19bb32=a75_0x514b27,_0x1a7b37={};_0x1a7b37[_0x19bb32(0x267)]=function(_0x5b9159,_0xa728dd){return _0x5b9159!==_0xa728dd;},_0x1a7b37[_0x19bb32(0x239)]=function(_0x47e8b9,_0x4df507){return _0x47e8b9!==_0x4df507;},_0x1a7b37[_0x19bb32(0x188)]=_0x19bb32(0x281);const _0x15148a=_0x1a7b37,_0x13f23d={};_0x13f23d[_0x19bb32(0x233)]=0x2,_0x13f23d['maxArrayLength']=0x3,logger[_0x19bb32(0x287)](_0x19bb32(0x12f)+util[_0x19bb32(0x14a)](_0x2ec2e6,_0x13f23d));const _0x1eb50b=[];if(_0x2ec2e6&&_0x2ec2e6['parent']){let _0x43c90a=_0x2ec2e6[_0x19bb32(0x282)];while(_0x43c90a&&_0x43c90a[_0x19bb32(0x237)]&&_0x15148a[_0x19bb32(0x267)](_0x43c90a['name'],'')&&_0x15148a[_0x19bb32(0x239)](_0x43c90a[_0x19bb32(0x237)],_0x15148a[_0x19bb32(0x188)])){_0x1eb50b[_0x19bb32(0x1ad)](_0x43c90a['name']),_0x43c90a=_0x43c90a['parent'];}}return _0x1eb50b['reverse']();}['getJestTestName'](_0x4271da){const _0x98ef9=a75_0x514b27,_0x51cc3a={};_0x51cc3a[_0x98ef9(0x1da)]=_0x98ef9(0x1f0);const _0x38ba95=_0x51cc3a;if(_0x4271da[_0x98ef9(0x237)])return _0x4271da[_0x98ef9(0x237)];if(_0x4271da[_0x98ef9(0x1fd)])return _0x4271da['title'];return _0x38ba95[_0x98ef9(0x1da)];}[a75_0x514b27(0x24c)](_0x3f8c6c){const _0x16a7c7=a75_0x514b27,_0x2c1dcf=[];if(_0x3f8c6c['tags']&&Array[_0x16a7c7(0x1d3)](_0x3f8c6c['tags']))return _0x3f8c6c[_0x16a7c7(0x213)][_0x16a7c7(0x15b)](_0x3ab0aa=>_0x3ab0aa[_0x16a7c7(0x247)]('@')?_0x3ab0aa[_0x16a7c7(0x16e)](0x1):_0x3ab0aa);const _0x1f0014=this['getJestTestName'](_0x3f8c6c),_0x3580d2=_0x1f0014[_0x16a7c7(0x1ac)](/@(\w+)/g);if(_0x3580d2)return _0x3580d2[_0x16a7c7(0x15b)](_0x2949e3=>_0x2949e3[_0x16a7c7(0x1a7)](0x1));return _0x3f8c6c[_0x16a7c7(0xfd)]&&Array['isArray'](_0x3f8c6c[_0x16a7c7(0xfd)])&&_0x3f8c6c[_0x16a7c7(0xfd)]['forEach'](_0xce72e0=>{const _0x5be2fe=_0x16a7c7,_0x207934=_0xce72e0[_0x5be2fe(0x1ac)](/@(\w+)/g);_0x207934&&_0x207934[_0x5be2fe(0x1ec)](_0x57ef68=>{const _0x10dfb0=_0x5be2fe,_0x4cd2d1=_0x57ef68['slice'](0x1);!_0x2c1dcf[_0x10dfb0(0x13e)](_0x4cd2d1)&&_0x2c1dcf[_0x10dfb0(0x1ad)](_0x4cd2d1);});}),_0x2c1dcf;}[a75_0x514b27(0x1aa)](_0x46e889){const _0x73a1bb=a75_0x514b27,_0x3442a4={'hPkRC':function(_0x334483,_0x4d41f9){return _0x334483(_0x4d41f9);},'MmmpF':_0x73a1bb(0x170)};if(_0x46e889[_0x73a1bb(0x181)])return _0x46e889[_0x73a1bb(0x181)];if(_0x46e889['asyncError']){const _0x8701cf=_0x3442a4[_0x73a1bb(0x289)](require,_0x3442a4[_0x73a1bb(0x128)]);try{const _0x4a3d53=_0x8701cf[_0x73a1bb(0x22e)](_0x46e889[_0x73a1bb(0x1d5)]);if(_0x4a3d53[0x0]&&_0x4a3d53[0x0][_0x73a1bb(0x250)])return _0x4a3d53[0x0][_0x73a1bb(0x250)]();}catch(_0x55a0e1){logger[_0x73a1bb(0x287)](_0x73a1bb(0x257)+util[_0x73a1bb(0x1a5)](_0x55a0e1));}}return null;}[a75_0x514b27(0x1ea)](_0xe62947){const _0x4c1dde=a75_0x514b27,_0x42acf2={};_0x42acf2['gjoBw']=function(_0x3ad9a7,_0x317507){return _0x3ad9a7>_0x317507;},_0x42acf2[_0x4c1dde(0x119)]='Unknown\x20error';const _0x528fdb=_0x42acf2;if(_0xe62947[_0x4c1dde(0x17e)]&&_0x528fdb[_0x4c1dde(0x18a)](_0xe62947[_0x4c1dde(0x17e)][_0x4c1dde(0x14b)],0x0))return util[_0x4c1dde(0x14a)](_0xe62947[_0x4c1dde(0x17e)][0x0]);if(_0xe62947[_0x4c1dde(0x151)])return _0xe62947[_0x4c1dde(0x151)];return _0x528fdb['kgfDx'];}[a75_0x514b27(0x1d4)](_0x46e8ea){const _0x53be20=a75_0x514b27,_0x1154a4={};_0x1154a4['Sbtoc']=_0x53be20(0x147),_0x1154a4['pqvcs']=_0x53be20(0x122),_0x1154a4[_0x53be20(0x285)]=_0x53be20(0x164);const _0x3d55b8=_0x1154a4,_0x5dbbb9=this[_0x53be20(0x1ea)](_0x46e8ea);if(_0x5dbbb9&&_0x5dbbb9['includes'](_0x3d55b8[_0x53be20(0x19f)]))return _0x3d55b8[_0x53be20(0x265)];return _0x3d55b8['NESLH'];}['getJestFailureData'](_0x492775){const _0x50963c=a75_0x514b27,_0x207dee={'WSbpi':function(_0x3d9b4f,_0x115baf){return _0x3d9b4f(_0x115baf);},'tTDlw':_0x50963c(0x225),'kQskI':function(_0x52e7f7,_0x49b23d){return _0x52e7f7!==_0x49b23d;},'ncQWp':_0x50963c(0x157)},{failureData:_0x54c90f}=_0x207dee[_0x50963c(0xfb)](require,_0x207dee[_0x50963c(0x1b0)]),_0x4bf9c5=[];return _0x207dee[_0x50963c(0x271)](_0x492775[_0x50963c(0x17e)],undefined)&&_0x4bf9c5[_0x50963c(0x1ad)](_0x492775['errorsDetailed'],_0x207dee[_0x50963c(0x19b)]),_0x54c90f['apply'](null,_0x4bf9c5);}async[a75_0x514b27(0x10c)](_0x43deeb,_0x3dc06b,_0x3bff65,_0x2454e9){const _0x46d08c=a75_0x514b27,_0xc2541c={'CjeRl':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','HLXFy':function(_0x55cc14){return _0x55cc14();},'JbiSh':function(_0x5ef4f8,_0x183971){return _0x5ef4f8 in _0x183971;},'JacTt':function(_0x1eed31,_0x5128a7){return _0x1eed31 in _0x5128a7;},'AsGge':function(_0x5d1ec2,_0x259752){return _0x5d1ec2===_0x259752;},'vMyfR':function(_0x427e8d,_0xdd55ee){return _0x427e8d>_0xdd55ee;},'hevlI':'failed','IEgMe':_0x46d08c(0x222),'iZAiS':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','rnovM':function(_0x3c1290,_0x3a3419){return _0x3c1290===_0x3a3419;},'imXNB':function(_0x5c94f1,_0x231878){return _0x5c94f1!==_0x231878;}},{hookData:_0x5c7cf8}=_0x2454e9,_0x1aeacb=_0x3bff65[_0x46d08c(0x258)](),_0x16fec8=_0x3dc06b[_0x46d08c(0x258)](),_0x412964={};_0x412964[_0x46d08c(0x233)]=0x2,_0x412964['maxArrayLength']=0x3,logger[_0x46d08c(0x287)](_0x46d08c(0x202)+_0x16fec8+_0x46d08c(0x12c)+_0x1aeacb+_0x46d08c(0x146)+util[_0x46d08c(0x14a)](_0x5c7cf8,_0x412964));if(!_0x5c7cf8)return logger[_0x46d08c(0x287)](_0xc2541c['CjeRl']),{};const _0x5ac12e=_0x5c7cf8[_0x46d08c(0x28f)]||_0x5c7cf8[_0x46d08c(0x290)]||_0xc2541c['HLXFy'](uuidv4),_0x3cd3a0=_0x5c7cf8[_0x46d08c(0x1c8)]||this[_0x46d08c(0x132)](_0x5c7cf8),_0x2701b2=_0x3dc06b[_0x46d08c(0x258)]()[_0x46d08c(0x20a)]('.')[0x1],_0x155970=_0x43deeb[_0x46d08c(0x16b)]()['get'](_0x3cd3a0),_0x2185cd=_0x155970?_0x155970[TestFrameworkConstants[_0x46d08c(0x21b)]]||{}:{};logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x5ac12e+_0x46d08c(0x217)+_0x3cd3a0+_0x46d08c(0x12e)+_0x2701b2+_0x46d08c(0x12c)+_0x1aeacb);if(!_0x155970)return logger[_0x46d08c(0x287)](_0x46d08c(0x113)+_0x3cd3a0+_0x46d08c(0x111)),this[_0x46d08c(0x121)](_0x43deeb,_0x3cd3a0,_0x3dc06b,_0x3bff65,_0x2454e9),{};let _0x5592b2=_0x155970[TestFrameworkConstants[_0x46d08c(0x14e)]];!_0x5592b2&&(_0x5592b2={});!_0xc2541c[_0x46d08c(0x1ca)](_0x2701b2,_0x5592b2)&&(_0x5592b2[_0x2701b2]=[]);let _0x1a18fc=_0x155970[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x1a18fc&&(_0x1a18fc={});!_0xc2541c[_0x46d08c(0x28e)](_0x2701b2,_0x1a18fc)&&(_0x1a18fc[_0x2701b2]=[]);const _0x128b3f={[_0x3cd3a0]:{[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5592b2,[TestFrameworkConstants[_0x46d08c(0x1a9)]]:_0x1a18fc,[TestFrameworkConstants[_0x46d08c(0x158)]]:this[_0x46d08c(0x20d)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x46d08c(0x1c1)]()[this[_0x46d08c(0x20d)]()[0x0]]||''}};if(_0xc2541c['AsGge'](_0x3bff65,HookState['PRE'])){const _0x24ce49={'key':_0x2701b2,[TestFrameworkConstants[_0x46d08c(0x23d)]]:_0x5ac12e,[TestFrameworkConstants[_0x46d08c(0x20e)]]:TestFrameworkConstants[_0x46d08c(0x242)],[TestFrameworkConstants[_0x46d08c(0x23f)]]:_0x5c7cf8['started_at']||new Date()[_0x46d08c(0x17c)](),[TestFrameworkConstants[_0x46d08c(0x232)]]:[],[TestFrameworkConstants[_0x46d08c(0x1a6)]]:_0x5c7cf8['name']||_0x5c7cf8['hook_type']||_0x2701b2,[TestFrameworkConstants[_0x46d08c(0x21b)]]:_0x2185cd};_0x5592b2[_0x2701b2][_0x46d08c(0x1ad)](_0x24ce49),_0x128b3f[_0x3cd3a0][TestFrameworkConstants[_0x46d08c(0x214)]]=_0x2701b2;const _0x11d6c0={};_0x11d6c0[_0x46d08c(0x233)]=0x2,logger[_0x46d08c(0x287)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x2701b2+_0x46d08c(0x104)+_0x5ac12e+',\x20testId='+_0x3cd3a0+_0x46d08c(0x219)+util[_0x46d08c(0x14a)](_0x24ce49,_0x11d6c0));}else{if(_0xc2541c[_0x46d08c(0x154)](_0x3bff65,HookState[_0x46d08c(0x19e)])){const _0x5ec48b=_0x5c7cf8[_0x46d08c(0x230)]||(_0x5c7cf8['errorsDetailed']&&_0xc2541c[_0x46d08c(0x1bb)](_0x5c7cf8[_0x46d08c(0x17e)][_0x46d08c(0x14b)],0x0)?_0xc2541c[_0x46d08c(0x1e2)]:_0xc2541c[_0x46d08c(0x27b)]),_0x3d20c3=_0x5592b2[_0x2701b2]||[];logger[_0x46d08c(0x287)](_0x46d08c(0x10d)+_0x2701b2+_0x46d08c(0x217)+_0x3cd3a0+_0x46d08c(0x1fb)+_0x5ec48b+_0x46d08c(0x165)+_0x3d20c3[_0x46d08c(0x14b)]);if(_0xc2541c[_0x46d08c(0x154)](_0x3d20c3[_0x46d08c(0x14b)],0x0)&&_0xc2541c[_0x46d08c(0x154)](_0x3dc06b,TestFrameworkState['BEFORE_ALL']))return logger[_0x46d08c(0x287)](_0xc2541c[_0x46d08c(0x138)]),this[_0x46d08c(0x121)](_0x43deeb,_0x3cd3a0,_0x3dc06b,_0x3bff65,_0x2454e9),{};if(_0xc2541c[_0x46d08c(0x1bb)](_0x3d20c3['length'],0x0)){const _0x4d603d=_0x3d20c3[_0x46d08c(0x262)]();_0xc2541c[_0x46d08c(0x1b2)](_0x5ec48b,_0xc2541c['hevlI'])&&_0x5c7cf8[_0x46d08c(0x17e)]?(_0x4d603d[TestFrameworkConstants[_0x46d08c(0x141)]]=this[_0x46d08c(0x1d4)](_0x5c7cf8),_0x4d603d[TestFrameworkConstants[_0x46d08c(0x28b)]]=this['getJestFailureReason'](_0x5c7cf8),_0x4d603d[TestFrameworkConstants[_0x46d08c(0x263)]]=this['getJestFailureData'](_0x5c7cf8),logger[_0x46d08c(0x287)](_0x46d08c(0x277)+_0x2701b2+',\x20failureType='+_0x4d603d[TestFrameworkConstants[_0x46d08c(0x141)]]+_0x46d08c(0x1a3)+_0x4d603d[TestFrameworkConstants[_0x46d08c(0x28b)]]?.[_0x46d08c(0x27c)](0x0,0xc8))):_0x4d603d[TestFrameworkConstants[_0x46d08c(0x20e)]]=_0xc2541c[_0x46d08c(0x27b)];_0xc2541c['imXNB'](_0x5ec48b,TestFrameworkConstants[_0x46d08c(0x242)])&&(_0x4d603d[TestFrameworkConstants[_0x46d08c(0x20e)]]=_0x5ec48b);_0x4d603d[TestFrameworkConstants[_0x46d08c(0x276)]]=_0x5c7cf8[_0x46d08c(0x1c6)]||new Date()['toISOString'](),_0x4d603d[TestFrameworkConstants[_0x46d08c(0x21b)]]=_0x2185cd;const _0x220d2e=_0x4d603d[TestFrameworkConstants[_0x46d08c(0x23d)]];!_0x1a18fc[_0x2701b2]&&(_0x1a18fc[_0x2701b2]=[]);_0x1a18fc[_0x2701b2]['push'](_0x4d603d),_0x128b3f[_0x3cd3a0][TestFrameworkConstants[_0x46d08c(0x182)]]=_0x2701b2;const _0x46481c={};_0x46481c[_0x46d08c(0x233)]=0x2,logger[_0x46d08c(0x287)](_0x46d08c(0x18e)+_0x2701b2+_0x46d08c(0x104)+_0x220d2e+_0x46d08c(0x1fb)+_0x5ec48b+',\x20hook='+util[_0x46d08c(0x14a)](_0x4d603d,_0x46481c));}}}return _0x128b3f;}[a75_0x514b27(0x260)](_0x8c758b){const _0x50adcb=a75_0x514b27,_0x32149f={};_0x32149f['IUDuD']=_0x50adcb(0x169);const _0x4c359a=_0x32149f;try{const _0x420ca8=_0x8c758b[_0x50adcb(0x157)]?this[_0x50adcb(0x132)](_0x8c758b[_0x50adcb(0x157)]):_0x8c758b[_0x50adcb(0x208)][_0x50adcb(0x1c8)],_0x509b2c=_0x8c758b['instance'],_0x10cd8a=_0x509b2c[_0x50adcb(0x1dc)](),_0x42d2bd=_0x509b2c[_0x50adcb(0x16b)]()[_0x50adcb(0x13d)](_0x420ca8);if(!_0x42d2bd)return logger[_0x50adcb(0x287)](_0x50adcb(0x1b1)+_0x420ca8),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4df557=this[_0x50adcb(0x20d)]()[0x0]||'',[TestFrameworkConstants[_0x50adcb(0x27d)]]:_0x134228=this[_0x50adcb(0x1c1)]()[this[_0x50adcb(0x20d)]()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x23ef53='',[TestFrameworkConstants[_0x50adcb(0x197)]]:_0x2f7dc0=''}=_0x42d2bd,_0x1b782d=_0x509b2c[_0x50adcb(0x123)]()[_0x50adcb(0x258)]()['split']('.')[0x1],_0x4f9ab3=_0x509b2c[_0x50adcb(0x152)]()[_0x50adcb(0x258)]()[_0x50adcb(0x20a)]('.')[0x1],_0xc198ef=global?.['__workerDetails']?.[_0x50adcb(0x1c9)]?.[_0x50adcb(0x1e5)]||global[_0x50adcb(0x124)]||0x0,_0x1960af=_0x509b2c['getRef'](),_0x53e42d=Buffer[_0x50adcb(0x191)](JSON['stringify'](_0x42d2bd))[_0x50adcb(0x258)](_0x4c359a[_0x50adcb(0x283)]),_0x35a251={'hash':_0x10cd8a['getId'](),'threadId':_0x10cd8a[_0x50adcb(0x26d)]()['toString'](),'processId':_0x10cd8a[_0x50adcb(0x11a)]()[_0x50adcb(0x258)]()},_0x1ba282={};_0x1ba282[_0x50adcb(0x24a)]=_0xc198ef,_0x1ba282[_0x50adcb(0x180)]=_0x4df557,_0x1ba282[_0x50adcb(0x1c3)]=_0x134228,_0x1ba282[_0x50adcb(0x114)]=_0x1b782d,_0x1ba282[_0x50adcb(0x1c5)]=_0x4f9ab3,_0x1ba282[_0x50adcb(0x127)]=_0x23ef53,_0x1ba282[_0x50adcb(0x264)]=_0x2f7dc0,_0x1ba282[_0x50adcb(0x28f)]=_0x1960af,_0x1ba282[_0x50adcb(0x172)]=_0x53e42d,_0x1ba282[_0x50adcb(0x1e0)]=_0x35a251,_0x1ba282[_0x50adcb(0x196)]=_0x420ca8;const _0x4b466b=_0x1ba282;return _0x4b466b;}catch(_0x4c065f){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x4c065f)),{};}}async[a75_0x514b27(0x1e7)](_0x21b558,_0x26dac2,_0x5c0ad9){const _0x105efd=a75_0x514b27,_0x199313={'uzDCb':function(_0x2ea07e,_0x1a5d9b){return _0x2ea07e+_0x1a5d9b;},'bnXNh':_0x105efd(0x1a0),'FZbjJ':_0x105efd(0x175),'lRKBD':function(_0x4fd5bb,_0x4e0231){return _0x4fd5bb>_0x4e0231;},'JHJFR':function(_0x193910,_0x43549d,_0x5728d9,_0x456f8a){return _0x193910(_0x43549d,_0x5728d9,_0x456f8a);},'cVhsu':function(_0x32b586,_0x257188){return _0x32b586-_0x257188;},'nxJAC':function(_0x53a399,_0x5065b1){return _0x53a399===_0x5065b1;},'xbTsW':function(_0x4844a8,_0x134947){return _0x4844a8/_0x134947;},'TZGwD':function(_0x2739c1,_0x46a5d6){return _0x2739c1<_0x46a5d6;},'SAGAd':function(_0x363b33,_0x3e1eba){return _0x363b33*_0x3e1eba;},'UofzU':function(_0x3f6fbf,_0x1aa984){return _0x3f6fbf+_0x1aa984;},'rlIOa':function(_0x3a3152,_0x1972c6){return _0x3a3152+_0x1972c6;},'FraPp':function(_0x36671b,_0x2312ee){return _0x36671b>_0x2312ee;}};try{const _0x384d6a=_0x5c0ad9[_0x105efd(0x252)]||_0x5c0ad9['testId'],_0x3a4c56=Array['from'](_0x21b558['getAllData']()['keys']()),_0x329cb3=_0x21b558[_0x105efd(0x16b)]()[_0x105efd(0x13d)](_0x384d6a);if(!_0x329cb3){logger[_0x105efd(0x287)](_0x105efd(0x273)+_0x384d6a);return;}const {[TestFrameworkConstants[_0x105efd(0x158)]]:_0x3530b8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x3296df=''}=_0x329cb3;let _0x5b1421=[];_0x329cb3&&_0x329cb3[TestFrameworkConstants[_0x105efd(0x25c)]]&&Array[_0x105efd(0x1d3)](_0x329cb3[TestFrameworkConstants[_0x105efd(0x25c)]])?(_0x5b1421=_0x329cb3[TestFrameworkConstants[_0x105efd(0x25c)]]||[],logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x5b1421['length']+_0x105efd(0xff)+_0x384d6a),_0x21b558[_0x105efd(0x11c)]({[_0x384d6a]:{[TestFrameworkConstants[_0x105efd(0x25c)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x105efd(0x20d)]()[0x0]||'',[TestFrameworkConstants[_0x105efd(0x27d)]]:this[_0x105efd(0x1c1)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x105efd(0x287)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x384d6a)):logger['debug'](_0x105efd(0x160)+_0x384d6a);logger[_0x105efd(0x287)](_0x105efd(0x1d1)+_0x5b1421[_0x105efd(0x14b)]+_0x105efd(0x163)+_0x384d6a);const _0x145664=_0x5b1421[_0x105efd(0x189)](_0x2c58ff=>_0x2c58ff[_0x105efd(0x19d)]===_0x105efd(0x183));_0x199313['lRKBD'](_0x145664[_0x105efd(0x14b)],0x0)&&(logger[_0x105efd(0x287)](_0x105efd(0x187)+_0x145664[_0x105efd(0x14b)]+_0x105efd(0x26f)+_0x384d6a),_0x145664[_0x105efd(0x1ec)]((_0x2093d8,_0x20faf3)=>{const _0x20d149=_0x105efd;logger[_0x20d149(0x287)](_0x20d149(0x1b7)+_0x199313['uzDCb'](_0x20faf3,0x1)+'/'+_0x145664[_0x20d149(0x14b)]+_0x20d149(0x227)+(_0x2093d8[_0x20d149(0x196)]||_0x199313[_0x20d149(0x148)])+_0x20d149(0x1f9)+(_0x2093d8[_0x20d149(0x22c)]||_0x199313['bnXNh'])+',\x20hook_run_uuid='+(_0x2093d8[_0x20d149(0x236)]||_0x199313[_0x20d149(0x261)])+_0x20d149(0x12a)+(_0x2093d8['message']?.['length']||0x0));}));const _0x21f163=_0x329cb3[TestFrameworkConstants[_0x105efd(0x1cf)]]||{},_0x54d695=_0x199313[_0x105efd(0x1ee)](getMediaArtifactsLogs,_0x21f163,null,_0x384d6a),_0x313011=(_0x5b1421||[])[_0x105efd(0x1b3)](_0x54d695||[]),_0xdbda10=_0x145664?.['length']||0x0,_0x49a19a=_0x199313[_0x105efd(0x23a)](_0x5b1421?.[_0x105efd(0x14b)]||0x0,_0xdbda10);logger[_0x105efd(0x287)](_0x105efd(0x22b)+_0x384d6a+',\x20consoleLogs:\x20'+_0x49a19a+_0x105efd(0x173)+_0xdbda10+_0x105efd(0x1df)+(_0x54d695?.[_0x105efd(0x14b)]||0x0)+',\x20totalLogs:\x20'+_0x313011[_0x105efd(0x14b)]);if(!_0x313011||_0x199313[_0x105efd(0x1eb)](_0x313011[_0x105efd(0x14b)],0x0)){logger[_0x105efd(0x287)](_0x105efd(0x216)+_0x384d6a);return;}const _0x4f75c7=0x28,_0x42132c=Math[_0x105efd(0x1c0)](_0x199313['xbTsW'](_0x313011[_0x105efd(0x14b)],_0x4f75c7));for(let _0x5d709a=0x0;_0x199313['TZGwD'](_0x5d709a,_0x42132c);_0x5d709a++){const _0x495825=_0x199313[_0x105efd(0x1bd)](_0x5d709a,_0x4f75c7),_0x2ac68a=_0x199313[_0x105efd(0x201)](_0x495825,_0x4f75c7),_0x1f36fe=_0x313011[_0x105efd(0x1a7)](_0x495825,_0x2ac68a),_0x4d9eb2=global?.[_0x105efd(0x268)]??0x0,_0x125ac0={'platformIndex':_0x4d9eb2,'logs':_0x1f36fe,'testFrameworkName':_0x3530b8,'testFrameworkVersion':_0x3296df,'testFrameworkState':_0x26dac2[_0x105efd(0x258)]()['split']('.')[0x1]},_0x2876b0={};_0x2876b0['depth']=0x3,_0x2876b0[_0x105efd(0x1de)]=0x5,logger[_0x105efd(0x287)](_0x105efd(0x26e)+_0x199313[_0x105efd(0x12b)](_0x5d709a,0x1)+'/'+_0x42132c+_0x105efd(0x1ba)+_0x384d6a+_0x105efd(0x231)+_0x1f36fe[_0x105efd(0x14b)]+_0x105efd(0x176)+_0x4d9eb2+_0x105efd(0x1b9)+util[_0x105efd(0x14a)](_0x125ac0,_0x2876b0));const _0x5b72d0=await GrpcClient[_0x105efd(0x125)]()['logCreatedEvent'](_0x125ac0);logger[_0x105efd(0x287)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x199313[_0x105efd(0x25a)](_0x5d709a,0x1)+'/'+_0x42132c+_0x105efd(0x1ba)+_0x384d6a+_0x105efd(0x11b)+util[_0x105efd(0x14a)](_0x5b72d0));}_0x54d695&&_0x199313[_0x105efd(0x16c)](_0x54d695[_0x105efd(0x14b)],0x0)&&_0x329cb3[TestFrameworkConstants[_0x105efd(0x1cf)]]&&_0x21b558[_0x105efd(0x11c)]({[_0x384d6a]:{[TestFrameworkConstants[_0x105efd(0x1cf)]]:{},[TestFrameworkConstants[_0x105efd(0x158)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x105efd(0x27d)]]:this[_0x105efd(0x1c1)]()[this[_0x105efd(0x20d)]()[0x0]]||''}}),logger[_0x105efd(0x287)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x384d6a+_0x105efd(0x162)+_0x42132c);}catch(_0x497af6){logger[_0x105efd(0x12d)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x5c0ad9[_0x105efd(0x252)]||_0x5c0ad9[_0x105efd(0x1c2)])+_0x105efd(0x174)+util['format'](_0x497af6));}}[a75_0x514b27(0x121)](_0x3ea27b,_0x174312,_0x3e3f77,_0x21e981,_0x5025f5){const _0x44e17c=a75_0x514b27,_0x57398e={};_0x57398e[_0x44e17c(0x198)]=function(_0x3f491f,_0x211bb9){return _0x3f491f===_0x211bb9;},_0x57398e[_0x44e17c(0x13a)]=_0x44e17c(0x14d);const _0x50981b=_0x57398e,{hookData:_0x568590}=_0x5025f5,_0x154780={'testId':_0x174312,'testFrameworkState':_0x3e3f77,'hookState':_0x21e981,'args':_0x5025f5,'timestamp':new Date()[_0x44e17c(0x17c)]()};if(_0x50981b[_0x44e17c(0x198)](_0x3e3f77,TestFrameworkState[_0x44e17c(0x129)])&&_0x568590){const _0x1dfed5={};_0x1dfed5[_0x44e17c(0x1a8)]=_0x568590[_0x44e17c(0x181)]||_0x568590['location'],_0x1dfed5[_0x44e17c(0x1e8)]=_0x568590['scope']||_0x568590[_0x44e17c(0xfd)]&&_0x568590[_0x44e17c(0xfd)][0x0]||'',_0x1dfed5[_0x44e17c(0x110)]=_0x50981b[_0x44e17c(0x13a)],_0x154780[_0x44e17c(0x178)]=_0x1dfed5,logger[_0x44e17c(0x287)](_0x44e17c(0x220)+_0x174312+_0x44e17c(0x240)+_0x154780[_0x44e17c(0x178)][_0x44e17c(0x1a8)]+_0x44e17c(0x10b)+_0x154780['hookMetadata'][_0x44e17c(0x1e8)]);}_0x3ea27b[_0x44e17c(0x1ff)](_0x174312,_0x154780),logger[_0x44e17c(0x287)](_0x44e17c(0x1ef)+_0x174312+_0x44e17c(0x13f)+_0x3e3f77+_0x44e17c(0x235)+_0x21e981);}async['processPendingHooks'](_0x465f06,_0x40ad6f){const _0x1e798d=a75_0x514b27,_0x1249ac={};_0x1249ac['cBmtm']=function(_0x45db22,_0x46383a){return _0x45db22>_0x46383a;},_0x1249ac['QBNmM']=function(_0x310783,_0x260837){return _0x310783===_0x260837;},_0x1249ac[_0x1e798d(0x139)]=function(_0x16b5f4,_0x71585d){return _0x16b5f4===_0x71585d;},_0x1249ac[_0x1e798d(0x23e)]=_0x1e798d(0x234);const _0xac2577=_0x1249ac;if(_0x465f06[_0x1e798d(0x24d)](_0x40ad6f)){const _0x44d839=_0x465f06[_0x1e798d(0x10e)](_0x40ad6f);logger[_0x1e798d(0x287)](_0x1e798d(0x1e6)+_0x44d839[_0x1e798d(0x14b)]+_0x1e798d(0x1d9)+_0x40ad6f);for(const _0x5c2cca of _0x44d839){try{const _0x4352f1=await this[_0x1e798d(0x10c)](_0x465f06,_0x5c2cca[_0x1e798d(0x114)],_0x5c2cca[_0x1e798d(0x1c5)],_0x5c2cca[_0x1e798d(0x211)]);_0x4352f1&&_0xac2577[_0x1e798d(0xfc)](Object[_0x1e798d(0x1f4)](_0x4352f1)[_0x1e798d(0x14b)],0x0)&&_0x465f06[_0x1e798d(0x11c)](_0x4352f1),await this[_0x1e798d(0x26a)](_0x465f06,_0x5c2cca[_0x1e798d(0x114)],_0x5c2cca['hookState'],_0x5c2cca['args']);}catch(_0x581036){logger[_0x1e798d(0x12d)](_0x1e798d(0x177)+_0x40ad6f+',\x20error:\x20'+_0x581036);}}_0x465f06[_0x1e798d(0x286)](_0x40ad6f),logger[_0x1e798d(0x287)](_0x1e798d(0x26b)+_0x40ad6f);}const _0x34eb7e=_0x465f06[_0x1e798d(0x16b)]()[_0x1e798d(0x13d)](_0x40ad6f);if(_0x34eb7e){const _0x366890=_0x34eb7e[TestFrameworkConstants[_0x1e798d(0x1f1)]]||_0x34eb7e[TestFrameworkConstants['KEY_TEST_LOCATION']],_0x75d648=_0x34eb7e[TestFrameworkConstants[_0x1e798d(0x1f7)]]||_0x34eb7e[TestFrameworkConstants[_0x1e798d(0x156)]]&&_0x34eb7e[TestFrameworkConstants[_0x1e798d(0x156)]][0x0]||'';logger[_0x1e798d(0x287)](_0x1e798d(0x13b)+_0x366890+_0x1e798d(0x10b)+_0x75d648);const _0x393535=_0x465f06[_0x1e798d(0x248)]();for(const _0x40165a of _0x393535){if(_0xac2577['QBNmM'](_0x40165a,_0x40ad6f))continue;if(_0x465f06[_0x1e798d(0x24d)](_0x40165a)){const _0x327777=_0x465f06[_0x1e798d(0x10e)](_0x40165a);for(const _0x118834 of _0x327777){if(_0xac2577[_0x1e798d(0x256)](_0x118834[_0x1e798d(0x114)],TestFrameworkState[_0x1e798d(0x129)])&&_0x118834[_0x1e798d(0x178)]){const _0x1b3c81=_0x118834['hookMetadata']['filePath'],_0x146ad8=_0x118834[_0x1e798d(0x178)][_0x1e798d(0x1e8)];if(_0xac2577[_0x1e798d(0x256)](_0x1b3c81,_0x366890)&&_0xac2577['dKNov'](_0x146ad8,_0x75d648)){logger['debug']('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x40165a+_0x1e798d(0x1cb)+_0x40ad6f+_0x1e798d(0x240)+_0x1b3c81+_0x1e798d(0x10b)+_0x146ad8);_0x118834[_0x1e798d(0x211)]&&_0x118834['args'][_0x1e798d(0x208)]&&(_0x118834[_0x1e798d(0x211)][_0x1e798d(0x208)]['test_run_id']=_0x40ad6f,logger[_0x1e798d(0x287)](_0x1e798d(0x278)+_0x40165a+'\x20to\x20'+_0x40ad6f));try{const _0x5244a5=await this['trackHookEvent'](_0x465f06,_0x118834[_0x1e798d(0x114)],_0x118834['hookState'],_0x118834[_0x1e798d(0x211)]);_0x5244a5&&_0xac2577['cBmtm'](Object[_0x1e798d(0x1f4)](_0x5244a5)[_0x1e798d(0x14b)],0x0)&&_0x465f06[_0x1e798d(0x11c)](_0x5244a5);await this[_0x1e798d(0x26a)](_0x465f06,_0x118834[_0x1e798d(0x114)],_0x118834[_0x1e798d(0x1c5)],_0x118834[_0x1e798d(0x211)]);const _0x2d41fc=_0x465f06[_0x1e798d(0x10e)](_0x40165a)['filter'](_0x1c5837=>_0x1c5837!==_0x118834);if(_0xac2577[_0x1e798d(0x256)](_0x2d41fc[_0x1e798d(0x14b)],0x0))_0x465f06[_0x1e798d(0x286)](_0x40165a);else{_0x465f06[_0x1e798d(0x286)](_0x40165a);for(const _0x25cd47 of _0x2d41fc){_0x465f06[_0x1e798d(0x1ff)](_0x40165a,_0x25cd47);}}logger['debug'](_0xac2577[_0x1e798d(0x23e)]);}catch(_0x4dddb5){logger['error']('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x40ad6f+',\x20error:\x20'+_0x4dddb5);}}}}}}}}[a75_0x514b27(0x193)](_0x3f659d){const _0x3eba15=a75_0x514b27,_0x363387={'DJXwB':function(_0x4abb30){return _0x4abb30();}};if(!_0x3f659d||!_0x3f659d[_0x3eba15(0x282)])return;_0x3f659d[_0x3eba15(0x282)][_0x3eba15(0x190)]&&Array[_0x3eba15(0x1d3)](_0x3f659d[_0x3eba15(0x282)][_0x3eba15(0x190)])&&_0x3f659d[_0x3eba15(0x282)][_0x3eba15(0x190)][_0x3eba15(0x1ec)](_0x4b5fc4=>{const _0x5e4aff=_0x3eba15;!_0x4b5fc4[_0x5e4aff(0x290)]&&!_0x4b5fc4[_0x5e4aff(0x17f)]&&(_0x4b5fc4[_0x5e4aff(0x290)]=_0x363387['DJXwB'](uuidv4),_0x4b5fc4['hookUUID']=_0x4b5fc4[_0x5e4aff(0x290)],logger['debug']('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0x4b5fc4[_0x5e4aff(0x195)]+',\x20hookUUID='+_0x4b5fc4['hookAnalyticsId']));}),this[_0x3eba15(0x193)](_0x3f659d[_0x3eba15(0x282)]);}[a75_0x514b27(0x22a)](_0x2693b7){const _0xdd47df=a75_0x514b27,_0x42cbac={'NIFya':function(_0x3d8a7f,_0x35df00){return _0x3d8a7f(_0x35df00);}};if(!_0x2693b7||!_0x2693b7[_0xdd47df(0x282)])return[];const _0x2fba4d=[];return _0x2693b7[_0xdd47df(0x282)]['hooks']&&Array[_0xdd47df(0x1d3)](_0x2693b7[_0xdd47df(0x282)]['hooks'])&&_0x2693b7['parent'][_0xdd47df(0x190)][_0xdd47df(0x1ec)](_0x3065aa=>{const _0x547bb5=_0xdd47df,_0x447adf=_0x3065aa[_0x547bb5(0x290)]||_0x3065aa[_0x547bb5(0x17f)];_0x447adf&&!this[_0x547bb5(0x15c)](_0x3065aa)&&!_0x42cbac[_0x547bb5(0x116)](isInternalHook,_0x3065aa['fn'])&&_0x2fba4d[_0x547bb5(0x1ad)](_0x447adf);}),[..._0x2fba4d,...this['getHooksForTest'](_0x2693b7[_0xdd47df(0x282)])];}[a75_0x514b27(0x1bf)](_0x262830){const _0x3ae35d=a75_0x514b27,_0x51e36e={'DLZMS':function(_0x25148c,_0x155c1f){return _0x25148c(_0x155c1f);},'YfiQA':_0x3ae35d(0x228),'HyANg':function(_0x316379,_0x26e527){return _0x316379(_0x26e527);},'eAkCo':function(_0x4cf81d,_0x2d6ce2){return _0x4cf81d(_0x2d6ce2);}},_0x4ad1f7=new Map(),_0x658f9a=_0x146704=>{const _0x37e8bb=_0x3ae35d,_0x2a4041={'qbeTh':function(_0x51c7bd,_0x2c7d8f){return _0x51e36e['DLZMS'](_0x51c7bd,_0x2c7d8f);},'kGYWw':_0x51e36e[_0x37e8bb(0x1c4)]};if(!_0x146704||!_0x146704[_0x37e8bb(0x282)])return;_0x146704[_0x37e8bb(0x282)][_0x37e8bb(0x190)]&&Array['isArray'](_0x146704[_0x37e8bb(0x282)][_0x37e8bb(0x190)])&&_0x146704['parent'][_0x37e8bb(0x190)]['forEach'](_0x5c9040=>{const _0x215edb=_0x37e8bb,_0xe62ca8=_0x5c9040[_0x215edb(0x290)]||_0x5c9040[_0x215edb(0x17f)];if(_0xe62ca8&&!this['isJestInternalHook'](_0x5c9040)&&!_0x2a4041['qbeTh'](isInternalHook,_0x5c9040['fn'])){const _0x35ce29={};_0x35ce29['type']=_0x5c9040['type']||_0x2a4041[_0x215edb(0x275)],_0x35ce29['name']=_0x5c9040[_0x215edb(0x237)]||'\x22'+_0x5c9040['type']+_0x215edb(0x249),_0x4ad1f7[_0x215edb(0x109)](_0xe62ca8,_0x35ce29);}}),_0x51e36e['HyANg'](_0x658f9a,_0x146704['parent']);};return _0x51e36e['eAkCo'](_0x658f9a,_0x262830),_0x4ad1f7;}[a75_0x514b27(0x15c)](_0x4549df){const _0xc4102e=a75_0x514b27,_0x3381be={};_0x3381be[_0xc4102e(0x270)]=_0xc4102e(0x274),_0x3381be[_0xc4102e(0x229)]=_0xc4102e(0x1dd);const _0x27168a=_0x3381be;try{const _0xea1760=this[_0xc4102e(0x20f)](_0x4549df);return _0xea1760&&_0xea1760[_0xc4102e(0x13e)](_0x27168a[_0xc4102e(0x270)]);}catch(_0x534522){logger['debug'](_0x27168a['GKSzZ']);}return![];}[a75_0x514b27(0x20f)](_0x358a18){const _0x3d9176=a75_0x514b27;if(_0x358a18['asyncError'])try{const _0x2008f3=stackTrace['parse'](_0x358a18[_0x3d9176(0x1d5)]);return _0x2008f3[0x0]?_0x2008f3[0x0]['getFileName']():null;}catch(_0x3835cf){logger['debug'](_0x3d9176(0x1ab)+util['format'](_0x3835cf));}if(_0x358a18[_0x3d9176(0x16d)])return _0x358a18[_0x3d9176(0x16d)];return null;}}function a75_0x5391(){const _0x585f7c=['[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','addPendingHook','SwDOF','uzDCb','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','../instances/trackedInstance.js','FuedN','setActiveHook','removeActiveHook','status','hookData','../grpcClient','split','pYWTN','JestTestFramework','getTestFrameworks','KEY_HOOK_RESULT','getRootParentFile','\x20&\x20hookState=','args','MDRrQ','tags','KEY_HOOK_LAST_STARTED','parseJestTestResult','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20',',\x20testId=','KEY_TEST_NAME',',\x20hook=','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_CUSTOM_TAGS','hook_result','getCurrentInstanceName','KEY_TEST_CODE','VJoPr','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','KEY_TEST_DURATION','passed','\x20attachments','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','../../../helpers/test-observability/utils','761193ZykoJh','\x20-\x20test_identifier=','unknown','GKSzZ','getHooksForTest','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','test_run_uuid','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','parse','FEnJq','result',',\x20logsInBatch:\x20','KEY_HOOK_LOGS','depth','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',',\x20hookState:\x20','hook_run_uuid','name','NONE','TsTlC','cVhsu','Uvlxi','KEY_TEST_FAILURE_REASON','KEY_HOOK_ID','CgVji','KEY_EVENT_STARTED_AT',',\x20filePath:\x20','142wsZAVS','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','KEY_TEST_FAILURE','activeHooks','warn','startsWith','getAllPendingHookTestIds','\x22\x20hook','platformIndex','duration','getJestTestTags','hasPendingHooks','processPendingHooks','replace','getFileName','HjQQt','testUUID','9926390pDZLyQ','trackJestInstance:\x20created\x20instance\x20for\x20target=','started_at','QBNmM','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','toString','JlrsA','rlIOa',',\x20duration=','KEY_LOGS','HxUzp','splice','PRE','createTestFrameworkEventPayload','FZbjJ','pop','KEY_HOOK_FAILURE','endedAt','pqvcs','getJestTestScopes','vecWv','browserstackPlatformIndex','trackJestInstance','runHooks','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20',',\x20filePath=','getThreadId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','\x20screenshot\x20logs\x20for\x20testId:\x20','YJxGe','kQskI','\x22\x20from\x20testData','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','jest-circus','kGYWw','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','nYYDJ',',\x20scopes=','IEgMe','substring','KEY_TEST_FRAMEWORK_VERSION','parseJestTest',',\x20remainingHooks=','_ALL','ROOT_DESCRIBE_BLOCK','parent','IUDuD',',\x20contextId=','NESLH','removePendingHooks','debug','kLnnV','hPkRC','UWdPU','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','JacTt','uuid','hookAnalyticsId','WSbpi','cBmtm','scopes','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','KEY_TEST_META','KEY_TEST_RERUN_NAME',',\x20hookId=','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','VlvId','getId','failed','set','./testFramework',',\x20scope:\x20','trackHookEvent','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','getPendingHooks','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','hookType',',\x20storing\x20as\x20pending\x20hook',',\x20testData=','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','testFrameworkState','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','NIFya','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','KEY_AUTOMATE_SESSION_NAME','kgfDx','getProcessId',',\x20response=','addMultipleEntries','\x20hook','find','1206500olWtsg','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','storePendingHook','AssertionError','getCurrentTestState','__bstackPlatformIndex','getInstance','KEY_TEST_STARTED_AT','startedAt','MmmpF','BEFORE_ALL',',\x20messageLength=','UofzU',',\x20hookState=','error','\x20(testIdentifier),\x20hookType=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','281524fkcRbr','getJestTestIdentifier','CODAD','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','DEFAULT_TEST_RESULT','getTrackedInstance',',\x20target=','iZAiS','dKNov','XZMPs','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','has','get','includes',',\x20state:\x20','GwDme','KEY_HOOK_FAILURE_TYPE','TEST','../cliUtils.js','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','twuVg',',\x20hookData=','Assert','bnXNh','byqon','inspect','length','\x20files','beforeAll','KEY_HOOKS_STARTED','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','trackEvent','failure_reason','getCurrentHookState','tDLXg','AsGge','KEY_TEST_FAILURE_TYPE','KEY_TEST_SCOPES','test','KEY_TEST_FRAMEWORK_NAME','../state/hookState.js','KEY_TEST_LOCATION','map','isJestInternalHook','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','instance','createContext','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','ioOKM',',\x20totalBatches:\x20','\x20for\x20testId:\x20','UnhandledError',',\x20hooksListLength=','code','skip','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','base64','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','getAllData','FraPp','file','substr','84NtaVpF','stack-trace','1320esMXoh','eventJson',',\x20screenshotLogs:\x20',',\x20error:\x20','none',',\x20platformIndex:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','hookMetadata','util','../instances/testFrameworkInstance.js','192157rAynPp','toISOString','setTrackedInstance','errorsDetailed','hookUUID','testFrameworkName','file_name','KEY_HOOK_LAST_FINISHED','TEST_SCREENSHOT','testData','delete','body','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','BDZmm','filter','gjoBw','40QXoFZv','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_TEST_RESULT','hooks','from','join','mapTestHooks','hook_id','type','test_identifier','KEY_TEST_ENDED_AT','sWoFd','originalTest','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','ncQWp','NInVV','kind','POST','Sbtoc','missing','getJestFailureData',',\x20testFramework=',',\x20failureReason=','KEY_TEST_RETRY_OF','format','KEY_HOOK_NAME','slice','filePath','KEY_HOOKS_FINISHED','getJestTestFilePath','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','match','push','trackJestInstance:\x20instance\x20already\x20exists',',\x20exception=','tTDlw','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','rnovM','concat','pmjkJ','KEY_TEST_LOGS','./constants/testFrameworkConstants.js','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20',',\x20hookUUID=',',\x20payload:\x20','\x20-\x20testId:\x20','vMyfR','findIndex','SAGAd','resolveInstance','buildHookMapFromTest','ceil','getTestFrameworksVersions','testId','testFrameworkVersion','YfiQA','hookState','finished_at','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','test_run_id','workerInfo','JbiSh',',\x20currentTestId:\x20','9993mdpzxG','mxXxn','retryOf','KEY_TEST_ATTACHMENTS','toUpperCase','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20',',\x20hookType=','isArray','getJestFailureType','asyncError','\x20(testIdentifier),\x20result=','event_ended_at','getActiveHook','\x20pending\x20hooks\x20for\x20testId:\x20','QFNEz','ASPaY','getContext','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','maxArrayLength',',\x20attachmentLogs:\x20','executionContext','TAlyo','hevlI','hVByW','HVSdJ','parallelIndex','Processing\x20','sendLogCreatedEvent','scope','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','getJestFailureReason','nxJAC','forEach','stringify','JHJFR','Stored\x20pending\x20hook\x20for\x20testId:\x20','Unknown\x20Test','KEY_TEST_FILE_PATH','getJestTestName','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','keys','YNTXZ','rJWAW','KEY_TEST_SCOPE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20test_run_uuid=',':testAnalyticsId',',\x20result=','../../../helpers/classLogger.js','title'];a75_0x5391=function(){return _0x585f7c;};return a75_0x5391();}module['exports']=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a76_0x2ffa(){const _0x53992b=['831846jODNon','runHooks','trackPlaywrightInstance','createContext','405970RXrSSy','1116oPYPQk','trackEvent','logger','PlaywrightAutomationFramework','../instances/automationFrameworkInstance.js','853589QaUVol','getCurrentInstanceName','../cliUtils.js','150clyVNS','../instances/trackedInstance.js','PLAYWRIGHT_DISPATCH','trackEvent:\x20automationFrameworkState=','params','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','21bZQadI','140387bmrkhA',',\x20state=','message','setTrackedInstance','bsParams','../../../helpers/classLogger.js','getAutomationFrameworkName','\x20target=','info','244530dLwtFx','thwWy','./automationFramework.js','3288280IqPhdg','SWQgM','getTrackedInstance','resolveInstance','trackPlaywrightInstance:\x20instance\x20already\x20exists','Unlab','CREATE','4CbsiPH','1704Sjtlvl'];a76_0x2ffa=function(){return _0x53992b;};return a76_0x2ffa();}const a76_0x347992=a76_0x3876;function a76_0x3876(_0x5ceedc,_0x31ecc5){const _0x2ffa90=a76_0x2ffa();return a76_0x3876=function(_0x3876d2,_0x591ae5){_0x3876d2=_0x3876d2-0xf3;let _0x5cedba=_0x2ffa90[_0x3876d2];return _0x5cedba;},a76_0x3876(_0x5ceedc,_0x31ecc5);}(function(_0xccb508,_0x29ee8c){const _0x311430=a76_0x3876,_0x21eb1e=_0xccb508();while(!![]){try{const _0x52363b=parseInt(_0x311430(0xff))/0x1+parseInt(_0x311430(0x119))/0x2*(-parseInt(_0x311430(0x113))/0x3)+parseInt(_0x311430(0x112))/0x4*(parseInt(_0x311430(0x118))/0x5)+parseInt(_0x311430(0x114))/0x6*(-parseInt(_0x311430(0xfe))/0x7)+-parseInt(_0x311430(0x10b))/0x8+-parseInt(_0x311430(0x108))/0x9+-parseInt(_0x311430(0xf8))/0xa*(-parseInt(_0x311430(0xf5))/0xb);if(_0x52363b===_0x29ee8c)break;else _0x21eb1e['push'](_0x21eb1e['shift']());}catch(_0xdecdc1){_0x21eb1e['push'](_0x21eb1e['shift']());}}}(a76_0x2ffa,0x345de));const AutomationFramework=require(a76_0x347992(0x10a)),{createClassLogger}=require(a76_0x347992(0x104)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a76_0x347992(0xf7)),TrackedInstance=require(a76_0x347992(0xf9)),AutomationFrameworkInstance=require(a76_0x347992(0xf4));class PlaywrightAutomationFramework extends AutomationFramework{[a76_0x347992(0x11b)]=createClassLogger(a76_0x347992(0xf3));constructor(_0x4e7e9c,_0x11d3e4){super(_0x4e7e9c,_0x11d3e4);}async[a76_0x347992(0x11a)](_0x31a4cd,_0x578d72,_0x40f958={}){const _0x4215b1=a76_0x347992,_0x3a17d3={};_0x3a17d3[_0x4215b1(0x109)]=function(_0x212bf3,_0x545aca){return _0x212bf3===_0x545aca;};const _0x4e60e7=_0x3a17d3;this[_0x4215b1(0x11b)]['debug'](_0x4215b1(0xfb)+_0x31a4cd+'\x20hookState='+_0x578d72),await super[_0x4215b1(0x11a)](_0x31a4cd,_0x578d72,_0x40f958);const _0x569459=this[_0x4215b1(0x10e)](_0x31a4cd,_0x578d72,_0x40f958);if(_0x4e60e7[_0x4215b1(0x109)](_0x569459,null))return;_0x40f958['instance']=_0x569459,await this[_0x4215b1(0x115)](_0x569459,_0x31a4cd,_0x578d72,_0x40f958);}['resolveInstance'](_0x570e73,_0x39238d,_0x4c5a71={}){const _0x71ddde=a76_0x347992,_0x2124cf={};_0x2124cf[_0x71ddde(0x10c)]=function(_0x569d43,_0x426079){return _0x569d43===_0x426079;};const _0x53e2a8=_0x2124cf;let _0x12a459=null;return(_0x53e2a8[_0x71ddde(0x10c)](_0x570e73,AutomationFrameworkState[_0x71ddde(0x111)])||_0x53e2a8[_0x71ddde(0x10c)](_0x570e73,AutomationFrameworkState[_0x71ddde(0xfa)])&&(_0x4c5a71[_0x71ddde(0x101)]&&_0x4c5a71[_0x71ddde(0x101)]['params']&&_0x4c5a71['message'][_0x71ddde(0xfc)][_0x71ddde(0x103)])||_0x53e2a8['SWQgM'](_0x570e73,AutomationFrameworkState['NONE']))&&this[_0x71ddde(0x116)](_0x570e73,_0x4c5a71),_0x12a459=AutomationFramework['getTrackedInstance'](),_0x12a459;}[a76_0x347992(0x116)](_0x57df48,_0x1b60ef){const _0x2ff97f=a76_0x347992,_0x321d85={};_0x321d85[_0x2ff97f(0x110)]=_0x2ff97f(0x10f);const _0x9cdc57=_0x321d85;if(AutomationFramework[_0x2ff97f(0x10d)]()){this[_0x2ff97f(0x11b)]['info'](_0x9cdc57[_0x2ff97f(0x110)]);return;}const _0x564198=CLIUtils[_0x2ff97f(0xf6)](),_0x57b025=TrackedInstance[_0x2ff97f(0x117)](_0x564198);let _0x2b1eff=null;this['logger'][_0x2ff97f(0x107)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x564198+_0x2ff97f(0x100)+_0x57df48),_0x2b1eff=new AutomationFrameworkInstance(_0x57b025,this[_0x2ff97f(0x105)](),this['getAutomationFrameworkVersion'](),_0x57df48),AutomationFramework[_0x2ff97f(0x102)](_0x57b025,_0x2b1eff),this[_0x2ff97f(0x11b)][_0x2ff97f(0x107)](_0x2ff97f(0xfd)+_0x57b025['getId']()+_0x2ff97f(0x106)+_0x564198);}}module['exports']=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77_0x4ae558=a77_0x1cf4;function a77_0x1cf4(_0x42d975,_0x56ded2){const _0x370f5f=a77_0x370f();return a77_0x1cf4=function(_0x1cf43f,_0x1f4efc){_0x1cf43f=_0x1cf43f-0x107;let _0xb56836=_0x370f5f[_0x1cf43f];return _0xb56836;},a77_0x1cf4(_0x42d975,_0x56ded2);}(function(_0x42a64e,_0x422070){const _0x1772e4=a77_0x1cf4,_0x403cf2=_0x42a64e();while(!![]){try{const _0x1ab46c=parseInt(_0x1772e4(0x148))/0x1*(-parseInt(_0x1772e4(0x1ce))/0x2)+parseInt(_0x1772e4(0x117))/0x3*(-parseInt(_0x1772e4(0x1a3))/0x4)+parseInt(_0x1772e4(0x1df))/0x5*(parseInt(_0x1772e4(0x1cf))/0x6)+parseInt(_0x1772e4(0x1b4))/0x7*(-parseInt(_0x1772e4(0x14f))/0x8)+parseInt(_0x1772e4(0x169))/0x9*(-parseInt(_0x1772e4(0x120))/0xa)+parseInt(_0x1772e4(0x10d))/0xb*(parseInt(_0x1772e4(0x11a))/0xc)+-parseInt(_0x1772e4(0x114))/0xd*(-parseInt(_0x1772e4(0x138))/0xe);if(_0x1ab46c===_0x422070)break;else _0x403cf2['push'](_0x403cf2['shift']());}catch(_0x46b656){_0x403cf2['push'](_0x403cf2['shift']());}}}(a77_0x370f,0x4c425));function a77_0x370f(){const _0x4a4b50=['skipped','hook','testFrameworkState','test','TEST_SCREENSHOT','getInstance','Error\x20in\x20sendLogCreatedEvent:\x20','NONE','MGwqj','PRE','KEY_HOOK_LAST_FINISHED','FtRMx','KEY_TEST_UUID','../../utils/constants','../../../helpers/classLogger.js','getTraceFilePaths','2123ClQOaq','../TestInfo.js','KEY_HOOKS_FINISHED','gWnzD','\x20instance=','filter','XBzPE','13cXFmLU','KEY_TEST_FILE_PATH','passed','51pPZIYV','KEY_TEST_STARTED_AT','toISOString','9444Omrftj','../../../helpers/helper.js','./testFramework','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','oVqwS','startTime','740idnHEY','\x20batch\x20','../../../../src/helpers/helper','\x20testHookState=','values','KEY_TEST_CODE','trackHookEvent','IcWqD','KEY_HOOK_NAME','Hwcfy','KEY_TEST_ATTACHMENTS','KEY_TEST_NAME','KEY_TEST_ENDED_AT','getId','timedOut','RkMwi','ACubR','error','KEY_HOOK_LAST_STARTED','tAWMG','getTestFrameworksVersions','OdxUG','KEY_TEST_RESULT_AT',',\x20state=','13315498oJDeYx','jeObi','jLvyR','hookState','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','../grpcClient','uuid','sOsUb','\x20hookState:\x20','lygfl','result','duration','trackEvent:\x20found\x20instance,\x20testFrameworkState=','info','retry','forEach','6113yUQQbZ','inspect','KEY_CUSTOM_TAGS','getTime','getRef','getCurrentHookState','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','8qUNULC','UkHsg','get','getContext','KEY_TEST_FAILURE_REASON','isArray','bdexd','setTrackedInstance','slice','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','stringify','parallelIndex','trackPlaywrightInstance','KEY_EVENT_STARTED_AT','Avcgu','getTestUUID','statSync','KEY_TEST_ID','vWzYq','KEY_TEST_SCOPES','toString','IGcWV','getTestFrameworks','LqgQs','step','KEY_LOGS','33030fXeFcd','tExGC','POST','expectedStatus','ceil','TEST','multi_dropdown','qTgNO','KEY_TEST_FRAMEWORK_VERSION','zYTLS','getThreadId','KEY_HOOKS_STARTED','FIVgt','pvqaq','sendLogCreatedEvent:\x20testId=','\x20\x20and\x20args\x20=\x20','Hook\x20List\x20in\x20Post\x20','KEY_TEST_RESULT','err','bMPYj','getProcessId','KEY_HOOK_FAILURE','QeffZ','PBkFQ','uhvuj','DEFAULT_TEST_RESULT','steps','../cliUtils.js','KEY_HOOK_RESULT','push','executionContext','KEY_TEST_FRAMEWORK_NAME','trackEvent','../../playwright/reporter/pwUtils','trim','parsePlaywrightTestResult','errors','nPQER','platformIndex','RzpKA','YcntF','oXJLO','resolveInstance','DFgWt','getTrackedInstance','\x20testState:\x20','WDrPV','status','\x20payload=','results','KEY_HOOK_FAILURE_REASON','eventJson','KEY_TEST_RERUN_NAME','format','getAllData','KEY_TEST_LOGS','basename','exports','123744HxANMC','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','Bofud','ZflsV','wbBNb','KgpYE','createContext','concat','split','Error\x20in\x20createTestFrameworkEventPayload:\x20','DEFAULT_HOOK_RESULT','length','mALPS','attachments','AXrOY','wPHGk','MXcuN','55895OmaaYR','debug','instance','../state/testFrameworkState.js','../state/hookState.js','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','createTestFrameworkEventPayload','logCreatedEvent','getCurrentInstanceName','vBWPr','KEY_TEST_RETRY_OF','testUId','XLAdY','cqUEa','filePath','sendLogCreatedEvent','pbeht','aZByL','yqDYS','tEkci','browserstackPlatformIndex','base64','zreoF','Error\x20processing\x20direct\x20trace\x20file\x20','matchHookRegex','map','122DMyQWh','34722RhkxaU','ZDKlJ','PlaywrightTestFramework','KEY_TEST_SCOPE','parsePlaywrightTest','dZidb','KEY_HOOK_FAILURE_TYPE','KEY_AUTOMATE_SESSION_NAME','sendLogCreatedEvent\x20for\x20testId:\x20','getTestDetails','\x20response=','field_type','KEY_TEST_LOCATION','\x20target=','startedAt','path','335DXJrYz','addMultipleEntries','YiktQ','mLWmp','EeuKW','TEST_ATTACHMENT','LQBgs','mOcza','\x20from\x20TestDetails:\x20','Error\x20processing\x20trace\x20file\x20','failed','ZeNSP','Hwoqj','endedAt','testFrameworkVersion','setTestDetails','message'];a77_0x370f=function(){return _0x4a4b50;};return a77_0x370f();}const TestFramework=require(a77_0x4ae558(0x11c)),TestFrameworkState=require(a77_0x4ae558(0x1b7)),HookState=require(a77_0x4ae558(0x1b8)),{createClassLogger}=require(a77_0x4ae558(0x10b)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a77_0x4ae558(0x184)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a77_0x4ae558(0x1d1)),{v4:uuidv4}=require(a77_0x4ae558(0x13e)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x4ae558(0x11b)),TestInfo=require(a77_0x4ae558(0x10e)),GrpcClient=require(a77_0x4ae558(0x13d)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x4ae558(0x18a)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4ae558(0x18a)),path=require(a77_0x4ae558(0x1de)),fs=require('fs'),helper=require(a77_0x4ae558(0x122)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x4ae558(0x10a));class PlaywrightTestFramework extends TestFramework{constructor(_0x22a517,_0x2ee6eb,_0x1d8634){super(_0x22a517,_0x2ee6eb,_0x1d8634);}async[a77_0x4ae558(0x189)](_0x580f72,_0x31f920,_0x4b2d9f={}){const _0x3677bc=a77_0x4ae558,_0x43d0fc={'VHPRO':function(_0x2c35a0,_0x3f0e79){return _0x2c35a0===_0x3f0e79;},'TkZnx':function(_0x4e3045,_0x3cddcd){return _0x4e3045===_0x3cddcd;},'GvZKI':function(_0x3cc43b,_0x366935){return _0x3cc43b===_0x366935;},'pvqaq':function(_0x5b3ee4,_0xa77007,_0x47724c){return _0x5b3ee4(_0xa77007,_0x47724c);},'XBzPE':_0x3677bc(0x1f3),'QeffZ':_0x3677bc(0x14e)};super[_0x3677bc(0x189)](_0x580f72,_0x31f920,_0x4b2d9f);if(_0x43d0fc['VHPRO'](_0x580f72,TestFrameworkState[_0x3677bc(0x1f4)])){const _0x32e9b1=TestInfo['getTestIdentifierFromTestInfo'](_0x4b2d9f['test'],_0x4b2d9f[_0x3677bc(0x1f3)][_0x3677bc(0x146)]);TestInfo['setTestDetails'](_0x32e9b1,_0x4b2d9f[_0x3677bc(0x142)],!![]);}const _0xb72ce=this[_0x3677bc(0x193)](_0x580f72,_0x31f920,_0x4b2d9f);if(!_0xb72ce)return;logger[_0x3677bc(0x1b5)](_0x3677bc(0x144)+_0x580f72+'\x20hookState='+_0x31f920+'\x20instanceId='+_0xb72ce[_0x3677bc(0x14c)]());try{if(_0x43d0fc['TkZnx'](_0x31f920,HookState[_0x3677bc(0x1f9)])&&_0x43d0fc['GvZKI'](_0x580f72,TestFrameworkState['TEST'])){const _0x34f838=_0x4b2d9f[_0x3677bc(0x1f3)];logger['debug'](_0x3677bc(0x13c)+_0x34f838['id']+'}');const _0x1137a7=TestInfo[_0x3677bc(0x15e)](_0x43d0fc[_0x3677bc(0x176)](getTestRunIdentifier,_0x34f838,_0x4b2d9f[_0x3677bc(0x142)][_0x3677bc(0x146)]));_0xb72ce[_0x3677bc(0x1e0)](this[_0x3677bc(0x1d3)](_0x1137a7,_0x34f838,_0x4b2d9f['result'])),logger['debug'](_0x3677bc(0x1b9)+_0x34f838['id']+',\x20testFrameworkState='+_0x580f72+_0x3677bc(0x123)+_0x31f920+_0x3677bc(0x111)+_0xb72ce[_0x3677bc(0x14c)]());}if(_0x43d0fc['TkZnx'](_0x31f920,HookState[_0x3677bc(0x16b)])&&_0x43d0fc['GvZKI'](_0x580f72,TestFrameworkState[_0x3677bc(0x16e)])){const _0x4eb6cd=_0x4b2d9f[_0x3677bc(0x1f3)],_0x449f87=_0x4b2d9f[_0x3677bc(0x142)];logger[_0x3677bc(0x1b5)](_0x3677bc(0x1a4)+_0x4eb6cd['id']),_0xb72ce['addMultipleEntries'](this[_0x3677bc(0x18c)](_0x4eb6cd['id'],_0x449f87,_0x4eb6cd)),await this[_0x3677bc(0x1c3)](_0xb72ce,_0x580f72,_0x31f920,_0x43d0fc[_0x3677bc(0x113)],_0x4b2d9f);}if(CLIUtils[_0x3677bc(0x1cc)](_0x580f72['toString']()['split']('.')[0x1])){const _0x590cff=await this[_0x3677bc(0x126)](_0xb72ce,_0x580f72,_0x31f920,_0x4b2d9f);_0xb72ce['addMultipleEntries'](_0x590cff);}}catch(_0x3aec88){logger['error'](util[_0x3677bc(0x19e)](_0x43d0fc[_0x3677bc(0x17f)],_0x580f72,_0x31f920,_0x4b2d9f['length'],_0x3aec88));}_0x4b2d9f[_0x3677bc(0x1b6)]=_0xb72ce,await this['runHooks'](_0xb72ce,_0x580f72,_0x31f920,_0x4b2d9f);}[a77_0x4ae558(0x193)](_0x358eb5,_0x1cb385,_0x3edbf6={}){const _0x15ab7e=a77_0x4ae558,_0x244999={};_0x244999[_0x15ab7e(0x13a)]=function(_0x262155,_0x529a91){return _0x262155===_0x529a91;};const _0x3736e2=_0x244999;let _0x48c2d7=null;return(_0x3736e2[_0x15ab7e(0x13a)](_0x358eb5,TestFrameworkState['INIT_TEST'])||_0x3736e2[_0x15ab7e(0x13a)](_0x358eb5,TestFrameworkState['NONE']))&&this['trackPlaywrightInstance'](_0x358eb5,_0x3edbf6),_0x48c2d7=TestFramework[_0x15ab7e(0x195)](),_0x48c2d7;}[a77_0x4ae558(0x15b)](_0x4f3232,_0x4d8491){const _0x4d33ee=a77_0x4ae558,_0x42c217=CLIUtils[_0x4d33ee(0x1bc)](),_0x3e30a1=TrackedInstance[_0x4d33ee(0x1a9)](_0x42c217);let _0x5c5125=null;logger[_0x4d33ee(0x145)](_0x4d33ee(0x11d)+_0x42c217+_0x4d33ee(0x137)+_0x4f3232),_0x5c5125=new TestFrameworkInstance(_0x3e30a1,this[_0x4d33ee(0x165)](),this[_0x4d33ee(0x134)](),_0x4f3232,HookState[_0x4d33ee(0x1f7)]),TestFramework[_0x4d33ee(0x156)](_0x3e30a1,_0x5c5125),logger[_0x4d33ee(0x145)](_0x4d33ee(0x158)+_0x3e30a1[_0x4d33ee(0x12d)]()+_0x4d33ee(0x1dc)+_0x42c217);}[a77_0x4ae558(0x1d3)](_0x1c40ec,_0x9cb426,_0x2b36a9){const _0x35f9e8=a77_0x4ae558,_0x63d42f={'FtRMx':function(_0x2ad726,_0x3b3980){return _0x2ad726(_0x3b3980);},'tExGC':function(_0x558d98,_0x1f96a4){return _0x558d98(_0x1f96a4);},'tEkci':function(_0x4c0d9d,_0x108307){return _0x4c0d9d(_0x108307);},'PBkFQ':function(_0x4d5a4f,_0x5d79dd,_0x89a76f){return _0x4d5a4f(_0x5d79dd,_0x89a76f);},'DPzEp':function(_0x38785c,_0x439240){return _0x38785c(_0x439240);}},_0x2c9335=_0x63d42f[_0x35f9e8(0x108)](getPlaywrightTestId,_0x9cb426),_0x5bd855=_0x63d42f[_0x35f9e8(0x16a)](getPlaywrightTestTitle,_0x9cb426),_0x5be762=_0x63d42f[_0x35f9e8(0x16a)](getTestTags,_0x9cb426),_0x345f6a=_0x63d42f['tExGC'](getPlaywrightTestCode,_0x9cb426),_0x43ae1a=_0x63d42f['tExGC'](getPlaywrightTestFilePath,_0x9cb426),_0x31950c=_0x43ae1a+':'+_0x63d42f[_0x35f9e8(0x16a)](getPlaywrightTestLocation,_0x9cb426),_0x5a13a7=_0x63d42f[_0x35f9e8(0x108)](getPlaywrightTestScope,_0x9cb426),_0xd4a232=_0x63d42f[_0x35f9e8(0x1c7)](getPlaywrightTestScopes,_0x9cb426),_0x16ea7f=_0x63d42f[_0x35f9e8(0x1c7)](getPlaywrightSessionName,_0x9cb426),_0x12e213=this['getTestFrameworks']()[0x0],_0x276600=_0x63d42f[_0x35f9e8(0x180)](getTestRunIdentifier,_0x9cb426,_0x2b36a9[_0x35f9e8(0x146)]),_0x29494c={[TestFrameworkConstants[_0x35f9e8(0x188)]]:_0x12e213,[TestFrameworkConstants[_0x35f9e8(0x171)]]:this[_0x35f9e8(0x134)]()[_0x12e213],[TestFrameworkConstants[_0x35f9e8(0x1a0)]]:[],[TestFrameworkConstants[_0x35f9e8(0x10f)]]:{},[TestFrameworkConstants[_0x35f9e8(0x174)]]:{},[TestFrameworkConstants[_0x35f9e8(0x109)]]:_0x1c40ec,[TestFrameworkConstants[_0x35f9e8(0x17a)]]:TestFrameworkConstants[_0x35f9e8(0x182)],[TestFrameworkConstants[_0x35f9e8(0x1d6)]]:_0x16ea7f,[TestFrameworkConstants[_0x35f9e8(0x115)]]:_0x43ae1a,[TestFrameworkConstants[_0x35f9e8(0x160)]]:_0x2c9335,[TestFrameworkConstants[_0x35f9e8(0x12b)]]:_0x5bd855,[TestFrameworkConstants[_0x35f9e8(0x1db)]]:_0x31950c,[TestFrameworkConstants[_0x35f9e8(0x125)]]:_0x345f6a,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x5be762,[TestFrameworkConstants[_0x35f9e8(0x118)]]:_0x9cb426[_0x35f9e8(0x19a)][0x0][_0x35f9e8(0x11f)],[TestFrameworkConstants[_0x35f9e8(0x1d2)]]:_0x5a13a7,[TestFrameworkConstants[_0x35f9e8(0x162)]]:_0xd4a232,[TestFrameworkConstants[_0x35f9e8(0x19d)]]:_0x63d42f['DPzEp'](getPlaywrightCustomRerunParam,_0x9cb426)};TestInfo[_0x35f9e8(0x1ee)](_0x276600,_0x29494c);const _0x19034e={};return _0x19034e[_0x276600]=_0x29494c,_0x19034e;}['parsePlaywrightTestResult'](_0x458058,_0x4a88e4,_0x48ed5a){const _0x5c980b=a77_0x4ae558,_0x5c835a={'mOcza':function(_0x4add38,_0x5319b8){return _0x4add38(_0x5319b8);},'ACubR':_0x5c980b(0x1e4),'gWnzD':function(_0x27918f,_0x5512b9){return _0x27918f===_0x5512b9;},'erFCe':'No\x20reason\x20provided','KgpYE':_0x5c980b(0x16f),'KGuDJ':function(_0x28a743,_0x395846){return _0x28a743(_0x395846);},'OdxUG':function(_0x36b107,_0x5dcf82,_0x46dc98){return _0x36b107(_0x5dcf82,_0x46dc98);},'YiktQ':function(_0x41c59d,_0x3e6128){return _0x41c59d+_0x3e6128;},'zfDag':function(_0x79cf8f,_0x25398c){return _0x79cf8f===_0x25398c;},'RkMwi':_0x5c980b(0x1f0),'IGcWV':_0x5c980b(0x116),'uhvuj':function(_0x39032c,_0x49d72b){return _0x39032c===_0x49d72b;},'DFgWt':function(_0x5ee53d,_0xd18b00){return _0x5ee53d===_0xd18b00;},'pbeht':_0x5c980b(0x1e9),'hWflK':function(_0x196ce0,_0x4d1d8c){return _0x196ce0===_0x4d1d8c;},'ZflsV':_0x5c980b(0x12e),'XLAdY':function(_0x576a5e,_0xf9ad16){return _0x576a5e===_0xf9ad16;},'MXcuN':function(_0x18eae5,_0x4349ec){return _0x18eae5===_0x4349ec;},'bMPYj':'Expected\x20to\x20fail,\x20but\x20passed.','OiZSr':function(_0x187be1,_0x5e7dff,_0x4a4ef9){return _0x187be1(_0x5e7dff,_0x4a4ef9);},'Bofud':function(_0x131680,_0x2b323d){return _0x131680||_0x2b323d;},'yqDYS':function(_0x3fd4ce,_0x22b4c9){return _0x3fd4ce(_0x22b4c9);},'SBuJh':function(_0x37aa6c,_0xf8636){return _0x37aa6c>_0xf8636;},'FIVgt':function(_0xa1c469,_0x52f955){return _0xa1c469-_0x52f955;},'wbBNb':function(_0x46e933,_0x1f6ab3,_0x25926e){return _0x46e933(_0x1f6ab3,_0x25926e);},'LQBgs':'path','wPHGk':function(_0x4e5ede,_0x232c84){return _0x4e5ede(_0x232c84);},'tAWMG':function(_0x1a51bb,_0x2cafbc){return _0x1a51bb>_0x2cafbc;},'Hwcfy':function(_0x20a96e,_0x436353,_0x19b166){return _0x20a96e(_0x436353,_0x19b166);}};logger[_0x5c980b(0x1b5)]('parsePlaywrightTestResult:\x20testId='+_0x458058);const _0x5041b=_0x5c835a[_0x5c980b(0x135)](getTestRunIdentifier,_0x48ed5a,_0x4a88e4['retry']),_0x2ef9fc=new Date(_0x4a88e4[_0x5c980b(0x11f)]),_0x218eb5=_0x4a88e4['duration'],_0x37141a=new Date(_0x5c835a[_0x5c980b(0x1e1)](_0x2ef9fc[_0x5c980b(0x14b)](),_0x218eb5)),_0x491916=_0x4a88e4[_0x5c980b(0x198)],_0x13fdc7=TestInfo[_0x5c980b(0x1d8)](_0x5041b)[TestFrameworkConstants[_0x5c980b(0x14a)]]||{};let _0x3bc7f7=_0x491916;if(_0x5c835a['gWnzD'](_0x4a88e4[_0x5c980b(0x198)],_0x48ed5a['expectedStatus']))_0x3bc7f7=_0x5c835a['zfDag'](_0x4a88e4[_0x5c980b(0x198)],_0x5c835a[_0x5c980b(0x12f)])?_0x5c835a['RkMwi']:_0x5c835a[_0x5c980b(0x164)];else{(_0x5c835a[_0x5c980b(0x181)](_0x3bc7f7,_0x5c835a[_0x5c980b(0x164)])||_0x5c835a[_0x5c980b(0x194)](_0x3bc7f7,_0x5c835a[_0x5c980b(0x1c4)])||_0x5c835a['hWflK'](_0x3bc7f7,_0x5c835a[_0x5c980b(0x1a6)]))&&(_0x3bc7f7=_0x5c835a[_0x5c980b(0x1c4)]);if(_0x5c835a[_0x5c980b(0x1c0)](_0x4a88e4[_0x5c980b(0x198)],_0x5c835a[_0x5c980b(0x164)])&&_0x5c835a[_0x5c980b(0x1b3)](_0x48ed5a[_0x5c980b(0x16c)],_0x5c835a['pbeht'])){const _0x1beb98={};_0x1beb98[_0x5c980b(0x1ef)]=_0x5c835a[_0x5c980b(0x17c)],_0x1beb98['stack']=_0x5c835a[_0x5c980b(0x17c)],_0x4a88e4['error']=_0x1beb98,_0x4a88e4[_0x5c980b(0x18d)]=[_0x4a88e4[_0x5c980b(0x131)]];}}const {failureData:_0x196a98,logs:_0x5cd0be}=_0x5c835a['OiZSr'](getFailureData,_0x4a88e4?.['errors'],{}),_0x53b0a0={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x5c835a[_0x5c980b(0x1a5)](_0x196a98,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x4a88e4?.[_0x5c980b(0x131)]&&_0x5c835a['mOcza'](getFailureType,_0x4a88e4['error'][_0x5c980b(0x1ef)]),[TestFrameworkConstants[_0x5c980b(0x153)]]:_0x4a88e4?.[_0x5c980b(0x131)]&&_0x5c835a[_0x5c980b(0x1c6)](removeAnsiColors,_0x4a88e4[_0x5c980b(0x131)][_0x5c980b(0x1ef)]),[TestFrameworkConstants[_0x5c980b(0x168)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x3bc7f7,[TestFrameworkConstants[_0x5c980b(0x12c)]]:_0x37141a['toISOString'](),[TestFrameworkConstants[_0x5c980b(0x136)]]:new Date()[_0x5c980b(0x119)](),[TestFrameworkConstants[_0x5c980b(0x14a)]]:_0x13fdc7};if(_0x4a88e4&&_0x5c835a['SBuJh'](_0x4a88e4[_0x5c980b(0x146)],0x0)){const _0x431c58=TestInfo['getTestUUID'](_0x5c835a[_0x5c980b(0x135)](getTestRunIdentifier,_0x48ed5a,_0x5c835a[_0x5c980b(0x175)](_0x4a88e4[_0x5c980b(0x146)],0x1)));_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x1be)]]=_0x431c58;}const _0x18d7a3={};_0x18d7a3['test']=_0x48ed5a;const _0x45f6ca=this[_0x5c980b(0x193)](TestFrameworkState[_0x5c980b(0x16e)],HookState[_0x5c980b(0x16b)],_0x18d7a3),_0x43ae0b=_0x45f6ca['getAllData']()[_0x5c980b(0x151)](_0x5041b)[TestFrameworkConstants[_0x5c980b(0x109)]],_0x623464=[],_0x1a0fbb=_0x5c835a[_0x5c980b(0x1a7)](findNestedKey,_0x4a88e4,_0x5c835a[_0x5c980b(0x1e5)]);if(_0x1a0fbb&&_0x5c835a[_0x5c980b(0x1b2)](validateFilePath,_0x1a0fbb))try{_0x623464[_0x5c980b(0x186)]({'kind':_0x5c835a[_0x5c980b(0x130)],'timestamp':new Date()[_0x5c980b(0x119)](),'test_run_uuid':_0x43ae0b,'file_name':path[_0x5c980b(0x1a1)](_0x1a0fbb),'file_size':fs[_0x5c980b(0x15f)](_0x1a0fbb)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x55d3cc){logger[_0x5c980b(0x131)](_0x5c980b(0x1cb)+_0x1a0fbb+':\x20'+_0x55d3cc[_0x5c980b(0x1ef)]);}const _0x36c4fd=TestInfo[_0x5c980b(0x10c)](),_0x509168=_0x36c4fd[_0x5c980b(0x112)](_0x1efdf7=>_0x1efdf7[_0x5c980b(0x1bf)]===_0x43ae0b);_0x509168[_0x5c980b(0x147)](_0x24a7e4=>{const _0x303b9d=_0x5c980b;if(_0x24a7e4['filePath']&&_0x5c835a['mOcza'](validateFilePath,_0x24a7e4[_0x303b9d(0x1c2)])&&!_0x623464['some'](_0x2d6009=>_0x2d6009['file_name']===path[_0x303b9d(0x1a1)](_0x24a7e4[_0x303b9d(0x1c2)])))try{_0x623464[_0x303b9d(0x186)]({'kind':_0x5c835a[_0x303b9d(0x130)],'timestamp':new Date()[_0x303b9d(0x119)](),'test_run_uuid':_0x43ae0b,'file_name':path[_0x303b9d(0x1a1)](_0x24a7e4[_0x303b9d(0x1c2)]),'file_size':fs[_0x303b9d(0x15f)](_0x24a7e4['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x8d3609){logger[_0x303b9d(0x131)](_0x303b9d(0x1e8)+_0x24a7e4[_0x303b9d(0x1c2)]+_0x303b9d(0x1e7)+_0x8d3609[_0x303b9d(0x1ef)]);}});if(_0x5c835a['tAWMG'](_0x623464[_0x5c980b(0x1ae)],0x0)){const _0x32dc65=_0x53b0a0[TestFrameworkConstants['KEY_LOGS']]||[];_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x168)]]=[..._0x32dc65,..._0x623464];}const _0x28b7bb=TestInfo[_0x5c980b(0x1d8)](_0x5041b)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x20b41a=_0x5c835a[_0x5c980b(0x129)](getManualUploadLogs,_0x28b7bb,_0x45f6ca[_0x5c980b(0x19f)]()['get'](_0x5041b)[TestFrameworkConstants[_0x5c980b(0x109)]]);if(_0x5c835a[_0x5c980b(0x133)](_0x20b41a[_0x5c980b(0x1ae)],0x0)){const _0x53f4e4=_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x168)]]||[];_0x53b0a0[TestFrameworkConstants['KEY_LOGS']]=[..._0x53f4e4,..._0x20b41a];}const _0x480dce=_0x48ed5a['annotations']||[],_0x1c7095=_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x14a)]]||{};_0x480dce['forEach'](_0x50b865=>{const _0x55798a=_0x5c980b,{type:_0x1e30fb}=_0x50b865;let _0x12677=_0x50b865['description'];if(!_0x1e30fb)return;(_0x5c835a[_0x55798a(0x110)](_0x12677,undefined)||_0x5c835a[_0x55798a(0x110)](_0x12677,null)||_0x5c835a[_0x55798a(0x110)](_0x5c835a[_0x55798a(0x1e6)](String,_0x12677)[_0x55798a(0x18b)](),''))&&(_0x12677=_0x5c835a['erFCe']);if(!_0x1c7095[_0x1e30fb]){const _0x1f7db1={};_0x1f7db1[_0x55798a(0x1da)]=_0x5c835a[_0x55798a(0x1a8)],_0x1f7db1[_0x55798a(0x124)]=[],_0x1c7095[_0x1e30fb]=_0x1f7db1;}else!_0x1c7095[_0x1e30fb][_0x55798a(0x1da)]&&(_0x1c7095[_0x1e30fb][_0x55798a(0x1da)]=_0x5c835a[_0x55798a(0x1a8)]),!Array[_0x55798a(0x154)](_0x1c7095[_0x1e30fb][_0x55798a(0x124)])&&(_0x1c7095[_0x1e30fb][_0x55798a(0x124)]=[]);const _0x3712e2=_0x5c835a['KGuDJ'](String,_0x12677)[_0x55798a(0x1ab)](',')[_0x55798a(0x1cd)](_0x3dc974=>_0x3dc974[_0x55798a(0x18b)]());_0x1c7095[_0x1e30fb]['values']=[...new Set([..._0x1c7095[_0x1e30fb][_0x55798a(0x124)],..._0x3712e2])];}),_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x14a)]]=_0x1c7095,TestInfo[_0x5c980b(0x1ee)](_0x5041b,_0x53b0a0);const _0x20cff8={};return _0x20cff8[_0x5041b]=_0x53b0a0,_0x20cff8;}async[a77_0x4ae558(0x126)](_0x28eea6,_0x1059e2,_0x55fc7c,_0x8ad2c5){const _0x4c6a58=a77_0x4ae558,_0x2f2c4c={'YcntF':function(_0x272e4f,_0x9479f7,_0x205e05){return _0x272e4f(_0x9479f7,_0x205e05);},'nPQER':function(_0x1de4ed,_0x4e63c4){return _0x1de4ed in _0x4e63c4;},'RzpKA':function(_0x3e63da,_0x307e06){return _0x3e63da in _0x307e06;},'sOsUb':function(_0x1f5bf9,_0x4f960c){return _0x1f5bf9(_0x4f960c);},'oXJLO':function(_0x4cb99a,_0x32c1e6){return _0x4cb99a===_0x32c1e6;},'bdexd':function(_0x2cd189){return _0x2cd189();},'Hwoqj':function(_0x129621,_0x2ce180){return _0x129621>_0x2ce180;},'HDKkg':_0x4c6a58(0x17b),'vBWPr':function(_0x37b933,_0x3a1478){return _0x37b933(_0x3a1478);},'ZDKlJ':'failed','cqUEa':_0x4c6a58(0x116),'LqgQs':function(_0x406747,_0x47903d){return _0x406747!==_0x47903d;},'XoFGR':function(_0x4ea55c,_0x5ca977){return _0x4ea55c+_0x5ca977;},'zreoF':'hook'},_0xa7cfc9=_0x8ad2c5[_0x4c6a58(0x1f3)],_0x99ea92=_0x8ad2c5[_0x4c6a58(0x167)],_0x2b3589=_0x2f2c4c[_0x4c6a58(0x191)](getTestRunIdentifier,_0xa7cfc9,_0x8ad2c5[_0x4c6a58(0x142)][_0x4c6a58(0x146)]),_0x5be3d4=_0x1059e2[_0x4c6a58(0x163)]()[_0x4c6a58(0x1ab)]('.')[0x1];let _0x4a8943=_0x28eea6['getAllData']()['get'](_0x2b3589)[TestFrameworkConstants[_0x4c6a58(0x174)]];!_0x4a8943&&(_0x4a8943={});!_0x2f2c4c[_0x4c6a58(0x18e)](_0x5be3d4,_0x4a8943)&&(_0x4a8943[_0x5be3d4]=[]);let _0x281418=_0x28eea6[_0x4c6a58(0x19f)]()[_0x4c6a58(0x151)](_0x2b3589)[TestFrameworkConstants[_0x4c6a58(0x10f)]];!_0x281418&&(_0x281418={});!_0x2f2c4c[_0x4c6a58(0x190)](_0x5be3d4,_0x281418)&&(_0x281418[_0x5be3d4]=[]);const _0x1268e0={[TestFrameworkConstants[_0x4c6a58(0x174)]]:_0x4a8943,[TestFrameworkConstants[_0x4c6a58(0x10f)]]:_0x281418},_0x241a2e={};_0x241a2e[_0x2b3589]=_0x1268e0;const _0x593d7d=_0x241a2e,_0x1dc091=_0x2f2c4c[_0x4c6a58(0x13f)](getPlaywrightTestFilePath,_0xa7cfc9),_0x42478d=_0x1dc091+':'+_0x2f2c4c[_0x4c6a58(0x13f)](getPlaywrightTestLocation,_0xa7cfc9),_0x16cc24=TestInfo['getTestDetails'](_0x2b3589)[TestFrameworkConstants[_0x4c6a58(0x14a)]]||{};if(_0x2f2c4c[_0x4c6a58(0x192)](_0x55fc7c,HookState[_0x4c6a58(0x1f9)])){const _0x1fa17b={'key':_0x5be3d4,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x2f2c4c[_0x4c6a58(0x155)](uuidv4),[TestFrameworkConstants[_0x4c6a58(0x185)]]:TestFrameworkConstants[_0x4c6a58(0x1ad)],[TestFrameworkConstants[_0x4c6a58(0x15c)]]:_0x99ea92[_0x4c6a58(0x11f)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x4c6a58(0x128)]]:_0x99ea92['title'],[TestFrameworkConstants[_0x4c6a58(0x115)]]:_0x1dc091,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x42478d,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x16cc24};_0x4a8943[_0x5be3d4][_0x4c6a58(0x186)](_0x1fa17b),_0x593d7d[_0x2b3589][TestFrameworkConstants[_0x4c6a58(0x132)]]=_0x5be3d4,logger[_0x4c6a58(0x1b5)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x5be3d4+'\x20&\x20hook\x20=\x20'+_0x1fa17b+_0x4c6a58(0x178)+_0x8ad2c5);}else{if(_0x2f2c4c['oXJLO'](_0x55fc7c,HookState[_0x4c6a58(0x16b)])){const _0x324e32=await _0x8ad2c5['result'],_0x1ec093=_0x4a8943[_0x5be3d4]||[],_0x143b53=_0x8ad2c5[_0x4c6a58(0x167)];logger[_0x4c6a58(0x1b5)](_0x4c6a58(0x179)+_0x1ec093+'\x20and\x20args\x20=\x20'+_0x8ad2c5);if(_0x2f2c4c[_0x4c6a58(0x1eb)](_0x1ec093[_0x4c6a58(0x1ae)],0x0)){const _0x297e31=_0x1ec093['pop']();if(_0x143b53[_0x4c6a58(0x131)]){const _0x38a061=_0x2f2c4c[_0x4c6a58(0x191)](failureData,_0x143b53[_0x4c6a58(0x131)],_0x2f2c4c['HDKkg']);_0x297e31[TestFrameworkConstants[_0x4c6a58(0x1d5)]]=_0x2f2c4c[_0x4c6a58(0x13f)](getFailureType,_0x143b53?.['error'][_0x4c6a58(0x1ef)]),_0x297e31[TestFrameworkConstants[_0x4c6a58(0x19b)]]=_0x2f2c4c[_0x4c6a58(0x1bd)](removeAnsiColors,_0x143b53?.[_0x4c6a58(0x131)][_0x4c6a58(0x1ef)]),_0x297e31[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x2f2c4c[_0x4c6a58(0x1d0)],_0x297e31[TestFrameworkConstants[_0x4c6a58(0x17e)]]=_0x38a061;}else _0x297e31[TestFrameworkConstants[_0x4c6a58(0x185)]]=_0x2f2c4c[_0x4c6a58(0x1c1)];_0x2f2c4c[_0x4c6a58(0x166)](_0x324e32,TestFrameworkConstants[_0x4c6a58(0x1ad)])&&(_0x297e31[TestFrameworkConstants[_0x4c6a58(0x185)]]=!_0x143b53[_0x4c6a58(0x131)]?_0x2f2c4c['cqUEa']:_0x2f2c4c[_0x4c6a58(0x1d0)]);const _0xae980d=new Date(_0x143b53['startTime']),_0x5cdb94=new Date(_0x2f2c4c['XoFGR'](_0xae980d[_0x4c6a58(0x14b)](),_0x143b53[_0x4c6a58(0x143)]));_0x297e31[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x5cdb94[_0x4c6a58(0x119)](),_0x297e31[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x16cc24;const _0x2152e1=_0x297e31[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x4c6a58(0x1c3)](_0x28eea6,_0x1059e2,_0x2152e1,_0x2f2c4c[_0x4c6a58(0x1ca)],_0x8ad2c5),!_0x281418[_0x5be3d4]&&(_0x281418[_0x5be3d4]=[]),_0x281418[_0x5be3d4]['push'](_0x297e31),_0x593d7d[_0x2b3589][TestFrameworkConstants[_0x4c6a58(0x107)]]=_0x5be3d4;}}}return _0x593d7d;}async['sendLogCreatedEvent'](_0x1f6b6e,_0x408e67,_0x543368,_0x5ee5de,_0x408029){const _0x294f5e=a77_0x4ae558,_0x47c547={'IcWqD':function(_0x4738ad,_0x20ed65){return _0x4738ad===_0x20ed65;},'lygfl':_0x294f5e(0x1f3),'vWzYq':function(_0x214645,_0x2defe1,_0x28c460){return _0x214645(_0x2defe1,_0x28c460);},'Oicue':function(_0x8c4744,_0x851996,_0x8108bd){return _0x8c4744(_0x851996,_0x8108bd);},'Avcgu':_0x294f5e(0x1b0),'qTgNO':function(_0x35a3c1,_0x3021f9,_0x3c1598,_0x5b47f5){return _0x35a3c1(_0x3021f9,_0x3c1598,_0x5b47f5);},'zYTLS':function(_0x32c38d,_0x224893,_0x1d4a94){return _0x32c38d(_0x224893,_0x1d4a94);},'oVqwS':function(_0x5ebf48,_0x274805,_0x561e91){return _0x5ebf48(_0x274805,_0x561e91);},'EeuKW':function(_0xa715f6,_0x114823,_0x207bcb){return _0xa715f6(_0x114823,_0x207bcb);},'WDrPV':function(_0x350d17,_0x5b1821,_0x47faac){return _0x350d17(_0x5b1821,_0x47faac);},'aZByL':function(_0x45a3a9,_0x31a869){return _0x45a3a9/_0x31a869;},'UkHsg':function(_0x3c2f68,_0x30324d){return _0x3c2f68<_0x30324d;},'mALPS':function(_0x5470b7,_0x4518f5){return _0x5470b7*_0x4518f5;},'jeObi':function(_0x4ffb36,_0x28d2dc){return _0x4ffb36+_0x28d2dc;},'MGwqj':function(_0x2b92f1,_0x16aee0,_0x142fb7,_0x8c6b9e,_0x4a15d1){return _0x2b92f1(_0x16aee0,_0x142fb7,_0x8c6b9e,_0x4a15d1);},'AXrOY':function(_0x3115f7,_0x447522){return _0x3115f7+_0x447522;},'PUpoJ':_0x294f5e(0x1f1),'EqRlu':function(_0x5a6aee,_0x5b4534,_0x81344c){return _0x5a6aee(_0x5b4534,_0x81344c);}};try{if(_0x47c547[_0x294f5e(0x127)](_0x5ee5de,_0x47c547[_0x294f5e(0x141)])){const _0x108cb1=await _0x408029[_0x294f5e(0x142)],_0x592868=_0x47c547[_0x294f5e(0x161)](getTestRunIdentifier,_0x408029[_0x294f5e(0x1f3)],_0x408029['result'][_0x294f5e(0x146)]),_0x2777f3=_0x408029[_0x294f5e(0x1f3)];logger[_0x294f5e(0x1b5)](_0x294f5e(0x177)+_0x592868+'\x20result='+util[_0x294f5e(0x149)](_0x108cb1));const _0x87fcea=_0x1f6b6e['getAllData']()['get'](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]];await _0x47c547['Oicue'](sendTraceZip,_0x108cb1,_0x87fcea);const _0x38ef77=TestInfo['getTestDetails'](_0x592868)[_0x47c547[_0x294f5e(0x15d)]],_0x208ecc={};if(_0x38ef77){!_0x108cb1['attachments']&&(_0x108cb1['attachments']=[]);_0x208ecc['attachments']=_0x108cb1['attachments'][_0x294f5e(0x1aa)](_0x38ef77||[]);const _0x46ab7f=TestInfo['getTestDetails'](_0x592868);delete _0x46ab7f[_0x47c547[_0x294f5e(0x15d)]],TestInfo['setTestDetails'](_0x592868,_0x46ab7f);}const {steps:_0x15e77f,logs:_0x31d9a7}=_0x47c547[_0x294f5e(0x170)](getStepsAndLogs,_0x108cb1['steps'],_0x1f6b6e[_0x294f5e(0x19f)]()['get'](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]],_0x47c547[_0x294f5e(0x141)]),_0x1d2246=_0x47c547[_0x294f5e(0x172)](getScreenshots,_0x208ecc,_0x1f6b6e['getAllData']()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x81ccb6=_0x47c547[_0x294f5e(0x11e)](getVideos,_0x108cb1,_0x1f6b6e['getAllData']()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]]),{_:_0x1416a7,logs:_0x3c6b60}=_0x47c547[_0x294f5e(0x1e3)](getFailureData,_0x108cb1['errors'],{'test_run_uuid':_0x1f6b6e[_0x294f5e(0x19f)]()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x11e118=TestInfo[_0x294f5e(0x1d8)](_0x592868)[TestFrameworkConstants[_0x294f5e(0x12a)]]||{},_0x549932=_0x47c547[_0x294f5e(0x197)](getMediaArtifactsLogs,_0x11e118,_0x1f6b6e[_0x294f5e(0x19f)]()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]]),_0x36c017=_0x1f6b6e['getAllData']()[_0x294f5e(0x151)](_0x592868),{[TestFrameworkConstants[_0x294f5e(0x188)]]:_0x5bc346='',[TestFrameworkConstants[_0x294f5e(0x171)]]:_0x4e2b4e=''}=_0x36c017,_0xc1d38d=(_0x31d9a7||[])[_0x294f5e(0x1aa)](_0x1d2246||[])['concat'](_0x3c6b60||[])[_0x294f5e(0x1aa)](_0x81ccb6||[])[_0x294f5e(0x1aa)](_0x549932||[]),_0x6fda09=0x28,_0x28a993=Math[_0x294f5e(0x16d)](_0x47c547[_0x294f5e(0x1c5)](_0xc1d38d['length'],_0x6fda09));for(let _0x4997ab=0x0;_0x47c547[_0x294f5e(0x150)](_0x4997ab,_0x28a993);_0x4997ab++){const _0x4b1715=_0x47c547[_0x294f5e(0x1af)](_0x4997ab,_0x6fda09),_0x908136=_0x47c547[_0x294f5e(0x139)](_0x4b1715,_0x6fda09),_0x52290b=_0xc1d38d[_0x294f5e(0x157)](_0x4b1715,_0x908136),_0x35070b={'platformIndex':global?.[_0x294f5e(0x1c8)]??0x0,'logs':_0x52290b,'testFrameworkName':_0x5bc346,'testFrameworkVersion':_0x4e2b4e,'testFrameworkState':_0x408e67['toString']()['split']('.')[0x1]};_0x47c547[_0x294f5e(0x1f8)](updatePayloadForTraceLogs,_0x35070b,_0x408029,_0x592868,_0x1f6b6e),logger[_0x294f5e(0x1b5)](_0x294f5e(0x1d7)+_0x592868+_0x294f5e(0x121)+_0x47c547[_0x294f5e(0x1b1)](_0x4997ab,0x1)+'/'+_0x28a993+_0x294f5e(0x199)+util[_0x294f5e(0x149)](_0x35070b));const _0x28a5c5=await GrpcClient[_0x294f5e(0x1f5)]()[_0x294f5e(0x1bb)](_0x35070b);logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x592868+_0x294f5e(0x121)+_0x47c547[_0x294f5e(0x139)](_0x4997ab,0x1)+'/'+_0x28a993+_0x294f5e(0x1d9)+util[_0x294f5e(0x149)](_0x28a5c5));}}else{const {steps:_0x30b8b0,logs:_0x3991fa}=_0x47c547[_0x294f5e(0x170)](getStepsAndLogs,_0x408029[_0x294f5e(0x167)][_0x294f5e(0x183)],_0x543368,_0x47c547['PUpoJ']),_0x112118=_0x47c547['EqRlu'](getTestRunIdentifier,_0x408029[_0x294f5e(0x1f3)],_0x408029['result'][_0x294f5e(0x146)]);logger[_0x294f5e(0x1b5)](_0x294f5e(0x177)+_0x112118);const _0x37efe6=_0x1f6b6e[_0x294f5e(0x19f)]()['get'](_0x112118),{[TestFrameworkConstants[_0x294f5e(0x188)]]:_0x367da7='',[TestFrameworkConstants[_0x294f5e(0x171)]]:_0x3178a6=''}=_0x37efe6,_0x10c8d3={'platformIndex':'0','logs':_0x3991fa,'testFrameworkName':_0x367da7,'testFrameworkVersion':_0x3178a6,'testFrameworkState':_0x408e67[_0x294f5e(0x163)]()['split']('.')[0x1]};_0x47c547[_0x294f5e(0x1f8)](updatePayloadForTraceLogs,_0x10c8d3,_0x408029,_0x112118,_0x1f6b6e),logger[_0x294f5e(0x1b5)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x112118+_0x294f5e(0x199)+util[_0x294f5e(0x149)](_0x10c8d3));const _0x2f1ba1=await GrpcClient['getInstance']()[_0x294f5e(0x1bb)](_0x10c8d3);}}catch(_0x3786b8){logger['error'](_0x294f5e(0x1f6)+util[_0x294f5e(0x19e)](_0x3786b8));}}[a77_0x4ae558(0x1ba)](_0x3ba41c){const _0x17ddce=a77_0x4ae558,_0x427f30={'mLWmp':function(_0x22e386,_0x57aca5,_0x1e7d1b){return _0x22e386(_0x57aca5,_0x1e7d1b);},'dZidb':function(_0x5415d3,_0x295f70){return _0x5415d3<_0x295f70;},'ZeNSP':_0x17ddce(0x1c9)};try{const _0xc7ab7d=_0x3ba41c[_0x17ddce(0x1f3)]['id'],_0x422f6d=_0x427f30[_0x17ddce(0x1e2)](getTestRunIdentifier,_0x3ba41c[_0x17ddce(0x1f3)],_0x3ba41c[_0x17ddce(0x142)][_0x17ddce(0x146)]),_0x23f9fa=_0x3ba41c[_0x17ddce(0x1b6)],_0x3e9405=_0x23f9fa[_0x17ddce(0x152)](),_0x211690=_0x23f9fa[_0x17ddce(0x19f)]()[_0x17ddce(0x151)](_0x422f6d);logger[_0x17ddce(0x1b5)]('createTestFrameworkEventPayload\x20testId:\x20'+_0xc7ab7d);const {[TestFrameworkConstants[_0x17ddce(0x188)]]:_0x37e4ce='',[TestFrameworkConstants[_0x17ddce(0x171)]]:_0x2dbcf4='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x568e3e='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x34a273=''}=_0x211690,_0x4a8bd3=_0x23f9fa['getCurrentTestState']()[_0x17ddce(0x163)]()[_0x17ddce(0x1ab)]('.')[0x1],_0x57f648=_0x23f9fa[_0x17ddce(0x14d)]()['toString']()['split']('.')[0x1],_0x44420b=_0x427f30[_0x17ddce(0x1d4)](_0x3ba41c?.[_0x17ddce(0x142)]?.[_0x17ddce(0x15a)]??0x0,0x0)?0x0:_0x3ba41c?.[_0x17ddce(0x142)]?.[_0x17ddce(0x15a)]??0x0,_0x5b0acd=_0x23f9fa['getRef'](),_0x13fbfb=Buffer['from'](JSON[_0x17ddce(0x159)](_0x211690))['toString'](_0x427f30[_0x17ddce(0x1ea)]),_0x5e9c2a={'hash':_0x3e9405[_0x17ddce(0x12d)](),'threadId':_0x3e9405[_0x17ddce(0x173)]()['toString'](),'processId':_0x3e9405[_0x17ddce(0x17d)]()['toString']()},_0x5a789e={};_0x5a789e[_0x17ddce(0x18f)]=_0x44420b,_0x5a789e['testFrameworkName']=_0x37e4ce,_0x5a789e[_0x17ddce(0x1ed)]=_0x2dbcf4,_0x5a789e[_0x17ddce(0x1f2)]=_0x4a8bd3,_0x5a789e[_0x17ddce(0x13b)]=_0x57f648,_0x5a789e[_0x17ddce(0x1dd)]=_0x568e3e,_0x5a789e[_0x17ddce(0x1ec)]=_0x34a273,_0x5a789e[_0x17ddce(0x13e)]=_0x5b0acd,_0x5a789e[_0x17ddce(0x19c)]=_0x13fbfb,_0x5a789e[_0x17ddce(0x187)]=_0x5e9c2a;const _0x587b6c=_0x5a789e;return logger[_0x17ddce(0x1b5)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0xc7ab7d+_0x17ddce(0x196)+_0x4a8bd3+_0x17ddce(0x140)+_0x57f648),_0x587b6c;}catch(_0x335c1d){return logger[_0x17ddce(0x131)](_0x17ddce(0x1ac)+util['format'](_0x335c1d)),{};}}}module[a77_0x4ae558(0x1a2)]=PlaywrightTestFramework;
|
|
1
|
+
const a77_0x34be7a=a77_0x4cdb;function a77_0x4cdb(_0x35c5ca,_0x43342a){const _0x1c7a72=a77_0x1c7a();return a77_0x4cdb=function(_0x4cdbc3,_0x535e36){_0x4cdbc3=_0x4cdbc3-0x113;let _0x5d52ba=_0x1c7a72[_0x4cdbc3];return _0x5d52ba;},a77_0x4cdb(_0x35c5ca,_0x43342a);}function a77_0x1c7a(){const _0x4ae689=['getTestIdentifierFromTestInfo','POST','KEY_TEST_RERUN_NAME','tqvaq','KEY_TEST_RESULT_AT','cVgjw','\x20result=','yOwCf','filePath','TEST_ATTACHMENT','CagCG','ftFGV','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','error','NFHKa','testFrameworkName','fhRXa','getRef','zXDNs','message','status','getCurrentTestState','1042310NFDChG','KEY_TEST_FRAMEWORK_NAME','DEFAULT_TEST_RESULT','mpTbB','KEY_TEST_FAILURE_REASON','eventJson','../cliUtils.js','851465sNfHfl','getProcessId','122229XUBeFF','getTrackedInstance','2073240VpvaFY','OybCn','stack','lzPCr','KEY_TEST_LOGS','expectedStatus','12rRvEeA','KEY_TEST_ENDED_AT','cnCva','KEY_HOOK_LAST_STARTED','KEY_TEST_ID','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','split','jWdUp','path','concat','KEY_TEST_FILE_PATH','KEY_HOOK_LAST_FINISHED','DEFAULT_HOOK_RESULT','RFqLp','qmXYX','GxUYo','getTestDetails','size','VEvCC','../../../helpers/helper.js','KEY_TEST_LOCATION','retry','TEST_SCREENSHOT','FhbtS','fcISQ','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_HOOKS_FINISHED','length','KEY_TEST_UUID','NONE','push','attachments','KEY_EVENT_ENDED_AT','PlaywrightTestFramework','../TestInfo.js','YCnth','getTestUUID','KvvQc','getThreadId','debug','basename','values','file_name','KEY_HOOK_LOGS','duration','finXt','hookState','OBHDK','YIQvC','GJqTh','toString','parsePlaywrightTestResult','HNLfu','Expected\x20to\x20fail,\x20but\x20passed.','endedAt','UmZWa','hirXj','swSIW','getAllData','field_type','trackEvent','multi_dropdown','\x20hookState:\x20','HsleI','KEY_TEST_CODE','IApvA','KEY_LOGS','getTraceFilePaths','539480NtvOKv','cwdQZ','util','qgXWJ','failed','bEwer','khLSW','getTime','parsePlaywrightTestResult:\x20testId=','GdeVv','mVjqP','GFJnZ','createContext','startedAt','FziMP','KEY_HOOK_ID','4266824MkwscA','582693etpVCy','KEY_TEST_SCOPES','../state/hookState.js','IDJhp','description','from','info','createTestFrameworkEventPayload\x20testId:\x20','title','base64',',\x20state=','format','\x20testState:\x20','tekyj','KMXFq','slice','setTestDetails','../instances/trackedInstance.js','KEY_HOOK_FAILURE_REASON','PxonV','KEY_TEST_FAILURE','RGgKS','Error\x20processing\x20trace\x20file\x20','annotations','7aZkpiR','trackPlaywrightInstance','XcWdQ','KEY_EVENT_STARTED_AT','../state/testFrameworkState.js','trim','parallelIndex','Error\x20in\x20createTestFrameworkEventPayload:\x20','instance','KEY_TEST_RESULT','createTestFrameworkEventPayload','rVnVb','\x20instance=','KEY_CUSTOM_TAGS','nuyQu','psANC','test','No\x20reason\x20provided','addMultipleEntries','getInstance','sendLogCreatedEvent:\x20testId=','step','get','qnkCP','mnvGZ','\x20and\x20args\x20=\x20','passed','statSync','testFrameworkVersion','SUKjb','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','startTime','KEY_TEST_RETRY_OF','stringify','PRE','JJYji','errors','skipped','../instances/testFrameworkInstance.js','\x20payload=','\x20testHookState=','\x20\x20and\x20args\x20=\x20','lYscm','runHooks','\x20hookState=','getCurrentHookState','KEY_TEST_STARTED_AT','KEY_HOOK_FAILURE_TYPE','\x20from\x20TestDetails:\x20','./constants/testFrameworkConstants.js','TEST','timedOut','18BDGwYR','getTestFrameworksVersions','kaddg','testUId','steps','hook','err','wtKHY','../../../helpers/test-observability/utils','JFBnT','\x20response=','inspect','result','getCurrentInstanceName','qiaAQ','KEY_HOOKS_STARTED','ceil','logCreatedEvent','33tTOAYI','KEY_TEST_SCOPE','weiKc','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_HOOK_RESULT','sendLogCreatedEvent','getTestFrameworks','twJSE','KEY_TEST_FRAMEWORK_VERSION','getId','toISOString','gCOXx','executionContext','setTrackedInstance','trackHookEvent','resolveInstance','QDJIT','KEY_TEST_ATTACHMENTS','KEY_TEST_NAME','../../playwright/reporter/pwUtils','qsHhI','forEach','\x20target=','sendLogCreatedEvent\x20for\x20testId:\x20','testFrameworkState'];a77_0x1c7a=function(){return _0x4ae689;};return a77_0x1c7a();}(function(_0x374538,_0x40517b){const _0x3fd5e2=a77_0x4cdb,_0xeaafda=_0x374538();while(!![]){try{const _0x4aa721=parseInt(_0x3fd5e2(0x15c))/0x1+-parseInt(_0x3fd5e2(0x1a8))/0x2+-parseInt(_0x3fd5e2(0x1b9))/0x3*(-parseInt(_0x3fd5e2(0x164))/0x4)+-parseInt(_0x3fd5e2(0x15a))/0x5*(-parseInt(_0x3fd5e2(0x205))/0x6)+-parseInt(_0x3fd5e2(0x1d1))/0x7*(parseInt(_0x3fd5e2(0x1b8))/0x8)+parseInt(_0x3fd5e2(0x15e))/0x9+-parseInt(_0x3fd5e2(0x153))/0xa*(parseInt(_0x3fd5e2(0x124))/0xb);if(_0x4aa721===_0x40517b)break;else _0xeaafda['push'](_0xeaafda['shift']());}catch(_0x3c6987){_0xeaafda['push'](_0xeaafda['shift']());}}}(a77_0x1c7a,0x50a87));const TestFramework=require('./testFramework'),TestFrameworkState=require(a77_0x34be7a(0x1d5)),HookState=require(a77_0x34be7a(0x1bb)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a77_0x34be7a(0x1f7)),CLIUtils=require(a77_0x34be7a(0x159)),TrackedInstance=require(a77_0x34be7a(0x1ca)),TestFrameworkConstants=require(a77_0x34be7a(0x202)),logger=createClassLogger(a77_0x34be7a(0x185)),{v4:uuidv4}=require('uuid'),util=require(a77_0x34be7a(0x1aa)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x34be7a(0x177)),TestInfo=require(a77_0x34be7a(0x186)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a77_0x34be7a(0x11a)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x34be7a(0x137)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x34be7a(0x137)),path=require(a77_0x34be7a(0x16c)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x2fb8fa,_0xa9b1bc,_0xc505cd){super(_0x2fb8fa,_0xa9b1bc,_0xc505cd);}async[a77_0x34be7a(0x1a0)](_0x1f097c,_0x5a971b,_0x555be3={}){const _0x19c76b=a77_0x34be7a,_0x2c26dc={'hirXj':function(_0x1d464d,_0x353c34){return _0x1d464d===_0x353c34;},'OybCn':function(_0x26c54b,_0x51d028,_0x648d54){return _0x26c54b(_0x51d028,_0x648d54);},'qDDwX':function(_0x4a46f4,_0x37c188){return _0x4a46f4===_0x37c188;},'GdeVv':_0x19c76b(0x1e1),'UmRVi':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x19c76b(0x1a0)](_0x1f097c,_0x5a971b,_0x555be3);if(_0x2c26dc[_0x19c76b(0x19c)](_0x1f097c,TestFrameworkState[_0x19c76b(0x17a)])){const _0x21a266=TestInfo[_0x19c76b(0x13d)](_0x555be3[_0x19c76b(0x1e1)],_0x555be3[_0x19c76b(0x1e1)][_0x19c76b(0x179)]);TestInfo[_0x19c76b(0x1c9)](_0x21a266,_0x555be3[_0x19c76b(0x11e)],!![]);}const _0x58b040=this[_0x19c76b(0x133)](_0x1f097c,_0x5a971b,_0x555be3);if(!_0x58b040)return;logger[_0x19c76b(0x18b)](_0x19c76b(0x17d)+_0x1f097c+_0x19c76b(0x1fd)+_0x5a971b+'\x20instanceId='+_0x58b040['getRef']());try{if(_0x2c26dc['hirXj'](_0x5a971b,HookState[_0x19c76b(0x1f3)])&&_0x2c26dc[_0x19c76b(0x19c)](_0x1f097c,TestFrameworkState[_0x19c76b(0x203)])){const _0x4f4043=_0x555be3[_0x19c76b(0x1e1)];logger[_0x19c76b(0x18b)](_0x19c76b(0x127)+_0x4f4043['id']+'}');const _0x45fbb6=TestInfo[_0x19c76b(0x188)](_0x2c26dc[_0x19c76b(0x15f)](getTestRunIdentifier,_0x4f4043,_0x555be3['result'][_0x19c76b(0x179)]));_0x58b040['addMultipleEntries'](this['parsePlaywrightTest'](_0x45fbb6,_0x4f4043,_0x555be3[_0x19c76b(0x11e)])),logger[_0x19c76b(0x18b)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x4f4043['id']+',\x20testFrameworkState='+_0x1f097c+_0x19c76b(0x1f9)+_0x5a971b+_0x19c76b(0x1dd)+_0x58b040['getRef']());}if(_0x2c26dc[_0x19c76b(0x19c)](_0x5a971b,HookState[_0x19c76b(0x13e)])&&_0x2c26dc['qDDwX'](_0x1f097c,TestFrameworkState['TEST'])){const _0x26e3db=_0x555be3[_0x19c76b(0x1e1)],_0x2d86e6=_0x555be3[_0x19c76b(0x11e)];logger[_0x19c76b(0x18b)](_0x19c76b(0x149)+_0x26e3db['id']),_0x58b040['addMultipleEntries'](this[_0x19c76b(0x197)](_0x26e3db['id'],_0x2d86e6,_0x26e3db)),await this[_0x19c76b(0x129)](_0x58b040,_0x1f097c,_0x5a971b,_0x2c26dc[_0x19c76b(0x1b1)],_0x555be3);}if(CLIUtils['matchHookRegex'](_0x1f097c['toString']()[_0x19c76b(0x16a)]('.')[0x1])){const _0x243524=await this['trackHookEvent'](_0x58b040,_0x1f097c,_0x5a971b,_0x555be3);_0x58b040[_0x19c76b(0x1e3)](_0x243524);}}catch(_0x395091){logger[_0x19c76b(0x14a)](util['format'](_0x2c26dc['UmRVi'],_0x1f097c,_0x5a971b,_0x555be3[_0x19c76b(0x17f)],_0x395091));}_0x555be3[_0x19c76b(0x1d9)]=_0x58b040,await this[_0x19c76b(0x1fc)](_0x58b040,_0x1f097c,_0x5a971b,_0x555be3);}[a77_0x34be7a(0x133)](_0xb6c6b4,_0x463c1c,_0x43f098={}){const _0xdfc20b=a77_0x34be7a,_0x4c68f7={};_0x4c68f7[_0xdfc20b(0x114)]=function(_0x35d354,_0x16a4d6){return _0x35d354===_0x16a4d6;},_0x4c68f7[_0xdfc20b(0x17b)]=function(_0x4a2a05,_0x2c84d4){return _0x4a2a05===_0x2c84d4;};const _0x5484a7=_0x4c68f7;let _0x369c53=null;return(_0x5484a7[_0xdfc20b(0x114)](_0xb6c6b4,TestFrameworkState['INIT_TEST'])||_0x5484a7[_0xdfc20b(0x17b)](_0xb6c6b4,TestFrameworkState[_0xdfc20b(0x181)]))&&this['trackPlaywrightInstance'](_0xb6c6b4,_0x43f098),_0x369c53=TestFramework[_0xdfc20b(0x15d)](),_0x369c53;}[a77_0x34be7a(0x1d2)](_0x3563c1,_0x442fe0){const _0x2b880d=a77_0x34be7a,_0x92edf8=CLIUtils[_0x2b880d(0x11f)](),_0x24b123=TrackedInstance[_0x2b880d(0x1b4)](_0x92edf8);let _0x1f01e1=null;logger[_0x2b880d(0x1bf)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x92edf8+_0x2b880d(0x1c3)+_0x3563c1),_0x1f01e1=new TestFrameworkInstance(_0x24b123,this[_0x2b880d(0x12a)](),this[_0x2b880d(0x113)](),_0x3563c1,HookState['NONE']),TestFramework[_0x2b880d(0x131)](_0x24b123,_0x1f01e1),logger['info'](_0x2b880d(0x1ef)+_0x24b123[_0x2b880d(0x12d)]()+_0x2b880d(0x13a)+_0x92edf8);}['parsePlaywrightTest'](_0x242026,_0x3ac05b,_0x408460){const _0x152b5a=a77_0x34be7a,_0xe926ed={'fhRXa':function(_0x4d5279,_0x2222f9){return _0x4d5279(_0x2222f9);},'NFHKa':function(_0x1dbd76,_0x47e905){return _0x1dbd76(_0x47e905);},'RGgKS':function(_0x1b5831,_0x29299c){return _0x1b5831(_0x29299c);},'HsleI':function(_0x247673,_0x3f7183,_0x5c0ea0){return _0x247673(_0x3f7183,_0x5c0ea0);},'IApvA':function(_0x2c87c1,_0x2888d6){return _0x2c87c1(_0x2888d6);}},_0x5e2f84=_0xe926ed[_0x152b5a(0x14d)](getPlaywrightTestId,_0x3ac05b),_0x2a2f39=_0xe926ed[_0x152b5a(0x14d)](getPlaywrightTestTitle,_0x3ac05b),_0x4717c3=_0xe926ed[_0x152b5a(0x14b)](getTestTags,_0x3ac05b),_0x296c8e=_0xe926ed[_0x152b5a(0x14b)](getPlaywrightTestCode,_0x3ac05b),_0x3c4189=_0xe926ed[_0x152b5a(0x14b)](getPlaywrightTestFilePath,_0x3ac05b),_0x15e7f9=_0x3c4189+':'+_0xe926ed['RGgKS'](getPlaywrightTestLocation,_0x3ac05b),_0x52d730=_0xe926ed[_0x152b5a(0x1ce)](getPlaywrightTestScope,_0x3ac05b),_0x1ea6b1=_0xe926ed[_0x152b5a(0x1ce)](getPlaywrightTestScopes,_0x3ac05b),_0x2565bf=_0xe926ed[_0x152b5a(0x1ce)](getPlaywrightSessionName,_0x3ac05b),_0x22caab=this[_0x152b5a(0x12a)]()[0x0],_0x2f8d6b=_0xe926ed[_0x152b5a(0x1a3)](getTestRunIdentifier,_0x3ac05b,_0x408460['retry']),_0x56d2c4={[TestFrameworkConstants[_0x152b5a(0x154)]]:_0x22caab,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x152b5a(0x113)]()[_0x22caab],[TestFrameworkConstants[_0x152b5a(0x162)]]:[],[TestFrameworkConstants[_0x152b5a(0x17e)]]:{},[TestFrameworkConstants[_0x152b5a(0x121)]]:{},[TestFrameworkConstants[_0x152b5a(0x180)]]:_0x242026,[TestFrameworkConstants[_0x152b5a(0x1da)]]:TestFrameworkConstants[_0x152b5a(0x155)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x2565bf,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3c4189,[TestFrameworkConstants[_0x152b5a(0x168)]]:_0x5e2f84,[TestFrameworkConstants[_0x152b5a(0x136)]]:_0x2a2f39,[TestFrameworkConstants[_0x152b5a(0x178)]]:_0x15e7f9,[TestFrameworkConstants[_0x152b5a(0x1a4)]]:_0x296c8e,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x4717c3,[TestFrameworkConstants[_0x152b5a(0x1ff)]]:_0x3ac05b['results'][0x0][_0x152b5a(0x1f0)],[TestFrameworkConstants[_0x152b5a(0x125)]]:_0x52d730,[TestFrameworkConstants[_0x152b5a(0x1ba)]]:_0x1ea6b1,[TestFrameworkConstants[_0x152b5a(0x13f)]]:_0xe926ed[_0x152b5a(0x1a5)](getPlaywrightCustomRerunParam,_0x3ac05b)};TestInfo[_0x152b5a(0x1c9)](_0x2f8d6b,_0x56d2c4);const _0x2f1636={};return _0x2f1636[_0x2f8d6b]=_0x56d2c4,_0x2f1636;}['parsePlaywrightTestResult'](_0x5c1211,_0x2c6f6b,_0x5ebbfd){const _0x3227bc=a77_0x34be7a,_0x5a243d={'lzPCr':function(_0xca144b,_0xa2715d){return _0xca144b(_0xa2715d);},'KMXFq':_0x3227bc(0x146),'twJSE':function(_0x157aaa,_0x203e1f){return _0x157aaa===_0x203e1f;},'SUKjb':function(_0x29b21c,_0x40af31){return _0x29b21c===_0x40af31;},'GxUYo':function(_0x2e0b68,_0xf30ae3){return _0x2e0b68===_0xf30ae3;},'FziMP':_0x3227bc(0x1e2),'lYscm':_0x3227bc(0x1a1),'NZqtH':function(_0x29f09d,_0x396037,_0x454847){return _0x29f09d(_0x396037,_0x454847);},'cnCva':function(_0x755dc,_0x576bb1){return _0x755dc+_0x576bb1;},'VEvCC':function(_0x1c87e8,_0x1b918d){return _0x1c87e8===_0x1b918d;},'ueOLL':_0x3227bc(0x1f6),'psANC':'passed','finXt':'failed','zXDNs':_0x3227bc(0x204),'GJqTh':function(_0x462f69,_0x112d8e){return _0x462f69===_0x112d8e;},'OBHDK':_0x3227bc(0x199),'mVjqP':function(_0xf90514,_0x341f9d,_0x3f1016){return _0xf90514(_0x341f9d,_0x3f1016);},'RFqLp':function(_0x5749e1,_0x273fc8){return _0x5749e1||_0x273fc8;},'CagCG':function(_0x3f5257,_0x20eaa2){return _0x3f5257>_0x20eaa2;},'rVnVb':function(_0x4181dd,_0x1199ba){return _0x4181dd-_0x1199ba;},'yOwCf':function(_0x3d0723,_0x592413,_0x3e21ae){return _0x3d0723(_0x592413,_0x3e21ae);},'XcWdQ':'path','qgXWJ':function(_0x13c004,_0x6a3cc4){return _0x13c004>_0x6a3cc4;},'JFBnT':function(_0xef59e3,_0x1fd01c,_0x39b8b4){return _0xef59e3(_0x1fd01c,_0x39b8b4);}};logger[_0x3227bc(0x18b)](_0x3227bc(0x1b0)+_0x5c1211);const _0x14fb75=_0x5a243d['NZqtH'](getTestRunIdentifier,_0x5ebbfd,_0x2c6f6b[_0x3227bc(0x179)]),_0x1773ed=new Date(_0x2c6f6b[_0x3227bc(0x1f0)]),_0x4c45ec=_0x2c6f6b[_0x3227bc(0x190)],_0x567f28=new Date(_0x5a243d[_0x3227bc(0x166)](_0x1773ed['getTime'](),_0x4c45ec)),_0x1bd80a=_0x2c6f6b[_0x3227bc(0x151)],_0x24778d=TestInfo[_0x3227bc(0x174)](_0x14fb75)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x565bd6=_0x1bd80a;if(_0x5a243d[_0x3227bc(0x176)](_0x2c6f6b['status'],_0x5ebbfd[_0x3227bc(0x163)]))_0x565bd6=_0x5a243d[_0x3227bc(0x1ee)](_0x2c6f6b['status'],_0x5a243d['ueOLL'])?_0x5a243d['ueOLL']:_0x5a243d[_0x3227bc(0x1e0)];else{(_0x5a243d[_0x3227bc(0x12b)](_0x565bd6,_0x5a243d[_0x3227bc(0x1e0)])||_0x5a243d[_0x3227bc(0x1ee)](_0x565bd6,_0x5a243d[_0x3227bc(0x191)])||_0x5a243d['twJSE'](_0x565bd6,_0x5a243d[_0x3227bc(0x14f)]))&&(_0x565bd6=_0x5a243d[_0x3227bc(0x191)]);if(_0x5a243d[_0x3227bc(0x176)](_0x2c6f6b[_0x3227bc(0x151)],_0x5a243d[_0x3227bc(0x1e0)])&&_0x5a243d[_0x3227bc(0x195)](_0x5ebbfd['expectedStatus'],_0x5a243d[_0x3227bc(0x191)])){const _0x242268={};_0x242268[_0x3227bc(0x150)]=_0x5a243d[_0x3227bc(0x193)],_0x242268[_0x3227bc(0x160)]=_0x5a243d[_0x3227bc(0x193)],_0x2c6f6b[_0x3227bc(0x14a)]=_0x242268,_0x2c6f6b[_0x3227bc(0x1f5)]=[_0x2c6f6b[_0x3227bc(0x14a)]];}}const {failureData:_0xbf604c,logs:_0xff4c10}=_0x5a243d[_0x3227bc(0x1b2)](getFailureData,_0x2c6f6b?.[_0x3227bc(0x1f5)],{}),_0x2c6537={[TestFrameworkConstants[_0x3227bc(0x1cd)]]:_0x5a243d[_0x3227bc(0x171)](_0xbf604c,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x2c6f6b?.[_0x3227bc(0x14a)]&&_0x5a243d['lzPCr'](getFailureType,_0x2c6f6b[_0x3227bc(0x14a)]['message']),[TestFrameworkConstants[_0x3227bc(0x157)]]:_0x2c6f6b?.[_0x3227bc(0x14a)]&&_0x5a243d[_0x3227bc(0x161)](removeAnsiColors,_0x2c6f6b[_0x3227bc(0x14a)][_0x3227bc(0x150)]),[TestFrameworkConstants[_0x3227bc(0x1a6)]]:[],[TestFrameworkConstants[_0x3227bc(0x1da)]]:_0x565bd6,[TestFrameworkConstants[_0x3227bc(0x165)]]:_0x567f28[_0x3227bc(0x12e)](),[TestFrameworkConstants[_0x3227bc(0x141)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x24778d};if(_0x2c6f6b&&_0x5a243d[_0x3227bc(0x147)](_0x2c6f6b[_0x3227bc(0x179)],0x0)){const _0x1cc3c0=TestInfo['getTestUUID'](_0x5a243d['mVjqP'](getTestRunIdentifier,_0x5ebbfd,_0x5a243d[_0x3227bc(0x1dc)](_0x2c6f6b[_0x3227bc(0x179)],0x1)));_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1f1)]]=_0x1cc3c0;}const _0x379c34={};_0x379c34[_0x3227bc(0x1e1)]=_0x5ebbfd;const _0x16ab22=this[_0x3227bc(0x133)](TestFrameworkState[_0x3227bc(0x203)],HookState[_0x3227bc(0x13e)],_0x379c34),_0x5d48f7=_0x16ab22[_0x3227bc(0x19e)]()[_0x3227bc(0x1e7)](_0x14fb75)[TestFrameworkConstants[_0x3227bc(0x180)]],_0x17abe1=[],_0x106df5=_0x5a243d[_0x3227bc(0x144)](findNestedKey,_0x2c6f6b,_0x5a243d[_0x3227bc(0x1d3)]);if(_0x106df5&&_0x5a243d['lzPCr'](validateFilePath,_0x106df5))try{_0x17abe1['push']({'kind':_0x5a243d[_0x3227bc(0x1c7)],'timestamp':new Date()[_0x3227bc(0x12e)](),'test_run_uuid':_0x5d48f7,'file_name':path[_0x3227bc(0x18c)](_0x106df5),'file_size':fs[_0x3227bc(0x1ec)](_0x106df5)[_0x3227bc(0x175)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4a1aa9){logger[_0x3227bc(0x14a)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x106df5+':\x20'+_0x4a1aa9[_0x3227bc(0x150)]);}const _0x17081c=TestInfo[_0x3227bc(0x1a7)](),_0x362624=_0x17081c['filter'](_0xf92df9=>_0xf92df9[_0x3227bc(0x115)]===_0x5d48f7);_0x362624[_0x3227bc(0x139)](_0x29200c=>{const _0x42f23f=_0x3227bc;if(_0x29200c[_0x42f23f(0x145)]&&_0x5a243d[_0x42f23f(0x161)](validateFilePath,_0x29200c[_0x42f23f(0x145)])&&!_0x17abe1['some'](_0x5e743a=>_0x5e743a[_0x42f23f(0x18e)]===path[_0x42f23f(0x18c)](_0x29200c[_0x42f23f(0x145)])))try{_0x17abe1['push']({'kind':_0x5a243d[_0x42f23f(0x1c7)],'timestamp':new Date()[_0x42f23f(0x12e)](),'test_run_uuid':_0x5d48f7,'file_name':path[_0x42f23f(0x18c)](_0x29200c[_0x42f23f(0x145)]),'file_size':fs[_0x42f23f(0x1ec)](_0x29200c[_0x42f23f(0x145)])[_0x42f23f(0x175)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x21bde2){logger[_0x42f23f(0x14a)](_0x42f23f(0x1cf)+_0x29200c['filePath']+_0x42f23f(0x201)+_0x21bde2['message']);}});if(_0x5a243d[_0x3227bc(0x1ab)](_0x17abe1[_0x3227bc(0x17f)],0x0)){const _0x2fae5b=_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1a6)]]||[];_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1a6)]]=[..._0x2fae5b,..._0x17abe1];}const _0x59f22b=TestInfo[_0x3227bc(0x174)](_0x14fb75)[TestFrameworkConstants[_0x3227bc(0x135)]]||{},_0x444a53=_0x5a243d[_0x3227bc(0x11b)](getManualUploadLogs,_0x59f22b,_0x16ab22[_0x3227bc(0x19e)]()['get'](_0x14fb75)[TestFrameworkConstants[_0x3227bc(0x180)]]);if(_0x5a243d[_0x3227bc(0x1ab)](_0x444a53[_0x3227bc(0x17f)],0x0)){const _0x4038d8=_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1a6)]]||[];_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1a6)]]=[..._0x4038d8,..._0x444a53];}const _0x55c950=_0x5ebbfd[_0x3227bc(0x1d0)]||[],_0x2c065f=_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1de)]]||{};_0x55c950['forEach'](_0x2c8a31=>{const _0x120997=_0x3227bc,{type:_0x5f1c15}=_0x2c8a31;let _0x4fd85c=_0x2c8a31[_0x120997(0x1bd)];if(!_0x5f1c15)return;(_0x5a243d['twJSE'](_0x4fd85c,undefined)||_0x5a243d['SUKjb'](_0x4fd85c,null)||_0x5a243d[_0x120997(0x173)](_0x5a243d[_0x120997(0x161)](String,_0x4fd85c)[_0x120997(0x1d6)](),''))&&(_0x4fd85c=_0x5a243d[_0x120997(0x1b6)]);if(!_0x2c065f[_0x5f1c15]){const _0x1e6b14={};_0x1e6b14['field_type']=_0x5a243d[_0x120997(0x1fb)],_0x1e6b14['values']=[],_0x2c065f[_0x5f1c15]=_0x1e6b14;}else!_0x2c065f[_0x5f1c15][_0x120997(0x19f)]&&(_0x2c065f[_0x5f1c15]['field_type']=_0x5a243d[_0x120997(0x1fb)]),!Array['isArray'](_0x2c065f[_0x5f1c15][_0x120997(0x18d)])&&(_0x2c065f[_0x5f1c15][_0x120997(0x18d)]=[]);const _0x136070=_0x5a243d[_0x120997(0x161)](String,_0x4fd85c)[_0x120997(0x16a)](',')['map'](_0x589f70=>_0x589f70[_0x120997(0x1d6)]());_0x2c065f[_0x5f1c15]['values']=[...new Set([..._0x2c065f[_0x5f1c15]['values'],..._0x136070])];}),_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1de)]]=_0x2c065f,TestInfo['setTestDetails'](_0x14fb75,_0x2c6537);const _0x465b5c={};return _0x465b5c[_0x14fb75]=_0x2c6537,_0x465b5c;}async[a77_0x34be7a(0x132)](_0x1f5c87,_0x148e04,_0x3b6ebc,_0x4631ad){const _0x3853d3=a77_0x34be7a,_0x2412b4={'KvvQc':function(_0x34942e,_0x55915d,_0x23d7cc){return _0x34942e(_0x55915d,_0x23d7cc);},'qsHhI':function(_0x43c5bc,_0x145a1b){return _0x43c5bc in _0x145a1b;},'mnvGZ':function(_0x4e8dbb,_0x4a5067){return _0x4e8dbb(_0x4a5067);},'UmZWa':function(_0x36d89e,_0xf14c2c){return _0x36d89e===_0xf14c2c;},'mjixN':function(_0x585071){return _0x585071();},'tSRQH':function(_0x14ab5b,_0x455d5a){return _0x14ab5b===_0x455d5a;},'qiaAQ':function(_0x45bd8d,_0x233805){return _0x45bd8d>_0x233805;},'YCnth':_0x3853d3(0x118),'QDJIT':function(_0x1189ae,_0x46e449){return _0x1189ae(_0x46e449);},'cwdQZ':function(_0x475e89,_0x5258cb){return _0x475e89(_0x5258cb);},'ftFGV':_0x3853d3(0x1ac),'HNLfu':_0x3853d3(0x1eb),'cVgjw':function(_0x3aba75,_0x79d6cc){return _0x3aba75!==_0x79d6cc;},'weiKc':function(_0x2b6721,_0x1ee548){return _0x2b6721+_0x1ee548;},'fcISQ':_0x3853d3(0x117)},_0x354c35=_0x4631ad[_0x3853d3(0x1e1)],_0x5b6f04=_0x4631ad[_0x3853d3(0x1e6)],_0x2a8544=_0x2412b4[_0x3853d3(0x189)](getTestRunIdentifier,_0x354c35,_0x4631ad[_0x3853d3(0x11e)]['retry']),_0x3f56fb=_0x148e04[_0x3853d3(0x196)]()[_0x3853d3(0x16a)]('.')[0x1];let _0x4a7b67=_0x1f5c87['getAllData']()[_0x3853d3(0x1e7)](_0x2a8544)[TestFrameworkConstants[_0x3853d3(0x121)]];!_0x4a7b67&&(_0x4a7b67={});!_0x2412b4[_0x3853d3(0x138)](_0x3f56fb,_0x4a7b67)&&(_0x4a7b67[_0x3f56fb]=[]);let _0x35317e=_0x1f5c87[_0x3853d3(0x19e)]()[_0x3853d3(0x1e7)](_0x2a8544)[TestFrameworkConstants[_0x3853d3(0x17e)]];!_0x35317e&&(_0x35317e={});!_0x2412b4[_0x3853d3(0x138)](_0x3f56fb,_0x35317e)&&(_0x35317e[_0x3f56fb]=[]);const _0x3edbc2={[TestFrameworkConstants[_0x3853d3(0x121)]]:_0x4a7b67,[TestFrameworkConstants[_0x3853d3(0x17e)]]:_0x35317e},_0xd8cbac={};_0xd8cbac[_0x2a8544]=_0x3edbc2;const _0x5ed991=_0xd8cbac,_0x573310=_0x2412b4['mnvGZ'](getPlaywrightTestFilePath,_0x354c35),_0x5b2823=_0x573310+':'+_0x2412b4[_0x3853d3(0x1e9)](getPlaywrightTestLocation,_0x354c35),_0x1d9b8a=TestInfo[_0x3853d3(0x174)](_0x2a8544)[TestFrameworkConstants[_0x3853d3(0x1de)]]||{};if(_0x2412b4[_0x3853d3(0x19b)](_0x3b6ebc,HookState[_0x3853d3(0x1f3)])){const _0x1b9ddc={'key':_0x3f56fb,[TestFrameworkConstants[_0x3853d3(0x1b7)]]:_0x2412b4['mjixN'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x3853d3(0x170)],[TestFrameworkConstants[_0x3853d3(0x1d4)]]:_0x5b6f04[_0x3853d3(0x1f0)],[TestFrameworkConstants[_0x3853d3(0x18f)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x5b6f04[_0x3853d3(0x1c1)],[TestFrameworkConstants[_0x3853d3(0x16e)]]:_0x573310,[TestFrameworkConstants[_0x3853d3(0x178)]]:_0x5b2823,[TestFrameworkConstants[_0x3853d3(0x1de)]]:_0x1d9b8a};_0x4a7b67[_0x3f56fb][_0x3853d3(0x182)](_0x1b9ddc),_0x5ed991[_0x2a8544][TestFrameworkConstants[_0x3853d3(0x167)]]=_0x3f56fb,logger['debug'](_0x3853d3(0x169)+_0x3f56fb+'\x20&\x20hook\x20=\x20'+_0x1b9ddc+_0x3853d3(0x1fa)+_0x4631ad);}else{if(_0x2412b4['tSRQH'](_0x3b6ebc,HookState[_0x3853d3(0x13e)])){const _0x19b2df=await _0x4631ad[_0x3853d3(0x11e)],_0x3d3b9a=_0x4a7b67[_0x3f56fb]||[],_0x236e78=_0x4631ad[_0x3853d3(0x1e6)];logger[_0x3853d3(0x18b)]('Hook\x20List\x20in\x20Post\x20'+_0x3d3b9a+_0x3853d3(0x1ea)+_0x4631ad);if(_0x2412b4[_0x3853d3(0x120)](_0x3d3b9a[_0x3853d3(0x17f)],0x0)){const _0x296da3=_0x3d3b9a['pop']();if(_0x236e78['error']){const _0xd1cb74=_0x2412b4[_0x3853d3(0x189)](failureData,_0x236e78[_0x3853d3(0x14a)],_0x2412b4[_0x3853d3(0x187)]);_0x296da3[TestFrameworkConstants[_0x3853d3(0x200)]]=_0x2412b4[_0x3853d3(0x134)](getFailureType,_0x236e78?.[_0x3853d3(0x14a)][_0x3853d3(0x150)]),_0x296da3[TestFrameworkConstants[_0x3853d3(0x1cb)]]=_0x2412b4[_0x3853d3(0x1a9)](removeAnsiColors,_0x236e78?.[_0x3853d3(0x14a)][_0x3853d3(0x150)]),_0x296da3[TestFrameworkConstants[_0x3853d3(0x128)]]=_0x2412b4['ftFGV'],_0x296da3[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0xd1cb74;}else _0x296da3[TestFrameworkConstants[_0x3853d3(0x128)]]=_0x2412b4[_0x3853d3(0x198)];_0x2412b4[_0x3853d3(0x142)](_0x19b2df,TestFrameworkConstants[_0x3853d3(0x170)])&&(_0x296da3[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x236e78[_0x3853d3(0x14a)]?_0x2412b4[_0x3853d3(0x198)]:_0x2412b4[_0x3853d3(0x148)]);const _0x4c76c6=new Date(_0x236e78[_0x3853d3(0x1f0)]),_0x517b8d=new Date(_0x2412b4[_0x3853d3(0x126)](_0x4c76c6[_0x3853d3(0x1af)](),_0x236e78[_0x3853d3(0x190)]));_0x296da3[TestFrameworkConstants[_0x3853d3(0x184)]]=_0x517b8d[_0x3853d3(0x12e)](),_0x296da3[TestFrameworkConstants[_0x3853d3(0x1de)]]=_0x1d9b8a;const _0x2668bf=_0x296da3[TestFrameworkConstants[_0x3853d3(0x1b7)]];await this[_0x3853d3(0x129)](_0x1f5c87,_0x148e04,_0x2668bf,_0x2412b4[_0x3853d3(0x17c)],_0x4631ad),!_0x35317e[_0x3f56fb]&&(_0x35317e[_0x3f56fb]=[]),_0x35317e[_0x3f56fb][_0x3853d3(0x182)](_0x296da3),_0x5ed991[_0x2a8544][TestFrameworkConstants[_0x3853d3(0x16f)]]=_0x3f56fb;}}}return _0x5ed991;}async[a77_0x34be7a(0x129)](_0xc8e398,_0x3a5ed8,_0x465c56,_0x17b925,_0x58d2b7){const _0x4abe54=a77_0x34be7a,_0x1fa8ed={'GFJnZ':function(_0x57b2a7,_0x1123a9){return _0x57b2a7===_0x1123a9;},'YIQvC':_0x4abe54(0x1e1),'swSIW':function(_0x152cce,_0x5e708d,_0x4c61ca){return _0x152cce(_0x5e708d,_0x4c61ca);},'nuyQu':_0x4abe54(0x183),'mpTbB':function(_0x5de511,_0x22754d,_0x33efe7,_0xf933f9){return _0x5de511(_0x22754d,_0x33efe7,_0xf933f9);},'tekyj':function(_0x380ff7,_0x11c36c,_0x5dcc63){return _0x380ff7(_0x11c36c,_0x5dcc63);},'qnkCP':function(_0x8fa739,_0x26c489,_0xbc9c6b){return _0x8fa739(_0x26c489,_0xbc9c6b);},'QXpHj':function(_0x391e8a,_0x27815c,_0x2ac618){return _0x391e8a(_0x27815c,_0x2ac618);},'rrdQl':function(_0x1274c3,_0x332425){return _0x1274c3/_0x332425;},'tqvaq':function(_0x434979,_0x48d449){return _0x434979<_0x48d449;},'CrHcy':function(_0x2911de,_0x5167d3){return _0x2911de*_0x5167d3;},'IGfcH':function(_0x3399d3,_0x332a8d){return _0x3399d3+_0x332a8d;},'khLSW':function(_0x35a310,_0x54d9da,_0x4d5ec9,_0x2901a0,_0x4daa2c){return _0x35a310(_0x54d9da,_0x4d5ec9,_0x2901a0,_0x4daa2c);},'PxonV':function(_0x30fb76,_0x4f3a46){return _0x30fb76+_0x4f3a46;},'bEwer':function(_0x5c9d2b,_0x156d6c){return _0x5c9d2b+_0x156d6c;},'jWdUp':function(_0x44d926,_0x13f794,_0x59d251,_0x7c9c15){return _0x44d926(_0x13f794,_0x59d251,_0x7c9c15);},'IDJhp':_0x4abe54(0x117),'JJYji':function(_0x207663,_0x31f9cb,_0x3ca932,_0x174764,_0x7aeaa){return _0x207663(_0x31f9cb,_0x3ca932,_0x174764,_0x7aeaa);}};try{if(_0x1fa8ed[_0x4abe54(0x1b3)](_0x17b925,_0x1fa8ed[_0x4abe54(0x194)])){const _0x26cdfa=await _0x58d2b7[_0x4abe54(0x11e)],_0x36d5cc=_0x1fa8ed[_0x4abe54(0x19d)](getTestRunIdentifier,_0x58d2b7[_0x4abe54(0x1e1)],_0x58d2b7[_0x4abe54(0x11e)][_0x4abe54(0x179)]),_0x43fd75=_0x58d2b7['test'];logger[_0x4abe54(0x18b)]('sendLogCreatedEvent:\x20testId='+_0x36d5cc+_0x4abe54(0x143)+util[_0x4abe54(0x11d)](_0x26cdfa));const _0x9d493b=_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x180)]];await _0x1fa8ed['swSIW'](sendTraceZip,_0x26cdfa,_0x9d493b);const _0x308f50=TestInfo[_0x4abe54(0x174)](_0x36d5cc)[_0x1fa8ed['nuyQu']],_0x4ff848={};if(_0x308f50){!_0x26cdfa[_0x4abe54(0x183)]&&(_0x26cdfa[_0x4abe54(0x183)]=[]);_0x4ff848['attachments']=_0x26cdfa[_0x4abe54(0x183)][_0x4abe54(0x16d)](_0x308f50||[]);const _0x1e9d4c=TestInfo[_0x4abe54(0x174)](_0x36d5cc);delete _0x1e9d4c[_0x1fa8ed[_0x4abe54(0x1df)]],TestInfo['setTestDetails'](_0x36d5cc,_0x1e9d4c);}const {steps:_0x378f52,logs:_0x364430}=_0x1fa8ed[_0x4abe54(0x156)](getStepsAndLogs,_0x26cdfa[_0x4abe54(0x116)],_0xc8e398[_0x4abe54(0x19e)]()['get'](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x180)]],_0x1fa8ed[_0x4abe54(0x194)]),_0x4b7480=_0x1fa8ed[_0x4abe54(0x1c6)](getScreenshots,_0x4ff848,_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x36d5cc)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x663665=_0x1fa8ed[_0x4abe54(0x1e8)](getVideos,_0x26cdfa,_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x180)]]),{_:_0x471d34,logs:_0x45a419}=_0x1fa8ed['QXpHj'](getFailureData,_0x26cdfa[_0x4abe54(0x1f5)],{'test_run_uuid':_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x180)]]}),_0x4b66aa=TestInfo[_0x4abe54(0x174)](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x135)]]||{},_0x1a147f=_0x1fa8ed['swSIW'](getMediaArtifactsLogs,_0x4b66aa,_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x180)]]),_0x4ce02c=_0xc8e398[_0x4abe54(0x19e)]()['get'](_0x36d5cc),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x37da4c='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1b894e=''}=_0x4ce02c,_0x2406a4=(_0x364430||[])[_0x4abe54(0x16d)](_0x4b7480||[])[_0x4abe54(0x16d)](_0x45a419||[])[_0x4abe54(0x16d)](_0x663665||[])[_0x4abe54(0x16d)](_0x1a147f||[]),_0x4983ca=0x28,_0x1275bf=Math[_0x4abe54(0x122)](_0x1fa8ed['rrdQl'](_0x2406a4[_0x4abe54(0x17f)],_0x4983ca));for(let _0x2d06dd=0x0;_0x1fa8ed[_0x4abe54(0x140)](_0x2d06dd,_0x1275bf);_0x2d06dd++){const _0x20e484=_0x1fa8ed['CrHcy'](_0x2d06dd,_0x4983ca),_0x3e32ee=_0x1fa8ed['IGfcH'](_0x20e484,_0x4983ca),_0x3c2797=_0x2406a4[_0x4abe54(0x1c8)](_0x20e484,_0x3e32ee),_0x1d4b58={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x3c2797,'testFrameworkName':_0x37da4c,'testFrameworkVersion':_0x1b894e,'testFrameworkState':_0x3a5ed8[_0x4abe54(0x196)]()[_0x4abe54(0x16a)]('.')[0x1]};_0x1fa8ed[_0x4abe54(0x1ae)](updatePayloadForTraceLogs,_0x1d4b58,_0x58d2b7,_0x36d5cc,_0xc8e398),logger[_0x4abe54(0x18b)](_0x4abe54(0x13b)+_0x36d5cc+'\x20batch\x20'+_0x1fa8ed[_0x4abe54(0x1cc)](_0x2d06dd,0x1)+'/'+_0x1275bf+_0x4abe54(0x1f8)+util['inspect'](_0x1d4b58));const _0x49e99d=await GrpcClient[_0x4abe54(0x1e4)]()[_0x4abe54(0x123)](_0x1d4b58);logger[_0x4abe54(0x18b)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x36d5cc+'\x20batch\x20'+_0x1fa8ed[_0x4abe54(0x1ad)](_0x2d06dd,0x1)+'/'+_0x1275bf+_0x4abe54(0x11c)+util[_0x4abe54(0x11d)](_0x49e99d));}}else{const {steps:_0x5c2d59,logs:_0x437e1f}=_0x1fa8ed[_0x4abe54(0x16b)](getStepsAndLogs,_0x58d2b7['step'][_0x4abe54(0x116)],_0x465c56,_0x1fa8ed[_0x4abe54(0x1bc)]),_0x5c74b9=_0x1fa8ed[_0x4abe54(0x1c6)](getTestRunIdentifier,_0x58d2b7[_0x4abe54(0x1e1)],_0x58d2b7['result'][_0x4abe54(0x179)]);logger['debug'](_0x4abe54(0x1e5)+_0x5c74b9);const _0x2cebfe=_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x5c74b9),{[TestFrameworkConstants[_0x4abe54(0x154)]]:_0x56f5fd='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1b11fb=''}=_0x2cebfe,_0x527d40={'platformIndex':'0','logs':_0x437e1f,'testFrameworkName':_0x56f5fd,'testFrameworkVersion':_0x1b11fb,'testFrameworkState':_0x3a5ed8[_0x4abe54(0x196)]()['split']('.')[0x1]};_0x1fa8ed[_0x4abe54(0x1f4)](updatePayloadForTraceLogs,_0x527d40,_0x58d2b7,_0x5c74b9,_0xc8e398),logger['debug'](_0x4abe54(0x13b)+_0x5c74b9+_0x4abe54(0x1f8)+util['inspect'](_0x527d40));const _0x3e54cf=await GrpcClient[_0x4abe54(0x1e4)]()['logCreatedEvent'](_0x527d40);}}catch(_0x4700a5){logger['error']('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x4abe54(0x1c4)](_0x4700a5));}}[a77_0x34be7a(0x1db)](_0x4834a4){const _0x83ab32=a77_0x34be7a,_0x5f405f={'wtKHY':function(_0x1aec23,_0x2acf06,_0xed0154){return _0x1aec23(_0x2acf06,_0xed0154);},'gCOXx':function(_0x38953e,_0x3dbcac){return _0x38953e<_0x3dbcac;},'qmXYX':_0x83ab32(0x1c2)};try{const _0x1cd7fa=_0x4834a4[_0x83ab32(0x1e1)]['id'],_0x4c3980=_0x5f405f[_0x83ab32(0x119)](getTestRunIdentifier,_0x4834a4[_0x83ab32(0x1e1)],_0x4834a4[_0x83ab32(0x11e)][_0x83ab32(0x179)]),_0x3e9679=_0x4834a4['instance'],_0x5bd496=_0x3e9679['getContext'](),_0x389685=_0x3e9679['getAllData']()['get'](_0x4c3980);logger[_0x83ab32(0x18b)](_0x83ab32(0x1c0)+_0x1cd7fa);const {[TestFrameworkConstants[_0x83ab32(0x154)]]:_0x51e361='',[TestFrameworkConstants[_0x83ab32(0x12c)]]:_0xcc0b65='',[TestFrameworkConstants[_0x83ab32(0x1ff)]]:_0x510ddc='',[TestFrameworkConstants[_0x83ab32(0x165)]]:_0x1ae707=''}=_0x389685,_0x2644cf=_0x3e9679[_0x83ab32(0x152)]()[_0x83ab32(0x196)]()[_0x83ab32(0x16a)]('.')[0x1],_0x2658d7=_0x3e9679[_0x83ab32(0x1fe)]()['toString']()['split']('.')[0x1],_0x1d0601=_0x5f405f[_0x83ab32(0x12f)](_0x4834a4?.[_0x83ab32(0x11e)]?.[_0x83ab32(0x1d7)]??0x0,0x0)?0x0:_0x4834a4?.['result']?.[_0x83ab32(0x1d7)]??0x0,_0x1379e5=_0x3e9679[_0x83ab32(0x14e)](),_0x41204c=Buffer[_0x83ab32(0x1be)](JSON[_0x83ab32(0x1f2)](_0x389685))[_0x83ab32(0x196)](_0x5f405f[_0x83ab32(0x172)]),_0x5eb967={'hash':_0x5bd496[_0x83ab32(0x12d)](),'threadId':_0x5bd496[_0x83ab32(0x18a)]()[_0x83ab32(0x196)](),'processId':_0x5bd496[_0x83ab32(0x15b)]()['toString']()},_0x421f4c={};_0x421f4c['platformIndex']=_0x1d0601,_0x421f4c[_0x83ab32(0x14c)]=_0x51e361,_0x421f4c[_0x83ab32(0x1ed)]=_0xcc0b65,_0x421f4c[_0x83ab32(0x13c)]=_0x2644cf,_0x421f4c[_0x83ab32(0x192)]=_0x2658d7,_0x421f4c[_0x83ab32(0x1b5)]=_0x510ddc,_0x421f4c[_0x83ab32(0x19a)]=_0x1ae707,_0x421f4c['uuid']=_0x1379e5,_0x421f4c[_0x83ab32(0x158)]=_0x41204c,_0x421f4c[_0x83ab32(0x130)]=_0x5eb967;const _0x498104=_0x421f4c;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x1cd7fa+_0x83ab32(0x1c5)+_0x2644cf+_0x83ab32(0x1a2)+_0x2658d7),_0x498104;}catch(_0x1a99cf){return logger[_0x83ab32(0x14a)](_0x83ab32(0x1d8)+util[_0x83ab32(0x1c4)](_0x1a99cf)),{};}}}module['exports']=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78_0x3f513d=a78_0x5bae;(function(_0x32d59f,_0x566e48){const _0x4d4d85=a78_0x5bae,_0x31674c=_0x32d59f();while(!![]){try{const _0x5ad46e=-parseInt(_0x4d4d85(0xf7))/0x1+-parseInt(_0x4d4d85(0xee))/0x2+parseInt(_0x4d4d85(0xfc))/0x3+parseInt(_0x4d4d85(0xfd))/0x4+parseInt(_0x4d4d85(0xfb))/0x5+-parseInt(_0x4d4d85(0xe8))/0x6+parseInt(_0x4d4d85(0x10c))/0x7;if(_0x5ad46e===_0x566e48)break;else _0x31674c['push'](_0x31674c['shift']());}catch(_0x308e5d){_0x31674c['push'](_0x31674c['shift']());}}}(a78_0x1cdd,0xe0586));function a78_0x5bae(_0x28dbc3,_0x48b6cc){const _0x1cdd01=a78_0x1cdd();return a78_0x5bae=function(_0x5bae57,_0x21be68){_0x5bae57=_0x5bae57-0xe4;let _0x45f266=_0x1cdd01[_0x5bae57];return _0x45f266;},a78_0x5bae(_0x28dbc3,_0x48b6cc);}const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a78_0x3f513d(0xe7)),AutomationFrameworkState=require(a78_0x3f513d(0x108)),HookState=require(a78_0x3f513d(0x10d)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a78_0x3f513d(0x10a)),AutomationFrameworkInstance=require(a78_0x3f513d(0xe6));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a78_0x3f513d(0xff));constructor(_0x40fca9,_0x367f4f){super(_0x40fca9,_0x367f4f);}async[a78_0x3f513d(0xef)](_0x3f650f,_0x50a990,_0x2d8f06={}){const _0x17e372=a78_0x3f513d,_0x1297bf={};_0x1297bf[_0x17e372(0x103)]=function(_0x1f5902,_0xb57f30){return _0x1f5902===_0xb57f30;},_0x1297bf[_0x17e372(0x100)]=_0x17e372(0xf4);const _0xfcc295=_0x1297bf;this[_0x17e372(0x104)][_0x17e372(0xea)]('trackEvent:\x20automationFrameworkState='+_0x3f650f+_0x17e372(0x102)+_0x50a990),await super[_0x17e372(0xef)](_0x3f650f,_0x50a990,_0x2d8f06);const _0x2233ca=this[_0x17e372(0xfa)](_0x3f650f,_0x50a990,_0x2d8f06);if(_0xfcc295[_0x17e372(0x103)](_0x2233ca,null)){this[_0x17e372(0x104)][_0x17e372(0xea)](_0xfcc295[_0x17e372(0x100)]);return;}_0x2d8f06[_0x17e372(0xf8)]=_0x2233ca,await this['runHooks'](_0x2233ca,_0x3f650f,_0x50a990,_0x2d8f06);}[a78_0x3f513d(0xfa)](_0x146d51,_0x475ea6,_0x252326={}){const _0x1033d1=a78_0x3f513d,_0x181a6e={};_0x181a6e[_0x1033d1(0xf1)]=function(_0x1f1acc,_0xb03946){return _0x1f1acc===_0xb03946;},_0x181a6e[_0x1033d1(0x109)]=function(_0x1a836c,_0x2a2035){return _0x1a836c===_0x2a2035;};const _0x4076dc=_0x181a6e;let _0x5af0c8=null;return(_0x4076dc[_0x1033d1(0xf1)](_0x146d51,AutomationFrameworkState[_0x1033d1(0x101)])&&_0x4076dc[_0x1033d1(0x109)](_0x475ea6,HookState[_0x1033d1(0xf9)])||_0x4076dc['KgMPM'](_0x146d51,AutomationFrameworkState[_0x1033d1(0xed)]))&&this['trackPuppeteerInstance'](_0x146d51,_0x252326),_0x5af0c8=AutomationFramework[_0x1033d1(0xe5)](),_0x5af0c8;}[a78_0x3f513d(0xeb)](_0x17b1be,_0x2f77e5){const _0x4de09a=a78_0x3f513d,_0x1a4322={};_0x1a4322['IdueG']=_0x4de09a(0x106);const _0x3a594a=_0x1a4322;if(AutomationFramework[_0x4de09a(0xe5)]()){this[_0x4de09a(0x104)][_0x4de09a(0xf6)](_0x3a594a[_0x4de09a(0xec)]);return;}const _0x366dae=CLIUtils[_0x4de09a(0xfe)](),_0xf683a3=TrackedInstance[_0x4de09a(0x10b)](_0x366dae);let _0x395b5e=null;this[_0x4de09a(0x104)][_0x4de09a(0xf6)](_0x4de09a(0xf3)+_0x366dae+_0x4de09a(0x107)+_0x17b1be),_0x395b5e=new AutomationFrameworkInstance(_0xf683a3,this[_0x4de09a(0xf0)](),this[_0x4de09a(0xe4)](),_0x17b1be),AutomationFramework[_0x4de09a(0xf2)](_0xf683a3,_0x395b5e),this['logger'][_0x4de09a(0xf6)](_0x4de09a(0x105)+_0xf683a3['getId']()+_0x4de09a(0xf5)+_0x366dae);}}function a78_0x1cdd(){const _0x2d5d04=['trackPuppeteerInstance','IdueG','NONE','1808886VWXuyy','trackEvent','getAutomationFrameworkName','eWeqC','setTrackedInstance','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','\x20target=','info','1133273fSAdlj','instance','PRE','resolveInstance','6836485hpvvgS','307548RgLMoJ','4984208qHmltM','getCurrentInstanceName','PuppeteerAutomationFramework','TWILv','CREATE','\x20hookState=','UHmYJ','logger','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','trackPuppeteerInstance:\x20instance\x20already\x20exists',',\x20state=','../state/automationFrameworkState.js','KgMPM','../instances/trackedInstance.js','createContext','11173799cThFnu','../state/hookState.js','getAutomationFrameworkVersion','getTrackedInstance','../instances/automationFrameworkInstance.js','../../../helpers/classLogger.js','8132928fqbPII','exports','debug'];a78_0x1cdd=function(){return _0x2d5d04;};return a78_0x1cdd();}module[a78_0x3f513d(0xe9)]=PuppeteerAutomationFramework;
|