browserstack-node-sdk 1.64.3 → 1.65.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages-accessibility_pb.d.ts +70 -0
- package/generated/sdk-messages-accessibility_pb.js +545 -1
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +3 -3
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -0
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -0
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a93_0x4f6b12=a93_0x5059;(function(_0x285c81,_0x4bb501){const _0x5b1e6f=a93_0x5059,_0x582658=_0x285c81();while(!![]){try{const _0x4087e7=-parseInt(_0x5b1e6f(0xe1))/0x1+-parseInt(_0x5b1e6f(0x18d))/0x2*(-parseInt(_0x5b1e6f(0xbc))/0x3)+-parseInt(_0x5b1e6f(0x1c4))/0x4*(parseInt(_0x5b1e6f(0x165))/0x5)+-parseInt(_0x5b1e6f(0x158))/0x6*(parseInt(_0x5b1e6f(0x110))/0x7)+-parseInt(_0x5b1e6f(0x1b6))/0x8*(-parseInt(_0x5b1e6f(0x162))/0x9)+parseInt(_0x5b1e6f(0x13d))/0xa*(-parseInt(_0x5b1e6f(0xd0))/0xb)+parseInt(_0x5b1e6f(0xef))/0xc*(parseInt(_0x5b1e6f(0x10c))/0xd);if(_0x4087e7===_0x4bb501)break;else _0x582658['push'](_0x582658['shift']());}catch(_0x37639b){_0x582658['push'](_0x582658['shift']());}}}(a93_0xb2a0,0x9f31e));function a93_0x5059(_0x527023,_0x587baa){const _0xb2a01b=a93_0xb2a0();return a93_0x5059=function(_0x50599b,_0x2d2f2f){_0x50599b=_0x50599b-0xbc;let _0x25cb29=_0xb2a01b[_0x50599b];return _0x25cb29;},a93_0x5059(_0x527023,_0x587baa);}const TestFramework=require('./testFramework'),TestFrameworkState=require(a93_0x4f6b12(0xe0)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a93_0x4f6b12(0x140)),TestFrameworkInstance=require(a93_0x4f6b12(0x120)),CLIUtils=require(a93_0x4f6b12(0x153)),TrackedInstance=require(a93_0x4f6b12(0xdd)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a93_0x4f6b12(0x18b)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a93_0x4f6b12(0x191)),TestInfo=require(a93_0x4f6b12(0x13e)),GrpcClient=require(a93_0x4f6b12(0xd9)),{removeAnsiColors,getFailureType,failureData}=require(a93_0x4f6b12(0x123)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a93_0x4f6b12(0xdf)),{findNestedKey,sendTraceZip,validateFilePath}=require(a93_0x4f6b12(0xdf)),path=require(a93_0x4f6b12(0xe5)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants'),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a93_0x4f6b12(0x194),a93_0x4f6b12(0x1a6),a93_0x4f6b12(0xf0),a93_0x4f6b12(0x193)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x352844,_0x11ba81,_0x2cf5f2){super(_0x352844,_0x11ba81,_0x2cf5f2);}async[a93_0x4f6b12(0x12e)](_0x466ea3,_0x2c33bd,_0x17dbb7={}){const _0x222670=a93_0x4f6b12,_0x42fe14={'BzIkq':function(_0x103f70,_0x4958f2){return _0x103f70===_0x4958f2;},'VFBWH':function(_0x2eeda9,_0x2904fd){return _0x2eeda9===_0x2904fd;},'VPoTH':function(_0x33f45c,_0x44c440,_0x12debb){return _0x33f45c(_0x44c440,_0x12debb);},'pmAkU':function(_0x502619,_0x26d1bf){return _0x502619===_0x26d1bf;},'GKyyY':function(_0x1d957e,_0x5286e9){return _0x1d957e===_0x5286e9;},'goywe':function(_0x1bcd9d,_0x34a8bd,_0xbe8931){return _0x1bcd9d(_0x34a8bd,_0xbe8931);},'MjvjU':function(_0x166b85,_0x4d7da0,_0x100ad1,_0x15e8d4){return _0x166b85(_0x4d7da0,_0x100ad1,_0x15e8d4);},'zOkyO':_0x222670(0x188),'qwafd':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x222670(0x12e)](_0x466ea3,_0x2c33bd,_0x17dbb7);if(_0x42fe14[_0x222670(0x121)](_0x466ea3,TestFrameworkState[_0x222670(0x143)])){const _0x469bb8=TestInfo[_0x222670(0x146)](_0x17dbb7[_0x222670(0x188)],_0x17dbb7[_0x222670(0x188)][_0x222670(0x185)]);TestInfo[_0x222670(0x189)](_0x469bb8,_0x17dbb7['result'],!![]);}if(_0x42fe14[_0x222670(0x121)](_0x466ea3,TestFrameworkState[_0x222670(0x13b)])){this[_0x222670(0x1ae)](_0x466ea3,_0x2c33bd,_0x17dbb7);return;}const _0x5aecc0=this['resolveInstance'](_0x466ea3,_0x2c33bd,_0x17dbb7);if(!_0x5aecc0)return;logger[_0x222670(0xce)](_0x222670(0x16e)+_0x466ea3+_0x222670(0xfe)+_0x2c33bd+_0x222670(0x16f)+_0x5aecc0[_0x222670(0x139)]());try{if(_0x42fe14['BzIkq'](_0x2c33bd,HookState[_0x222670(0x13c)])&&_0x42fe14[_0x222670(0x186)](_0x466ea3,TestFrameworkState['TEST'])){const _0x3daec0=_0x17dbb7['test'];logger[_0x222670(0xce)](_0x222670(0x192)+_0x3daec0['id']+'}');const _0x59d46d=TestInfo[_0x222670(0xe8)](_0x42fe14['VPoTH'](getTestRunIdentifier,_0x3daec0,_0x17dbb7[_0x222670(0x177)]['retry']));_0x5aecc0[_0x222670(0xc0)](this[_0x222670(0x145)](_0x59d46d,_0x3daec0,_0x17dbb7[_0x222670(0x177)])),logger[_0x222670(0xce)](_0x222670(0xd6)+_0x3daec0['id']+',\x20testFrameworkState='+_0x466ea3+'\x20testHookState='+_0x2c33bd+'\x20instance='+_0x5aecc0[_0x222670(0x139)]());}if(_0x42fe14[_0x222670(0x157)](_0x2c33bd,HookState[_0x222670(0x183)])&&_0x42fe14['GKyyY'](_0x466ea3,TestFrameworkState['TEST'])){const _0x36200d=_0x17dbb7[_0x222670(0x188)],_0x2fe5e4=_0x17dbb7[_0x222670(0x177)];logger[_0x222670(0xce)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x36200d['id']);const _0x2b5a61=_0x42fe14[_0x222670(0x131)](getTestRunIdentifier,_0x36200d,_0x2fe5e4[_0x222670(0x185)]),_0xe68de2=_0x5aecc0[_0x222670(0xc1)]()[_0x222670(0x19c)](_0x2b5a61)[TestFrameworkConstants[_0x222670(0x114)]],{steps:_0x4a2c33,logs:_0x3c7169}=_0x42fe14[_0x222670(0x1a1)](getStepsAndLogs,_0x2fe5e4[_0x222670(0x18e)],_0xe68de2,_0x42fe14[_0x222670(0x190)]);_0x5aecc0[_0x222670(0xc0)](this[_0x222670(0xfb)](_0x36200d['id'],_0x2fe5e4,_0x36200d,_0x4a2c33)),await this[_0x222670(0x197)](_0x5aecc0,_0x466ea3,_0x2c33bd,_0x42fe14[_0x222670(0x190)],_0x17dbb7,_0x3c7169);}if(CLIUtils['matchHookRegex'](_0x466ea3['toString']()[_0x222670(0x14a)]('.')[0x1])){const _0x13df23=await this[_0x222670(0xc2)](_0x5aecc0,_0x466ea3,_0x2c33bd,_0x17dbb7);_0x5aecc0[_0x222670(0xc0)](_0x13df23);}}catch(_0x4bb29e){logger['error'](util[_0x222670(0x128)](_0x42fe14['qwafd'],_0x466ea3,_0x2c33bd,_0x17dbb7['length'],_0x4bb29e));}_0x17dbb7[_0x222670(0x19e)]=_0x5aecc0,await this['runHooks'](_0x5aecc0,_0x466ea3,_0x2c33bd,_0x17dbb7);}[a93_0x4f6b12(0x160)](_0xb3aa81,_0x414a3e,_0xf63622={}){const _0x63ca3=a93_0x4f6b12,_0x50504e={};_0x50504e[_0x63ca3(0x11e)]=function(_0x101ed9,_0x3e471d){return _0x101ed9===_0x3e471d;},_0x50504e[_0x63ca3(0x19f)]=function(_0x56d5a2,_0x108dfd){return _0x56d5a2===_0x108dfd;};const _0x451b23=_0x50504e;let _0x5474a6=null;return(_0x451b23[_0x63ca3(0x11e)](_0xb3aa81,TestFrameworkState[_0x63ca3(0xc6)])||_0x451b23['bjhmC'](_0xb3aa81,TestFrameworkState['NONE']))&&this[_0x63ca3(0x170)](_0xb3aa81,_0xf63622),_0x5474a6=TestFramework[_0x63ca3(0x1b5)](),_0x5474a6;}[a93_0x4f6b12(0x170)](_0x792f62,_0x4cd4fe){const _0x3fc7d2=a93_0x4f6b12,_0x376ff5=CLIUtils[_0x3fc7d2(0x141)](),_0x28a290=TrackedInstance['createContext'](_0x376ff5);let _0x2d47d8=null;logger[_0x3fc7d2(0x108)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x376ff5+_0x3fc7d2(0x11b)+_0x792f62),_0x2d47d8=new TestFrameworkInstance(_0x28a290,this[_0x3fc7d2(0xd1)](),this[_0x3fc7d2(0xe3)](),_0x792f62,HookState[_0x3fc7d2(0x174)]),TestFramework[_0x3fc7d2(0x1a9)](_0x28a290,_0x2d47d8),logger[_0x3fc7d2(0x108)](_0x3fc7d2(0x171)+_0x28a290['getId']()+_0x3fc7d2(0x144)+_0x376ff5);}[a93_0x4f6b12(0x145)](_0x5e6750,_0x2d4177,_0x4638bf){const _0x52a08a=a93_0x4f6b12,_0x5ab18e={'jqOUF':function(_0x424611,_0x31af03){return _0x424611(_0x31af03);},'sGhsF':function(_0x2c3975,_0x52c6de){return _0x2c3975(_0x52c6de);},'pWpuU':function(_0x11ca47,_0xae8cee){return _0x11ca47(_0xae8cee);},'WdYIm':function(_0x5dea2f,_0x34c60a){return _0x5dea2f(_0x34c60a);},'PtFTW':function(_0x551675,_0x11380b){return _0x551675(_0x11380b);},'ltpgF':function(_0x4f2bf2,_0x1e49c3,_0x9454c3){return _0x4f2bf2(_0x1e49c3,_0x9454c3);},'bwmKl':function(_0x11557c,_0x549443){return _0x11557c(_0x549443);}},_0x4315b4=_0x5ab18e[_0x52a08a(0x167)](getPlaywrightTestId,_0x2d4177),_0x16b001=_0x5ab18e[_0x52a08a(0xe6)](getPlaywrightTestTitle,_0x2d4177),_0x131267=_0x5ab18e[_0x52a08a(0x167)](getTestTags,_0x2d4177),_0x508d9c=_0x5ab18e['pWpuU'](getPlaywrightTestCode,_0x2d4177),_0x10c7b7=_0x5ab18e[_0x52a08a(0x130)](getPlaywrightTestFilePath,_0x2d4177),_0x4016da=_0x10c7b7,_0x325fbc=_0x5ab18e['WdYIm'](getPlaywrightTestScope,_0x2d4177),_0x43a862=_0x5ab18e['PtFTW'](getPlaywrightTestScopes,_0x2d4177),_0x5d3525=_0x5ab18e[_0x52a08a(0x130)](getPlaywrightSessionName,_0x2d4177),_0x44c78d=this[_0x52a08a(0xd1)]()[0x0],_0xef5e2a=_0x5ab18e[_0x52a08a(0x127)](getTestRunIdentifier,_0x2d4177,_0x4638bf[_0x52a08a(0x185)]),_0x221369={[TestFrameworkConstants[_0x52a08a(0x11a)]]:_0x44c78d,[TestFrameworkConstants[_0x52a08a(0x150)]]:this[_0x52a08a(0xe3)]()[_0x44c78d],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x52a08a(0xbe)]]:{},[TestFrameworkConstants[_0x52a08a(0x173)]]:{},[TestFrameworkConstants[_0x52a08a(0x114)]]:_0x5e6750,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x52a08a(0x17c)]]:_0x5d3525,[TestFrameworkConstants[_0x52a08a(0x184)]]:_0x10c7b7,[TestFrameworkConstants[_0x52a08a(0x1af)]]:_0x4315b4,[TestFrameworkConstants[_0x52a08a(0xf9)]]:_0x16b001,[TestFrameworkConstants[_0x52a08a(0x195)]]:_0x4016da,[TestFrameworkConstants[_0x52a08a(0xf8)]]:_0x508d9c,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x131267,[TestFrameworkConstants[_0x52a08a(0x166)]]:_0x2d4177[_0x52a08a(0x19b)][0x0][_0x52a08a(0x138)],[TestFrameworkConstants[_0x52a08a(0x1bf)]]:_0x325fbc,[TestFrameworkConstants[_0x52a08a(0xee)]]:_0x43a862,[TestFrameworkConstants[_0x52a08a(0x16d)]]:_0x5ab18e['bwmKl'](getPlaywrightCustomRerunParam,_0x2d4177)};TestInfo[_0x52a08a(0x189)](_0xef5e2a,_0x221369);const _0x2b76b4={};return _0x2b76b4[_0xef5e2a]=_0x221369,_0x2b76b4;}[a93_0x4f6b12(0xfb)](_0x263c11,_0x10d1b6,_0x489046,_0x358159){const _0x1882c4=a93_0x4f6b12,_0x36c039={'WsFcz':function(_0x560e4d,_0x3f5f13){return _0x560e4d(_0x3f5f13);},'QqRAm':'TEST_ATTACHMENT','HcqCI':function(_0x53f4cc,_0x5b20bb){return _0x53f4cc===_0x5b20bb;},'JvHQC':function(_0x123d0b,_0x4969bf){return _0x123d0b===_0x4969bf;},'HKVFt':_0x1882c4(0x13f),'AhMni':function(_0x2953e5,_0x50aee5){return _0x2953e5(_0x50aee5);},'wYuzU':function(_0x51792f,_0x1dc929,_0x10de58){return _0x51792f(_0x1dc929,_0x10de58);},'vaNLq':function(_0x5cb081,_0x227d93){return _0x5cb081===_0x227d93;},'xDnRA':_0x1882c4(0x154),'hrsKN':_0x1882c4(0x10a),'eKIvn':'failed','aJQTa':function(_0x2f72f5,_0xb07b0d){return _0x2f72f5===_0xb07b0d;},'eNGUY':_0x1882c4(0xde),'AkEAe':_0x1882c4(0x168),'KtXKy':function(_0x5557a5,_0x11acc0,_0x182092){return _0x5557a5(_0x11acc0,_0x182092);},'zLdLO':function(_0x406942,_0x19019f){return _0x406942||_0x19019f;},'qkOhr':function(_0x271c61,_0x32c61a){return _0x271c61>_0x32c61a;},'YSlDh':function(_0x44aa57,_0x3ac00c,_0xc7d3e7){return _0x44aa57(_0x3ac00c,_0xc7d3e7);},'yqtoE':function(_0x3f6d66,_0x3db2b6){return _0x3f6d66-_0x3db2b6;},'Weozi':function(_0x2975e7,_0x1b7852,_0x139550,_0x3eac22){return _0x2975e7(_0x1b7852,_0x139550,_0x3eac22);},'gSTIY':'test','ekiaR':function(_0x1bb722,_0x5ac36f){return _0x1bb722===_0x5ac36f;},'hjdYw':function(_0x59808b,_0x20392f){return _0x59808b>=_0x20392f;},'iJSIX':function(_0x1aebc5,_0x519074){return _0x1aebc5+_0x519074;},'hYAoN':function(_0xa5d37b,_0x236157){return _0xa5d37b>_0x236157;},'LOJdb':function(_0x25e9b9,_0x2b1b9d,_0x5e3140){return _0x25e9b9(_0x2b1b9d,_0x5e3140);},'nYauz':_0x1882c4(0xe5),'HRgoo':function(_0x282e66,_0x332b69){return _0x282e66(_0x332b69);},'uiPBd':function(_0x5aad18,_0x1febdf,_0x147922){return _0x5aad18(_0x1febdf,_0x147922);},'MqjGq':function(_0x3288a6,_0x5d2115){return _0x3288a6(_0x5d2115);},'Lzrpg':_0x1882c4(0x1b4)};logger['debug'](_0x1882c4(0x16b)+_0x263c11);const _0x2a181e=_0x36c039[_0x1882c4(0x181)](getTestRunIdentifier,_0x489046,_0x10d1b6[_0x1882c4(0x185)]),_0x502300=new Date(),_0x395079=_0x10d1b6[_0x1882c4(0x12f)],_0x5c73e3=TestInfo[_0x1882c4(0x196)](_0x2a181e)[TestFrameworkConstants[_0x1882c4(0x1ba)]]||{};let _0x29a1be=_0x395079;if(_0x36c039['vaNLq'](_0x10d1b6[_0x1882c4(0x12f)],_0x489046['expectedStatus']))_0x29a1be=_0x36c039['HcqCI'](_0x10d1b6['status'],_0x36c039[_0x1882c4(0xf1)])?_0x36c039[_0x1882c4(0xf1)]:_0x36c039[_0x1882c4(0x1bb)];else{(_0x36c039[_0x1882c4(0x105)](_0x29a1be,_0x36c039[_0x1882c4(0x1bb)])||_0x36c039['HcqCI'](_0x29a1be,_0x36c039[_0x1882c4(0xf4)])||_0x36c039[_0x1882c4(0x18a)](_0x29a1be,_0x36c039[_0x1882c4(0x148)]))&&(_0x29a1be=_0x36c039['eKIvn']);if(_0x36c039[_0x1882c4(0x18a)](_0x10d1b6[_0x1882c4(0x12f)],_0x36c039[_0x1882c4(0x1bb)])&&_0x36c039['aJQTa'](_0x489046[_0x1882c4(0x11d)],_0x36c039[_0x1882c4(0xf4)])){const _0x397518={};_0x397518[_0x1882c4(0xec)]=_0x36c039[_0x1882c4(0xfc)],_0x397518[_0x1882c4(0x1ab)]=_0x36c039[_0x1882c4(0xfc)],_0x10d1b6[_0x1882c4(0xf7)]=_0x397518,_0x10d1b6[_0x1882c4(0x109)]=[_0x10d1b6[_0x1882c4(0xf7)]];}}const {failureData:_0xd80e5c,logs:_0x30ae17}=_0x36c039[_0x1882c4(0x12b)](getFailureData,_0x10d1b6?.[_0x1882c4(0x109)],{}),_0x3e63c8={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x36c039['zLdLO'](_0xd80e5c,null),[TestFrameworkConstants[_0x1882c4(0x106)]]:_0x10d1b6?.['error']&&_0x36c039['WsFcz'](getFailureType,_0x10d1b6['error']['message']),[TestFrameworkConstants[_0x1882c4(0x10d)]]:_0x10d1b6?.['error']&&_0x36c039['AhMni'](removeAnsiColors,_0x10d1b6['error']['message']),[TestFrameworkConstants[_0x1882c4(0x125)]]:[],[TestFrameworkConstants[_0x1882c4(0x1b8)]]:_0x29a1be,[TestFrameworkConstants[_0x1882c4(0x15c)]]:_0x502300[_0x1882c4(0x15f)](),[TestFrameworkConstants[_0x1882c4(0xcf)]]:new Date()[_0x1882c4(0x15f)](),[TestFrameworkConstants[_0x1882c4(0x1ba)]]:_0x5c73e3};if(_0x10d1b6&&_0x36c039[_0x1882c4(0x136)](_0x10d1b6['retry'],0x0)){const _0x2d0d06=TestInfo['getTestUUID'](_0x36c039[_0x1882c4(0x119)](getTestRunIdentifier,_0x489046,_0x36c039[_0x1882c4(0x132)](_0x10d1b6[_0x1882c4(0x185)],0x1)));_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x161)]]=_0x2d0d06;}const _0x46091b={};_0x46091b[_0x1882c4(0x188)]=_0x489046;const _0x49a5bd=this['resolveInstance'](TestFrameworkState['TEST'],HookState['POST'],_0x46091b),_0x42c839=_0x49a5bd[_0x1882c4(0xc1)]()[_0x1882c4(0x19c)](_0x2a181e)[TestFrameworkConstants[_0x1882c4(0x114)]],_0x1f7c2b=_0x358159||_0x36c039[_0x1882c4(0x1c2)](getStepsAndLogs,_0x10d1b6[_0x1882c4(0x18e)],_0x42c839,_0x36c039['gSTIY'])[_0x1882c4(0x18e)],_0x44b013=new Map(),_0x28ed9b=new Map();let _0x1a7680=0x0;const _0x1ff79f=[];for(const _0x26dc84 of _0x1f7c2b||[]){const _0x20d006=_0x26dc84[_0x1882c4(0xcb)]||null;let _0xd613d8;if(_0x36c039[_0x1882c4(0x14e)](_0x20d006,null)){if(_0x36c039[_0x1882c4(0x179)](_0x1a7680,TestFrameworkConstants[_0x1882c4(0x1c0)]))continue;_0xd613d8=0x0,_0x1a7680++;}else{const _0x342066=_0x44b013[_0x1882c4(0x19c)](_0x20d006);if(_0x36c039[_0x1882c4(0x126)](_0x342066,undefined))continue;_0xd613d8=_0x36c039[_0x1882c4(0x15e)](_0x342066,0x1);if(_0x36c039[_0x1882c4(0xd8)](_0xd613d8,TestFrameworkConstants[_0x1882c4(0x149)]))continue;}_0x44b013[_0x1882c4(0x17b)](_0x26dc84['id'],_0xd613d8),_0x28ed9b[_0x1882c4(0x17b)](_0x26dc84['id'],_0x26dc84[_0x1882c4(0x1a8)]),_0x1ff79f['push']({'id':_0x26dc84['id'],'parent_id':_0x20d006,'parent_text':_0x20d006?_0x28ed9b['get'](_0x20d006)||'':'','text':_0x26dc84[_0x1882c4(0x1a8)],'keyword':_0x26dc84[_0x1882c4(0x163)]||null,'started_at':_0x26dc84[_0x1882c4(0x1b3)],'duration':_0x26dc84[_0x1882c4(0x1b9)]??null,'result':_0x26dc84[_0x1882c4(0x177)],'failure':_0x26dc84[_0x1882c4(0xea)]||null,'failure_type':_0x26dc84[_0x1882c4(0x1c3)]||null});}const _0x5f2b90={};_0x5f2b90[_0x1882c4(0x18e)]=_0x1ff79f,_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x1a3)]]=_0x5f2b90,logger[_0x1882c4(0xce)](_0x1882c4(0x172)+_0x1ff79f['length']+_0x1882c4(0x11f)+_0x263c11);const _0x1314b4=[],_0x3f081d=_0x36c039['LOJdb'](findNestedKey,_0x10d1b6,_0x36c039[_0x1882c4(0x12c)]);if(_0x3f081d&&_0x36c039[_0x1882c4(0x19a)](validateFilePath,_0x3f081d))try{_0x1314b4['push']({'kind':_0x36c039[_0x1882c4(0x152)],'timestamp':new Date()[_0x1882c4(0x15f)](),'test_run_uuid':_0x42c839,'file_name':path[_0x1882c4(0x115)](_0x3f081d),'file_size':fs['statSync'](_0x3f081d)[_0x1882c4(0x1bc)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3c46d5){logger[_0x1882c4(0xf7)](_0x1882c4(0x15b)+_0x3f081d+':\x20'+_0x3c46d5[_0x1882c4(0xec)]);}const _0x418a76=TestInfo['getTraceFilePaths'](),_0x242558=_0x418a76['filter'](_0x1cc98f=>_0x1cc98f[_0x1882c4(0xf2)]===_0x42c839);_0x242558['forEach'](_0x115ca3=>{const _0x97ae0f=_0x1882c4;if(_0x115ca3[_0x97ae0f(0x1aa)]&&_0x36c039['WsFcz'](validateFilePath,_0x115ca3[_0x97ae0f(0x1aa)])&&!_0x1314b4[_0x97ae0f(0x135)](_0x5a3c5d=>_0x5a3c5d[_0x97ae0f(0x137)]===path[_0x97ae0f(0x115)](_0x115ca3['filePath'])))try{_0x1314b4[_0x97ae0f(0xc4)]({'kind':_0x36c039[_0x97ae0f(0x152)],'timestamp':new Date()[_0x97ae0f(0x15f)](),'test_run_uuid':_0x42c839,'file_name':path[_0x97ae0f(0x115)](_0x115ca3[_0x97ae0f(0x1aa)]),'file_size':fs[_0x97ae0f(0xda)](_0x115ca3[_0x97ae0f(0x1aa)])[_0x97ae0f(0x1bc)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xe7661f){logger[_0x97ae0f(0xf7)](_0x97ae0f(0x15a)+_0x115ca3[_0x97ae0f(0x1aa)]+_0x97ae0f(0xd2)+_0xe7661f['message']);}});if(_0x36c039['qkOhr'](_0x1314b4['length'],0x0)){const _0x1e86ec=_0x3e63c8[TestFrameworkConstants['KEY_LOGS']]||[];_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x125)]]=[..._0x1e86ec,..._0x1314b4];}const _0x5bc5fc=TestInfo[_0x1882c4(0x196)](_0x2a181e)[TestFrameworkConstants[_0x1882c4(0x107)]]||{},_0x435d21=_0x36c039['uiPBd'](getManualUploadLogs,_0x5bc5fc,_0x49a5bd[_0x1882c4(0xc1)]()[_0x1882c4(0x19c)](_0x2a181e)[TestFrameworkConstants[_0x1882c4(0x114)]]);if(_0x36c039[_0x1882c4(0xd8)](_0x435d21[_0x1882c4(0xed)],0x0)){const _0x126323=_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x125)]]||[];_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x125)]]=[..._0x126323,..._0x435d21];}const _0x283029=_0x489046[_0x1882c4(0x199)]||[],_0x356dd4=_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x1ba)]]||{},_0x5a9075=_0x36c039[_0x1882c4(0x1be)](require,_0x36c039['Lzrpg']);_0x283029['forEach'](_0x3c1b0e=>{const _0x528c8e=_0x1882c4,{type:_0x131b21}=_0x3c1b0e;let _0x1ab420=_0x3c1b0e[_0x528c8e(0x151)];if(!_0x131b21)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x528c8e(0x111)](_0x131b21))return;(_0x36c039[_0x528c8e(0xd7)](_0x1ab420,undefined)||_0x36c039['HcqCI'](_0x1ab420,null)||_0x36c039[_0x528c8e(0x126)](_0x36c039[_0x528c8e(0x118)](String,_0x1ab420)[_0x528c8e(0x1a0)](),''))&&(_0x1ab420=_0x36c039[_0x528c8e(0x1a5)]);const _0x3e86cc=helper[_0x528c8e(0xdc)](_0x36c039[_0x528c8e(0x1bd)](String,_0x1ab420));_0x5a9075[_0x528c8e(0xc7)](_0x356dd4,_0x131b21,_0x3e86cc);}),_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x1ba)]]=_0x356dd4,TestInfo[_0x1882c4(0x189)](_0x2a181e,_0x3e63c8);const _0x28c264={};return _0x28c264[_0x2a181e]=_0x3e63c8,_0x28c264;}[a93_0x4f6b12(0x1ae)](_0x2b5c00,_0x4932fb,_0x4c8f94){const _0xd5be61=a93_0x4f6b12,_0x49b6b9={'XXwGr':function(_0x37538f,_0x2a8a45){return _0x37538f||_0x2a8a45;},'HQyjz':function(_0x231335,_0x3913ba,_0x1a288e){return _0x231335(_0x3913ba,_0x1a288e);}};try{const {test:_0x397041,result:_0x20ae48,step:_0x1fe82a}=_0x4c8f94;if(_0x49b6b9['XXwGr'](!_0x397041,!_0x1fe82a)||!_0x20ae48)return;const _0x542a95=_0x49b6b9[_0xd5be61(0x164)](getTestRunIdentifier,_0x397041,_0x20ae48[_0xd5be61(0x185)]);logger[_0xd5be61(0xce)](_0xd5be61(0xe7)+_0x542a95+_0xd5be61(0xfe)+_0x4932fb+'\x20step=\x22'+_0x1fe82a[_0xd5be61(0xc9)]+'\x22');}catch(_0x212da7){logger[_0xd5be61(0xf7)]('trackStepEvent:\x20exception='+util[_0xd5be61(0x128)](_0x212da7));}}async['trackHookEvent'](_0x1c4258,_0x2baf3d,_0x21204d,_0x2afdc4){const _0x2154cc=a93_0x4f6b12,_0x2d7d02={'geJIQ':function(_0x20ce6f,_0x125055,_0x485cc0){return _0x20ce6f(_0x125055,_0x485cc0);},'ATOdm':function(_0x5b3276,_0x448668){return _0x5b3276 in _0x448668;},'qSwnm':function(_0x2f531c,_0x49fdcc){return _0x2f531c in _0x49fdcc;},'amDaQ':function(_0x502cd4,_0x38be73){return _0x502cd4(_0x38be73);},'aztjw':function(_0x187f18,_0x2e3b40){return _0x187f18===_0x2e3b40;},'STHrW':function(_0x53583f){return _0x53583f();},'dZdpL':function(_0x444ffc,_0x23b23e){return _0x444ffc>_0x23b23e;},'SddFL':'err','gAXUr':function(_0x3882af,_0x38aaaf){return _0x3882af(_0x38aaaf);},'kWjLQ':function(_0x568f0c,_0x2426c7){return _0x568f0c(_0x2426c7);},'mBkUc':_0x2154cc(0xbf),'TVvFe':_0x2154cc(0x10a),'FoHJq':function(_0x5d70b1,_0x26fe1e){return _0x5d70b1!==_0x26fe1e;},'bullb':function(_0x5e8833,_0x59d9d3){return _0x5e8833+_0x59d9d3;},'xEHwk':_0x2154cc(0x116)},_0x2a7802=_0x2afdc4[_0x2154cc(0x188)],_0x1f1a2f=_0x2afdc4[_0x2154cc(0x18f)],_0x50ffff=_0x2d7d02[_0x2154cc(0x18c)](getTestRunIdentifier,_0x2a7802,_0x2afdc4['result'][_0x2154cc(0x185)]),_0x3db727=_0x2baf3d[_0x2154cc(0x112)]()[_0x2154cc(0x14a)]('.')[0x1];let _0x56fa9c=_0x1c4258[_0x2154cc(0xc1)]()[_0x2154cc(0x19c)](_0x50ffff)[TestFrameworkConstants[_0x2154cc(0x173)]];!_0x56fa9c&&(_0x56fa9c={});!_0x2d7d02[_0x2154cc(0x12d)](_0x3db727,_0x56fa9c)&&(_0x56fa9c[_0x3db727]=[]);let _0xef98c3=_0x1c4258[_0x2154cc(0xc1)]()[_0x2154cc(0x19c)](_0x50ffff)[TestFrameworkConstants[_0x2154cc(0xbe)]];!_0xef98c3&&(_0xef98c3={});!_0x2d7d02[_0x2154cc(0xd5)](_0x3db727,_0xef98c3)&&(_0xef98c3[_0x3db727]=[]);const _0x1f3a9d={[TestFrameworkConstants[_0x2154cc(0x173)]]:_0x56fa9c,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0xef98c3},_0x3586bd={};_0x3586bd[_0x50ffff]=_0x1f3a9d;const _0x54d0ba=_0x3586bd,_0x21962a=_0x2d7d02[_0x2154cc(0xcc)](getPlaywrightTestFilePath,_0x2a7802),_0x3b91aa=_0x21962a,_0x26eab3=TestInfo['getTestDetails'](_0x50ffff)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x2d7d02['aztjw'](_0x21204d,HookState[_0x2154cc(0x13c)])){const _0x5436ed={'key':_0x3db727,[TestFrameworkConstants[_0x2154cc(0x1c1)]]:_0x2d7d02[_0x2154cc(0x124)](uuidv4),[TestFrameworkConstants[_0x2154cc(0x1a2)]]:TestFrameworkConstants[_0x2154cc(0x176)],[TestFrameworkConstants[_0x2154cc(0x101)]]:_0x1f1a2f[_0x2154cc(0x138)],[TestFrameworkConstants[_0x2154cc(0x159)]]:[],[TestFrameworkConstants[_0x2154cc(0xf3)]]:_0x1f1a2f['title'],[TestFrameworkConstants[_0x2154cc(0x184)]]:_0x21962a,[TestFrameworkConstants[_0x2154cc(0x195)]]:_0x3b91aa,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x26eab3};_0x56fa9c[_0x3db727][_0x2154cc(0xc4)](_0x5436ed),_0x54d0ba[_0x50ffff][TestFrameworkConstants[_0x2154cc(0x1ad)]]=_0x3db727,logger['debug']('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x3db727+_0x2154cc(0xf5)+_0x5436ed+_0x2154cc(0x187)+_0x2afdc4);}else{if(_0x2d7d02['aztjw'](_0x21204d,HookState['POST'])){const _0xa05d2f=await _0x2afdc4['result'],_0x15c291=_0x56fa9c[_0x3db727]||[],_0x2d815e=_0x2afdc4[_0x2154cc(0x18f)];logger[_0x2154cc(0xce)]('Hook\x20List\x20in\x20Post\x20'+_0x15c291+'\x20and\x20args\x20=\x20'+_0x2afdc4);if(_0x2d7d02[_0x2154cc(0x100)](_0x15c291[_0x2154cc(0xed)],0x0)){const _0x34a542=_0x15c291[_0x2154cc(0x1b7)]();if(_0x2d815e['error']){const _0x21b8c3=_0x2d7d02['geJIQ'](failureData,_0x2d815e[_0x2154cc(0xf7)],_0x2d7d02[_0x2154cc(0x103)]);_0x34a542[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x2d7d02[_0x2154cc(0xe2)](getFailureType,_0x2d815e?.[_0x2154cc(0xf7)][_0x2154cc(0xec)]),_0x34a542[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x2d7d02['kWjLQ'](removeAnsiColors,_0x2d815e?.[_0x2154cc(0xf7)]['message']),_0x34a542[TestFrameworkConstants[_0x2154cc(0x1a2)]]=_0x2d7d02['mBkUc'],_0x34a542[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x21b8c3;}else _0x34a542[TestFrameworkConstants[_0x2154cc(0x1a2)]]=_0x2d7d02[_0x2154cc(0x113)];_0x2d7d02[_0x2154cc(0x129)](_0xa05d2f,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x34a542[TestFrameworkConstants[_0x2154cc(0x1a2)]]=!_0x2d815e['error']?_0x2d7d02[_0x2154cc(0x113)]:_0x2d7d02[_0x2154cc(0x134)]);const _0x1ded12=new Date(_0x2d815e[_0x2154cc(0x138)]),_0x487525=new Date(_0x2d7d02[_0x2154cc(0x182)](_0x1ded12[_0x2154cc(0x169)](),_0x2d815e['duration']));_0x34a542[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x487525['toISOString'](),_0x34a542[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x26eab3;const _0x4ffb21=_0x34a542[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x2154cc(0x197)](_0x1c4258,_0x2baf3d,_0x4ffb21,_0x2d7d02[_0x2154cc(0xc3)],_0x2afdc4),!_0xef98c3[_0x3db727]&&(_0xef98c3[_0x3db727]=[]),_0xef98c3[_0x3db727][_0x2154cc(0xc4)](_0x34a542),_0x54d0ba[_0x50ffff][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x3db727;}}}return _0x54d0ba;}async[a93_0x4f6b12(0x197)](_0x59334e,_0x31126d,_0x2b5de7,_0x50796e,_0x31c5b9,_0x3d1471){const _0x5bbce0=a93_0x4f6b12,_0x3e786a={'pBVHZ':function(_0x1f50eb,_0x220b91){return _0x1f50eb===_0x220b91;},'loXKk':_0x5bbce0(0x188),'rnuYM':function(_0x573b52,_0x14ab06,_0xdccd71){return _0x573b52(_0x14ab06,_0xdccd71);},'UmYUL':function(_0x105c3f,_0x23afb0,_0x440603){return _0x105c3f(_0x23afb0,_0x440603);},'lKKqK':_0x5bbce0(0x175),'QkJTR':function(_0x43e144,_0x34fd65,_0x2e37eb,_0x119ab1){return _0x43e144(_0x34fd65,_0x2e37eb,_0x119ab1);},'QcAYV':function(_0xa89a6,_0x4652e3,_0x18302d){return _0xa89a6(_0x4652e3,_0x18302d);},'NFqiQ':function(_0x130b52,_0x14716b){return _0x130b52/_0x14716b;},'OlWms':function(_0x3773e6,_0xd6f460){return _0x3773e6<_0xd6f460;},'laFvO':function(_0x3da2da,_0x3ad184){return _0x3da2da*_0x3ad184;},'sQjom':function(_0x23abbc,_0x43b4b1){return _0x23abbc+_0x43b4b1;},'NCKEg':function(_0x55cf24,_0x482ffe,_0x399881,_0x45cd39,_0x53d6cf){return _0x55cf24(_0x482ffe,_0x399881,_0x45cd39,_0x53d6cf);},'BkgVb':function(_0x4c0ee7,_0x5c110b){return _0x4c0ee7+_0x5c110b;},'gUoqn':_0x5bbce0(0x116),'jDKdh':function(_0x1f200d,_0x16fdca,_0x464f80,_0x20603c,_0x31a689){return _0x1f200d(_0x16fdca,_0x464f80,_0x20603c,_0x31a689);}};try{if(_0x3e786a[_0x5bbce0(0x14c)](_0x50796e,_0x3e786a['loXKk'])){const _0x279558=await _0x31c5b9[_0x5bbce0(0x177)],_0x3902b1=_0x3e786a[_0x5bbce0(0x17a)](getTestRunIdentifier,_0x31c5b9[_0x5bbce0(0x188)],_0x31c5b9[_0x5bbce0(0x177)][_0x5bbce0(0x185)]),_0x48ca09=_0x31c5b9[_0x5bbce0(0x188)];logger[_0x5bbce0(0xce)](_0x5bbce0(0x117)+_0x3902b1+_0x5bbce0(0x155)+util[_0x5bbce0(0xf6)](_0x279558));const _0x2bbb09=_0x59334e[_0x5bbce0(0xc1)]()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants[_0x5bbce0(0x114)]];await _0x3e786a[_0x5bbce0(0xdb)](sendTraceZip,_0x279558,_0x2bbb09);const _0x4c3836=TestInfo[_0x5bbce0(0x196)](_0x3902b1)[_0x3e786a[_0x5bbce0(0x198)]],_0x4597bb={};if(_0x4c3836){!_0x279558[_0x5bbce0(0x175)]&&(_0x279558[_0x5bbce0(0x175)]=[]);_0x4597bb[_0x5bbce0(0x175)]=_0x279558[_0x5bbce0(0x175)][_0x5bbce0(0x1ac)](_0x4c3836||[]);const _0x36aec5=TestInfo[_0x5bbce0(0x196)](_0x3902b1);delete _0x36aec5[_0x3e786a[_0x5bbce0(0x198)]],TestInfo[_0x5bbce0(0x189)](_0x3902b1,_0x36aec5);}const _0x58896a=_0x3d1471||_0x3e786a[_0x5bbce0(0xe4)](getStepsAndLogs,_0x279558[_0x5bbce0(0x18e)],_0x59334e[_0x5bbce0(0xc1)]()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants['KEY_TEST_UUID']],_0x3e786a[_0x5bbce0(0xc8)])[_0x5bbce0(0x178)],_0xab7797=_0x3e786a[_0x5bbce0(0xdb)](getScreenshots,_0x4597bb,_0x59334e[_0x5bbce0(0xc1)]()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants[_0x5bbce0(0x114)]]),_0x228d77=_0x3e786a[_0x5bbce0(0x17a)](getVideos,_0x279558,_0x59334e['getAllData']()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants[_0x5bbce0(0x114)]]),{_:_0x3c83a8,logs:_0x39110e}=_0x3e786a[_0x5bbce0(0xdb)](getFailureData,_0x279558[_0x5bbce0(0x109)],{'test_run_uuid':_0x59334e['getAllData']()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants[_0x5bbce0(0x114)]]}),_0x5ffee7=TestInfo[_0x5bbce0(0x196)](_0x3902b1)[TestFrameworkConstants[_0x5bbce0(0x107)]]||{},_0x34b461=_0x3e786a[_0x5bbce0(0xeb)](getMediaArtifactsLogs,_0x5ffee7,_0x59334e[_0x5bbce0(0xc1)]()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x30d262=_0x59334e['getAllData']()[_0x5bbce0(0x19c)](_0x3902b1),{[TestFrameworkConstants[_0x5bbce0(0x11a)]]:_0x32449a='',[TestFrameworkConstants[_0x5bbce0(0x150)]]:_0x476585=''}=_0x30d262,_0x30c72c=(_0x58896a||[])[_0x5bbce0(0x1ac)](_0xab7797||[])[_0x5bbce0(0x1ac)](_0x39110e||[])[_0x5bbce0(0x1ac)](_0x228d77||[])[_0x5bbce0(0x1ac)](_0x34b461||[]),_0x5b5f47=0x28,_0x3253a5=Math['ceil'](_0x3e786a[_0x5bbce0(0x1b0)](_0x30c72c[_0x5bbce0(0xed)],_0x5b5f47));for(let _0x1cad63=0x0;_0x3e786a[_0x5bbce0(0x14d)](_0x1cad63,_0x3253a5);_0x1cad63++){const _0x40aae2=_0x3e786a['laFvO'](_0x1cad63,_0x5b5f47),_0x5d9942=_0x3e786a[_0x5bbce0(0x12a)](_0x40aae2,_0x5b5f47),_0x276e04=_0x30c72c[_0x5bbce0(0x16a)](_0x40aae2,_0x5d9942),_0x37df13={'platformIndex':global?.[_0x5bbce0(0x14f)]??0x0,'logs':_0x276e04,'testFrameworkName':_0x32449a,'testFrameworkVersion':_0x476585,'testFrameworkState':_0x31126d['toString']()[_0x5bbce0(0x14a)]('.')[0x1]};_0x3e786a['NCKEg'](updatePayloadForTraceLogs,_0x37df13,_0x31c5b9,_0x3902b1,_0x59334e),logger[_0x5bbce0(0xce)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x3902b1+'\x20batch\x20'+_0x3e786a[_0x5bbce0(0x1a7)](_0x1cad63,0x1)+'/'+_0x3253a5+_0x5bbce0(0xe9)+util[_0x5bbce0(0xf6)](_0x37df13));const _0x487c32=await GrpcClient['getInstance']()[_0x5bbce0(0x147)](_0x37df13);logger['debug'](_0x5bbce0(0x16c)+_0x3902b1+_0x5bbce0(0x1a4)+_0x3e786a[_0x5bbce0(0x1a7)](_0x1cad63,0x1)+'/'+_0x3253a5+_0x5bbce0(0x104)+util[_0x5bbce0(0xf6)](_0x487c32));}}else{const {logs:_0x4be3a3}=_0x3e786a[_0x5bbce0(0xe4)](getStepsAndLogs,_0x31c5b9[_0x5bbce0(0x18f)]['steps'],_0x2b5de7,_0x3e786a['gUoqn']),_0x15eb4e=_0x3e786a[_0x5bbce0(0xeb)](getTestRunIdentifier,_0x31c5b9[_0x5bbce0(0x188)],_0x31c5b9[_0x5bbce0(0x177)][_0x5bbce0(0x185)]);logger[_0x5bbce0(0xce)](_0x5bbce0(0x117)+_0x15eb4e);const _0x37dda1=_0x59334e[_0x5bbce0(0xc1)]()[_0x5bbce0(0x19c)](_0x15eb4e),{[TestFrameworkConstants[_0x5bbce0(0x11a)]]:_0x9a3c16='',[TestFrameworkConstants[_0x5bbce0(0x150)]]:_0x499e61=''}=_0x37dda1,_0x2563e9={'platformIndex':'0','logs':_0x4be3a3,'testFrameworkName':_0x9a3c16,'testFrameworkVersion':_0x499e61,'testFrameworkState':_0x31126d[_0x5bbce0(0x112)]()[_0x5bbce0(0x14a)]('.')[0x1]};_0x3e786a[_0x5bbce0(0x10f)](updatePayloadForTraceLogs,_0x2563e9,_0x31c5b9,_0x15eb4e,_0x59334e),logger[_0x5bbce0(0xce)](_0x5bbce0(0x16c)+_0x15eb4e+_0x5bbce0(0xe9)+util['inspect'](_0x2563e9));const _0x3267a6=await GrpcClient[_0x5bbce0(0x180)]()[_0x5bbce0(0x147)](_0x2563e9);}}catch(_0x311261){logger[_0x5bbce0(0xf7)](_0x5bbce0(0x133)+util[_0x5bbce0(0x128)](_0x311261));}}[a93_0x4f6b12(0xca)](_0x3717e8){const _0x5865f4=a93_0x4f6b12,_0x5b7478={'MtNNn':function(_0xfb15e6,_0x4f6461,_0x5d325c){return _0xfb15e6(_0x4f6461,_0x5d325c);},'NTySW':function(_0x47ddd0,_0x1a1d48){return _0x47ddd0<_0x1a1d48;},'tQwEb':_0x5865f4(0x156)};try{const _0x5b2874=_0x3717e8[_0x5865f4(0x188)]['id'],_0x4fe816=_0x5b7478[_0x5865f4(0xd3)](getTestRunIdentifier,_0x3717e8['test'],_0x3717e8[_0x5865f4(0x177)][_0x5865f4(0x185)]),_0x429941=_0x3717e8[_0x5865f4(0x19e)],_0x2cf56d=_0x429941[_0x5865f4(0x15d)](),_0x2829b2=_0x429941[_0x5865f4(0xc1)]()[_0x5865f4(0x19c)](_0x4fe816);logger[_0x5865f4(0xce)](_0x5865f4(0xd4)+_0x5b2874);const {[TestFrameworkConstants[_0x5865f4(0x11a)]]:_0x3d83b7='',[TestFrameworkConstants[_0x5865f4(0x150)]]:_0x515ea1='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4489ad='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x57fe10=''}=_0x2829b2,_0x1efe07=_0x429941[_0x5865f4(0x10e)]()[_0x5865f4(0x112)]()[_0x5865f4(0x14a)]('.')[0x1],_0x3971d0=_0x429941['getCurrentHookState']()[_0x5865f4(0x112)]()['split']('.')[0x1],_0x300161=_0x5b7478['NTySW'](_0x3717e8?.['result']?.['parallelIndex']??0x0,0x0)?0x0:_0x3717e8?.[_0x5865f4(0x177)]?.[_0x5865f4(0x142)]??0x0,_0x23bf91=_0x429941[_0x5865f4(0x139)](),_0x861050=Buffer[_0x5865f4(0xbd)](JSON[_0x5865f4(0xfa)](_0x2829b2))[_0x5865f4(0x112)](_0x5b7478[_0x5865f4(0x14b)]),_0x584ef4={'hash':_0x2cf56d[_0x5865f4(0x17d)](),'threadId':_0x2cf56d['getThreadId']()['toString'](),'processId':_0x2cf56d[_0x5865f4(0x10b)]()[_0x5865f4(0x112)]()},_0x3f4dec={};_0x3f4dec[_0x5865f4(0x11c)]=_0x300161,_0x3f4dec[_0x5865f4(0xcd)]=_0x3d83b7,_0x3f4dec[_0x5865f4(0x1b2)]=_0x515ea1,_0x3f4dec[_0x5865f4(0xc5)]=_0x1efe07,_0x3f4dec[_0x5865f4(0x17f)]=_0x3971d0,_0x3f4dec[_0x5865f4(0x19d)]=_0x4489ad,_0x3f4dec[_0x5865f4(0x1b1)]=_0x57fe10,_0x3f4dec[_0x5865f4(0xfd)]=_0x23bf91,_0x3f4dec[_0x5865f4(0x17e)]=_0x861050,_0x3f4dec[_0x5865f4(0xff)]=_0x584ef4;const _0x5844d3=_0x3f4dec;return logger[_0x5865f4(0xce)](_0x5865f4(0x122)+_0x5b2874+'\x20testState:\x20'+_0x1efe07+'\x20hookState:\x20'+_0x3971d0),_0x5844d3;}catch(_0x323f04){return logger['error'](_0x5865f4(0x102)+util[_0x5865f4(0x128)](_0x323f04)),{};}}}module[a93_0x4f6b12(0x13a)]=PlaywrightTestFramework;function a93_0xb2a0(){const _0x57890f=['pBVHZ','OlWms','ekiaR','browserstackPlatformIndex','KEY_TEST_FRAMEWORK_VERSION','description','QqRAm','../cliUtils.js','skipped','\x20result=','base64','pmAkU','12IOOBMB','KEY_HOOK_LOGS','Error\x20processing\x20trace\x20file\x20','Error\x20processing\x20direct\x20trace\x20file\x20','KEY_TEST_ENDED_AT','getContext','iJSIX','toISOString','resolveInstance','KEY_TEST_RETRY_OF','153zxDiGl','keyword','HQyjz','8065CSmWYp','KEY_TEST_STARTED_AT','jqOUF','Expected\x20to\x20fail,\x20but\x20passed.','getTime','slice','parsePlaywrightTestResult:\x20testId=','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','trackEvent:\x20found\x20instance,\x20testFrameworkState=','\x20instanceId=','trackPlaywrightInstance','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','parsePlaywrightTestResult:\x20extracted\x20','KEY_HOOKS_STARTED','NONE','attachments','DEFAULT_HOOK_RESULT','result','logs','hjdYw','rnuYM','set','KEY_AUTOMATE_SESSION_NAME','getId','eventJson','hookState','getInstance','wYuzU','bullb','POST','KEY_TEST_FILE_PATH','retry','VFBWH','\x20\x20and\x20args\x20=\x20','test','setTestDetails','aJQTa','util','geJIQ','268mxWdRr','steps','step','zOkyO','../../../helpers/helper.js','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','fail','skip','KEY_TEST_LOCATION','getTestDetails','sendLogCreatedEvent','lKKqK','annotations','HRgoo','results','get','startedAt','instance','bjhmC','trim','MjvjU','KEY_HOOK_RESULT','KEY_TEST_META','\x20batch\x20','HKVFt','fixme','BkgVb','text','setTrackedInstance','filePath','stack','concat','KEY_HOOK_LAST_STARTED','trackStepEvent','KEY_TEST_ID','NFqiQ','endedAt','testFrameworkVersion','started_at','../customTagManager','getTrackedInstance','122776iBamqZ','pop','KEY_TEST_RESULT','duration','KEY_CUSTOM_TAGS','hrsKN','size','AhMni','MqjGq','KEY_TEST_SCOPE','MAX_TOP_LEVEL_STEPS','KEY_HOOK_ID','Weozi','failure_type','556wGUVhK','5574AHzuLk','from','KEY_HOOKS_FINISHED','failed','addMultipleEntries','getAllData','trackHookEvent','xEHwk','push','testFrameworkState','INIT_TEST','mergeIntoTags','loXKk','title','createTestFrameworkEventPayload','parent_id','amDaQ','testFrameworkName','debug','KEY_TEST_RESULT_AT','14178263DWdOOT','getTestFrameworks','\x20from\x20TestDetails:\x20','MtNNn','createTestFrameworkEventPayload\x20testId:\x20','qSwnm','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','HcqCI','hYAoN','../grpcClient','statSync','UmYUL','parseCommaSeparatedValues','../instances/trackedInstance.js','timedOut','../../playwright/reporter/pwUtils','../state/testFrameworkState.js','66460LIivSs','gAXUr','getTestFrameworksVersions','QkJTR','path','sGhsF','trackStepEvent:\x20testId=','getTestUUID','\x20payload=','failure','QcAYV','message','length','KEY_TEST_SCOPES','531396bKJMyR','slow','xDnRA','testUId','KEY_HOOK_NAME','eKIvn','\x20&\x20hook\x20=\x20','inspect','error','KEY_TEST_CODE','KEY_TEST_NAME','stringify','parsePlaywrightTestResult','AkEAe','uuid','\x20hookState=','executionContext','dZdpL','KEY_EVENT_STARTED_AT','Error\x20in\x20createTestFrameworkEventPayload:\x20','SddFL','\x20response=','vaNLq','KEY_TEST_FAILURE_TYPE','KEY_TEST_ATTACHMENTS','info','errors','passed','getProcessId','611PMvmxX','KEY_TEST_FAILURE_REASON','getCurrentTestState','jDKdh','1258285XzWHkl','has','toString','TVvFe','KEY_TEST_UUID','basename','hook','sendLogCreatedEvent:\x20testId=','WsFcz','YSlDh','KEY_TEST_FRAMEWORK_NAME',',\x20state=','platformIndex','expectedStatus','yYNql','\x20steps\x20for\x20testId=','../instances/testFrameworkInstance.js','BzIkq','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','../../../helpers/test-observability/utils','STHrW','KEY_LOGS','JvHQC','ltpgF','format','FoHJq','sQjom','KtXKy','nYauz','ATOdm','trackEvent','status','pWpuU','goywe','yqtoE','Error\x20in\x20sendLogCreatedEvent:\x20','mBkUc','some','qkOhr','file_name','startTime','getRef','exports','TEST_STEP','PRE','10gVwUzG','../TestInfo.js','No\x20reason\x20provided','../../../helpers/classLogger.js','getCurrentInstanceName','parallelIndex','TEST_SCREENSHOT','\x20target=','parsePlaywrightTest','getTestIdentifierFromTestInfo','logCreatedEvent','eNGUY','MAX_NESTED_STEP_DEPTH','split','tQwEb'];a93_0xb2a0=function(){return _0x57890f;};return a93_0xb2a0();}
|
|
1
|
+
const a96_0x503acb=a96_0xd98b;(function(_0x208e7f,_0x18e9a0){const _0x3fcfb9=a96_0xd98b,_0x206f63=_0x208e7f();while(!![]){try{const _0x416489=-parseInt(_0x3fcfb9(0xb5))/0x1*(-parseInt(_0x3fcfb9(0x18f))/0x2)+-parseInt(_0x3fcfb9(0x16e))/0x3*(-parseInt(_0x3fcfb9(0x117))/0x4)+parseInt(_0x3fcfb9(0x13a))/0x5*(parseInt(_0x3fcfb9(0x18e))/0x6)+-parseInt(_0x3fcfb9(0x135))/0x7+-parseInt(_0x3fcfb9(0xd9))/0x8*(-parseInt(_0x3fcfb9(0x10e))/0x9)+-parseInt(_0x3fcfb9(0xfd))/0xa*(-parseInt(_0x3fcfb9(0x170))/0xb)+-parseInt(_0x3fcfb9(0x154))/0xc;if(_0x416489===_0x18e9a0)break;else _0x206f63['push'](_0x206f63['shift']());}catch(_0x5437d1){_0x206f63['push'](_0x206f63['shift']());}}}(a96_0x3471,0xe172c));const TestFramework=require(a96_0x503acb(0xfc)),TestFrameworkState=require(a96_0x503acb(0x171)),HookState=require(a96_0x503acb(0x140)),{createClassLogger}=require(a96_0x503acb(0xc5)),TestFrameworkInstance=require(a96_0x503acb(0x19d)),CLIUtils=require(a96_0x503acb(0x12f)),TrackedInstance=require(a96_0x503acb(0x153)),TestFrameworkConstants=require(a96_0x503acb(0x139)),logger=createClassLogger(a96_0x503acb(0xaa)),{v4:uuidv4}=require(a96_0x503acb(0x1a2)),util=require(a96_0x503acb(0xe9)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a96_0x503acb(0x159)),{removeAnsiColors,getFailureType,failureData}=require(a96_0x503acb(0xea)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a96_0x503acb(0x1ae)),{findNestedKey,sendTraceZip,validateFilePath}=require(a96_0x503acb(0x1ae)),path=require(a96_0x503acb(0x107)),fs=require('fs'),helper=require(a96_0x503acb(0x16f)),{PLAYWRIGHT_TRACE_LOGS}=require(a96_0x503acb(0x19c)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a96_0x503acb(0xcf),a96_0x503acb(0x11b),'slow',a96_0x503acb(0x15c)]);function a96_0xd98b(_0x5371f5,_0x115726){const _0x3471f4=a96_0x3471();return a96_0xd98b=function(_0xd98bf2,_0x345bb0){_0xd98bf2=_0xd98bf2-0xa2;let _0x45f5c4=_0x3471f4[_0xd98bf2];return _0x45f5c4;},a96_0xd98b(_0x5371f5,_0x115726);}function a96_0x3471(){const _0x197632=['file_name','startedAt','\x20instanceId=','ViKmT','424cooZFk','addMultipleEntries','KEY_TEST_FRAMEWORK_VERSION','getCurrentTestState','fixme','vIVzI','toString','KEY_TEST_RESULT','filePath','statSync','vnPlp','USsZy','\x20testState:\x20','parsePlaywrightTestResult:\x20extracted\x20','FeKcv','SSGtp','result','ygigB','KEY_HOOK_RESULT','instance','getTestDetails','stringify','resolveInstance','slice','../cliUtils.js','bJmAl','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','KEY_EVENT_ENDED_AT','khCMt','8402912RAzsMm','parsePlaywrightTestResult','getAllData','KEY_TEST_RESULT_AT','./constants/testFrameworkConstants.js','95VePSYX','debug','KEY_TEST_FILE_PATH','\x20result=','IuxjL','parent_id','../state/hookState.js','logCreatedEvent','tcTTV','getContext','KEY_TEST_UUID','KEY_AUTOMATE_SESSION_NAME','aIzzm','VWRjF','passed','lrvyn','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','pbDsS','set','DEFAULT_HOOK_RESULT','text','TEST','annotations','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','trackEvent','../instances/trackedInstance.js','11167560JKEhsq','tNaFw','get','KEY_TEST_LOCATION','started_at','../grpcClient','\x20hookState=','\x20response=','fail','size','KEY_TEST_META','toISOString','description','\x20target=','getCurrentInstanceName','KEY_HOOK_FAILURE_TYPE','vFeMI','../customTagManager','KEY_CUSTOM_TAGS','startTime','error','basename','KEY_HOOK_ID','getTestIdentifierFromTestInfo','steps','FzSLk','6492SyfwWP','../../../../src/helpers/helper','11dKdpaM','../state/testFrameworkState.js','GfeDx','Isuny','VvvLz','duration','GqrjL','Elcnz','\x20from\x20TestDetails:\x20','runHooks','MzlMI','TEST_SCREENSHOT','base64','hookState','getCurrentHookState','timedOut','nhaAO','KEY_HOOK_FAILURE','status','attachments','nthem','\x20and\x20args\x20=\x20','iydjW','failed','KEY_TEST_NAME','length','getTestFrameworksVersions','keyword','KEY_TEST_FRAMEWORK_NAME','Wvaqk','258270iQLpkq','14324qZlHJB','\x20steps\x20for\x20testId=','IxBbP','from','getTestUUID','hPqcM','sAhmC','KAYZR',',\x20state=','getRef','dbGTT','vzTAu','platformIndex','../../utils/constants','../instances/testFrameworkInstance.js','wKXwd','INIT_TEST','setTrackedInstance','testUId','uuid','retry','test','matchHookRegex','KEY_HOOK_NAME','nuXmv','WQMqq','No\x20reason\x20provided','trackStepEvent','JeyyZ','getTestFrameworks','Aeftv','../../playwright/reporter/pwUtils','has','cWVlz','VqBXy','getThreadId','MAX_NESTED_STEP_DEPTH','MUjkC','ceil','getProcessId','KEY_HOOK_FAILURE_REASON','trackPlaywrightInstance','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','PlaywrightTestFramework','testFrameworkVersion','hook','err','rAhLJ','HGiFC','expectedStatus','KEY_EVENT_STARTED_AT','Error\x20processing\x20trace\x20file\x20','qlNpA','KEY_TEST_ATTACHMENTS','8DSrcEo','errors','cfZoq','trackStepEvent:\x20testId=','KEY_TEST_TAGS','KEY_TEST_ID','KEY_HOOKS_STARTED','\x20hookState:\x20','trackStepEvent:\x20exception=','format','message','Tmabo','KEY_TEST_CODE','qzewR','failure_type','Error\x20in\x20sendLogCreatedEvent:\x20','../../../helpers/classLogger.js','sendLogCreatedEvent','forEach','parallelIndex','QWUWe','ZwdCO','UbaIQ','KEY_HOOK_LAST_STARTED','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','NONE','skip','vgvXL','lrcgz','getId','POST','nrgEO','KEY_TEST_FAILURE','push','sendLogCreatedEvent:\x20testId=','KEY_LOGS','207088TRXUyv','KEY_TEST_SCOPES','step','gmGGt','BMhBK','endedAt','\x20step=\x22','KEY_HOOKS_FINISHED','info','\x20instance=','Hook\x20List\x20in\x20Post\x20','KEY_TEST_STARTED_AT','eventJson','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','Error\x20processing\x20direct\x20trace\x20file\x20','NrNuj','util','../../../helpers/test-observability/utils','inspect','split','jULCl','KEY_TEST_ENDED_AT','sHhIv','getTraceFilePaths','gndea','parsePlaywrightTest','sendLogCreatedEvent\x20for\x20testId:\x20','stack','title','Expected\x20to\x20fail,\x20but\x20passed.','KEY_TEST_LOGS','KEY_TEST_RETRY_OF','\x20batch\x20','parseCommaSeparatedValues','oBbSs','./testFramework','13804550AyQrHf','IkAyB','trim','qiIqU','zFjMl','KEY_HOOK_LAST_FINISHED','createTestFrameworkEventPayload','SSNgu','EpFfO','cVpzo','path','setTestDetails','failure','logs','trackEvent:\x20found\x20instance,\x20testFrameworkState=','\x20payload=','executionContext','198ujZoev','KEY_TEST_FAILURE_REASON','PRE','nAOUY','concat'];a96_0x3471=function(){return _0x197632;};return a96_0x3471();}class PlaywrightTestFramework extends TestFramework{constructor(_0x26053d,_0x247db4,_0x26a081){super(_0x26053d,_0x247db4,_0x26a081);}async[a96_0x503acb(0x152)](_0x424927,_0x41ddaf,_0x5d4e0a={}){const _0x3c66eb=a96_0x503acb,_0x2fb12e={'BMhBK':function(_0x328807,_0x1c6d0f){return _0x328807===_0x1c6d0f;},'KAYZR':function(_0x11a8c5,_0x13e8ce){return _0x11a8c5===_0x13e8ce;},'SSNgu':function(_0x270c65,_0x45125a){return _0x270c65===_0x45125a;},'nuXmv':function(_0x56eb89,_0xaf5d71,_0xfc36b5){return _0x56eb89(_0xaf5d71,_0xfc36b5);},'hcjfE':function(_0x4ced48,_0x23bc96,_0x78a0b7){return _0x4ced48(_0x23bc96,_0x78a0b7);},'ZyJhP':function(_0x356d02,_0x31b36c,_0x7427e0,_0x1e2c6f){return _0x356d02(_0x31b36c,_0x7427e0,_0x1e2c6f);},'wKXwd':_0x3c66eb(0x1a4),'wkkqd':_0x3c66eb(0xcd)};super[_0x3c66eb(0x152)](_0x424927,_0x41ddaf,_0x5d4e0a);if(_0x2fb12e[_0x3c66eb(0xdd)](_0x424927,TestFrameworkState[_0x3c66eb(0x17b)])){const _0x50a91c=TestInfo[_0x3c66eb(0x16b)](_0x5d4e0a['test'],_0x5d4e0a['test'][_0x3c66eb(0x1a3)]);TestInfo[_0x3c66eb(0x108)](_0x50a91c,_0x5d4e0a['result'],!![]);}if(_0x2fb12e[_0x3c66eb(0x196)](_0x424927,TestFrameworkState['TEST_STEP'])){this[_0x3c66eb(0x1aa)](_0x424927,_0x41ddaf,_0x5d4e0a);return;}const _0x341e86=this[_0x3c66eb(0x12d)](_0x424927,_0x41ddaf,_0x5d4e0a);if(!_0x341e86)return;logger[_0x3c66eb(0x13b)](_0x3c66eb(0x10b)+_0x424927+_0x3c66eb(0x15a)+_0x41ddaf+_0x3c66eb(0x115)+_0x341e86[_0x3c66eb(0x198)]());try{if(_0x2fb12e['KAYZR'](_0x41ddaf,HookState[_0x3c66eb(0x110)])&&_0x2fb12e[_0x3c66eb(0x104)](_0x424927,TestFrameworkState[_0x3c66eb(0x14f)])){const _0x139514=_0x5d4e0a[_0x3c66eb(0x1a4)];logger[_0x3c66eb(0x13b)](_0x3c66eb(0x151)+_0x139514['id']+'}');const _0x5656e1=TestInfo['getTestUUID'](_0x2fb12e[_0x3c66eb(0x1a7)](getTestRunIdentifier,_0x139514,_0x5d4e0a[_0x3c66eb(0x127)][_0x3c66eb(0x1a3)]));_0x341e86['addMultipleEntries'](this[_0x3c66eb(0xf2)](_0x5656e1,_0x139514,_0x5d4e0a[_0x3c66eb(0x127)])),logger['debug'](_0x3c66eb(0xa9)+_0x139514['id']+',\x20testFrameworkState='+_0x424927+'\x20testHookState='+_0x41ddaf+_0x3c66eb(0xe2)+_0x341e86[_0x3c66eb(0x198)]());}if(_0x2fb12e[_0x3c66eb(0xdd)](_0x41ddaf,HookState[_0x3c66eb(0xd3)])&&_0x2fb12e['BMhBK'](_0x424927,TestFrameworkState['TEST'])){const _0x4399bb=_0x5d4e0a[_0x3c66eb(0x1a4)],_0x332649=_0x5d4e0a[_0x3c66eb(0x127)];logger[_0x3c66eb(0x13b)](_0x3c66eb(0x131)+_0x4399bb['id']);const _0x5b5ef7=_0x2fb12e['hcjfE'](getTestRunIdentifier,_0x4399bb,_0x332649[_0x3c66eb(0x1a3)]),_0x28dd55=_0x341e86[_0x3c66eb(0x137)]()[_0x3c66eb(0x156)](_0x5b5ef7)[TestFrameworkConstants[_0x3c66eb(0x144)]],{steps:_0x2e1249,logs:_0x976f2c}=_0x2fb12e['ZyJhP'](getStepsAndLogs,_0x332649[_0x3c66eb(0x16c)],_0x28dd55,_0x2fb12e[_0x3c66eb(0x19e)]);_0x341e86[_0x3c66eb(0x118)](this[_0x3c66eb(0x136)](_0x4399bb['id'],_0x332649,_0x4399bb,_0x2e1249)),await this[_0x3c66eb(0xc6)](_0x341e86,_0x424927,_0x41ddaf,_0x2fb12e[_0x3c66eb(0x19e)],_0x5d4e0a,_0x976f2c);}if(CLIUtils[_0x3c66eb(0x1a5)](_0x424927[_0x3c66eb(0x11d)]()[_0x3c66eb(0xec)]('.')[0x1])){const _0x152c04=await this['trackHookEvent'](_0x341e86,_0x424927,_0x41ddaf,_0x5d4e0a);_0x341e86[_0x3c66eb(0x118)](_0x152c04);}}catch(_0x3146ec){logger['error'](util[_0x3c66eb(0xbe)](_0x2fb12e['wkkqd'],_0x424927,_0x41ddaf,_0x5d4e0a['length'],_0x3146ec));}_0x5d4e0a[_0x3c66eb(0x12a)]=_0x341e86,await this[_0x3c66eb(0x179)](_0x341e86,_0x424927,_0x41ddaf,_0x5d4e0a);}[a96_0x503acb(0x12d)](_0x2d896d,_0x17abe0,_0x156264={}){const _0x2c499f=a96_0x503acb,_0xf5cb22={};_0xf5cb22[_0x2c499f(0x155)]=function(_0x2bc3ca,_0x2fff56){return _0x2bc3ca===_0x2fff56;},_0xf5cb22['dbGTT']=function(_0x1aa3d8,_0x21ddc9){return _0x1aa3d8===_0x21ddc9;};const _0x2695c8=_0xf5cb22;let _0x1f38c0=null;return(_0x2695c8['tNaFw'](_0x2d896d,TestFrameworkState[_0x2c499f(0x19f)])||_0x2695c8[_0x2c499f(0x199)](_0x2d896d,TestFrameworkState[_0x2c499f(0xce)]))&&this['trackPlaywrightInstance'](_0x2d896d,_0x156264),_0x1f38c0=TestFramework['getTrackedInstance'](),_0x1f38c0;}[a96_0x503acb(0xa8)](_0x26d3cf,_0x53e2d9){const _0x12d472=a96_0x503acb,_0x5e440e=CLIUtils[_0x12d472(0x162)](),_0xb0d125=TrackedInstance['createContext'](_0x5e440e);let _0x4d6235=null;logger[_0x12d472(0xe1)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x5e440e+_0x12d472(0x197)+_0x26d3cf),_0x4d6235=new TestFrameworkInstance(_0xb0d125,this[_0x12d472(0x1ac)](),this[_0x12d472(0x18a)](),_0x26d3cf,HookState[_0x12d472(0xce)]),TestFramework[_0x12d472(0x1a0)](_0xb0d125,_0x4d6235),logger['info'](_0x12d472(0x132)+_0xb0d125['getId']()+_0x12d472(0x161)+_0x5e440e);}['parsePlaywrightTest'](_0x479220,_0x1116bb,_0x5d9f32){const _0xd47dd7=a96_0x503acb,_0x53afa3={'oBbSs':function(_0x3a7704,_0x517ba1){return _0x3a7704(_0x517ba1);},'bJmAl':function(_0x485ac8,_0x2fc0df){return _0x485ac8(_0x2fc0df);},'Wvaqk':function(_0x3070e5,_0x192f12){return _0x3070e5(_0x192f12);},'nhaAO':function(_0xe20963,_0x337bd2){return _0xe20963(_0x337bd2);},'rJNvh':function(_0x4e5d71,_0x1fb765){return _0x4e5d71(_0x1fb765);},'EpFfO':function(_0x1b343e,_0x2c50df){return _0x1b343e(_0x2c50df);},'xaVkB':function(_0x23ed9c,_0x41ff17){return _0x23ed9c(_0x41ff17);},'aIzzm':function(_0x14186d,_0x56a6b0,_0x351d71){return _0x14186d(_0x56a6b0,_0x351d71);}},_0x1358ab=_0x53afa3[_0xd47dd7(0xfb)](getPlaywrightTestId,_0x1116bb),_0x26253d=_0x53afa3['bJmAl'](getPlaywrightTestTitle,_0x1116bb),_0x196458=_0x53afa3[_0xd47dd7(0x18d)](getTestTags,_0x1116bb),_0x9aeba8=_0x53afa3[_0xd47dd7(0x180)](getPlaywrightTestCode,_0x1116bb),_0xd08a5b=_0x53afa3['rJNvh'](getPlaywrightTestFilePath,_0x1116bb),_0x5d8c90=_0xd08a5b,_0x345b22=_0x53afa3[_0xd47dd7(0x105)](getPlaywrightTestScope,_0x1116bb),_0x1a5832=_0x53afa3['EpFfO'](getPlaywrightTestScopes,_0x1116bb),_0x24e521=_0x53afa3['xaVkB'](getPlaywrightSessionName,_0x1116bb),_0x4cec3d=this['getTestFrameworks']()[0x0],_0x376a57=_0x53afa3[_0xd47dd7(0x146)](getTestRunIdentifier,_0x1116bb,_0x5d9f32[_0xd47dd7(0x1a3)]),_0x188c6b={[TestFrameworkConstants[_0xd47dd7(0x18c)]]:_0x4cec3d,[TestFrameworkConstants[_0xd47dd7(0x119)]]:this[_0xd47dd7(0x18a)]()[_0x4cec3d],[TestFrameworkConstants[_0xd47dd7(0xf7)]]:[],[TestFrameworkConstants[_0xd47dd7(0xe0)]]:{},[TestFrameworkConstants[_0xd47dd7(0xbb)]]:{},[TestFrameworkConstants[_0xd47dd7(0x144)]]:_0x479220,[TestFrameworkConstants[_0xd47dd7(0x11e)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0xd47dd7(0x145)]]:_0x24e521,[TestFrameworkConstants[_0xd47dd7(0x13c)]]:_0xd08a5b,[TestFrameworkConstants[_0xd47dd7(0xba)]]:_0x1358ab,[TestFrameworkConstants[_0xd47dd7(0x188)]]:_0x26253d,[TestFrameworkConstants[_0xd47dd7(0x157)]]:_0x5d8c90,[TestFrameworkConstants[_0xd47dd7(0xc1)]]:_0x9aeba8,[TestFrameworkConstants[_0xd47dd7(0xb9)]]:_0x196458,[TestFrameworkConstants[_0xd47dd7(0xe4)]]:_0x1116bb['results'][0x0][_0xd47dd7(0x167)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x345b22,[TestFrameworkConstants[_0xd47dd7(0xda)]]:_0x1a5832,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x53afa3[_0xd47dd7(0x130)](getPlaywrightCustomRerunParam,_0x1116bb)};TestInfo[_0xd47dd7(0x108)](_0x376a57,_0x188c6b);const _0x5c0746={};return _0x5c0746[_0x376a57]=_0x188c6b,_0x5c0746;}[a96_0x503acb(0x136)](_0x593a0a,_0x53bd79,_0x310ba8,_0x320f6a){const _0x480ef1=a96_0x503acb,_0xa87e68={'ZwdCO':function(_0x1b6ed5,_0x25cd4a){return _0x1b6ed5(_0x25cd4a);},'gmGGt':'TEST_ATTACHMENT','vgvXL':function(_0x209ed6,_0x640b75){return _0x209ed6===_0x640b75;},'Aeftv':function(_0x463af0,_0x2693e3){return _0x463af0===_0x2693e3;},'cVpzo':_0x480ef1(0x1a9),'nrgEO':function(_0x432b12,_0x14d9d6,_0x201e46){return _0x432b12(_0x14d9d6,_0x201e46);},'sHhIv':function(_0x1d230e,_0x13989d){return _0x1d230e===_0x13989d;},'BiJwg':function(_0x231f13,_0xd8d115){return _0x231f13===_0xd8d115;},'HGiFC':'skipped','GfeDx':_0x480ef1(0x148),'SSGtp':_0x480ef1(0x187),'MzlMI':function(_0x5364b0,_0x1a73d2){return _0x5364b0===_0x1a73d2;},'lrcgz':_0x480ef1(0x17f),'utmWH':function(_0x461f2b,_0x1180b1){return _0x461f2b===_0x1180b1;},'jULCl':_0x480ef1(0xf6),'VWRjF':function(_0x4096e4,_0x35111b){return _0x4096e4||_0x35111b;},'MUjkC':function(_0xe08956,_0x378229){return _0xe08956(_0x378229);},'nthem':function(_0x45231f,_0x25e45a){return _0x45231f>_0x25e45a;},'bWAtr':function(_0x38613b,_0x33ecd7,_0x28b719){return _0x38613b(_0x33ecd7,_0x28b719);},'knAoi':function(_0x592b93,_0x384ea9){return _0x592b93-_0x384ea9;},'FeKcv':function(_0x85c241,_0x5d08f0,_0x4220e4,_0x44daf8){return _0x85c241(_0x5d08f0,_0x4220e4,_0x44daf8);},'VqBXy':_0x480ef1(0x1a4),'nAOUY':function(_0x5f233d,_0xda8f89){return _0x5f233d>=_0xda8f89;},'GFKNG':function(_0x1a8f60,_0x638967){return _0x1a8f60===_0x638967;},'gndea':function(_0x3512d3,_0x519ba4){return _0x3512d3+_0x519ba4;},'IuxjL':function(_0x46cf0b,_0x3a1863){return _0x46cf0b>_0x3a1863;},'lrvyn':_0x480ef1(0x107),'VvvLz':function(_0x370b7d,_0x1e700b){return _0x370b7d(_0x1e700b);},'ViKmT':function(_0xf7597b,_0x3e0318){return _0xf7597b>_0x3e0318;},'LCFUc':function(_0x307eb9,_0x4e5ed5,_0x1324ea){return _0x307eb9(_0x4e5ed5,_0x1324ea);},'XMmur':_0x480ef1(0x165)};logger[_0x480ef1(0x13b)]('parsePlaywrightTestResult:\x20testId='+_0x593a0a);const _0x4e805a=_0xa87e68[_0x480ef1(0xd4)](getTestRunIdentifier,_0x310ba8,_0x53bd79[_0x480ef1(0x1a3)]),_0x216c1c=new Date(),_0x21e36e=_0x53bd79[_0x480ef1(0x182)],_0xb0d284=TestInfo[_0x480ef1(0x12b)](_0x4e805a)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0xe363ce=_0x21e36e;if(_0xa87e68[_0x480ef1(0xef)](_0x53bd79['status'],_0x310ba8['expectedStatus']))_0xe363ce=_0xa87e68['BiJwg'](_0x53bd79['status'],_0xa87e68[_0x480ef1(0xaf)])?_0xa87e68[_0x480ef1(0xaf)]:_0xa87e68[_0x480ef1(0x172)];else{(_0xa87e68[_0x480ef1(0x1ad)](_0xe363ce,_0xa87e68[_0x480ef1(0x172)])||_0xa87e68['vgvXL'](_0xe363ce,_0xa87e68[_0x480ef1(0x126)])||_0xa87e68[_0x480ef1(0x17a)](_0xe363ce,_0xa87e68[_0x480ef1(0xd1)]))&&(_0xe363ce=_0xa87e68[_0x480ef1(0x126)]);if(_0xa87e68['utmWH'](_0x53bd79[_0x480ef1(0x182)],_0xa87e68[_0x480ef1(0x172)])&&_0xa87e68[_0x480ef1(0xef)](_0x310ba8[_0x480ef1(0xb0)],_0xa87e68[_0x480ef1(0x126)])){const _0xc816cf={};_0xc816cf['message']=_0xa87e68['jULCl'],_0xc816cf[_0x480ef1(0xf4)]=_0xa87e68[_0x480ef1(0xed)],_0x53bd79['error']=_0xc816cf,_0x53bd79['errors']=[_0x53bd79[_0x480ef1(0x168)]];}}const {failureData:_0x1c7715,logs:_0x47141d}=_0xa87e68[_0x480ef1(0xd4)](getFailureData,_0x53bd79?.[_0x480ef1(0xb6)],{}),_0x1d8921={[TestFrameworkConstants[_0x480ef1(0xd5)]]:_0xa87e68[_0x480ef1(0x147)](_0x1c7715,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x53bd79?.['error']&&_0xa87e68[_0x480ef1(0xa4)](getFailureType,_0x53bd79['error'][_0x480ef1(0xbf)]),[TestFrameworkConstants[_0x480ef1(0x10f)]]:_0x53bd79?.['error']&&_0xa87e68[_0x480ef1(0xca)](removeAnsiColors,_0x53bd79['error'][_0x480ef1(0xbf)]),[TestFrameworkConstants[_0x480ef1(0xd8)]]:[],[TestFrameworkConstants[_0x480ef1(0x11e)]]:_0xe363ce,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x216c1c[_0x480ef1(0x15f)](),[TestFrameworkConstants[_0x480ef1(0x138)]]:new Date()[_0x480ef1(0x15f)](),[TestFrameworkConstants[_0x480ef1(0x166)]]:_0xb0d284};if(_0x53bd79&&_0xa87e68[_0x480ef1(0x184)](_0x53bd79[_0x480ef1(0x1a3)],0x0)){const _0x4f88a0=TestInfo[_0x480ef1(0x193)](_0xa87e68['bWAtr'](getTestRunIdentifier,_0x310ba8,_0xa87e68['knAoi'](_0x53bd79[_0x480ef1(0x1a3)],0x1)));_0x1d8921[TestFrameworkConstants[_0x480ef1(0xf8)]]=_0x4f88a0;}const _0xc64db7={};_0xc64db7[_0x480ef1(0x1a4)]=_0x310ba8;const _0x54d4c4=this[_0x480ef1(0x12d)](TestFrameworkState['TEST'],HookState[_0x480ef1(0xd3)],_0xc64db7),_0x4df488=_0x54d4c4[_0x480ef1(0x137)]()[_0x480ef1(0x156)](_0x4e805a)[TestFrameworkConstants[_0x480ef1(0x144)]],_0x348ec3=_0x320f6a||_0xa87e68[_0x480ef1(0x125)](getStepsAndLogs,_0x53bd79[_0x480ef1(0x16c)],_0x4df488,_0xa87e68[_0x480ef1(0x1b1)])[_0x480ef1(0x16c)],_0x5133d9=new Map(),_0x41a6fb=new Map();let _0xf4cd45=0x0;const _0x2be96c=[];for(const _0x2cdc7a of _0x348ec3||[]){const _0x4e0fd1=_0x2cdc7a[_0x480ef1(0x13f)]||null;let _0xc09d6;if(_0xa87e68['sHhIv'](_0x4e0fd1,null)){if(_0xa87e68[_0x480ef1(0x111)](_0xf4cd45,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0xc09d6=0x0,_0xf4cd45++;}else{const _0x466da4=_0x5133d9[_0x480ef1(0x156)](_0x4e0fd1);if(_0xa87e68['GFKNG'](_0x466da4,undefined))continue;_0xc09d6=_0xa87e68[_0x480ef1(0xf1)](_0x466da4,0x1);if(_0xa87e68[_0x480ef1(0x13e)](_0xc09d6,TestFrameworkConstants[_0x480ef1(0xa3)]))continue;}_0x5133d9[_0x480ef1(0x14c)](_0x2cdc7a['id'],_0xc09d6),_0x41a6fb[_0x480ef1(0x14c)](_0x2cdc7a['id'],_0x2cdc7a[_0x480ef1(0x14e)]),_0x2be96c[_0x480ef1(0xd6)]({'id':_0x2cdc7a['id'],'parent_id':_0x4e0fd1,'parent_text':_0x4e0fd1?_0x41a6fb['get'](_0x4e0fd1)||'':'','text':_0x2cdc7a['text'],'keyword':_0x2cdc7a[_0x480ef1(0x18b)]||null,'started_at':_0x2cdc7a[_0x480ef1(0x158)],'duration':_0x2cdc7a[_0x480ef1(0x175)]??null,'result':_0x2cdc7a['result'],'failure':_0x2cdc7a[_0x480ef1(0x109)]||null,'failure_type':_0x2cdc7a[_0x480ef1(0xc3)]||null});}const _0x41ff0f={};_0x41ff0f[_0x480ef1(0x16c)]=_0x2be96c,_0x1d8921[TestFrameworkConstants[_0x480ef1(0x15e)]]=_0x41ff0f,logger['debug'](_0x480ef1(0x124)+_0x2be96c['length']+_0x480ef1(0x190)+_0x593a0a);const _0x482c09=[],_0x125adb=_0xa87e68['bWAtr'](findNestedKey,_0x53bd79,_0xa87e68[_0x480ef1(0x149)]);if(_0x125adb&&_0xa87e68[_0x480ef1(0x174)](validateFilePath,_0x125adb))try{_0x482c09[_0x480ef1(0xd6)]({'kind':_0xa87e68[_0x480ef1(0xdc)],'timestamp':new Date()[_0x480ef1(0x15f)](),'test_run_uuid':_0x4df488,'file_name':path[_0x480ef1(0x169)](_0x125adb),'file_size':fs[_0x480ef1(0x120)](_0x125adb)[_0x480ef1(0x15d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x458b49){logger[_0x480ef1(0x168)](_0x480ef1(0xe7)+_0x125adb+':\x20'+_0x458b49[_0x480ef1(0xbf)]);}const _0xc1f33c=TestInfo[_0x480ef1(0xf0)](),_0x590605=_0xc1f33c['filter'](_0x46de1e=>_0x46de1e[_0x480ef1(0x1a1)]===_0x4df488);_0x590605[_0x480ef1(0xc7)](_0x263e07=>{const _0xb37082=_0x480ef1;if(_0x263e07['filePath']&&_0xa87e68[_0xb37082(0xca)](validateFilePath,_0x263e07[_0xb37082(0x11f)])&&!_0x482c09['some'](_0x3986a7=>_0x3986a7[_0xb37082(0x113)]===path[_0xb37082(0x169)](_0x263e07[_0xb37082(0x11f)])))try{_0x482c09['push']({'kind':_0xa87e68[_0xb37082(0xdc)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x4df488,'file_name':path[_0xb37082(0x169)](_0x263e07[_0xb37082(0x11f)]),'file_size':fs[_0xb37082(0x120)](_0x263e07[_0xb37082(0x11f)])[_0xb37082(0x15d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x20a8f9){logger[_0xb37082(0x168)](_0xb37082(0xb2)+_0x263e07[_0xb37082(0x11f)]+_0xb37082(0x178)+_0x20a8f9[_0xb37082(0xbf)]);}});if(_0xa87e68[_0x480ef1(0x116)](_0x482c09[_0x480ef1(0x189)],0x0)){const _0x12f9fe=_0x1d8921[TestFrameworkConstants[_0x480ef1(0xd8)]]||[];_0x1d8921[TestFrameworkConstants[_0x480ef1(0xd8)]]=[..._0x12f9fe,..._0x482c09];}const _0xcac3d=TestInfo[_0x480ef1(0x12b)](_0x4e805a)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3f3e32=_0xa87e68['LCFUc'](getManualUploadLogs,_0xcac3d,_0x54d4c4[_0x480ef1(0x137)]()[_0x480ef1(0x156)](_0x4e805a)[TestFrameworkConstants[_0x480ef1(0x144)]]);if(_0xa87e68[_0x480ef1(0x116)](_0x3f3e32[_0x480ef1(0x189)],0x0)){const _0x52e4cc=_0x1d8921[TestFrameworkConstants[_0x480ef1(0xd8)]]||[];_0x1d8921[TestFrameworkConstants[_0x480ef1(0xd8)]]=[..._0x52e4cc,..._0x3f3e32];}const _0x15531b=_0x310ba8[_0x480ef1(0x150)]||[],_0x1dda33=_0x1d8921[TestFrameworkConstants[_0x480ef1(0x166)]]||{},_0x31beef=_0xa87e68['ZwdCO'](require,_0xa87e68['XMmur']);_0x15531b['forEach'](_0x4b9511=>{const _0x3737f9=_0x480ef1,{type:_0x1c569d}=_0x4b9511;let _0x1d4aca=_0x4b9511[_0x3737f9(0x160)];if(!_0x1c569d)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x3737f9(0x1af)](_0x1c569d))return;(_0xa87e68['vgvXL'](_0x1d4aca,undefined)||_0xa87e68[_0x3737f9(0x1ad)](_0x1d4aca,null)||_0xa87e68[_0x3737f9(0xd0)](_0xa87e68[_0x3737f9(0xca)](String,_0x1d4aca)[_0x3737f9(0xff)](),''))&&(_0x1d4aca=_0xa87e68[_0x3737f9(0x106)]);const _0x98e0e0=helper[_0x3737f9(0xfa)](_0xa87e68[_0x3737f9(0xca)](String,_0x1d4aca));_0x31beef['mergeIntoTags'](_0x1dda33,_0x1c569d,_0x98e0e0);}),_0x1d8921[TestFrameworkConstants[_0x480ef1(0x166)]]=_0x1dda33,TestInfo[_0x480ef1(0x108)](_0x4e805a,_0x1d8921);const _0x3bab87={};return _0x3bab87[_0x4e805a]=_0x1d8921,_0x3bab87;}[a96_0x503acb(0x1aa)](_0x203085,_0x1f1e7f,_0x293c38){const _0x5f4ad2=a96_0x503acb,_0x14db1b={'tcTTV':function(_0xe64f61,_0x533d0f){return _0xe64f61||_0x533d0f;},'vzTAu':function(_0x39ef9a,_0x59c1ab,_0x579f01){return _0x39ef9a(_0x59c1ab,_0x579f01);}};try{const {test:_0x17cae2,result:_0x46de34,step:_0x4d3b9a}=_0x293c38;if(_0x14db1b[_0x5f4ad2(0x142)](!_0x17cae2,!_0x4d3b9a)||!_0x46de34)return;const _0x455268=_0x14db1b[_0x5f4ad2(0x19a)](getTestRunIdentifier,_0x17cae2,_0x46de34['retry']);logger[_0x5f4ad2(0x13b)](_0x5f4ad2(0xb8)+_0x455268+'\x20hookState='+_0x1f1e7f+_0x5f4ad2(0xdf)+_0x4d3b9a[_0x5f4ad2(0xf5)]+'\x22');}catch(_0x1dc1b9){logger[_0x5f4ad2(0x168)](_0x5f4ad2(0xbd)+util['format'](_0x1dc1b9));}}async['trackHookEvent'](_0x34abba,_0x33430c,_0x3acf7a,_0x47fc84){const _0x1fe89a=a96_0x503acb,_0x24d065={'cWVlz':function(_0x5b1a60,_0x4c568b,_0x4bd20e){return _0x5b1a60(_0x4c568b,_0x4bd20e);},'IyJUa':function(_0x5c0500,_0x31b4a6){return _0x5c0500 in _0x31b4a6;},'WQMqq':function(_0x27d2da,_0x47cbf2){return _0x27d2da(_0x47cbf2);},'uANlz':function(_0x37aa87,_0x2ff91e){return _0x37aa87===_0x2ff91e;},'JeyyZ':function(_0x50a0a3){return _0x50a0a3();},'zFjMl':function(_0x332c39,_0x58c277){return _0x332c39===_0x58c277;},'IkAyB':function(_0x2d4537,_0x46e2ad){return _0x2d4537>_0x46e2ad;},'USsZy':function(_0x5a2490,_0x5f7d9c,_0x48136b){return _0x5a2490(_0x5f7d9c,_0x48136b);},'vnPlp':_0x1fe89a(0xad),'Isuny':function(_0x108574,_0x3871fd){return _0x108574(_0x3871fd);},'IxBbP':_0x1fe89a(0x187),'vIVzI':_0x1fe89a(0x148),'bCWjq':function(_0x1f4f17,_0x2cfe12){return _0x1f4f17!==_0x2cfe12;},'sAhmC':function(_0x416e50,_0x2a5aaf){return _0x416e50+_0x2a5aaf;},'NrNuj':'hook'},_0x1d5aec=_0x47fc84[_0x1fe89a(0x1a4)],_0x178f52=_0x47fc84['step'],_0x201fb7=_0x24d065[_0x1fe89a(0x1b0)](getTestRunIdentifier,_0x1d5aec,_0x47fc84[_0x1fe89a(0x127)][_0x1fe89a(0x1a3)]),_0x476fef=_0x33430c[_0x1fe89a(0x11d)]()[_0x1fe89a(0xec)]('.')[0x1];let _0x23c118=_0x34abba[_0x1fe89a(0x137)]()[_0x1fe89a(0x156)](_0x201fb7)[TestFrameworkConstants[_0x1fe89a(0xbb)]];!_0x23c118&&(_0x23c118={});!_0x24d065['IyJUa'](_0x476fef,_0x23c118)&&(_0x23c118[_0x476fef]=[]);let _0x5c0b2c=_0x34abba[_0x1fe89a(0x137)]()[_0x1fe89a(0x156)](_0x201fb7)[TestFrameworkConstants[_0x1fe89a(0xe0)]];!_0x5c0b2c&&(_0x5c0b2c={});!_0x24d065['IyJUa'](_0x476fef,_0x5c0b2c)&&(_0x5c0b2c[_0x476fef]=[]);const _0x594a7b={[TestFrameworkConstants[_0x1fe89a(0xbb)]]:_0x23c118,[TestFrameworkConstants[_0x1fe89a(0xe0)]]:_0x5c0b2c},_0x14092a={};_0x14092a[_0x201fb7]=_0x594a7b;const _0x1d3f68=_0x14092a,_0x463c7b=_0x24d065[_0x1fe89a(0x1a8)](getPlaywrightTestFilePath,_0x1d5aec),_0x5e549a=_0x463c7b,_0x46aaac=TestInfo[_0x1fe89a(0x12b)](_0x201fb7)[TestFrameworkConstants[_0x1fe89a(0x166)]]||{};if(_0x24d065['uANlz'](_0x3acf7a,HookState['PRE'])){const _0x282190={'key':_0x476fef,[TestFrameworkConstants[_0x1fe89a(0x16a)]]:_0x24d065[_0x1fe89a(0x1ab)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x1fe89a(0x14d)],[TestFrameworkConstants[_0x1fe89a(0xb1)]]:_0x178f52[_0x1fe89a(0x167)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x1fe89a(0x1a6)]]:_0x178f52[_0x1fe89a(0xf5)],[TestFrameworkConstants[_0x1fe89a(0x13c)]]:_0x463c7b,[TestFrameworkConstants[_0x1fe89a(0x157)]]:_0x5e549a,[TestFrameworkConstants[_0x1fe89a(0x166)]]:_0x46aaac};_0x23c118[_0x476fef][_0x1fe89a(0xd6)](_0x282190),_0x1d3f68[_0x201fb7][TestFrameworkConstants[_0x1fe89a(0xcc)]]=_0x476fef,logger[_0x1fe89a(0x13b)](_0x1fe89a(0x14a)+_0x476fef+'\x20&\x20hook\x20=\x20'+_0x282190+'\x20\x20and\x20args\x20=\x20'+_0x47fc84);}else{if(_0x24d065[_0x1fe89a(0x101)](_0x3acf7a,HookState[_0x1fe89a(0xd3)])){const _0x5e20e7=await _0x47fc84[_0x1fe89a(0x127)],_0x664ed3=_0x23c118[_0x476fef]||[],_0x5e5fa2=_0x47fc84['step'];logger['debug'](_0x1fe89a(0xe3)+_0x664ed3+_0x1fe89a(0x185)+_0x47fc84);if(_0x24d065[_0x1fe89a(0xfe)](_0x664ed3[_0x1fe89a(0x189)],0x0)){const _0x3eb5aa=_0x664ed3['pop']();if(_0x5e5fa2[_0x1fe89a(0x168)]){const _0x4633cf=_0x24d065[_0x1fe89a(0x122)](failureData,_0x5e5fa2['error'],_0x24d065[_0x1fe89a(0x121)]);_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x163)]]=_0x24d065[_0x1fe89a(0x1a8)](getFailureType,_0x5e5fa2?.['error'][_0x1fe89a(0xbf)]),_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0xa7)]]=_0x24d065[_0x1fe89a(0x173)](removeAnsiColors,_0x5e5fa2?.[_0x1fe89a(0x168)][_0x1fe89a(0xbf)]),_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x129)]]=_0x24d065['IxBbP'],_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x181)]]=_0x4633cf;}else _0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x129)]]=_0x24d065[_0x1fe89a(0x11c)];_0x24d065['bCWjq'](_0x5e20e7,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x129)]]=!_0x5e5fa2[_0x1fe89a(0x168)]?_0x24d065[_0x1fe89a(0x11c)]:_0x24d065[_0x1fe89a(0x191)]);const _0x59b47b=new Date(_0x5e5fa2[_0x1fe89a(0x167)]),_0xca6bd2=new Date(_0x24d065[_0x1fe89a(0x195)](_0x59b47b['getTime'](),_0x5e5fa2['duration']));_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x133)]]=_0xca6bd2[_0x1fe89a(0x15f)](),_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x166)]]=_0x46aaac;const _0x314f11=_0x3eb5aa[TestFrameworkConstants[_0x1fe89a(0x16a)]];await this['sendLogCreatedEvent'](_0x34abba,_0x33430c,_0x314f11,_0x24d065[_0x1fe89a(0xe8)],_0x47fc84),!_0x5c0b2c[_0x476fef]&&(_0x5c0b2c[_0x476fef]=[]),_0x5c0b2c[_0x476fef]['push'](_0x3eb5aa),_0x1d3f68[_0x201fb7][TestFrameworkConstants[_0x1fe89a(0x102)]]=_0x476fef;}}}return _0x1d3f68;}async[a96_0x503acb(0xc6)](_0x34e7a9,_0x39ff6f,_0xe425a4,_0x1d5a22,_0x512f2c,_0x423ced){const _0x5d1066=a96_0x503acb,_0x272610={'GqrjL':function(_0x238ca5,_0x21b6ba){return _0x238ca5===_0x21b6ba;},'vFeMI':_0x5d1066(0x1a4),'pbDsS':function(_0x26bde6,_0x27a18b,_0x388653){return _0x26bde6(_0x27a18b,_0x388653);},'qiIqU':function(_0x53bd77,_0x49513c,_0x20f496){return _0x53bd77(_0x49513c,_0x20f496);},'QWUWe':_0x5d1066(0x183),'rAhLJ':function(_0x2093b4,_0x3bfdf7,_0xd75eea,_0x9fbbc8){return _0x2093b4(_0x3bfdf7,_0xd75eea,_0x9fbbc8);},'Elcnz':function(_0x140113,_0x192f2d,_0x3d5014){return _0x140113(_0x192f2d,_0x3d5014);},'UbaIQ':function(_0x5cf270,_0x153aef){return _0x5cf270/_0x153aef;},'FzSLk':function(_0x4b4f9e,_0x76ebfc){return _0x4b4f9e<_0x76ebfc;},'khCMt':function(_0x49f41f,_0xb58315){return _0x49f41f*_0xb58315;},'iydjW':function(_0x4ad8c2,_0xa2eb5c){return _0x4ad8c2+_0xa2eb5c;},'qlNpA':function(_0x440444,_0x2d11f,_0x55e348,_0x762dac,_0x58bc14){return _0x440444(_0x2d11f,_0x55e348,_0x762dac,_0x58bc14);},'Tmabo':function(_0x1cc2b0,_0x1c6329,_0x121c40,_0x553c1e){return _0x1cc2b0(_0x1c6329,_0x121c40,_0x553c1e);},'hPqcM':_0x5d1066(0xac),'TOiqr':function(_0x518773,_0x11bb5b,_0x5b969f){return _0x518773(_0x11bb5b,_0x5b969f);}};try{if(_0x272610[_0x5d1066(0x176)](_0x1d5a22,_0x272610[_0x5d1066(0x164)])){const _0x9f451a=await _0x512f2c[_0x5d1066(0x127)],_0x271afa=_0x272610[_0x5d1066(0x14b)](getTestRunIdentifier,_0x512f2c[_0x5d1066(0x1a4)],_0x512f2c[_0x5d1066(0x127)][_0x5d1066(0x1a3)]),_0x277eda=_0x512f2c[_0x5d1066(0x1a4)];logger[_0x5d1066(0x13b)](_0x5d1066(0xd7)+_0x271afa+_0x5d1066(0x13d)+util[_0x5d1066(0xeb)](_0x9f451a));const _0x1f29cc=_0x34e7a9[_0x5d1066(0x137)]()[_0x5d1066(0x156)](_0x271afa)[TestFrameworkConstants[_0x5d1066(0x144)]];await _0x272610[_0x5d1066(0x100)](sendTraceZip,_0x9f451a,_0x1f29cc);const _0x488da3=TestInfo[_0x5d1066(0x12b)](_0x271afa)[_0x272610[_0x5d1066(0xc9)]],_0x3ac947={};if(_0x488da3){!_0x9f451a[_0x5d1066(0x183)]&&(_0x9f451a['attachments']=[]);_0x3ac947['attachments']=_0x9f451a[_0x5d1066(0x183)]['concat'](_0x488da3||[]);const _0x157edd=TestInfo[_0x5d1066(0x12b)](_0x271afa);delete _0x157edd[_0x272610['QWUWe']],TestInfo[_0x5d1066(0x108)](_0x271afa,_0x157edd);}const _0x2ae552=_0x423ced||_0x272610[_0x5d1066(0xae)](getStepsAndLogs,_0x9f451a[_0x5d1066(0x16c)],_0x34e7a9[_0x5d1066(0x137)]()['get'](_0x271afa)[TestFrameworkConstants[_0x5d1066(0x144)]],_0x272610[_0x5d1066(0x164)])[_0x5d1066(0x10a)],_0x49dd19=_0x272610[_0x5d1066(0x14b)](getScreenshots,_0x3ac947,_0x34e7a9[_0x5d1066(0x137)]()[_0x5d1066(0x156)](_0x271afa)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x421a48=_0x272610[_0x5d1066(0x14b)](getVideos,_0x9f451a,_0x34e7a9['getAllData']()[_0x5d1066(0x156)](_0x271afa)[TestFrameworkConstants[_0x5d1066(0x144)]]),{_:_0x2e5848,logs:_0x49971f}=_0x272610['Elcnz'](getFailureData,_0x9f451a[_0x5d1066(0xb6)],{'test_run_uuid':_0x34e7a9[_0x5d1066(0x137)]()['get'](_0x271afa)[TestFrameworkConstants[_0x5d1066(0x144)]]}),_0x4b8b39=TestInfo['getTestDetails'](_0x271afa)[TestFrameworkConstants[_0x5d1066(0xb4)]]||{},_0x4b0ee7=_0x272610[_0x5d1066(0x177)](getMediaArtifactsLogs,_0x4b8b39,_0x34e7a9[_0x5d1066(0x137)]()[_0x5d1066(0x156)](_0x271afa)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x5c48c4=_0x34e7a9['getAllData']()['get'](_0x271afa),{[TestFrameworkConstants[_0x5d1066(0x18c)]]:_0x3a3940='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4be832=''}=_0x5c48c4,_0x718390=(_0x2ae552||[])[_0x5d1066(0x112)](_0x49dd19||[])['concat'](_0x49971f||[])[_0x5d1066(0x112)](_0x421a48||[])[_0x5d1066(0x112)](_0x4b0ee7||[]),_0x392101=0x28,_0x4fe496=Math[_0x5d1066(0xa5)](_0x272610[_0x5d1066(0xcb)](_0x718390['length'],_0x392101));for(let _0xa678e8=0x0;_0x272610[_0x5d1066(0x16d)](_0xa678e8,_0x4fe496);_0xa678e8++){const _0x5d1a63=_0x272610[_0x5d1066(0x134)](_0xa678e8,_0x392101),_0x18af3c=_0x272610[_0x5d1066(0x186)](_0x5d1a63,_0x392101),_0x4988dc=_0x718390[_0x5d1066(0x12e)](_0x5d1a63,_0x18af3c),_0x5d61c2={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x4988dc,'testFrameworkName':_0x3a3940,'testFrameworkVersion':_0x4be832,'testFrameworkState':_0x39ff6f[_0x5d1066(0x11d)]()[_0x5d1066(0xec)]('.')[0x1]};_0x272610[_0x5d1066(0xb3)](updatePayloadForTraceLogs,_0x5d61c2,_0x512f2c,_0x271afa,_0x34e7a9),logger[_0x5d1066(0x13b)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x271afa+_0x5d1066(0xf9)+_0x272610['iydjW'](_0xa678e8,0x1)+'/'+_0x4fe496+_0x5d1066(0x10c)+util[_0x5d1066(0xeb)](_0x5d61c2));const _0x3d08f3=await GrpcClient['getInstance']()[_0x5d1066(0x141)](_0x5d61c2);logger[_0x5d1066(0x13b)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x271afa+_0x5d1066(0xf9)+_0x272610[_0x5d1066(0x186)](_0xa678e8,0x1)+'/'+_0x4fe496+_0x5d1066(0x15b)+util['inspect'](_0x3d08f3));}}else{const {logs:_0x3a3858}=_0x272610[_0x5d1066(0xc0)](getStepsAndLogs,_0x512f2c[_0x5d1066(0xdb)]['steps'],_0xe425a4,_0x272610[_0x5d1066(0x194)]),_0x3685c6=_0x272610['TOiqr'](getTestRunIdentifier,_0x512f2c[_0x5d1066(0x1a4)],_0x512f2c[_0x5d1066(0x127)]['retry']);logger[_0x5d1066(0x13b)](_0x5d1066(0xd7)+_0x3685c6);const _0x1dc584=_0x34e7a9[_0x5d1066(0x137)]()[_0x5d1066(0x156)](_0x3685c6),{[TestFrameworkConstants[_0x5d1066(0x18c)]]:_0x328ee4='',[TestFrameworkConstants[_0x5d1066(0x119)]]:_0x4a18b4=''}=_0x1dc584,_0x500fa1={'platformIndex':'0','logs':_0x3a3858,'testFrameworkName':_0x328ee4,'testFrameworkVersion':_0x4a18b4,'testFrameworkState':_0x39ff6f[_0x5d1066(0x11d)]()[_0x5d1066(0xec)]('.')[0x1]};_0x272610[_0x5d1066(0xb3)](updatePayloadForTraceLogs,_0x500fa1,_0x512f2c,_0x3685c6,_0x34e7a9),logger[_0x5d1066(0x13b)](_0x5d1066(0xf3)+_0x3685c6+'\x20payload='+util[_0x5d1066(0xeb)](_0x500fa1));const _0x25bd4c=await GrpcClient['getInstance']()[_0x5d1066(0x141)](_0x500fa1);}}catch(_0x2de165){logger['error'](_0x5d1066(0xc4)+util[_0x5d1066(0xbe)](_0x2de165));}}[a96_0x503acb(0x103)](_0x2975ad){const _0x5d1d5a=a96_0x503acb,_0x1198e1={'qzewR':function(_0x277c40,_0x4caed5,_0x140aec){return _0x277c40(_0x4caed5,_0x140aec);},'cfZoq':function(_0x31469f,_0x22c704){return _0x31469f<_0x22c704;},'ygigB':_0x5d1d5a(0x17c)};try{const _0x29e0f3=_0x2975ad[_0x5d1d5a(0x1a4)]['id'],_0x8253a3=_0x1198e1[_0x5d1d5a(0xc2)](getTestRunIdentifier,_0x2975ad[_0x5d1d5a(0x1a4)],_0x2975ad['result'][_0x5d1d5a(0x1a3)]),_0x329cf1=_0x2975ad[_0x5d1d5a(0x12a)],_0x2cd520=_0x329cf1[_0x5d1d5a(0x143)](),_0x51253b=_0x329cf1[_0x5d1d5a(0x137)]()[_0x5d1d5a(0x156)](_0x8253a3);logger[_0x5d1d5a(0x13b)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x29e0f3);const {[TestFrameworkConstants[_0x5d1d5a(0x18c)]]:_0x447de4='',[TestFrameworkConstants[_0x5d1d5a(0x119)]]:_0x85bedb='',[TestFrameworkConstants[_0x5d1d5a(0xe4)]]:_0x15624d='',[TestFrameworkConstants[_0x5d1d5a(0xee)]]:_0x37b9e4=''}=_0x51253b,_0x28016b=_0x329cf1[_0x5d1d5a(0x11a)]()['toString']()['split']('.')[0x1],_0x354292=_0x329cf1[_0x5d1d5a(0x17e)]()[_0x5d1d5a(0x11d)]()[_0x5d1d5a(0xec)]('.')[0x1],_0x4d8f7e=_0x1198e1[_0x5d1d5a(0xb7)](_0x2975ad?.['result']?.['parallelIndex']??0x0,0x0)?0x0:_0x2975ad?.[_0x5d1d5a(0x127)]?.[_0x5d1d5a(0xc8)]??0x0,_0x214a94=_0x329cf1[_0x5d1d5a(0x198)](),_0x42363f=Buffer[_0x5d1d5a(0x192)](JSON[_0x5d1d5a(0x12c)](_0x51253b))[_0x5d1d5a(0x11d)](_0x1198e1[_0x5d1d5a(0x128)]),_0x491c={'hash':_0x2cd520[_0x5d1d5a(0xd2)](),'threadId':_0x2cd520[_0x5d1d5a(0xa2)]()[_0x5d1d5a(0x11d)](),'processId':_0x2cd520[_0x5d1d5a(0xa6)]()[_0x5d1d5a(0x11d)]()},_0xd55976={};_0xd55976[_0x5d1d5a(0x19b)]=_0x4d8f7e,_0xd55976['testFrameworkName']=_0x447de4,_0xd55976[_0x5d1d5a(0xab)]=_0x85bedb,_0xd55976['testFrameworkState']=_0x28016b,_0xd55976[_0x5d1d5a(0x17d)]=_0x354292,_0xd55976[_0x5d1d5a(0x114)]=_0x15624d,_0xd55976[_0x5d1d5a(0xde)]=_0x37b9e4,_0xd55976[_0x5d1d5a(0x1a2)]=_0x214a94,_0xd55976[_0x5d1d5a(0xe5)]=_0x42363f,_0xd55976[_0x5d1d5a(0x10d)]=_0x491c;const _0x2a2d56=_0xd55976;return logger['debug'](_0x5d1d5a(0xe6)+_0x29e0f3+_0x5d1d5a(0x123)+_0x28016b+_0x5d1d5a(0xbc)+_0x354292),_0x2a2d56;}catch(_0x1275af){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x5d1d5a(0xbe)](_0x1275af)),{};}}}module['exports']=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a97_0x5519(){const _0x1bfab6=['exports','417385MdFqqE','PRE','765033kFiXMH','trackPuppeteerInstance','setTrackedInstance','logger',',\x20state=','trackEvent','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','4462290jLsdVu','TtOpa','PuppeteerAutomationFramework','35mKzkSV','610582EEDyoJ','debug','34380EcRAoN','instance','getId','getCurrentInstanceName','getTrackedInstance','../instances/trackedInstance.js','trackPuppeteerInstance:\x20instance\x20already\x20exists','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','trackEvent:\x20automationFrameworkState=','2383068ZriXZX','resolveInstance','../state/automationFrameworkState.js','7PnQMKT','fbZje','IaVoM','../cliUtils.js','2847184AeeFuw','./automationFramework.js','Giirs','\x20target='];a97_0x5519=function(){return _0x1bfab6;};return a97_0x5519();}const a97_0x44d0bb=a97_0xaf56;(function(_0x10b2a3,_0x55bc9c){const _0x5beb51=a97_0xaf56,_0xf92488=_0x10b2a3();while(!![]){try{const _0x224729=-parseInt(_0x5beb51(0xa8))/0x1+-parseInt(_0x5beb51(0xb5))/0x2+-parseInt(_0x5beb51(0xaa))/0x3+-parseInt(_0x5beb51(0xb7))/0x4*(parseInt(_0x5beb51(0xb4))/0x5)+parseInt(_0x5beb51(0x9c))/0x6+-parseInt(_0x5beb51(0x9f))/0x7*(-parseInt(_0x5beb51(0xa3))/0x8)+parseInt(_0x5beb51(0xb1))/0x9;if(_0x224729===_0x55bc9c)break;else _0xf92488['push'](_0xf92488['shift']());}catch(_0x16d2df){_0xf92488['push'](_0xf92488['shift']());}}}(a97_0x5519,0x3385a));const AutomationFramework=require(a97_0x44d0bb(0xa4)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a97_0x44d0bb(0x9e)),HookState=require('../state/hookState.js'),CLIUtils=require(a97_0x44d0bb(0xa2)),TrackedInstance=require(a97_0x44d0bb(0x98)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PuppeteerAutomationFramework extends AutomationFramework{[a97_0x44d0bb(0xad)]=createClassLogger(a97_0x44d0bb(0xb3));constructor(_0x5de080,_0x47163e){super(_0x5de080,_0x47163e);}async['trackEvent'](_0x4272db,_0x182f7b,_0x5daef5={}){const _0x44a229=a97_0x44d0bb,_0x42e17a={};_0x42e17a['IaVoM']=function(_0x33b793,_0x172ff6){return _0x33b793===_0x172ff6;},_0x42e17a[_0x44a229(0xa0)]=_0x44a229(0xb0);const _0x11aa02=_0x42e17a;this[_0x44a229(0xad)]['debug'](_0x44a229(0x9b)+_0x4272db+'\x20hookState='+_0x182f7b),await super[_0x44a229(0xaf)](_0x4272db,_0x182f7b,_0x5daef5);const _0xe2831f=this[_0x44a229(0x9d)](_0x4272db,_0x182f7b,_0x5daef5);if(_0x11aa02[_0x44a229(0xa1)](_0xe2831f,null)){this[_0x44a229(0xad)][_0x44a229(0xb6)](_0x11aa02[_0x44a229(0xa0)]);return;}_0x5daef5[_0x44a229(0x94)]=_0xe2831f,await this['runHooks'](_0xe2831f,_0x4272db,_0x182f7b,_0x5daef5);}['resolveInstance'](_0x1aed6a,_0x3548da,_0x557428={}){const _0xeffa3a=a97_0x44d0bb,_0xac66af={};_0xac66af['RGRGq']=function(_0x31263a,_0xe1320){return _0x31263a===_0xe1320;},_0xac66af[_0xeffa3a(0xb2)]=function(_0x2f2c2d,_0x5824c0){return _0x2f2c2d===_0x5824c0;};const _0x42c98b=_0xac66af;let _0x1f78ee=null;return(_0x42c98b['RGRGq'](_0x1aed6a,AutomationFrameworkState['CREATE'])&&_0x42c98b['TtOpa'](_0x3548da,HookState[_0xeffa3a(0xa9)])||_0x42c98b[_0xeffa3a(0xb2)](_0x1aed6a,AutomationFrameworkState['NONE']))&&this['trackPuppeteerInstance'](_0x1aed6a,_0x557428),_0x1f78ee=AutomationFramework[_0xeffa3a(0x97)](),_0x1f78ee;}[a97_0x44d0bb(0xab)](_0x42a512,_0x434e7f){const _0x5df5ce=a97_0x44d0bb,_0x55c1a5={};_0x55c1a5['Giirs']=_0x5df5ce(0x99);const _0x8fc044=_0x55c1a5;if(AutomationFramework[_0x5df5ce(0x97)]()){this[_0x5df5ce(0xad)]['info'](_0x8fc044[_0x5df5ce(0xa5)]);return;}const _0x8e2e0b=CLIUtils[_0x5df5ce(0x96)](),_0x514574=TrackedInstance['createContext'](_0x8e2e0b);let _0x3b7a83=null;this[_0x5df5ce(0xad)]['info']('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0x8e2e0b+_0x5df5ce(0xae)+_0x42a512),_0x3b7a83=new AutomationFrameworkInstance(_0x514574,this['getAutomationFrameworkName'](),this['getAutomationFrameworkVersion'](),_0x42a512),AutomationFramework[_0x5df5ce(0xac)](_0x514574,_0x3b7a83),this['logger']['info'](_0x5df5ce(0x9a)+_0x514574[_0x5df5ce(0x95)]()+_0x5df5ce(0xa6)+_0x8e2e0b);}}function a97_0xaf56(_0x29afb5,_0xbc9d08){const _0x5519ff=a97_0x5519();return a97_0xaf56=function(_0xaf56a6,_0x246814){_0xaf56a6=_0xaf56a6-0x94;let _0x3065e5=_0x5519ff[_0xaf56a6];return _0x3065e5;},a97_0xaf56(_0x29afb5,_0xbc9d08);}module[a97_0x44d0bb(0xa7)]=PuppeteerAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a98_0x77d007=a98_0x19d4;(function(_0x4d1c80,_0x5c1642){const _0x2789c5=a98_0x19d4,_0x17460c=_0x4d1c80();while(!![]){try{const _0x5acf35=-parseInt(_0x2789c5(0x7e))/0x1+parseInt(_0x2789c5(0x73))/0x2+parseInt(_0x2789c5(0x8e))/0x3*(-parseInt(_0x2789c5(0x97))/0x4)+-parseInt(_0x2789c5(0x7b))/0x5+-parseInt(_0x2789c5(0x7f))/0x6*(-parseInt(_0x2789c5(0x7d))/0x7)+parseInt(_0x2789c5(0x94))/0x8*(-parseInt(_0x2789c5(0x89))/0x9)+-parseInt(_0x2789c5(0x9b))/0xa*(-parseInt(_0x2789c5(0x9c))/0xb);if(_0x5acf35===_0x5c1642)break;else _0x17460c['push'](_0x17460c['shift']());}catch(_0x3b5342){_0x17460c['push'](_0x17460c['shift']());}}}(a98_0x1e03,0xe0257));const CLIUtils=require('../cliUtils'),eventDispatcher=require(a98_0x77d007(0x8d)),TestFrameworkInstance=require(a98_0x77d007(0x77)),TrackedContext=require(a98_0x77d007(0x76)),TestFrameworkState=require(a98_0x77d007(0x92)),HookState=require(a98_0x77d007(0x90)),{createClassLogger}=require(a98_0x77d007(0x95)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger('TestFramework');!global[a98_0x77d007(0x78)]&&(global['__bstack_test_framework_instances__']=new Map());class TestFramework{static get[a98_0x77d007(0x81)](){const _0xa31f76=a98_0x77d007;return global[_0xa31f76(0x78)];}[a98_0x77d007(0x74)]=[];[a98_0x77d007(0x8a)]={};['binSessionId']=null;constructor(_0x885ee6,_0x4c1c11,_0x31b6ff){const _0x35666f=a98_0x77d007;this[_0x35666f(0x74)]=_0x885ee6,this[_0x35666f(0x8a)]=_0x4c1c11,this['binSessionId']=_0x31b6ff;}[a98_0x77d007(0x9a)](){const _0x5389c1=a98_0x77d007;return TestFramework[_0x5389c1(0x81)];}[a98_0x77d007(0x99)](_0x19b629,_0xb43e7f){const _0xe90b28=a98_0x77d007;TestFramework[_0xe90b28(0x81)][_0xe90b28(0x91)](_0x19b629[_0xe90b28(0x72)],_0xb43e7f);}static[a98_0x77d007(0x84)](){const _0x3b3f3b=a98_0x77d007,_0x412a99=TrackedInstance[_0x3b3f3b(0x83)](CLIUtils[_0x3b3f3b(0x7c)]());return TestFramework[_0x3b3f3b(0x81)][_0x3b3f3b(0x80)](_0x412a99[_0x3b3f3b(0x72)]());}static[a98_0x77d007(0x8f)](_0x4b8bf7,_0x4f57a6){const _0x4ba730=a98_0x77d007;TestFramework['instances'][_0x4ba730(0x91)](_0x4b8bf7['getId'](),_0x4f57a6);}[a98_0x77d007(0x8b)](){const _0x39b9a3=a98_0x77d007;return this[_0x39b9a3(0x8a)];}['getTestFrameworks'](){const _0x1dc547=a98_0x77d007;return this[_0x1dc547(0x74)];}[a98_0x77d007(0x98)](_0x14dc57,_0x5213d1,_0x2a6250={}){const _0x3f6802=a98_0x77d007;logger[_0x3f6802(0x96)](_0x3f6802(0x87)+_0x14dc57+_0x3f6802(0x7a)+_0x5213d1);}async[a98_0x77d007(0x86)](_0x2f9032,_0x4fae25,_0x359976,_0x5ddf2e={}){const _0x4a5bc6=a98_0x77d007,_0x3d853=CLIUtils['getHookRegistryKey'](_0x4fae25,_0x359976);_0x2f9032['setCurrentTestState'](_0x4fae25),_0x2f9032[_0x4a5bc6(0x8c)](_0x359976),await eventDispatcher[_0x4a5bc6(0x88)](_0x3d853,_0x5ddf2e);}static[a98_0x77d007(0x93)](_0x1fe998,_0x2a9cd7,_0x2435bb){const _0x570a7b=a98_0x77d007;eventDispatcher[_0x570a7b(0x93)](CLIUtils['getHookRegistryKey'](_0x1fe998,_0x2a9cd7),_0x2435bb);}static['getState'](_0x1e329a,_0x3a19f0){const _0x36ff23=a98_0x77d007;return _0x1e329a[_0x36ff23(0x85)]()[_0x36ff23(0x80)](_0x3a19f0);}static[a98_0x77d007(0x82)](_0x58435d,_0x522271,_0x5c92ca){const _0x463eca=a98_0x77d007;_0x58435d[_0x463eca(0x85)]()['set'](_0x522271,_0x5c92ca);}static['hasState'](_0x2b8b36,_0x2596d3){const _0x563801=a98_0x77d007;return _0x2b8b36[_0x563801(0x85)]()[_0x563801(0x75)](_0x2596d3);}}function a98_0x1e03(){const _0x1582f7=['testFrameworkVersions','getTestFrameworksVersions','setCurrentHookState','../eventDispatcher','13683YvzxfO','setTrackedInstance','../state/hookState','set','../state/testFrameworkState','registerObserver','40otaiNR','../../../helpers/classLogger','debug','1588LrncSD','trackEvent','setInstance','getInstances','3289220KwhKNr','99buCohS','getId','2646118xfgoPV','testFrameworks','has','../instances/trackedContext','../instances/testFrameworkInstance','__bstack_test_framework_instances__','exports',';\x20hookState=','4899340BgRAoJ','getCurrentInstanceName','10166709czwoob','1347111ykBkBP','6XwvxrG','get','instances','setState','createContext','getTrackedInstance','getAllData','runHooks','trackEvent:\x20testFrameworkState=','notifyObserver','1223901WwfXLg'];a98_0x1e03=function(){return _0x1582f7;};return a98_0x1e03();}function a98_0x19d4(_0x170e36,_0x601fb){const _0x1e03d7=a98_0x1e03();return a98_0x19d4=function(_0x19d4a8,_0x4e77b7){_0x19d4a8=_0x19d4a8-0x72;let _0x57b724=_0x1e03d7[_0x19d4a8];return _0x57b724;},a98_0x19d4(_0x170e36,_0x601fb);}module[a98_0x77d007(0x79)]=TestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a99_0xb23963=a99_0x155c;function a99_0x155c(_0x32b5b4,_0x4ff9f5){const _0xf44aef=a99_0xf44a();return a99_0x155c=function(_0x155c62,_0xd55cde){_0x155c62=_0x155c62-0x12d;let _0x1307e4=_0xf44aef[_0x155c62];return _0x1307e4;},a99_0x155c(_0x32b5b4,_0x4ff9f5);}(function(_0x50373a,_0x1d5504){const _0x4c54f6=a99_0x155c,_0x562dc4=_0x50373a();while(!![]){try{const _0x1d6bcf=-parseInt(_0x4c54f6(0x152))/0x1*(parseInt(_0x4c54f6(0x136))/0x2)+parseInt(_0x4c54f6(0x15e))/0x3*(-parseInt(_0x4c54f6(0x13e))/0x4)+parseInt(_0x4c54f6(0x151))/0x5*(-parseInt(_0x4c54f6(0x130))/0x6)+parseInt(_0x4c54f6(0x15f))/0x7*(-parseInt(_0x4c54f6(0x144))/0x8)+parseInt(_0x4c54f6(0x13a))/0x9*(-parseInt(_0x4c54f6(0x139))/0xa)+parseInt(_0x4c54f6(0x158))/0xb*(parseInt(_0x4c54f6(0x159))/0xc)+parseInt(_0x4c54f6(0x13f))/0xd*(parseInt(_0x4c54f6(0x14c))/0xe);if(_0x1d6bcf===_0x1d5504)break;else _0x562dc4['push'](_0x562dc4['shift']());}catch(_0x3f5368){_0x562dc4['push'](_0x562dc4['shift']());}}}(a99_0xf44a,0x2b80e));function a99_0xf44a(){const _0x114ff2=['162kcKzQc','\x20→\x20','\x20hookState=','getTrackedInstance','464JJXqqR','3016DNdkIc','instances','debug','CREATE','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','3104INrigl','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','../instances/trackedInstance.js','runHooks','get','\x22\x20platformIndex=','LzGBn','string','51842rUtIHm','userAgent','uAJjK','removeInstance','xGCvt','5BDKKsQ','1kErsHX','exports','instance','../state/automationFrameworkState.js','TestCafeAutomationFramework','./automationFramework.js','300861ByAeUo','108IIOdCd','slice','entries','length','testcafe:','2580AgfGZH','5621LjbJfr','../../../helpers/classLogger.js','pXzPK','ukjrk','529422mOFNCN','resolveInstance','lRVtM','FZric','trackEvent','getAutomationFrameworkName','200276xFjcLo','platformIndex','getAutomationFrameworkVersion','181870KYvQPE'];a99_0xf44a=function(){return _0x114ff2;};return a99_0xf44a();}const AutomationFramework=require(a99_0xb23963(0x157)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js'),AutomationFrameworkState=require(a99_0xb23963(0x155)),TrackedInstance=require(a99_0xb23963(0x146)),{createClassLogger}=require(a99_0xb23963(0x12d)),logger=createClassLogger(a99_0xb23963(0x156));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x3cec65,_0x43aa5d){super(_0x3cec65,_0x43aa5d);}async['trackEvent'](_0x3d70b7,_0x46c4a2,_0x217a3a={}){const _0x4007e3=a99_0xb23963;await super[_0x4007e3(0x134)](_0x3d70b7,_0x46c4a2,_0x217a3a);const _0x1e81b7=this[_0x4007e3(0x131)](_0x3d70b7,_0x46c4a2,_0x217a3a);if(!_0x1e81b7){logger[_0x4007e3(0x141)]('trackEvent:\x20no\x20instance\x20for\x20state='+_0x3d70b7+_0x4007e3(0x13c)+_0x46c4a2);return;}_0x217a3a[_0x4007e3(0x154)]=_0x1e81b7,await this[_0x4007e3(0x147)](_0x1e81b7,_0x3d70b7,_0x46c4a2,_0x217a3a);}[a99_0xb23963(0x131)](_0x32a892,_0x1ca0cf,_0x2e5a06={}){const _0x13fb92=a99_0xb23963,_0x3c2086={};_0x3c2086[_0x13fb92(0x133)]=_0x13fb92(0x143),_0x3c2086[_0x13fb92(0x12f)]=function(_0xa34a2,_0x403339){return _0xa34a2===_0x403339;},_0x3c2086[_0x13fb92(0x150)]=function(_0xa4c949,_0x33e7fc){return _0xa4c949||_0x33e7fc;};const _0x58b434=_0x3c2086,_0xb6d1f=_0x2e5a06[_0x13fb92(0x14d)]||null;if(!_0xb6d1f)return logger['warn'](_0x58b434[_0x13fb92(0x133)]),AutomationFramework[_0x13fb92(0x13d)]();const _0x4e7d1f=Number['isInteger'](_0x2e5a06[_0x13fb92(0x137)])?_0x2e5a06['platformIndex']:0x0,_0x55cdd3='testcafe:'+_0xb6d1f+'#'+_0x4e7d1f;let _0x45b970=AutomationFramework[_0x13fb92(0x140)]['get'](_0x55cdd3);if(!_0x45b970&&(_0x58b434[_0x13fb92(0x12f)](_0x32a892,AutomationFrameworkState[_0x13fb92(0x142)])||_0x58b434[_0x13fb92(0x12f)](_0x32a892,AutomationFrameworkState['NONE']))){const _0x5c0d52=TrackedInstance['createContext'](_0x55cdd3);_0x45b970=new AutomationFrameworkInstance(_0x5c0d52,this[_0x13fb92(0x135)](),this[_0x13fb92(0x138)](),_0x32a892),AutomationFramework[_0x13fb92(0x140)]['set'](_0x55cdd3,_0x45b970),logger['info'](_0x13fb92(0x145)+_0xb6d1f+_0x13fb92(0x149)+_0x4e7d1f+_0x13fb92(0x13b)+_0x55cdd3);}return _0x58b434[_0x13fb92(0x150)](_0x45b970,null);}static[a99_0xb23963(0x14f)](_0x3eec96,_0x2685b7=0x0){const _0x174687=a99_0xb23963,_0x3b0579=_0x174687(0x15d)+_0x3eec96+'#'+_0x2685b7;return AutomationFramework[_0x174687(0x140)]['delete'](_0x3b0579);}static['getInstanceByUserAgent'](_0x49c040,_0x39d106=0x0){const _0x5a0d67=a99_0xb23963;return AutomationFramework['instances'][_0x5a0d67(0x148)]('testcafe:'+_0x49c040+'#'+_0x39d106)||null;}static*['iterAllInstances'](){const _0x52f477=a99_0xb23963,_0x28fdd9={};_0x28fdd9[_0x52f477(0x14a)]=function(_0x39f199,_0x200a14){return _0x39f199===_0x200a14;},_0x28fdd9[_0x52f477(0x132)]=_0x52f477(0x14b),_0x28fdd9[_0x52f477(0x12e)]=_0x52f477(0x15d),_0x28fdd9[_0x52f477(0x14e)]=function(_0x273aef,_0x35a657){return _0x273aef+_0x35a657;};const _0x4d4210=_0x28fdd9;for(const [_0x22c92c,_0x197be0]of AutomationFramework[_0x52f477(0x140)][_0x52f477(0x15b)]()){if(_0x4d4210['LzGBn'](typeof _0x22c92c,_0x4d4210[_0x52f477(0x132)])&&_0x22c92c['startsWith'](_0x4d4210[_0x52f477(0x12e)])){const _0x914364=_0x22c92c[_0x52f477(0x15a)](_0x4d4210['pXzPK'][_0x52f477(0x15c)]),_0x550c50=_0x914364['lastIndexOf']('#');if(_0x4d4210[_0x52f477(0x14a)](_0x550c50,-0x1)){const _0x4c3025={};_0x4c3025[_0x52f477(0x14d)]=_0x914364,_0x4c3025[_0x52f477(0x137)]=0x0,_0x4c3025[_0x52f477(0x154)]=_0x197be0,yield _0x4c3025;}else{const _0x151145=_0x914364[_0x52f477(0x15a)](0x0,_0x550c50),_0x43f671=Number['parseInt'](_0x914364[_0x52f477(0x15a)](_0x4d4210[_0x52f477(0x14e)](_0x550c50,0x1)),0xa)||0x0,_0x9b358f={};_0x9b358f[_0x52f477(0x14d)]=_0x151145,_0x9b358f['platformIndex']=_0x43f671,_0x9b358f[_0x52f477(0x154)]=_0x197be0,yield _0x9b358f;}}}}}module[a99_0xb23963(0x153)]=TestCafeAutomationFramework;
|