browserstack-node-sdk 1.57.2 → 1.58.0
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_pb.d.ts +376 -36
- package/generated/sdk-messages_pb.js +2955 -279
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +51 -0
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -0
- package/src/bin/jasmine/command.js +2 -0
- package/src/bin/jasmine/test.setup.js +1 -0
- package/src/bin/jasmine/testRunMap.js +1 -0
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -0
- package/src/bin/testcafe/command.js +2 -0
- package/src/bin/testcafe/reporter/index.js +1 -0
- package/src/bin/testcafe/reporter/tcUtils.js +1 -0
- package/src/bin/testcafe/session-registry.js +1 -0
- package/src/bin/testcafe/stdout-interceptor.js +1 -0
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -0
- package/src/bin/testcafe/w3c-driver.js +1 -0
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -0
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -0
- 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 -0
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a82_0x45af65=a82_0x4ace;function a82_0x4ace(_0x5a04cf,_0x44bca2){const _0x3f90ac=a82_0x3f90();return a82_0x4ace=function(_0x4ace26,_0x3b5f5a){_0x4ace26=_0x4ace26-0x1f1;let _0xc8beec=_0x3f90ac[_0x4ace26];return _0xc8beec;},a82_0x4ace(_0x5a04cf,_0x44bca2);}(function(_0x484b06,_0x3fd68){const _0x500295=a82_0x4ace,_0x16abcf=_0x484b06();while(!![]){try{const _0x52c4df=-parseInt(_0x500295(0x205))/0x1*(-parseInt(_0x500295(0x27e))/0x2)+parseInt(_0x500295(0x23d))/0x3*(parseInt(_0x500295(0x27a))/0x4)+-parseInt(_0x500295(0x2ac))/0x5*(parseInt(_0x500295(0x2dd))/0x6)+parseInt(_0x500295(0x216))/0x7*(parseInt(_0x500295(0x285))/0x8)+parseInt(_0x500295(0x242))/0x9*(-parseInt(_0x500295(0x231))/0xa)+parseInt(_0x500295(0x263))/0xb+-parseInt(_0x500295(0x271))/0xc*(parseInt(_0x500295(0x217))/0xd);if(_0x52c4df===_0x3fd68)break;else _0x16abcf['push'](_0x16abcf['shift']());}catch(_0x412529){_0x16abcf['push'](_0x16abcf['shift']());}}}(a82_0x3f90,0xb703c));const TestFramework=require(a82_0x45af65(0x297)),TestFrameworkState=require(a82_0x45af65(0x2d5)),HookState=require(a82_0x45af65(0x28c)),{createClassLogger}=require(a82_0x45af65(0x210)),TestFrameworkInstance=require(a82_0x45af65(0x237)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a82_0x45af65(0x207)),TestFrameworkConstants=require(a82_0x45af65(0x2e0)),logger=createClassLogger(a82_0x45af65(0x20d)),{v4:uuidv4}=require(a82_0x45af65(0x1fc)),util=require(a82_0x45af65(0x2d8)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a82_0x45af65(0x2fd)),TestInfo=require(a82_0x45af65(0x296)),GrpcClient=require(a82_0x45af65(0x2f8)),{removeAnsiColors,getFailureType,failureData}=require(a82_0x45af65(0x2b4)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a82_0x45af65(0x240)),path=require(a82_0x45af65(0x2a9)),fs=require('fs'),helper=require(a82_0x45af65(0x243)),{PLAYWRIGHT_TRACE_LOGS}=require(a82_0x45af65(0x236)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a82_0x45af65(0x27c),a82_0x45af65(0x2ee),a82_0x45af65(0x2b0),'fail']);function a82_0x3f90(){const _0x201cce=['duration','util','XRrrn','KEY_TEST_NAME','pahch','ceil','6MBEVGf','title','stack','./constants/testFrameworkConstants.js',',\x20state=','failure','KEY_TEST_STARTED_AT','stringify','runHooks','DEFAULT_TEST_RESULT','getInstance','FzyUf','getProcessId','KEY_TEST_RESULT_AT','TEST','GPiqq','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','fixme','trackStepEvent:\x20exception=','format','\x20&\x20hook\x20=\x20','hookState','slice','\x20instanceId=','testFrameworkName','split','createTestFrameworkEventPayload','../grpcClient','err','\x20batch\x20','status','lQFzB','../../../helpers/helper.js','hYErq','\x20testHookState=','concat','PXYhh','htmpU','GTbZV','drrBh','getContext','KEY_EVENT_ENDED_AT','sMhVh','length','sendLogCreatedEvent','Clqyt','Error\x20in\x20createTestFrameworkEventPayload:\x20','started_at','tRdHQ','mzxlo','KEY_HOOK_LAST_FINISHED','parsePlaywrightTestResult','uuid','parallelIndex','KEY_HOOK_RESULT','parent_id','createTestFrameworkEventPayload\x20testId:\x20','browserstackPlatformIndex','timedOut','\x20and\x20args\x20=\x20','getId','1zNXHNl','yNeFs','../instances/trackedInstance.js','hfcnW','KEY_TEST_ENDED_AT','eventJson','text','failure_type','PlaywrightTestFramework','exports','mVbqF','../../../helpers/classLogger.js','pWqZs','aXPtG','trim','Error\x20processing\x20trace\x20file\x20','KEY_CUSTOM_TAGS','28jOolxM','10957687GviRid','nymEN','jaVua','KEY_TEST_FAILURE_TYPE','KEY_HOOK_FAILURE_TYPE','trackHookEvent','annotations','KEY_HOOK_NAME','iIpAx','get','base64','message','testFrameworkVersion','KEY_TEST_FRAMEWORK_VERSION','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_CODE','Hook\x20List\x20in\x20Post\x20','getRef','KEY_TEST_UUID','expectedStatus','HlyYD','debug','zaZsP','getTestFrameworksVersions','zNpkD','pZWnN','100gcZtmC','createContext','IuEwo','testFrameworkState','KEY_TEST_SCOPES','../../utils/constants','../instances/testFrameworkInstance.js','failed','getThreadId','FRLEA','trackEvent:\x20found\x20instance,\x20testFrameworkState=','errors','260907FflOPt','KEY_HOOK_ID','KEY_TEST_ATTACHMENTS','../../playwright/reporter/pwUtils','endedAt','84438ktXEhm','../../../../src/helpers/helper','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_FAILURE_REASON','error',',\x20testFrameworkState=','zUVRt','resolveInstance','steps','btfBu','muDyV','qkAcT','\x20instance=','KEY_HOOKS_FINISHED','KEY_TEST_LOGS','keyword','KEY_TEST_FAILURE_REASON','zwYhS','uphxQ','Error\x20processing\x20direct\x20trace\x20file\x20','some','DLyXX','trackStepEvent','VIEkz','startedAt','platformIndex','results','QpEPA','kOHdb','LzUdP','\x20hookState=','filter','sendLogCreatedEvent:\x20testId=','8347867UqtaLJ','ogDuU','getCurrentInstanceName','toString','skipped','retry','getTrackedInstance','nXogo','setTestDetails','basename','orIFU','trackPlaywrightInstance','DEFAULT_HOOK_RESULT','KEY_LOGS','24rurXdV','passed','vVIUq','step','getAllData','KEY_AUTOMATE_SESSION_NAME','EiUwo','EUhzv','KEY_TEST_RETRY_OF','36gYSFJA','filePath','skip','Tsocn','1329446fdSwTK','vcMnB','BYGRx','KEY_TEST_TAGS','JShTu','\x20payload=','ojnzG','2278648XvPPkJ','hook','getTestDetails','attachments','Expected\x20to\x20fail,\x20but\x20passed.','TEST_STEP','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','../state/hookState.js','getCurrentTestState','KEY_TEST_FILE_PATH','KEY_TEST_LOCATION','getTestIdentifierFromTestInfo','cfbSM','getCurrentHookState','MpZhr','cDFDD','KazBj','../TestInfo.js','./testFramework','TEST_SCREENSHOT','getTestUUID','logs','result','instance','mfKEi','RDQbv','statSync','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','cCTPR','matchHookRegex','No\x20reason\x20provided','Error\x20in\x20sendLogCreatedEvent:\x20','GEHnO','miTCg','KEY_HOOK_LAST_STARTED','path','executionContext','startTime','4082095AJvqzT','PRE','NONE','info','slow','addMultipleEntries','KCEjD','inspect','../../../helpers/test-observability/utils','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','trackStepEvent:\x20testId=','push','mTtaU','KEY_TEST_RERUN_NAME','gwiAv','KEY_TEST_RESULT','POST','size','KEY_HOOKS_STARTED','toISOString','\x20testState:\x20','../customTagManager','pop','\x20target=','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','parsePlaywrightTest','logCreatedEvent','lZVib','set','jlqYB','nRsWS','parseCommaSeparatedValues','zpRUt','KEY_HOOK_FAILURE','XVZjd','efhmF','getTime','\x20step=\x22','test','ETeZp','ENjPO','../state/testFrameworkState.js','description'];a82_0x3f90=function(){return _0x201cce;};return a82_0x3f90();}class PlaywrightTestFramework extends TestFramework{constructor(_0x1d1f29,_0x3891be,_0x414e78){super(_0x1d1f29,_0x3891be,_0x414e78);}async['trackEvent'](_0x3f4d92,_0x1084b9,_0x38e9fe={}){const _0x4b1b30=a82_0x45af65,_0x851b62={'ogDuU':function(_0x59e632,_0x1d20c6){return _0x59e632===_0x1d20c6;},'nymEN':function(_0x50e596,_0x3af75d){return _0x50e596===_0x3af75d;},'aSsdT':function(_0x28cf7e,_0x174199){return _0x28cf7e===_0x174199;},'qUFyr':function(_0x3ae133,_0x207504,_0x3c58d4){return _0x3ae133(_0x207504,_0x3c58d4);},'KazBj':function(_0x343032,_0x53f692,_0x54b9cf){return _0x343032(_0x53f692,_0x54b9cf);},'hfcnW':function(_0x31f707,_0x3b5e53,_0x1ab4b7,_0x49dc24){return _0x31f707(_0x3b5e53,_0x1ab4b7,_0x49dc24);},'efhmF':_0x4b1b30(0x2d2),'EUhzv':_0x4b1b30(0x28b)};super['trackEvent'](_0x3f4d92,_0x1084b9,_0x38e9fe);if(_0x851b62['ogDuU'](_0x3f4d92,TestFrameworkState[_0x4b1b30(0x298)])){const _0x123bf2=TestInfo[_0x4b1b30(0x290)](_0x38e9fe[_0x4b1b30(0x2d2)],_0x38e9fe['test']['retry']);TestInfo[_0x4b1b30(0x26b)](_0x123bf2,_0x38e9fe[_0x4b1b30(0x29b)],!![]);}if(_0x851b62['nymEN'](_0x3f4d92,TestFrameworkState[_0x4b1b30(0x28a)])){this[_0x4b1b30(0x258)](_0x3f4d92,_0x1084b9,_0x38e9fe);return;}const _0x12586d=this['resolveInstance'](_0x3f4d92,_0x1084b9,_0x38e9fe);if(!_0x12586d)return;logger['debug'](_0x4b1b30(0x23b)+_0x3f4d92+_0x4b1b30(0x260)+_0x1084b9+_0x4b1b30(0x2f4)+_0x12586d[_0x4b1b30(0x228)]());try{if(_0x851b62['aSsdT'](_0x1084b9,HookState[_0x4b1b30(0x2ad)])&&_0x851b62[_0x4b1b30(0x218)](_0x3f4d92,TestFrameworkState[_0x4b1b30(0x2eb)])){const _0x4aceae=_0x38e9fe[_0x4b1b30(0x2d2)];logger['debug'](_0x4b1b30(0x2a0)+_0x4aceae['id']+'}');const _0x34ab1f=TestInfo[_0x4b1b30(0x299)](_0x851b62['qUFyr'](getTestRunIdentifier,_0x4aceae,_0x38e9fe[_0x4b1b30(0x29b)]['retry']));_0x12586d[_0x4b1b30(0x2b1)](this['parsePlaywrightTest'](_0x34ab1f,_0x4aceae,_0x38e9fe['result'])),logger[_0x4b1b30(0x22c)](_0x4b1b30(0x2a1)+_0x4aceae['id']+_0x4b1b30(0x247)+_0x3f4d92+_0x4b1b30(0x2ff)+_0x1084b9+_0x4b1b30(0x24e)+_0x12586d[_0x4b1b30(0x228)]());}if(_0x851b62[_0x4b1b30(0x264)](_0x1084b9,HookState[_0x4b1b30(0x2bc)])&&_0x851b62[_0x4b1b30(0x218)](_0x3f4d92,TestFrameworkState[_0x4b1b30(0x2eb)])){const _0x59deb0=_0x38e9fe['test'],_0xe1698=_0x38e9fe[_0x4b1b30(0x29b)];logger[_0x4b1b30(0x22c)](_0x4b1b30(0x2c4)+_0x59deb0['id']);const _0x11d04e=_0x851b62[_0x4b1b30(0x295)](getTestRunIdentifier,_0x59deb0,_0xe1698[_0x4b1b30(0x268)]),_0x3e45f9=_0x12586d[_0x4b1b30(0x275)]()['get'](_0x11d04e)[TestFrameworkConstants[_0x4b1b30(0x229)]],{steps:_0x416a97,logs:_0x4c4e24}=_0x851b62[_0x4b1b30(0x208)](getStepsAndLogs,_0xe1698[_0x4b1b30(0x24a)],_0x3e45f9,_0x851b62[_0x4b1b30(0x2cf)]);_0x12586d[_0x4b1b30(0x2b1)](this[_0x4b1b30(0x1fb)](_0x59deb0['id'],_0xe1698,_0x59deb0,_0x416a97)),await this[_0x4b1b30(0x1f4)](_0x12586d,_0x3f4d92,_0x1084b9,_0x851b62[_0x4b1b30(0x2cf)],_0x38e9fe,_0x4c4e24);}if(CLIUtils[_0x4b1b30(0x2a3)](_0x3f4d92[_0x4b1b30(0x266)]()['split']('.')[0x1])){const _0x5e0d9a=await this['trackHookEvent'](_0x12586d,_0x3f4d92,_0x1084b9,_0x38e9fe);_0x12586d[_0x4b1b30(0x2b1)](_0x5e0d9a);}}catch(_0x2d7ddf){logger[_0x4b1b30(0x246)](util[_0x4b1b30(0x2f0)](_0x851b62[_0x4b1b30(0x278)],_0x3f4d92,_0x1084b9,_0x38e9fe[_0x4b1b30(0x1f3)],_0x2d7ddf));}_0x38e9fe['instance']=_0x12586d,await this[_0x4b1b30(0x2e5)](_0x12586d,_0x3f4d92,_0x1084b9,_0x38e9fe);}[a82_0x45af65(0x249)](_0x44528d,_0x42e16c,_0x4e6b2f={}){const _0x28dce1=a82_0x45af65,_0x61e469={};_0x61e469[_0x28dce1(0x1f2)]=function(_0x51c2f5,_0x27a876){return _0x51c2f5===_0x27a876;},_0x61e469[_0x28dce1(0x304)]=function(_0x26f355,_0x1e49f8){return _0x26f355===_0x1e49f8;};const _0x233a80=_0x61e469;let _0x3e825d=null;return(_0x233a80[_0x28dce1(0x1f2)](_0x44528d,TestFrameworkState['INIT_TEST'])||_0x233a80['drrBh'](_0x44528d,TestFrameworkState[_0x28dce1(0x2ae)]))&&this[_0x28dce1(0x26e)](_0x44528d,_0x4e6b2f),_0x3e825d=TestFramework[_0x28dce1(0x269)](),_0x3e825d;}[a82_0x45af65(0x26e)](_0x2949ce,_0x399fd0){const _0x350f03=a82_0x45af65,_0x2a416e=CLIUtils[_0x350f03(0x265)](),_0x387865=TrackedInstance[_0x350f03(0x232)](_0x2a416e);let _0x3c57b0=null;logger[_0x350f03(0x2af)](_0x350f03(0x2ed)+_0x2a416e+_0x350f03(0x2e1)+_0x2949ce),_0x3c57b0=new TestFrameworkInstance(_0x387865,this['getTestFrameworks'](),this[_0x350f03(0x22e)](),_0x2949ce,HookState[_0x350f03(0x2ae)]),TestFramework['setTrackedInstance'](_0x387865,_0x3c57b0),logger[_0x350f03(0x2af)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x387865[_0x350f03(0x204)]()+_0x350f03(0x2c3)+_0x2a416e);}[a82_0x45af65(0x2c5)](_0x4f65d3,_0x2e0153,_0xbf93f8){const _0x5e8cf6=a82_0x45af65,_0x4d244b={'Mquxy':function(_0x5b471c,_0x3bb8be){return _0x5b471c(_0x3bb8be);},'pZWnN':function(_0xa1c25a,_0x536f94){return _0xa1c25a(_0x536f94);},'AZWDd':function(_0xd312e5,_0x8af1ad){return _0xd312e5(_0x8af1ad);},'lZVib':function(_0x4e175d,_0xa7ccf3){return _0x4e175d(_0xa7ccf3);},'ssnIT':function(_0x1107d5,_0x134e8f){return _0x1107d5(_0x134e8f);},'lQFzB':function(_0x2001e4,_0x49277f){return _0x2001e4(_0x49277f);},'zwYhS':function(_0x503c09,_0x570f80){return _0x503c09(_0x570f80);},'qZxjS':function(_0x46e81a,_0x3a423f,_0x8dc12b){return _0x46e81a(_0x3a423f,_0x8dc12b);},'IuEwo':function(_0x168041,_0x1778ff){return _0x168041(_0x1778ff);}},_0xbdb7fd=_0x4d244b['Mquxy'](getPlaywrightTestId,_0x2e0153),_0x4b22e0=_0x4d244b['pZWnN'](getPlaywrightTestTitle,_0x2e0153),_0x1f57c0=_0x4d244b[_0x5e8cf6(0x230)](getTestTags,_0x2e0153),_0x47aea3=_0x4d244b['AZWDd'](getPlaywrightTestCode,_0x2e0153),_0x4e014b=_0x4d244b[_0x5e8cf6(0x2c7)](getPlaywrightTestFilePath,_0x2e0153),_0x24b348=_0x4e014b,_0x2cffec=_0x4d244b['ssnIT'](getPlaywrightTestScope,_0x2e0153),_0x507c78=_0x4d244b[_0x5e8cf6(0x2fc)](getPlaywrightTestScopes,_0x2e0153),_0x3e27c9=_0x4d244b[_0x5e8cf6(0x253)](getPlaywrightSessionName,_0x2e0153),_0x1ededb=this['getTestFrameworks']()[0x0],_0x331ba1=_0x4d244b['qZxjS'](getTestRunIdentifier,_0x2e0153,_0xbf93f8['retry']),_0x2c4065={[TestFrameworkConstants[_0x5e8cf6(0x244)]]:_0x1ededb,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x5e8cf6(0x22e)]()[_0x1ededb],[TestFrameworkConstants[_0x5e8cf6(0x250)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x5e8cf6(0x2be)]]:{},[TestFrameworkConstants[_0x5e8cf6(0x229)]]:_0x4f65d3,[TestFrameworkConstants[_0x5e8cf6(0x2bb)]]:TestFrameworkConstants[_0x5e8cf6(0x2e6)],[TestFrameworkConstants[_0x5e8cf6(0x276)]]:_0x3e27c9,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4e014b,[TestFrameworkConstants['KEY_TEST_ID']]:_0xbdb7fd,[TestFrameworkConstants[_0x5e8cf6(0x2da)]]:_0x4b22e0,[TestFrameworkConstants[_0x5e8cf6(0x28f)]]:_0x24b348,[TestFrameworkConstants[_0x5e8cf6(0x226)]]:_0x47aea3,[TestFrameworkConstants[_0x5e8cf6(0x281)]]:_0x1f57c0,[TestFrameworkConstants[_0x5e8cf6(0x2e3)]]:_0x2e0153[_0x5e8cf6(0x25c)][0x0][_0x5e8cf6(0x2ab)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x2cffec,[TestFrameworkConstants[_0x5e8cf6(0x235)]]:_0x507c78,[TestFrameworkConstants[_0x5e8cf6(0x2b9)]]:_0x4d244b[_0x5e8cf6(0x233)](getPlaywrightCustomRerunParam,_0x2e0153)};TestInfo['setTestDetails'](_0x331ba1,_0x2c4065);const _0x213890={};return _0x213890[_0x331ba1]=_0x2c4065,_0x213890;}['parsePlaywrightTestResult'](_0x27b007,_0x5e6076,_0x51c0b5,_0x46a7f7){const _0x26f514=a82_0x45af65,_0x19f5fd={'pahch':function(_0x2581bf,_0x2dd9f8){return _0x2581bf(_0x2dd9f8);},'hCSRJ':'TEST_ATTACHMENT','orIFU':function(_0x5cab2c,_0x2febdb){return _0x5cab2c===_0x2febdb;},'tRdHQ':function(_0xfab09e,_0x36b336){return _0xfab09e===_0x36b336;},'ojnzG':_0x26f514(0x2a4),'mTtaU':function(_0x1af64c,_0x1ed0b5,_0x4bf6fa){return _0x1af64c(_0x1ed0b5,_0x4bf6fa);},'yNeFs':function(_0x469eee,_0x64329a){return _0x469eee===_0x64329a;},'GmaYJ':function(_0x459567,_0x142942){return _0x459567===_0x142942;},'QpEPA':_0x26f514(0x267),'zaZsP':_0x26f514(0x272),'nRsWS':function(_0x1856e2,_0x36539b){return _0x1856e2===_0x36539b;},'MpZhr':_0x26f514(0x238),'cCTPR':_0x26f514(0x202),'HlyYD':function(_0xd4413e,_0x32ed62){return _0xd4413e===_0x32ed62;},'jlqYB':_0x26f514(0x289),'zNpkD':function(_0x3521c1,_0x50e1c7){return _0x3521c1||_0x50e1c7;},'tOfkc':function(_0x570ae3,_0x5d1c76){return _0x570ae3(_0x5d1c76);},'FRLEA':function(_0x36cd7b,_0x4e2171){return _0x36cd7b>_0x4e2171;},'jaVua':function(_0x27b51e,_0xa2a65,_0x3c4046){return _0x27b51e(_0xa2a65,_0x3c4046);},'mzxlo':function(_0x1e5bcb,_0x4222d2){return _0x1e5bcb-_0x4222d2;},'LzUdP':function(_0x1da0d7,_0x354c03,_0x2c6ca3,_0x1b5123){return _0x1da0d7(_0x354c03,_0x2c6ca3,_0x1b5123);},'ENjPO':'test','GPiqq':function(_0x15eeb7,_0xa6732){return _0x15eeb7===_0xa6732;},'GEHnO':function(_0x406a0c,_0x3c38d0){return _0x406a0c>=_0x3c38d0;},'Clqyt':function(_0x1532a2,_0x3e3682){return _0x1532a2===_0x3e3682;},'PXYhh':function(_0x4fe090,_0x3e4a6f){return _0x4fe090+_0x3e4a6f;},'vcMnB':_0x26f514(0x2a9),'woPmm':function(_0x5db0a4,_0x463e30){return _0x5db0a4(_0x463e30);},'hYErq':function(_0x2817b2,_0x325e25){return _0x2817b2>_0x325e25;},'pWqZs':_0x26f514(0x2c1)};logger['debug']('parsePlaywrightTestResult:\x20testId='+_0x27b007);const _0x31e479=_0x19f5fd[_0x26f514(0x2b8)](getTestRunIdentifier,_0x51c0b5,_0x5e6076[_0x26f514(0x268)]),_0x5b6485=new Date(),_0x4b872a=_0x5e6076['status'],_0x1f0162=TestInfo['getTestDetails'](_0x31e479)[TestFrameworkConstants[_0x26f514(0x215)]]||{};let _0x4a291d=_0x4b872a;if(_0x19f5fd[_0x26f514(0x206)](_0x5e6076[_0x26f514(0x2fb)],_0x51c0b5[_0x26f514(0x22a)]))_0x4a291d=_0x19f5fd['GmaYJ'](_0x5e6076[_0x26f514(0x2fb)],_0x19f5fd[_0x26f514(0x25d)])?_0x19f5fd[_0x26f514(0x25d)]:_0x19f5fd[_0x26f514(0x22d)];else{(_0x19f5fd[_0x26f514(0x2ca)](_0x4a291d,_0x19f5fd[_0x26f514(0x22d)])||_0x19f5fd[_0x26f514(0x206)](_0x4a291d,_0x19f5fd[_0x26f514(0x293)])||_0x19f5fd['GmaYJ'](_0x4a291d,_0x19f5fd[_0x26f514(0x2a2)]))&&(_0x4a291d=_0x19f5fd[_0x26f514(0x293)]);if(_0x19f5fd[_0x26f514(0x22b)](_0x5e6076[_0x26f514(0x2fb)],_0x19f5fd[_0x26f514(0x22d)])&&_0x19f5fd[_0x26f514(0x206)](_0x51c0b5[_0x26f514(0x22a)],_0x19f5fd['MpZhr'])){const _0x4af77c={};_0x4af77c['message']=_0x19f5fd[_0x26f514(0x2c9)],_0x4af77c[_0x26f514(0x2df)]=_0x19f5fd[_0x26f514(0x2c9)],_0x5e6076[_0x26f514(0x246)]=_0x4af77c,_0x5e6076[_0x26f514(0x23c)]=[_0x5e6076['error']];}}const {failureData:_0x19a996,logs:_0x4f76fc}=_0x19f5fd[_0x26f514(0x2b8)](getFailureData,_0x5e6076?.[_0x26f514(0x23c)],{}),_0x329f0b={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x19f5fd[_0x26f514(0x22f)](_0x19a996,null),[TestFrameworkConstants[_0x26f514(0x21a)]]:_0x5e6076?.['error']&&_0x19f5fd[_0x26f514(0x2db)](getFailureType,_0x5e6076[_0x26f514(0x246)][_0x26f514(0x222)]),[TestFrameworkConstants[_0x26f514(0x252)]]:_0x5e6076?.['error']&&_0x19f5fd['tOfkc'](removeAnsiColors,_0x5e6076[_0x26f514(0x246)][_0x26f514(0x222)]),[TestFrameworkConstants[_0x26f514(0x270)]]:[],[TestFrameworkConstants[_0x26f514(0x2bb)]]:_0x4a291d,[TestFrameworkConstants[_0x26f514(0x209)]]:_0x5b6485['toISOString'](),[TestFrameworkConstants[_0x26f514(0x2ea)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x26f514(0x215)]]:_0x1f0162};if(_0x5e6076&&_0x19f5fd[_0x26f514(0x23a)](_0x5e6076[_0x26f514(0x268)],0x0)){const _0x1a4eaa=TestInfo['getTestUUID'](_0x19f5fd[_0x26f514(0x219)](getTestRunIdentifier,_0x51c0b5,_0x19f5fd[_0x26f514(0x1f9)](_0x5e6076[_0x26f514(0x268)],0x1)));_0x329f0b[TestFrameworkConstants[_0x26f514(0x279)]]=_0x1a4eaa;}const _0x19f9a9={};_0x19f9a9[_0x26f514(0x2d2)]=_0x51c0b5;const _0x30c8e9=this['resolveInstance'](TestFrameworkState[_0x26f514(0x2eb)],HookState[_0x26f514(0x2bc)],_0x19f9a9),_0x22ece0=_0x30c8e9[_0x26f514(0x275)]()['get'](_0x31e479)[TestFrameworkConstants['KEY_TEST_UUID']],_0x4cff79=_0x46a7f7||_0x19f5fd[_0x26f514(0x25f)](getStepsAndLogs,_0x5e6076[_0x26f514(0x24a)],_0x22ece0,_0x19f5fd[_0x26f514(0x2d4)])[_0x26f514(0x24a)],_0xce1793=new Map(),_0x496369=new Map();let _0x429a93=0x0;const _0x22a639=[];for(const _0x18c6cc of _0x4cff79||[]){const _0x3f1f11=_0x18c6cc[_0x26f514(0x1ff)]||null;let _0x1f298b;if(_0x19f5fd[_0x26f514(0x2ec)](_0x3f1f11,null)){if(_0x19f5fd[_0x26f514(0x2a6)](_0x429a93,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x1f298b=0x0,_0x429a93++;}else{const _0x21bda1=_0xce1793['get'](_0x3f1f11);if(_0x19f5fd[_0x26f514(0x1f5)](_0x21bda1,undefined))continue;_0x1f298b=_0x19f5fd[_0x26f514(0x301)](_0x21bda1,0x1);if(_0x19f5fd[_0x26f514(0x23a)](_0x1f298b,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0xce1793['set'](_0x18c6cc['id'],_0x1f298b),_0x496369[_0x26f514(0x2c8)](_0x18c6cc['id'],_0x18c6cc[_0x26f514(0x20b)]),_0x22a639[_0x26f514(0x2b7)]({'id':_0x18c6cc['id'],'parent_id':_0x3f1f11,'parent_text':_0x3f1f11?_0x496369['get'](_0x3f1f11)||'':'','text':_0x18c6cc[_0x26f514(0x20b)],'keyword':_0x18c6cc[_0x26f514(0x251)]||null,'started_at':_0x18c6cc[_0x26f514(0x1f7)],'duration':_0x18c6cc[_0x26f514(0x2d7)]??null,'result':_0x18c6cc[_0x26f514(0x29b)],'failure':_0x18c6cc[_0x26f514(0x2e2)]||null,'failure_type':_0x18c6cc[_0x26f514(0x20c)]||null});}const _0x2d7987={};_0x2d7987['steps']=_0x22a639,_0x329f0b[TestFrameworkConstants['KEY_TEST_META']]=_0x2d7987,logger[_0x26f514(0x22c)]('parsePlaywrightTestResult:\x20extracted\x20'+_0x22a639[_0x26f514(0x1f3)]+'\x20steps\x20for\x20testId='+_0x27b007);const _0x3bf96f=[],_0x38eabe=_0x19f5fd['jaVua'](findNestedKey,_0x5e6076,_0x19f5fd[_0x26f514(0x27f)]);if(_0x38eabe&&_0x19f5fd['woPmm'](validateFilePath,_0x38eabe))try{_0x3bf96f[_0x26f514(0x2b7)]({'kind':_0x19f5fd['hCSRJ'],'timestamp':new Date()[_0x26f514(0x2bf)](),'test_run_uuid':_0x22ece0,'file_name':path[_0x26f514(0x26c)](_0x38eabe),'file_size':fs[_0x26f514(0x29f)](_0x38eabe)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xc33f63){logger[_0x26f514(0x246)](_0x26f514(0x255)+_0x38eabe+':\x20'+_0xc33f63[_0x26f514(0x222)]);}const _0x3bba1e=TestInfo['getTraceFilePaths'](),_0x1f70bb=_0x3bba1e[_0x26f514(0x261)](_0x283005=>_0x283005['testUId']===_0x22ece0);_0x1f70bb['forEach'](_0x3160c1=>{const _0x315d8d=_0x26f514;if(_0x3160c1['filePath']&&_0x19f5fd[_0x315d8d(0x2db)](validateFilePath,_0x3160c1[_0x315d8d(0x27b)])&&!_0x3bf96f[_0x315d8d(0x256)](_0x300022=>_0x300022['file_name']===path[_0x315d8d(0x26c)](_0x3160c1[_0x315d8d(0x27b)])))try{_0x3bf96f['push']({'kind':_0x19f5fd['hCSRJ'],'timestamp':new Date()[_0x315d8d(0x2bf)](),'test_run_uuid':_0x22ece0,'file_name':path[_0x315d8d(0x26c)](_0x3160c1[_0x315d8d(0x27b)]),'file_size':fs[_0x315d8d(0x29f)](_0x3160c1['filePath'])[_0x315d8d(0x2bd)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x396f7b){logger['error'](_0x315d8d(0x214)+_0x3160c1[_0x315d8d(0x27b)]+'\x20from\x20TestDetails:\x20'+_0x396f7b['message']);}});if(_0x19f5fd[_0x26f514(0x2fe)](_0x3bf96f['length'],0x0)){const _0x3b954c=_0x329f0b[TestFrameworkConstants[_0x26f514(0x270)]]||[];_0x329f0b[TestFrameworkConstants[_0x26f514(0x270)]]=[..._0x3b954c,..._0x3bf96f];}const _0x409253=TestInfo[_0x26f514(0x287)](_0x31e479)[TestFrameworkConstants[_0x26f514(0x23f)]]||{},_0x5313c9=_0x19f5fd[_0x26f514(0x219)](getManualUploadLogs,_0x409253,_0x30c8e9[_0x26f514(0x275)]()[_0x26f514(0x220)](_0x31e479)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x19f5fd['FRLEA'](_0x5313c9['length'],0x0)){const _0x45d826=_0x329f0b[TestFrameworkConstants['KEY_LOGS']]||[];_0x329f0b[TestFrameworkConstants['KEY_LOGS']]=[..._0x45d826,..._0x5313c9];}const _0x3bcc1d=_0x51c0b5[_0x26f514(0x21d)]||[],_0xd3ecfb=_0x329f0b[TestFrameworkConstants[_0x26f514(0x215)]]||{},_0xebf650=_0x19f5fd[_0x26f514(0x2db)](require,_0x19f5fd[_0x26f514(0x211)]);_0x3bcc1d['forEach'](_0x52e5ed=>{const _0x531fed=_0x26f514,{type:_0x178f5c}=_0x52e5ed;let _0x134bdc=_0x52e5ed[_0x531fed(0x2d6)];if(!_0x178f5c)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS['has'](_0x178f5c))return;(_0x19f5fd[_0x531fed(0x26d)](_0x134bdc,undefined)||_0x19f5fd[_0x531fed(0x1f8)](_0x134bdc,null)||_0x19f5fd['tRdHQ'](_0x19f5fd[_0x531fed(0x2db)](String,_0x134bdc)[_0x531fed(0x213)](),''))&&(_0x134bdc=_0x19f5fd[_0x531fed(0x284)]);const _0x4d20e7=helper[_0x531fed(0x2cb)](_0x19f5fd[_0x531fed(0x2db)](String,_0x134bdc));_0xebf650['mergeIntoTags'](_0xd3ecfb,_0x178f5c,_0x4d20e7);}),_0x329f0b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0xd3ecfb,TestInfo[_0x26f514(0x26b)](_0x31e479,_0x329f0b);const _0x4e9652={};return _0x4e9652[_0x31e479]=_0x329f0b,_0x4e9652;}[a82_0x45af65(0x258)](_0x33eedd,_0x345e69,_0xe18b3e){const _0x506da4=a82_0x45af65,_0x43c9e4={'muDyV':function(_0x146625,_0x3b810d){return _0x146625||_0x3b810d;},'Tsocn':function(_0x53f3a9,_0x319e50,_0x54fdb7){return _0x53f3a9(_0x319e50,_0x54fdb7);}};try{const {test:_0x564ae4,result:_0x4f0b3a,step:_0x46235c}=_0xe18b3e;if(_0x43c9e4[_0x506da4(0x24c)](!_0x564ae4,!_0x46235c)||!_0x4f0b3a)return;const _0x1972c5=_0x43c9e4[_0x506da4(0x27d)](getTestRunIdentifier,_0x564ae4,_0x4f0b3a[_0x506da4(0x268)]);logger[_0x506da4(0x22c)](_0x506da4(0x2b6)+_0x1972c5+'\x20hookState='+_0x345e69+_0x506da4(0x2d1)+_0x46235c[_0x506da4(0x2de)]+'\x22');}catch(_0x5e41f2){logger[_0x506da4(0x246)](_0x506da4(0x2ef)+util['format'](_0x5e41f2));}}async[a82_0x45af65(0x21c)](_0x441f27,_0x4f4264,_0xc5e9a5,_0x56d1f6){const _0x17c20a=a82_0x45af65,_0x5032f5={'kOHdb':function(_0xa3e64a,_0x3d52ed,_0x252895){return _0xa3e64a(_0x3d52ed,_0x252895);},'EiUwo':function(_0x277a04,_0x532a37){return _0x277a04 in _0x532a37;},'aXPtG':function(_0x39d4ec,_0x114862){return _0x39d4ec in _0x114862;},'VIEkz':function(_0x1c1308,_0x55a4d6){return _0x1c1308(_0x55a4d6);},'BYGRx':function(_0x39d376,_0x3b7889){return _0x39d376===_0x3b7889;},'ViqLQ':function(_0x275806){return _0x275806();},'mfKEi':function(_0x2699fc,_0x287d54){return _0x2699fc===_0x287d54;},'XVZjd':function(_0x55cd1d,_0x15d948){return _0x55cd1d>_0x15d948;},'vVIUq':function(_0x358cfd,_0x2c24e8,_0x207600){return _0x358cfd(_0x2c24e8,_0x207600);},'JShTu':_0x17c20a(0x2f9),'RDQbv':_0x17c20a(0x238),'KCEjD':_0x17c20a(0x272),'ETeZp':function(_0x23f650,_0x523952){return _0x23f650!==_0x523952;},'btfBu':function(_0x599759,_0x4ac35a){return _0x599759+_0x4ac35a;},'gwiAv':'hook'},_0x820d8c=_0x56d1f6['test'],_0x29e97f=_0x56d1f6[_0x17c20a(0x274)],_0x26ac2e=_0x5032f5[_0x17c20a(0x25e)](getTestRunIdentifier,_0x820d8c,_0x56d1f6[_0x17c20a(0x29b)][_0x17c20a(0x268)]),_0x348ce5=_0x4f4264['toString']()[_0x17c20a(0x2f6)]('.')[0x1];let _0x270b8f=_0x441f27[_0x17c20a(0x275)]()['get'](_0x26ac2e)[TestFrameworkConstants[_0x17c20a(0x2be)]];!_0x270b8f&&(_0x270b8f={});!_0x5032f5[_0x17c20a(0x277)](_0x348ce5,_0x270b8f)&&(_0x270b8f[_0x348ce5]=[]);let _0x484a4b=_0x441f27[_0x17c20a(0x275)]()[_0x17c20a(0x220)](_0x26ac2e)[TestFrameworkConstants[_0x17c20a(0x24f)]];!_0x484a4b&&(_0x484a4b={});!_0x5032f5[_0x17c20a(0x212)](_0x348ce5,_0x484a4b)&&(_0x484a4b[_0x348ce5]=[]);const _0x17aa7d={[TestFrameworkConstants[_0x17c20a(0x2be)]]:_0x270b8f,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x484a4b},_0x48a0e6={};_0x48a0e6[_0x26ac2e]=_0x17aa7d;const _0x373898=_0x48a0e6,_0x28c00a=_0x5032f5[_0x17c20a(0x259)](getPlaywrightTestFilePath,_0x820d8c),_0x1b7ed7=_0x28c00a,_0x2afbb4=TestInfo[_0x17c20a(0x287)](_0x26ac2e)[TestFrameworkConstants[_0x17c20a(0x215)]]||{};if(_0x5032f5[_0x17c20a(0x280)](_0xc5e9a5,HookState[_0x17c20a(0x2ad)])){const _0x3d88a2={'key':_0x348ce5,[TestFrameworkConstants[_0x17c20a(0x23e)]]:_0x5032f5['ViqLQ'](uuidv4),[TestFrameworkConstants[_0x17c20a(0x1fe)]]:TestFrameworkConstants[_0x17c20a(0x26f)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x29e97f[_0x17c20a(0x2ab)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x17c20a(0x21e)]]:_0x29e97f[_0x17c20a(0x2de)],[TestFrameworkConstants[_0x17c20a(0x28e)]]:_0x28c00a,[TestFrameworkConstants[_0x17c20a(0x28f)]]:_0x1b7ed7,[TestFrameworkConstants[_0x17c20a(0x215)]]:_0x2afbb4};_0x270b8f[_0x348ce5][_0x17c20a(0x2b7)](_0x3d88a2),_0x373898[_0x26ac2e][TestFrameworkConstants[_0x17c20a(0x2a8)]]=_0x348ce5,logger[_0x17c20a(0x22c)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x348ce5+_0x17c20a(0x2f1)+_0x3d88a2+'\x20\x20and\x20args\x20=\x20'+_0x56d1f6);}else{if(_0x5032f5[_0x17c20a(0x29d)](_0xc5e9a5,HookState[_0x17c20a(0x2bc)])){const _0xe39ee9=await _0x56d1f6[_0x17c20a(0x29b)],_0x14589c=_0x270b8f[_0x348ce5]||[],_0x5a3db0=_0x56d1f6[_0x17c20a(0x274)];logger[_0x17c20a(0x22c)](_0x17c20a(0x227)+_0x14589c+_0x17c20a(0x203)+_0x56d1f6);if(_0x5032f5[_0x17c20a(0x2ce)](_0x14589c[_0x17c20a(0x1f3)],0x0)){const _0x19adc3=_0x14589c[_0x17c20a(0x2c2)]();if(_0x5a3db0['error']){const _0x5897c7=_0x5032f5[_0x17c20a(0x273)](failureData,_0x5a3db0['error'],_0x5032f5[_0x17c20a(0x282)]);_0x19adc3[TestFrameworkConstants[_0x17c20a(0x21b)]]=_0x5032f5['VIEkz'](getFailureType,_0x5a3db0?.[_0x17c20a(0x246)][_0x17c20a(0x222)]),_0x19adc3[TestFrameworkConstants[_0x17c20a(0x245)]]=_0x5032f5[_0x17c20a(0x259)](removeAnsiColors,_0x5a3db0?.[_0x17c20a(0x246)][_0x17c20a(0x222)]),_0x19adc3[TestFrameworkConstants[_0x17c20a(0x1fe)]]=_0x5032f5[_0x17c20a(0x29e)],_0x19adc3[TestFrameworkConstants[_0x17c20a(0x2cd)]]=_0x5897c7;}else _0x19adc3[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x5032f5[_0x17c20a(0x2b2)];_0x5032f5[_0x17c20a(0x2d3)](_0xe39ee9,TestFrameworkConstants[_0x17c20a(0x26f)])&&(_0x19adc3[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x5a3db0[_0x17c20a(0x246)]?_0x5032f5[_0x17c20a(0x2b2)]:_0x5032f5[_0x17c20a(0x29e)]);const _0x223b92=new Date(_0x5a3db0['startTime']),_0x4aea91=new Date(_0x5032f5[_0x17c20a(0x24b)](_0x223b92[_0x17c20a(0x2d0)](),_0x5a3db0[_0x17c20a(0x2d7)]));_0x19adc3[TestFrameworkConstants[_0x17c20a(0x1f1)]]=_0x4aea91['toISOString'](),_0x19adc3[TestFrameworkConstants[_0x17c20a(0x215)]]=_0x2afbb4;const _0x2379a2=_0x19adc3[TestFrameworkConstants[_0x17c20a(0x23e)]];await this[_0x17c20a(0x1f4)](_0x441f27,_0x4f4264,_0x2379a2,_0x5032f5[_0x17c20a(0x2ba)],_0x56d1f6),!_0x484a4b[_0x348ce5]&&(_0x484a4b[_0x348ce5]=[]),_0x484a4b[_0x348ce5][_0x17c20a(0x2b7)](_0x19adc3),_0x373898[_0x26ac2e][TestFrameworkConstants[_0x17c20a(0x1fa)]]=_0x348ce5;}}}return _0x373898;}async['sendLogCreatedEvent'](_0x2ce0e3,_0x56d086,_0x4981c3,_0x4712ee,_0x4c880e,_0x481395){const _0x265bc4=a82_0x45af65,_0x5387c7={'zpRUt':function(_0x29bdb2,_0x28f6b4){return _0x29bdb2===_0x28f6b4;},'FzyUf':_0x265bc4(0x2d2),'nXogo':function(_0x35bd80,_0xad2733,_0x1673ff){return _0x35bd80(_0xad2733,_0x1673ff);},'GTbZV':function(_0x19e9be,_0x3a186f,_0x5a5981){return _0x19e9be(_0x3a186f,_0x5a5981);},'qkAcT':_0x265bc4(0x288),'cDFDD':function(_0x22400a,_0x4dfaa9,_0x2857a5,_0xe40071){return _0x22400a(_0x4dfaa9,_0x2857a5,_0xe40071);},'htmpU':function(_0x2061c1,_0xfe30d7,_0x2df671){return _0x2061c1(_0xfe30d7,_0x2df671);},'XRrrn':function(_0x422c5f,_0x488671){return _0x422c5f/_0x488671;},'xmXdD':function(_0x5d769e,_0x349fbb){return _0x5d769e<_0x349fbb;},'DLyXX':function(_0x5c5e08,_0x55ee47){return _0x5c5e08*_0x55ee47;},'miTCg':function(_0x1f34cb,_0x19c906){return _0x1f34cb+_0x19c906;},'zUVRt':function(_0x8c981f,_0x4d8172,_0x39e4b0,_0x1fa59c,_0xa0bdfb){return _0x8c981f(_0x4d8172,_0x39e4b0,_0x1fa59c,_0xa0bdfb);},'uphxQ':function(_0x4071c4,_0x17f537){return _0x4071c4+_0x17f537;},'hoFxC':function(_0x126db9,_0x2b4c4c){return _0x126db9+_0x2b4c4c;},'cfbSM':_0x265bc4(0x286)};try{if(_0x5387c7[_0x265bc4(0x2cc)](_0x4712ee,_0x5387c7[_0x265bc4(0x2e8)])){const _0x527163=await _0x4c880e[_0x265bc4(0x29b)],_0x2e0e80=_0x5387c7['nXogo'](getTestRunIdentifier,_0x4c880e[_0x265bc4(0x2d2)],_0x4c880e[_0x265bc4(0x29b)][_0x265bc4(0x268)]),_0x497121=_0x4c880e[_0x265bc4(0x2d2)];logger[_0x265bc4(0x22c)](_0x265bc4(0x262)+_0x2e0e80+'\x20result='+util['inspect'](_0x527163));const _0x4e3ff8=_0x2ce0e3['getAllData']()[_0x265bc4(0x220)](_0x2e0e80)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x5387c7[_0x265bc4(0x303)](sendTraceZip,_0x527163,_0x4e3ff8);const _0x481442=TestInfo[_0x265bc4(0x287)](_0x2e0e80)[_0x5387c7['qkAcT']],_0x1700c7={};if(_0x481442){!_0x527163['attachments']&&(_0x527163['attachments']=[]);_0x1700c7[_0x265bc4(0x288)]=_0x527163[_0x265bc4(0x288)][_0x265bc4(0x300)](_0x481442||[]);const _0xd19776=TestInfo[_0x265bc4(0x287)](_0x2e0e80);delete _0xd19776[_0x5387c7[_0x265bc4(0x24d)]],TestInfo[_0x265bc4(0x26b)](_0x2e0e80,_0xd19776);}const _0x4dd25e=_0x481395||_0x5387c7[_0x265bc4(0x294)](getStepsAndLogs,_0x527163['steps'],_0x2ce0e3['getAllData']()[_0x265bc4(0x220)](_0x2e0e80)[TestFrameworkConstants['KEY_TEST_UUID']],_0x5387c7['FzyUf'])[_0x265bc4(0x29a)],_0x120db7=_0x5387c7[_0x265bc4(0x303)](getScreenshots,_0x1700c7,_0x2ce0e3['getAllData']()[_0x265bc4(0x220)](_0x2e0e80)[TestFrameworkConstants[_0x265bc4(0x229)]]),_0x5598ba=_0x5387c7[_0x265bc4(0x26a)](getVideos,_0x527163,_0x2ce0e3[_0x265bc4(0x275)]()[_0x265bc4(0x220)](_0x2e0e80)[TestFrameworkConstants[_0x265bc4(0x229)]]),{_:_0x4a00ee,logs:_0x462911}=_0x5387c7[_0x265bc4(0x302)](getFailureData,_0x527163[_0x265bc4(0x23c)],{'test_run_uuid':_0x2ce0e3['getAllData']()[_0x265bc4(0x220)](_0x2e0e80)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0xd8ff5d=TestInfo[_0x265bc4(0x287)](_0x2e0e80)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x25f7e5=_0x5387c7['GTbZV'](getMediaArtifactsLogs,_0xd8ff5d,_0x2ce0e3[_0x265bc4(0x275)]()[_0x265bc4(0x220)](_0x2e0e80)[TestFrameworkConstants[_0x265bc4(0x229)]]),_0x51c822=_0x2ce0e3['getAllData']()['get'](_0x2e0e80),{[TestFrameworkConstants[_0x265bc4(0x244)]]:_0xde0201='',[TestFrameworkConstants[_0x265bc4(0x224)]]:_0x380bcb=''}=_0x51c822,_0x52145d=(_0x4dd25e||[])[_0x265bc4(0x300)](_0x120db7||[])[_0x265bc4(0x300)](_0x462911||[])[_0x265bc4(0x300)](_0x5598ba||[])[_0x265bc4(0x300)](_0x25f7e5||[]),_0x35a173=0x28,_0x4999ab=Math[_0x265bc4(0x2dc)](_0x5387c7[_0x265bc4(0x2d9)](_0x52145d[_0x265bc4(0x1f3)],_0x35a173));for(let _0xd0df7=0x0;_0x5387c7['xmXdD'](_0xd0df7,_0x4999ab);_0xd0df7++){const _0x2f1bc0=_0x5387c7[_0x265bc4(0x257)](_0xd0df7,_0x35a173),_0x516cdf=_0x5387c7[_0x265bc4(0x2a7)](_0x2f1bc0,_0x35a173),_0x279675=_0x52145d[_0x265bc4(0x2f3)](_0x2f1bc0,_0x516cdf),_0x3c9658={'platformIndex':global?.[_0x265bc4(0x201)]??0x0,'logs':_0x279675,'testFrameworkName':_0xde0201,'testFrameworkVersion':_0x380bcb,'testFrameworkState':_0x56d086[_0x265bc4(0x266)]()['split']('.')[0x1]};_0x5387c7['zUVRt'](updatePayloadForTraceLogs,_0x3c9658,_0x4c880e,_0x2e0e80,_0x2ce0e3),logger[_0x265bc4(0x22c)](_0x265bc4(0x225)+_0x2e0e80+_0x265bc4(0x2fa)+_0x5387c7[_0x265bc4(0x254)](_0xd0df7,0x1)+'/'+_0x4999ab+_0x265bc4(0x283)+util[_0x265bc4(0x2b3)](_0x3c9658));const _0x512890=await GrpcClient[_0x265bc4(0x2e7)]()[_0x265bc4(0x2c6)](_0x3c9658);logger[_0x265bc4(0x22c)](_0x265bc4(0x225)+_0x2e0e80+_0x265bc4(0x2fa)+_0x5387c7['hoFxC'](_0xd0df7,0x1)+'/'+_0x4999ab+'\x20response='+util[_0x265bc4(0x2b3)](_0x512890));}}else{const {logs:_0x2ffe8b}=_0x5387c7[_0x265bc4(0x294)](getStepsAndLogs,_0x4c880e['step'][_0x265bc4(0x24a)],_0x4981c3,_0x5387c7[_0x265bc4(0x291)]),_0x2d1bc1=_0x5387c7[_0x265bc4(0x302)](getTestRunIdentifier,_0x4c880e[_0x265bc4(0x2d2)],_0x4c880e[_0x265bc4(0x29b)]['retry']);logger[_0x265bc4(0x22c)]('sendLogCreatedEvent:\x20testId='+_0x2d1bc1);const _0x294197=_0x2ce0e3[_0x265bc4(0x275)]()[_0x265bc4(0x220)](_0x2d1bc1),{[TestFrameworkConstants[_0x265bc4(0x244)]]:_0x148206='',[TestFrameworkConstants[_0x265bc4(0x224)]]:_0x1793c9=''}=_0x294197,_0x4fa9bb={'platformIndex':'0','logs':_0x2ffe8b,'testFrameworkName':_0x148206,'testFrameworkVersion':_0x1793c9,'testFrameworkState':_0x56d086[_0x265bc4(0x266)]()[_0x265bc4(0x2f6)]('.')[0x1]};_0x5387c7[_0x265bc4(0x248)](updatePayloadForTraceLogs,_0x4fa9bb,_0x4c880e,_0x2d1bc1,_0x2ce0e3),logger[_0x265bc4(0x22c)](_0x265bc4(0x225)+_0x2d1bc1+'\x20payload='+util[_0x265bc4(0x2b3)](_0x4fa9bb));const _0x59b8e9=await GrpcClient['getInstance']()[_0x265bc4(0x2c6)](_0x4fa9bb);}}catch(_0x138184){logger['error'](_0x265bc4(0x2a5)+util[_0x265bc4(0x2f0)](_0x138184));}}[a82_0x45af65(0x2f7)](_0x5f5d05){const _0x1303a2=a82_0x45af65,_0x2f8d0a={'mVbqF':function(_0x240422,_0x2f3568,_0x287950){return _0x240422(_0x2f3568,_0x287950);},'iIpAx':function(_0x152cac,_0x53a16f){return _0x152cac<_0x53a16f;},'Cvsfu':_0x1303a2(0x221)};try{const _0x3a6ee2=_0x5f5d05[_0x1303a2(0x2d2)]['id'],_0x41ab60=_0x2f8d0a[_0x1303a2(0x20f)](getTestRunIdentifier,_0x5f5d05[_0x1303a2(0x2d2)],_0x5f5d05['result'][_0x1303a2(0x268)]),_0x36a27d=_0x5f5d05[_0x1303a2(0x29c)],_0x53d398=_0x36a27d[_0x1303a2(0x305)](),_0x218c07=_0x36a27d[_0x1303a2(0x275)]()[_0x1303a2(0x220)](_0x41ab60);logger[_0x1303a2(0x22c)](_0x1303a2(0x200)+_0x3a6ee2);const {[TestFrameworkConstants[_0x1303a2(0x244)]]:_0x428ee4='',[TestFrameworkConstants[_0x1303a2(0x224)]]:_0x2a125e='',[TestFrameworkConstants[_0x1303a2(0x2e3)]]:_0x192eda='',[TestFrameworkConstants[_0x1303a2(0x209)]]:_0x3b4eee=''}=_0x218c07,_0x287610=_0x36a27d[_0x1303a2(0x28d)]()[_0x1303a2(0x266)]()[_0x1303a2(0x2f6)]('.')[0x1],_0x3aa47d=_0x36a27d[_0x1303a2(0x292)]()[_0x1303a2(0x266)]()[_0x1303a2(0x2f6)]('.')[0x1],_0x5eab02=_0x2f8d0a[_0x1303a2(0x21f)](_0x5f5d05?.['result']?.[_0x1303a2(0x1fd)]??0x0,0x0)?0x0:_0x5f5d05?.['result']?.['parallelIndex']??0x0,_0x57ed75=_0x36a27d['getRef'](),_0x217157=Buffer['from'](JSON[_0x1303a2(0x2e4)](_0x218c07))['toString'](_0x2f8d0a['Cvsfu']),_0x3fc822={'hash':_0x53d398[_0x1303a2(0x204)](),'threadId':_0x53d398[_0x1303a2(0x239)]()[_0x1303a2(0x266)](),'processId':_0x53d398[_0x1303a2(0x2e9)]()[_0x1303a2(0x266)]()},_0x4674a9={};_0x4674a9[_0x1303a2(0x25b)]=_0x5eab02,_0x4674a9[_0x1303a2(0x2f5)]=_0x428ee4,_0x4674a9[_0x1303a2(0x223)]=_0x2a125e,_0x4674a9[_0x1303a2(0x234)]=_0x287610,_0x4674a9[_0x1303a2(0x2f2)]=_0x3aa47d,_0x4674a9[_0x1303a2(0x25a)]=_0x192eda,_0x4674a9[_0x1303a2(0x241)]=_0x3b4eee,_0x4674a9[_0x1303a2(0x1fc)]=_0x57ed75,_0x4674a9[_0x1303a2(0x20a)]=_0x217157,_0x4674a9[_0x1303a2(0x2aa)]=_0x3fc822;const _0x4fd992=_0x4674a9;return logger[_0x1303a2(0x22c)](_0x1303a2(0x2b5)+_0x3a6ee2+_0x1303a2(0x2c0)+_0x287610+'\x20hookState:\x20'+_0x3aa47d),_0x4fd992;}catch(_0xef970b){return logger[_0x1303a2(0x246)](_0x1303a2(0x1f6)+util['format'](_0xef970b)),{};}}}module[a82_0x45af65(0x20e)]=PlaywrightTestFramework;
|
|
1
|
+
const a94_0x132f99=a94_0x4756;(function(_0x1a72d1,_0x2dcb2f){const _0x52cfaf=a94_0x4756,_0x45b88e=_0x1a72d1();while(!![]){try{const _0x377d12=-parseInt(_0x52cfaf(0x202))/0x1*(parseInt(_0x52cfaf(0x239))/0x2)+-parseInt(_0x52cfaf(0x2b3))/0x3+parseInt(_0x52cfaf(0x2bb))/0x4*(-parseInt(_0x52cfaf(0x2c5))/0x5)+parseInt(_0x52cfaf(0x241))/0x6*(-parseInt(_0x52cfaf(0x2db))/0x7)+parseInt(_0x52cfaf(0x2f0))/0x8+parseInt(_0x52cfaf(0x2b6))/0x9*(-parseInt(_0x52cfaf(0x298))/0xa)+parseInt(_0x52cfaf(0x21c))/0xb;if(_0x377d12===_0x2dcb2f)break;else _0x45b88e['push'](_0x45b88e['shift']());}catch(_0xaf65b6){_0x45b88e['push'](_0x45b88e['shift']());}}}(a94_0x4e60,0xb1894));const TestFramework=require(a94_0x132f99(0x2d4)),TestFrameworkState=require(a94_0x132f99(0x25a)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a94_0x132f99(0x260)),TestFrameworkInstance=require(a94_0x132f99(0x24d)),CLIUtils=require(a94_0x132f99(0x29f)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a94_0x132f99(0x25b)),util=require(a94_0x132f99(0x23a)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a94_0x132f99(0x280)),GrpcClient=require(a94_0x132f99(0x22d)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a94_0x132f99(0x278)),{findNestedKey,sendTraceZip,validateFilePath}=require(a94_0x132f99(0x278)),path=require(a94_0x132f99(0x282)),fs=require('fs'),helper=require(a94_0x132f99(0x204)),{PLAYWRIGHT_TRACE_LOGS}=require(a94_0x132f99(0x1f5)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set(['skip','fixme',a94_0x132f99(0x29b),a94_0x132f99(0x2ac)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x56bec1,_0x2f35c0,_0x1957e6){super(_0x56bec1,_0x2f35c0,_0x1957e6);}async[a94_0x132f99(0x21e)](_0x32bbe3,_0x211204,_0x2f9116={}){const _0x5c255f=a94_0x132f99,_0x37e1f8={'sxjqq':function(_0x1678c0,_0x5ee8a6){return _0x1678c0===_0x5ee8a6;},'UzzYi':function(_0x410551,_0x585f6e){return _0x410551===_0x585f6e;},'TjIHt':function(_0x6bd688,_0xee0f7f){return _0x6bd688===_0xee0f7f;},'gPutC':function(_0x4abfd8,_0x35869b,_0x3c3c23){return _0x4abfd8(_0x35869b,_0x3c3c23);},'VhhPR':function(_0x13eed6,_0x304ee2){return _0x13eed6===_0x304ee2;},'zPfXh':function(_0x2f8f09,_0x47bd44){return _0x2f8f09===_0x47bd44;},'ELlUj':function(_0x359895,_0x7fb62,_0x52bed4){return _0x359895(_0x7fb62,_0x52bed4);},'iobQX':function(_0x5a6fd0,_0x3f4ca7,_0xbf72e7,_0x3dc924){return _0x5a6fd0(_0x3f4ca7,_0xbf72e7,_0x3dc924);},'JXggA':_0x5c255f(0x263),'PdYqN':_0x5c255f(0x288)};super[_0x5c255f(0x21e)](_0x32bbe3,_0x211204,_0x2f9116);if(_0x37e1f8[_0x5c255f(0x1f7)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x2f4)])){const _0x5ec8a4=TestInfo[_0x5c255f(0x2ad)](_0x2f9116[_0x5c255f(0x263)],_0x2f9116[_0x5c255f(0x263)]['retry']);TestInfo[_0x5c255f(0x2d6)](_0x5ec8a4,_0x2f9116[_0x5c255f(0x217)],!![]);}if(_0x37e1f8[_0x5c255f(0x1f7)](_0x32bbe3,TestFrameworkState['TEST_STEP'])){this['trackStepEvent'](_0x32bbe3,_0x211204,_0x2f9116);return;}const _0xcaaabb=this[_0x5c255f(0x230)](_0x32bbe3,_0x211204,_0x2f9116);if(!_0xcaaabb)return;logger[_0x5c255f(0x283)](_0x5c255f(0x26f)+_0x32bbe3+'\x20hookState='+_0x211204+'\x20instanceId='+_0xcaaabb['getRef']());try{if(_0x37e1f8[_0x5c255f(0x2b2)](_0x211204,HookState[_0x5c255f(0x20b)])&&_0x37e1f8[_0x5c255f(0x272)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x23d)])){const _0x5cf5ca=_0x2f9116[_0x5c255f(0x263)];logger[_0x5c255f(0x283)](_0x5c255f(0x253)+_0x5cf5ca['id']+'}');const _0x39d919=TestInfo[_0x5c255f(0x2fb)](_0x37e1f8[_0x5c255f(0x20a)](getTestRunIdentifier,_0x5cf5ca,_0x2f9116[_0x5c255f(0x217)][_0x5c255f(0x2d5)]));_0xcaaabb[_0x5c255f(0x29d)](this['parsePlaywrightTest'](_0x39d919,_0x5cf5ca,_0x2f9116[_0x5c255f(0x217)])),logger[_0x5c255f(0x283)](_0x5c255f(0x256)+_0x5cf5ca['id']+_0x5c255f(0x294)+_0x32bbe3+_0x5c255f(0x22b)+_0x211204+_0x5c255f(0x2a5)+_0xcaaabb[_0x5c255f(0x2aa)]());}if(_0x37e1f8[_0x5c255f(0x290)](_0x211204,HookState[_0x5c255f(0x2eb)])&&_0x37e1f8[_0x5c255f(0x213)](_0x32bbe3,TestFrameworkState[_0x5c255f(0x23d)])){const _0x5ae5e1=_0x2f9116[_0x5c255f(0x263)],_0x4f1d35=_0x2f9116['result'];logger['debug'](_0x5c255f(0x2c9)+_0x5ae5e1['id']);const _0x2ff037=_0x37e1f8[_0x5c255f(0x258)](getTestRunIdentifier,_0x5ae5e1,_0x4f1d35[_0x5c255f(0x2d5)]),_0x24eae1=_0xcaaabb[_0x5c255f(0x2e7)]()[_0x5c255f(0x28a)](_0x2ff037)[TestFrameworkConstants[_0x5c255f(0x2e0)]],{steps:_0x3309ed,logs:_0x2919b0}=_0x37e1f8['iobQX'](getStepsAndLogs,_0x4f1d35[_0x5c255f(0x261)],_0x24eae1,_0x37e1f8['JXggA']);_0xcaaabb[_0x5c255f(0x29d)](this[_0x5c255f(0x2d7)](_0x5ae5e1['id'],_0x4f1d35,_0x5ae5e1,_0x3309ed)),await this[_0x5c255f(0x297)](_0xcaaabb,_0x32bbe3,_0x211204,_0x37e1f8[_0x5c255f(0x248)],_0x2f9116,_0x2919b0);}if(CLIUtils[_0x5c255f(0x276)](_0x32bbe3[_0x5c255f(0x232)]()['split']('.')[0x1])){const _0x21c7be=await this[_0x5c255f(0x234)](_0xcaaabb,_0x32bbe3,_0x211204,_0x2f9116);_0xcaaabb['addMultipleEntries'](_0x21c7be);}}catch(_0x21b555){logger[_0x5c255f(0x2f2)](util[_0x5c255f(0x215)](_0x37e1f8['PdYqN'],_0x32bbe3,_0x211204,_0x2f9116[_0x5c255f(0x291)],_0x21b555));}_0x2f9116[_0x5c255f(0x275)]=_0xcaaabb,await this[_0x5c255f(0x240)](_0xcaaabb,_0x32bbe3,_0x211204,_0x2f9116);}[a94_0x132f99(0x230)](_0x5329dd,_0x24e51f,_0x19a4bb={}){const _0x4c37ca=a94_0x132f99,_0x59c79b={};_0x59c79b[_0x4c37ca(0x229)]=function(_0x59765d,_0xa4a9e){return _0x59765d===_0xa4a9e;};const _0x14aa26=_0x59c79b;let _0x3f172c=null;return(_0x14aa26[_0x4c37ca(0x229)](_0x5329dd,TestFrameworkState['INIT_TEST'])||_0x14aa26[_0x4c37ca(0x229)](_0x5329dd,TestFrameworkState[_0x4c37ca(0x2c8)]))&&this[_0x4c37ca(0x1f6)](_0x5329dd,_0x19a4bb),_0x3f172c=TestFramework['getTrackedInstance'](),_0x3f172c;}[a94_0x132f99(0x1f6)](_0x28cb00,_0x1fa664){const _0x5a6069=a94_0x132f99,_0x243967=CLIUtils[_0x5a6069(0x2f7)](),_0x2be755=TrackedInstance['createContext'](_0x243967);let _0x6bdf36=null;logger['info'](_0x5a6069(0x2fc)+_0x243967+',\x20state='+_0x28cb00),_0x6bdf36=new TestFrameworkInstance(_0x2be755,this[_0x5a6069(0x243)](),this['getTestFrameworksVersions'](),_0x28cb00,HookState[_0x5a6069(0x2c8)]),TestFramework[_0x5a6069(0x2ed)](_0x2be755,_0x6bdf36),logger[_0x5a6069(0x2bc)](_0x5a6069(0x286)+_0x2be755[_0x5a6069(0x2e5)]()+'\x20target='+_0x243967);}[a94_0x132f99(0x2be)](_0xbd42d0,_0x1b52ff,_0x16daf6){const _0x1e89e9=a94_0x132f99,_0x57c7fd={'bSWdu':function(_0x2bcd09,_0xd0e8e4){return _0x2bcd09(_0xd0e8e4);},'MrHnx':function(_0x24ce3a,_0x594521){return _0x24ce3a(_0x594521);},'DkNEw':function(_0x1532e9,_0x161fd2){return _0x1532e9(_0x161fd2);},'PudQL':function(_0x1bcd6e,_0x418692,_0x592ce7){return _0x1bcd6e(_0x418692,_0x592ce7);},'lsymg':function(_0x13ac53,_0x2c08e6){return _0x13ac53(_0x2c08e6);}},_0x509ad9=_0x57c7fd['bSWdu'](getPlaywrightTestId,_0x1b52ff),_0x147cd9=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightTestTitle,_0x1b52ff),_0x5a77d1=_0x57c7fd['bSWdu'](getTestTags,_0x1b52ff),_0x145e7b=_0x57c7fd['bSWdu'](getPlaywrightTestCode,_0x1b52ff),_0x32f993=_0x57c7fd[_0x1e89e9(0x2a0)](getPlaywrightTestFilePath,_0x1b52ff),_0x2c8e9d=_0x32f993,_0x2f2055=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightTestScope,_0x1b52ff),_0x287121=_0x57c7fd[_0x1e89e9(0x2a0)](getPlaywrightTestScopes,_0x1b52ff),_0x4a4351=_0x57c7fd[_0x1e89e9(0x24f)](getPlaywrightSessionName,_0x1b52ff),_0x127c60=this[_0x1e89e9(0x243)]()[0x0],_0x371c45=_0x57c7fd[_0x1e89e9(0x2e2)](getTestRunIdentifier,_0x1b52ff,_0x16daf6['retry']),_0x1012a3={[TestFrameworkConstants[_0x1e89e9(0x27d)]]:_0x127c60,[TestFrameworkConstants[_0x1e89e9(0x2ce)]]:this[_0x1e89e9(0x25c)]()[_0x127c60],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x1e89e9(0x285)]]:{},[TestFrameworkConstants[_0x1e89e9(0x2fa)]]:{},[TestFrameworkConstants[_0x1e89e9(0x2e0)]]:_0xbd42d0,[TestFrameworkConstants[_0x1e89e9(0x205)]]:TestFrameworkConstants[_0x1e89e9(0x2c2)],[TestFrameworkConstants[_0x1e89e9(0x2b1)]]:_0x4a4351,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x32f993,[TestFrameworkConstants[_0x1e89e9(0x222)]]:_0x509ad9,[TestFrameworkConstants[_0x1e89e9(0x269)]]:_0x147cd9,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2c8e9d,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x145e7b,[TestFrameworkConstants[_0x1e89e9(0x2c4)]]:_0x5a77d1,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1b52ff[_0x1e89e9(0x2e6)][0x0]['startTime'],[TestFrameworkConstants[_0x1e89e9(0x231)]]:_0x2f2055,[TestFrameworkConstants[_0x1e89e9(0x225)]]:_0x287121,[TestFrameworkConstants[_0x1e89e9(0x284)]]:_0x57c7fd[_0x1e89e9(0x2a2)](getPlaywrightCustomRerunParam,_0x1b52ff)};TestInfo[_0x1e89e9(0x2d6)](_0x371c45,_0x1012a3);const _0x202b29={};return _0x202b29[_0x371c45]=_0x1012a3,_0x202b29;}[a94_0x132f99(0x2d7)](_0x43a17b,_0x437c34,_0x14e982,_0x4a6bbe){const _0x406e78=a94_0x132f99,_0x58ed1e={'Okkcg':function(_0x32cb75,_0xcd577d){return _0x32cb75(_0xcd577d);},'jdSiq':'TEST_ATTACHMENT','PfnQw':function(_0x26e53a,_0x4708ae){return _0x26e53a===_0x4708ae;},'pesHi':function(_0x1787d1,_0x2daa51){return _0x1787d1===_0x2daa51;},'aHLBu':function(_0xdfcb30,_0x4fe756){return _0xdfcb30===_0x4fe756;},'NcXTT':_0x406e78(0x23b),'cEPUw':function(_0x4bf29c,_0x18c150){return _0x4bf29c(_0x18c150);},'iXKdz':function(_0x4b56f1,_0x1d4fcd,_0xc9cb8f){return _0x4b56f1(_0x1d4fcd,_0xc9cb8f);},'pWcUZ':function(_0x13e6b9,_0x3b56bf){return _0x13e6b9===_0x3b56bf;},'ZiQXS':_0x406e78(0x266),'jpUfu':'passed','tFqzv':function(_0x4be431,_0x1be6e0){return _0x4be431===_0x1be6e0;},'TYXWb':_0x406e78(0x255),'MJJfw':_0x406e78(0x218),'PKzCK':_0x406e78(0x299),'lcGwd':function(_0x186481,_0x3b0cc0,_0x217d21){return _0x186481(_0x3b0cc0,_0x217d21);},'dgAqb':function(_0x33541d,_0x45f457){return _0x33541d||_0x45f457;},'OLnOD':function(_0x51abd6,_0x3675d9){return _0x51abd6(_0x3675d9);},'LivWH':function(_0x49c461,_0x269261){return _0x49c461(_0x269261);},'ykIuY':function(_0x5aaacc,_0x1b3a10){return _0x5aaacc>_0x1b3a10;},'McMBW':function(_0x2e4f59,_0x286ea7,_0x11eea6){return _0x2e4f59(_0x286ea7,_0x11eea6);},'pcRmr':function(_0x2ecc09,_0x1a75fb){return _0x2ecc09-_0x1a75fb;},'QAfCB':function(_0x42e95c,_0x50562f,_0x22bb8d,_0x580a7a){return _0x42e95c(_0x50562f,_0x22bb8d,_0x580a7a);},'yDdrJ':_0x406e78(0x263),'imTYC':function(_0x107f38,_0x39aa1b){return _0x107f38===_0x39aa1b;},'sxYoR':function(_0x276951,_0x1e30d9){return _0x276951>=_0x1e30d9;},'SEjlc':function(_0x348477,_0x4a9950){return _0x348477===_0x4a9950;},'KOmnk':function(_0x5863d3,_0x29d89b){return _0x5863d3+_0x29d89b;},'fehBZ':function(_0x3fb814,_0x1f6016){return _0x3fb814>_0x1f6016;},'qJErU':function(_0xfdc0ed,_0x1ab957,_0x2de98b){return _0xfdc0ed(_0x1ab957,_0x2de98b);},'NdRSJ':'path','EmCDX':function(_0x1379d1,_0xb7491b){return _0x1379d1(_0xb7491b);},'ZhRBS':_0x406e78(0x2cc)};logger[_0x406e78(0x283)](_0x406e78(0x24c)+_0x43a17b);const _0xf7e3b8=_0x58ed1e[_0x406e78(0x2d2)](getTestRunIdentifier,_0x14e982,_0x437c34['retry']),_0x527bea=new Date(),_0x4eddff=_0x437c34[_0x406e78(0x207)],_0x15e1f8=TestInfo[_0x406e78(0x259)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x270)]]||{};let _0x492895=_0x4eddff;if(_0x58ed1e[_0x406e78(0x2d8)](_0x437c34['status'],_0x14e982[_0x406e78(0x2e3)]))_0x492895=_0x58ed1e[_0x406e78(0x244)](_0x437c34[_0x406e78(0x207)],_0x58ed1e[_0x406e78(0x2e9)])?_0x58ed1e[_0x406e78(0x2e9)]:_0x58ed1e['jpUfu'];else{(_0x58ed1e[_0x406e78(0x244)](_0x492895,_0x58ed1e['jpUfu'])||_0x58ed1e[_0x406e78(0x2e8)](_0x492895,_0x58ed1e[_0x406e78(0x2c6)])||_0x58ed1e[_0x406e78(0x22c)](_0x492895,_0x58ed1e['MJJfw']))&&(_0x492895=_0x58ed1e[_0x406e78(0x2c6)]);if(_0x58ed1e[_0x406e78(0x28c)](_0x437c34['status'],_0x58ed1e['jpUfu'])&&_0x58ed1e['tFqzv'](_0x14e982[_0x406e78(0x2e3)],_0x58ed1e[_0x406e78(0x2c6)])){const _0x27782a={};_0x27782a[_0x406e78(0x28e)]=_0x58ed1e['PKzCK'],_0x27782a['stack']=_0x58ed1e[_0x406e78(0x2f9)],_0x437c34[_0x406e78(0x2f2)]=_0x27782a,_0x437c34[_0x406e78(0x2d3)]=[_0x437c34[_0x406e78(0x2f2)]];}}const {failureData:_0x137e8b,logs:_0x27dadc}=_0x58ed1e[_0x406e78(0x220)](getFailureData,_0x437c34?.[_0x406e78(0x2d3)],{}),_0x5be35a={[TestFrameworkConstants[_0x406e78(0x242)]]:_0x58ed1e[_0x406e78(0x245)](_0x137e8b,null),[TestFrameworkConstants[_0x406e78(0x254)]]:_0x437c34?.[_0x406e78(0x2f2)]&&_0x58ed1e[_0x406e78(0x238)](getFailureType,_0x437c34[_0x406e78(0x2f2)][_0x406e78(0x28e)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x437c34?.[_0x406e78(0x2f2)]&&_0x58ed1e[_0x406e78(0x223)](removeAnsiColors,_0x437c34['error']['message']),[TestFrameworkConstants[_0x406e78(0x209)]]:[],[TestFrameworkConstants[_0x406e78(0x205)]]:_0x492895,[TestFrameworkConstants[_0x406e78(0x2da)]]:_0x527bea[_0x406e78(0x210)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x406e78(0x210)](),[TestFrameworkConstants[_0x406e78(0x270)]]:_0x15e1f8};if(_0x437c34&&_0x58ed1e[_0x406e78(0x22a)](_0x437c34[_0x406e78(0x2d5)],0x0)){const _0x14fc9c=TestInfo[_0x406e78(0x2fb)](_0x58ed1e[_0x406e78(0x2b5)](getTestRunIdentifier,_0x14e982,_0x58ed1e[_0x406e78(0x271)](_0x437c34[_0x406e78(0x2d5)],0x1)));_0x5be35a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x14fc9c;}const _0x2005e2={};_0x2005e2[_0x406e78(0x263)]=_0x14e982;const _0x195180=this[_0x406e78(0x230)](TestFrameworkState[_0x406e78(0x23d)],HookState[_0x406e78(0x2eb)],_0x2005e2),_0x15898b=_0x195180['getAllData']()[_0x406e78(0x28a)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x2e0)]],_0x840699=_0x4a6bbe||_0x58ed1e['QAfCB'](getStepsAndLogs,_0x437c34['steps'],_0x15898b,_0x58ed1e[_0x406e78(0x233)])[_0x406e78(0x261)],_0x2a368d=new Map(),_0x18afb4=new Map();let _0xa41453=0x0;const _0x4cede3=[];for(const _0x16ebfa of _0x840699||[]){const _0x509bae=_0x16ebfa['parent_id']||null;let _0x528797;if(_0x58ed1e[_0x406e78(0x21b)](_0x509bae,null)){if(_0x58ed1e[_0x406e78(0x25d)](_0xa41453,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x528797=0x0,_0xa41453++;}else{const _0x11bcf2=_0x2a368d['get'](_0x509bae);if(_0x58ed1e[_0x406e78(0x227)](_0x11bcf2,undefined))continue;_0x528797=_0x58ed1e[_0x406e78(0x2ec)](_0x11bcf2,0x1);if(_0x58ed1e[_0x406e78(0x287)](_0x528797,TestFrameworkConstants[_0x406e78(0x1f9)]))continue;}_0x2a368d[_0x406e78(0x2ea)](_0x16ebfa['id'],_0x528797),_0x18afb4['set'](_0x16ebfa['id'],_0x16ebfa['text']),_0x4cede3[_0x406e78(0x2ae)]({'id':_0x16ebfa['id'],'parent_id':_0x509bae,'parent_text':_0x509bae?_0x18afb4[_0x406e78(0x28a)](_0x509bae)||'':'','text':_0x16ebfa[_0x406e78(0x249)],'keyword':_0x16ebfa[_0x406e78(0x2a4)]||null,'started_at':_0x16ebfa[_0x406e78(0x252)],'duration':_0x16ebfa[_0x406e78(0x1ff)]??null,'result':_0x16ebfa[_0x406e78(0x217)],'failure':_0x16ebfa[_0x406e78(0x21d)]||null,'failure_type':_0x16ebfa[_0x406e78(0x2c0)]||null});}const _0x19c2e7={};_0x19c2e7[_0x406e78(0x261)]=_0x4cede3,_0x5be35a[TestFrameworkConstants[_0x406e78(0x212)]]=_0x19c2e7,logger[_0x406e78(0x283)](_0x406e78(0x26c)+_0x4cede3[_0x406e78(0x291)]+_0x406e78(0x247)+_0x43a17b);const _0x495173=[],_0x46b6dd=_0x58ed1e['qJErU'](findNestedKey,_0x437c34,_0x58ed1e[_0x406e78(0x214)]);if(_0x46b6dd&&_0x58ed1e['cEPUw'](validateFilePath,_0x46b6dd))try{_0x495173[_0x406e78(0x2ae)]({'kind':_0x58ed1e[_0x406e78(0x28b)],'timestamp':new Date()[_0x406e78(0x210)](),'test_run_uuid':_0x15898b,'file_name':path[_0x406e78(0x2ba)](_0x46b6dd),'file_size':fs['statSync'](_0x46b6dd)[_0x406e78(0x27c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5f1b19){logger[_0x406e78(0x2f2)](_0x406e78(0x20e)+_0x46b6dd+':\x20'+_0x5f1b19[_0x406e78(0x28e)]);}const _0x1ad0e9=TestInfo[_0x406e78(0x24a)](),_0x3c680c=_0x1ad0e9[_0x406e78(0x2cf)](_0xeef036=>_0xeef036[_0x406e78(0x2dc)]===_0x15898b);_0x3c680c['forEach'](_0x21ba22=>{const _0x5dbee2=_0x406e78;if(_0x21ba22[_0x5dbee2(0x2b0)]&&_0x58ed1e[_0x5dbee2(0x2df)](validateFilePath,_0x21ba22[_0x5dbee2(0x2b0)])&&!_0x495173[_0x5dbee2(0x2f8)](_0xacc859=>_0xacc859[_0x5dbee2(0x23c)]===path[_0x5dbee2(0x2ba)](_0x21ba22[_0x5dbee2(0x2b0)])))try{_0x495173[_0x5dbee2(0x2ae)]({'kind':_0x58ed1e[_0x5dbee2(0x28b)],'timestamp':new Date()[_0x5dbee2(0x210)](),'test_run_uuid':_0x15898b,'file_name':path[_0x5dbee2(0x2ba)](_0x21ba22[_0x5dbee2(0x2b0)]),'file_size':fs[_0x5dbee2(0x251)](_0x21ba22[_0x5dbee2(0x2b0)])[_0x5dbee2(0x27c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x356d7a){logger[_0x5dbee2(0x2f2)](_0x5dbee2(0x26e)+_0x21ba22['filePath']+_0x5dbee2(0x1fc)+_0x356d7a[_0x5dbee2(0x28e)]);}});if(_0x58ed1e[_0x406e78(0x287)](_0x495173['length'],0x0)){const _0x49ff01=_0x5be35a[TestFrameworkConstants['KEY_LOGS']]||[];_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]=[..._0x49ff01,..._0x495173];}const _0x5a1fd0=TestInfo[_0x406e78(0x259)](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x28f)]]||{},_0x25d12d=_0x58ed1e[_0x406e78(0x220)](getManualUploadLogs,_0x5a1fd0,_0x195180[_0x406e78(0x2e7)]()['get'](_0xf7e3b8)[TestFrameworkConstants[_0x406e78(0x2e0)]]);if(_0x58ed1e[_0x406e78(0x287)](_0x25d12d[_0x406e78(0x291)],0x0)){const _0xe50f26=_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]||[];_0x5be35a[TestFrameworkConstants[_0x406e78(0x209)]]=[..._0xe50f26,..._0x25d12d];}const _0x83e708=_0x14e982[_0x406e78(0x2e1)]||[],_0xed9ed=_0x5be35a[TestFrameworkConstants[_0x406e78(0x270)]]||{},_0x930788=_0x58ed1e[_0x406e78(0x221)](require,_0x58ed1e[_0x406e78(0x296)]);_0x83e708[_0x406e78(0x2c7)](_0x44ea18=>{const _0x347b6e=_0x406e78,{type:_0x332f1c}=_0x44ea18;let _0x483159=_0x44ea18['description'];if(!_0x332f1c)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x347b6e(0x206)](_0x332f1c))return;(_0x58ed1e[_0x347b6e(0x28c)](_0x483159,undefined)||_0x58ed1e['pesHi'](_0x483159,null)||_0x58ed1e['aHLBu'](_0x58ed1e[_0x347b6e(0x2df)](String,_0x483159)[_0x347b6e(0x2b7)](),''))&&(_0x483159=_0x58ed1e[_0x347b6e(0x2f5)]);const _0x63f76b=helper[_0x347b6e(0x2d0)](_0x58ed1e[_0x347b6e(0x21a)](String,_0x483159));_0x930788[_0x347b6e(0x201)](_0xed9ed,_0x332f1c,_0x63f76b);}),_0x5be35a[TestFrameworkConstants[_0x406e78(0x270)]]=_0xed9ed,TestInfo[_0x406e78(0x2d6)](_0xf7e3b8,_0x5be35a);const _0x7ce5cd={};return _0x7ce5cd[_0xf7e3b8]=_0x5be35a,_0x7ce5cd;}[a94_0x132f99(0x208)](_0x8c883f,_0x1ef358,_0x41cc8a){const _0x329d35=a94_0x132f99,_0x417c5f={'zavNG':function(_0x5e15b,_0x42438a){return _0x5e15b||_0x42438a;},'RvSqZ':function(_0x54664b,_0x273f10,_0x28c1d0){return _0x54664b(_0x273f10,_0x28c1d0);}};try{const {test:_0x13f225,result:_0x2ba75e,step:_0x4ce0b1}=_0x41cc8a;if(_0x417c5f[_0x329d35(0x25f)](!_0x13f225,!_0x4ce0b1)||!_0x2ba75e)return;const _0x2cb446=_0x417c5f[_0x329d35(0x27a)](getTestRunIdentifier,_0x13f225,_0x2ba75e[_0x329d35(0x2d5)]);logger[_0x329d35(0x283)](_0x329d35(0x20d)+_0x2cb446+'\x20hookState='+_0x1ef358+_0x329d35(0x27b)+_0x4ce0b1['title']+'\x22');}catch(_0x5efd12){logger['error']('trackStepEvent:\x20exception='+util[_0x329d35(0x215)](_0x5efd12));}}async['trackHookEvent'](_0x2ee568,_0x3eb1b9,_0x3ba141,_0x32f00d){const _0x405e09=a94_0x132f99,_0x87d2ee={'DvJIt':function(_0x2b3a01,_0x433960,_0x415360){return _0x2b3a01(_0x433960,_0x415360);},'mCneo':function(_0x473a6b,_0x89da9c){return _0x473a6b in _0x89da9c;},'lFbKr':function(_0x49ba13,_0x425598){return _0x49ba13(_0x425598);},'nfBYG':function(_0x17d21c,_0x100030){return _0x17d21c===_0x100030;},'KmorP':function(_0x66f083){return _0x66f083();},'VPogp':function(_0x4acf5e,_0x9adea3){return _0x4acf5e>_0x9adea3;},'QRKnf':function(_0x338fc4,_0x19ff0b,_0x44498b){return _0x338fc4(_0x19ff0b,_0x44498b);},'qehep':'err','fwYie':function(_0x4e3da0,_0x44a718){return _0x4e3da0(_0x44a718);},'AmZLC':'failed','yfeWx':'passed','EUDju':function(_0x28bdd8,_0x363fd2){return _0x28bdd8!==_0x363fd2;},'YiLzS':function(_0x9cb79f,_0x5dcef8){return _0x9cb79f+_0x5dcef8;},'bsVxZ':'hook'},_0x410f6b=_0x32f00d['test'],_0x4eb34f=_0x32f00d['step'],_0x9e6126=_0x87d2ee[_0x405e09(0x29a)](getTestRunIdentifier,_0x410f6b,_0x32f00d['result'][_0x405e09(0x2d5)]),_0x1180fd=_0x3eb1b9[_0x405e09(0x232)]()[_0x405e09(0x235)]('.')[0x1];let _0x1b33e5=_0x2ee568[_0x405e09(0x2e7)]()[_0x405e09(0x28a)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x2fa)]];!_0x1b33e5&&(_0x1b33e5={});!_0x87d2ee[_0x405e09(0x26b)](_0x1180fd,_0x1b33e5)&&(_0x1b33e5[_0x1180fd]=[]);let _0x1cac79=_0x2ee568[_0x405e09(0x2e7)]()[_0x405e09(0x28a)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x285)]];!_0x1cac79&&(_0x1cac79={});!_0x87d2ee[_0x405e09(0x26b)](_0x1180fd,_0x1cac79)&&(_0x1cac79[_0x1180fd]=[]);const _0x3cb1ae={[TestFrameworkConstants[_0x405e09(0x2fa)]]:_0x1b33e5,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x1cac79},_0x59c907={};_0x59c907[_0x9e6126]=_0x3cb1ae;const _0x56c80e=_0x59c907,_0x57568b=_0x87d2ee['lFbKr'](getPlaywrightTestFilePath,_0x410f6b),_0x187858=_0x57568b,_0x99bb25=TestInfo[_0x405e09(0x259)](_0x9e6126)[TestFrameworkConstants[_0x405e09(0x270)]]||{};if(_0x87d2ee['nfBYG'](_0x3ba141,HookState[_0x405e09(0x20b)])){const _0x150897={'key':_0x1180fd,[TestFrameworkConstants[_0x405e09(0x226)]]:_0x87d2ee['KmorP'](uuidv4),[TestFrameworkConstants[_0x405e09(0x250)]]:TestFrameworkConstants[_0x405e09(0x2ab)],[TestFrameworkConstants[_0x405e09(0x22f)]]:_0x4eb34f[_0x405e09(0x2d9)],[TestFrameworkConstants[_0x405e09(0x273)]]:[],[TestFrameworkConstants[_0x405e09(0x26d)]]:_0x4eb34f['title'],[TestFrameworkConstants[_0x405e09(0x2a7)]]:_0x57568b,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x187858,[TestFrameworkConstants[_0x405e09(0x270)]]:_0x99bb25};_0x1b33e5[_0x1180fd]['push'](_0x150897),_0x56c80e[_0x9e6126][TestFrameworkConstants[_0x405e09(0x28d)]]=_0x1180fd,logger['debug'](_0x405e09(0x2e4)+_0x1180fd+_0x405e09(0x2ef)+_0x150897+_0x405e09(0x281)+_0x32f00d);}else{if(_0x87d2ee['nfBYG'](_0x3ba141,HookState[_0x405e09(0x2eb)])){const _0x4e2d5c=await _0x32f00d[_0x405e09(0x217)],_0x3d1a00=_0x1b33e5[_0x1180fd]||[],_0x578759=_0x32f00d[_0x405e09(0x200)];logger[_0x405e09(0x283)](_0x405e09(0x20c)+_0x3d1a00+'\x20and\x20args\x20=\x20'+_0x32f00d);if(_0x87d2ee[_0x405e09(0x265)](_0x3d1a00[_0x405e09(0x291)],0x0)){const _0x277883=_0x3d1a00[_0x405e09(0x2a9)]();if(_0x578759['error']){const _0xc2164f=_0x87d2ee[_0x405e09(0x20f)](failureData,_0x578759[_0x405e09(0x2f2)],_0x87d2ee[_0x405e09(0x29e)]);_0x277883[TestFrameworkConstants[_0x405e09(0x27e)]]=_0x87d2ee[_0x405e09(0x2b4)](getFailureType,_0x578759?.[_0x405e09(0x2f2)][_0x405e09(0x28e)]),_0x277883[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x87d2ee['lFbKr'](removeAnsiColors,_0x578759?.[_0x405e09(0x2f2)][_0x405e09(0x28e)]),_0x277883[TestFrameworkConstants[_0x405e09(0x250)]]=_0x87d2ee[_0x405e09(0x267)],_0x277883[TestFrameworkConstants[_0x405e09(0x293)]]=_0xc2164f;}else _0x277883[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x87d2ee[_0x405e09(0x24e)];_0x87d2ee[_0x405e09(0x2dd)](_0x4e2d5c,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x277883[TestFrameworkConstants[_0x405e09(0x250)]]=!_0x578759[_0x405e09(0x2f2)]?_0x87d2ee[_0x405e09(0x24e)]:_0x87d2ee['AmZLC']);const _0xeda28a=new Date(_0x578759['startTime']),_0x2e6769=new Date(_0x87d2ee[_0x405e09(0x211)](_0xeda28a[_0x405e09(0x1f8)](),_0x578759[_0x405e09(0x1ff)]));_0x277883[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x2e6769[_0x405e09(0x210)](),_0x277883[TestFrameworkConstants[_0x405e09(0x270)]]=_0x99bb25;const _0x432797=_0x277883[TestFrameworkConstants[_0x405e09(0x226)]];await this['sendLogCreatedEvent'](_0x2ee568,_0x3eb1b9,_0x432797,_0x87d2ee[_0x405e09(0x219)],_0x32f00d),!_0x1cac79[_0x1180fd]&&(_0x1cac79[_0x1180fd]=[]),_0x1cac79[_0x1180fd][_0x405e09(0x2ae)](_0x277883),_0x56c80e[_0x9e6126][TestFrameworkConstants[_0x405e09(0x268)]]=_0x1180fd;}}}return _0x56c80e;}async[a94_0x132f99(0x297)](_0x36d754,_0x1954e5,_0x1d0c2c,_0x554f10,_0x3e3dd1,_0x1fe263){const _0x108089=a94_0x132f99,_0x2ddec7={'OYplB':function(_0xe69cd0,_0x11a028){return _0xe69cd0===_0x11a028;},'XIZNX':_0x108089(0x263),'VBRbb':function(_0x33efd2,_0x1d51ae,_0x24b8ec){return _0x33efd2(_0x1d51ae,_0x24b8ec);},'iKzHD':_0x108089(0x26a),'JtwXI':function(_0x46a57c,_0x1abd90,_0x919fc3,_0xf4e75b){return _0x46a57c(_0x1abd90,_0x919fc3,_0xf4e75b);},'senyR':function(_0x1a5789,_0x3d5d6c,_0x136c03){return _0x1a5789(_0x3d5d6c,_0x136c03);},'jNWAO':function(_0xe05e9,_0x196804,_0x157b62){return _0xe05e9(_0x196804,_0x157b62);},'uFbMM':function(_0x506ce7,_0x490b99,_0x2a4cfd){return _0x506ce7(_0x490b99,_0x2a4cfd);},'VNulq':function(_0x6f6a16,_0x58b8d3){return _0x6f6a16/_0x58b8d3;},'Zifls':function(_0x427466,_0x3c86ca){return _0x427466<_0x3c86ca;},'FisXn':function(_0x39c18b,_0x7e76cc){return _0x39c18b*_0x7e76cc;},'iEBDb':function(_0x468574,_0x34dbad){return _0x468574+_0x34dbad;},'MzPRR':function(_0x596c3c,_0x22df8f,_0x59d609,_0x264f9c,_0x4d7a2a){return _0x596c3c(_0x22df8f,_0x59d609,_0x264f9c,_0x4d7a2a);},'aHPhg':function(_0x284e09,_0x4f9500){return _0x284e09+_0x4f9500;},'YqRZz':'hook','cgszv':function(_0x1707c3,_0x4da675,_0x1f53b1,_0x3fb067,_0x5761c4){return _0x1707c3(_0x4da675,_0x1f53b1,_0x3fb067,_0x5761c4);}};try{if(_0x2ddec7[_0x108089(0x228)](_0x554f10,_0x2ddec7[_0x108089(0x2c3)])){const _0x3d7812=await _0x3e3dd1['result'],_0x357a87=_0x2ddec7['VBRbb'](getTestRunIdentifier,_0x3e3dd1[_0x108089(0x263)],_0x3e3dd1[_0x108089(0x217)][_0x108089(0x2d5)]),_0x2e9e78=_0x3e3dd1[_0x108089(0x263)];logger[_0x108089(0x283)](_0x108089(0x22e)+_0x357a87+'\x20result='+util[_0x108089(0x295)](_0x3d7812));const _0x38fe23=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]];await _0x2ddec7['VBRbb'](sendTraceZip,_0x3d7812,_0x38fe23);const _0x481450=TestInfo['getTestDetails'](_0x357a87)[_0x2ddec7[_0x108089(0x2de)]],_0x4538be={};if(_0x481450){!_0x3d7812['attachments']&&(_0x3d7812[_0x108089(0x26a)]=[]);_0x4538be['attachments']=_0x3d7812['attachments']['concat'](_0x481450||[]);const _0x824e6b=TestInfo[_0x108089(0x259)](_0x357a87);delete _0x824e6b[_0x2ddec7[_0x108089(0x2de)]],TestInfo['setTestDetails'](_0x357a87,_0x824e6b);}const _0x64d2d4=_0x1fe263||_0x2ddec7[_0x108089(0x2a6)](getStepsAndLogs,_0x3d7812[_0x108089(0x261)],_0x36d754[_0x108089(0x2e7)]()['get'](_0x357a87)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2ddec7[_0x108089(0x2c3)])['logs'],_0x52c77b=_0x2ddec7[_0x108089(0x23f)](getScreenshots,_0x4538be,_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),_0x424494=_0x2ddec7[_0x108089(0x1fa)](getVideos,_0x3d7812,_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),{_:_0x1f905b,logs:_0x52cf00}=_0x2ddec7[_0x108089(0x2b9)](getFailureData,_0x3d7812[_0x108089(0x2d3)],{'test_run_uuid':_0x36d754['getAllData']()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]}),_0x1a0afb=TestInfo[_0x108089(0x259)](_0x357a87)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xa5aa2a=_0x2ddec7['uFbMM'](getMediaArtifactsLogs,_0x1a0afb,_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87)[TestFrameworkConstants[_0x108089(0x2e0)]]),_0x2212e7=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x357a87),{[TestFrameworkConstants[_0x108089(0x27d)]]:_0x4642f0='',[TestFrameworkConstants[_0x108089(0x2ce)]]:_0x570f51=''}=_0x2212e7,_0x25ae20=(_0x64d2d4||[])[_0x108089(0x224)](_0x52c77b||[])[_0x108089(0x224)](_0x52cf00||[])[_0x108089(0x224)](_0x424494||[])[_0x108089(0x224)](_0xa5aa2a||[]),_0x42340c=0x28,_0x377e38=Math[_0x108089(0x236)](_0x2ddec7[_0x108089(0x2a3)](_0x25ae20['length'],_0x42340c));for(let _0x4704b6=0x0;_0x2ddec7[_0x108089(0x2a8)](_0x4704b6,_0x377e38);_0x4704b6++){const _0x47d4ed=_0x2ddec7[_0x108089(0x2af)](_0x4704b6,_0x42340c),_0x854e29=_0x2ddec7[_0x108089(0x21f)](_0x47d4ed,_0x42340c),_0x37f84f=_0x25ae20[_0x108089(0x262)](_0x47d4ed,_0x854e29),_0x3a5a7b={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x37f84f,'testFrameworkName':_0x4642f0,'testFrameworkVersion':_0x570f51,'testFrameworkState':_0x1954e5[_0x108089(0x232)]()[_0x108089(0x235)]('.')[0x1]};_0x2ddec7['MzPRR'](updatePayloadForTraceLogs,_0x3a5a7b,_0x3e3dd1,_0x357a87,_0x36d754),logger[_0x108089(0x283)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x357a87+_0x108089(0x25e)+_0x2ddec7[_0x108089(0x246)](_0x4704b6,0x1)+'/'+_0x377e38+_0x108089(0x2ca)+util[_0x108089(0x295)](_0x3a5a7b));const _0x112882=await GrpcClient[_0x108089(0x1fb)]()[_0x108089(0x1fe)](_0x3a5a7b);logger[_0x108089(0x283)](_0x108089(0x2cb)+_0x357a87+_0x108089(0x25e)+_0x2ddec7[_0x108089(0x21f)](_0x4704b6,0x1)+'/'+_0x377e38+_0x108089(0x2b8)+util[_0x108089(0x295)](_0x112882));}}else{const {logs:_0x774161}=_0x2ddec7['JtwXI'](getStepsAndLogs,_0x3e3dd1[_0x108089(0x200)][_0x108089(0x261)],_0x1d0c2c,_0x2ddec7[_0x108089(0x2bf)]),_0x55d7ee=_0x2ddec7['VBRbb'](getTestRunIdentifier,_0x3e3dd1[_0x108089(0x263)],_0x3e3dd1[_0x108089(0x217)][_0x108089(0x2d5)]);logger[_0x108089(0x283)](_0x108089(0x22e)+_0x55d7ee);const _0x30b830=_0x36d754[_0x108089(0x2e7)]()[_0x108089(0x28a)](_0x55d7ee),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2510ea='',[TestFrameworkConstants[_0x108089(0x2ce)]]:_0x23a60a=''}=_0x30b830,_0x4d91b3={'platformIndex':'0','logs':_0x774161,'testFrameworkName':_0x2510ea,'testFrameworkVersion':_0x23a60a,'testFrameworkState':_0x1954e5[_0x108089(0x232)]()[_0x108089(0x235)]('.')[0x1]};_0x2ddec7['cgszv'](updatePayloadForTraceLogs,_0x4d91b3,_0x3e3dd1,_0x55d7ee,_0x36d754),logger[_0x108089(0x283)](_0x108089(0x2cb)+_0x55d7ee+_0x108089(0x2ca)+util[_0x108089(0x295)](_0x4d91b3));const _0x275a71=await GrpcClient['getInstance']()[_0x108089(0x1fe)](_0x4d91b3);}}catch(_0x4b16fc){logger[_0x108089(0x2f2)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util['format'](_0x4b16fc));}}[a94_0x132f99(0x1fd)](_0x35c982){const _0x23451e=a94_0x132f99,_0x425eae={'MfPqX':function(_0x3b1bc2,_0x25d2ce,_0x416298){return _0x3b1bc2(_0x25d2ce,_0x416298);},'avygn':function(_0x12e5bd,_0x4a6a2b){return _0x12e5bd<_0x4a6a2b;},'KYjNF':_0x23451e(0x277)};try{const _0x5cc40a=_0x35c982[_0x23451e(0x263)]['id'],_0x9f401c=_0x425eae['MfPqX'](getTestRunIdentifier,_0x35c982[_0x23451e(0x263)],_0x35c982[_0x23451e(0x217)][_0x23451e(0x2d5)]),_0x1e1ca4=_0x35c982[_0x23451e(0x275)],_0x55dc5f=_0x1e1ca4[_0x23451e(0x2d1)](),_0x3f2487=_0x1e1ca4['getAllData']()['get'](_0x9f401c);logger[_0x23451e(0x283)](_0x23451e(0x2bd)+_0x5cc40a);const {[TestFrameworkConstants[_0x23451e(0x27d)]]:_0xc33750='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x39a30e='',[TestFrameworkConstants[_0x23451e(0x279)]]:_0xd38cc0='',[TestFrameworkConstants[_0x23451e(0x2da)]]:_0x475ad8=''}=_0x3f2487,_0xf36e72=_0x1e1ca4[_0x23451e(0x1f4)]()[_0x23451e(0x232)]()[_0x23451e(0x235)]('.')[0x1],_0x5be3a8=_0x1e1ca4[_0x23451e(0x264)]()[_0x23451e(0x232)]()[_0x23451e(0x235)]('.')[0x1],_0x32658f=_0x425eae[_0x23451e(0x2a1)](_0x35c982?.[_0x23451e(0x217)]?.[_0x23451e(0x292)]??0x0,0x0)?0x0:_0x35c982?.[_0x23451e(0x217)]?.[_0x23451e(0x292)]??0x0,_0x1dcb5b=_0x1e1ca4[_0x23451e(0x2aa)](),_0x1a86c3=Buffer[_0x23451e(0x237)](JSON[_0x23451e(0x2cd)](_0x3f2487))[_0x23451e(0x232)](_0x425eae['KYjNF']),_0x199b26={'hash':_0x55dc5f['getId'](),'threadId':_0x55dc5f[_0x23451e(0x289)]()['toString'](),'processId':_0x55dc5f[_0x23451e(0x2c1)]()[_0x23451e(0x232)]()},_0xc6d9e={};_0xc6d9e[_0x23451e(0x203)]=_0x32658f,_0xc6d9e[_0x23451e(0x216)]=_0xc33750,_0xc6d9e[_0x23451e(0x27f)]=_0x39a30e,_0xc6d9e[_0x23451e(0x29c)]=_0xf36e72,_0xc6d9e[_0x23451e(0x23e)]=_0x5be3a8,_0xc6d9e[_0x23451e(0x274)]=_0xd38cc0,_0xc6d9e[_0x23451e(0x2f6)]=_0x475ad8,_0xc6d9e[_0x23451e(0x25b)]=_0x1dcb5b,_0xc6d9e['eventJson']=_0x1a86c3,_0xc6d9e[_0x23451e(0x2f3)]=_0x199b26;const _0x2bf77d=_0xc6d9e;return logger[_0x23451e(0x283)](_0x23451e(0x24b)+_0x5cc40a+_0x23451e(0x2f1)+_0xf36e72+_0x23451e(0x257)+_0x5be3a8),_0x2bf77d;}catch(_0x289900){return logger[_0x23451e(0x2f2)](_0x23451e(0x2ee)+util[_0x23451e(0x215)](_0x289900)),{};}}}function a94_0x4756(_0x23420e,_0x46f683){const _0x4e6091=a94_0x4e60();return a94_0x4756=function(_0x475613,_0x326821){_0x475613=_0x475613-0x1f4;let _0x477ce1=_0x4e6091[_0x475613];return _0x477ce1;},a94_0x4756(_0x23420e,_0x46f683);}function a94_0x4e60(){const _0xe6fe75=[',\x20testFrameworkState=','inspect','ZhRBS','sendLogCreatedEvent','4522010OwskOA','Expected\x20to\x20fail,\x20but\x20passed.','DvJIt','slow','testFrameworkState','addMultipleEntries','qehep','../cliUtils.js','DkNEw','avygn','lsymg','VNulq','keyword','\x20instance=','JtwXI','KEY_TEST_FILE_PATH','Zifls','pop','getRef','DEFAULT_HOOK_RESULT','fail','getTestIdentifierFromTestInfo','push','FisXn','filePath','KEY_AUTOMATE_SESSION_NAME','UzzYi','3120264itIIzZ','fwYie','McMBW','27mWZdwl','trim','\x20response=','jNWAO','basename','3748ZitBhU','info','createTestFrameworkEventPayload\x20testId:\x20','parsePlaywrightTest','YqRZz','failure_type','getProcessId','DEFAULT_TEST_RESULT','XIZNX','KEY_TEST_TAGS','4675dyOGli','TYXWb','forEach','NONE','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','\x20payload=','sendLogCreatedEvent\x20for\x20testId:\x20','../customTagManager','stringify','KEY_TEST_FRAMEWORK_VERSION','filter','parseCommaSeparatedValues','getContext','iXKdz','errors','./testFramework','retry','setTestDetails','parsePlaywrightTestResult','pWcUZ','startTime','KEY_TEST_ENDED_AT','9744987OnZGbs','testUId','EUDju','iKzHD','Okkcg','KEY_TEST_UUID','annotations','PudQL','expectedStatus','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getId','results','getAllData','tFqzv','ZiQXS','set','POST','KOmnk','setTrackedInstance','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20&\x20hook\x20=\x20','9919192syaKFc','\x20testState:\x20','error','executionContext','TEST_SCREENSHOT','NcXTT','endedAt','getCurrentInstanceName','some','PKzCK','KEY_HOOKS_STARTED','getTestUUID','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getCurrentTestState','../../utils/constants','trackPlaywrightInstance','sxjqq','getTime','MAX_NESTED_STEP_DEPTH','VBRbb','getInstance','\x20from\x20TestDetails:\x20','createTestFrameworkEventPayload','logCreatedEvent','duration','step','mergeIntoTags','307ZrplBL','platformIndex','../../../../src/helpers/helper','KEY_TEST_RESULT','has','status','trackStepEvent','KEY_LOGS','gPutC','PRE','Hook\x20List\x20in\x20Post\x20','trackStepEvent:\x20testId=','Error\x20processing\x20direct\x20trace\x20file\x20','QRKnf','toISOString','YiLzS','KEY_TEST_META','zPfXh','NdRSJ','format','testFrameworkName','result','timedOut','bsVxZ','cEPUw','imTYC','54950995WonTll','failure','trackEvent','iEBDb','lcGwd','EmCDX','KEY_TEST_ID','LivWH','concat','KEY_TEST_SCOPES','KEY_HOOK_ID','SEjlc','OYplB','zuhRj','ykIuY','\x20testHookState=','pesHi','../grpcClient','sendLogCreatedEvent:\x20testId=','KEY_EVENT_STARTED_AT','resolveInstance','KEY_TEST_SCOPE','toString','yDdrJ','trackHookEvent','split','ceil','from','OLnOD','5494eXbqoK','util','No\x20reason\x20provided','file_name','TEST','hookState','senyR','runHooks','6ztDasf','KEY_TEST_FAILURE','getTestFrameworks','aHLBu','dgAqb','aHPhg','\x20steps\x20for\x20testId=','JXggA','text','getTraceFilePaths','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','parsePlaywrightTestResult:\x20testId=','../instances/testFrameworkInstance.js','yfeWx','MrHnx','KEY_HOOK_RESULT','statSync','started_at','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_FAILURE_TYPE','failed','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','\x20hookState:\x20','ELlUj','getTestDetails','../state/testFrameworkState.js','uuid','getTestFrameworksVersions','sxYoR','\x20batch\x20','zavNG','../../../helpers/classLogger.js','steps','slice','test','getCurrentHookState','VPogp','skipped','AmZLC','KEY_HOOK_LAST_FINISHED','KEY_TEST_NAME','attachments','mCneo','parsePlaywrightTestResult:\x20extracted\x20','KEY_HOOK_NAME','Error\x20processing\x20trace\x20file\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_CUSTOM_TAGS','pcRmr','TjIHt','KEY_HOOK_LOGS','startedAt','instance','matchHookRegex','base64','../../playwright/reporter/pwUtils','KEY_TEST_STARTED_AT','RvSqZ','\x20step=\x22','size','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_FAILURE_TYPE','testFrameworkVersion','../TestInfo.js','\x20\x20and\x20args\x20=\x20','path','debug','KEY_TEST_RERUN_NAME','KEY_HOOKS_FINISHED','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','fehBZ','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getThreadId','get','jdSiq','PfnQw','KEY_HOOK_LAST_STARTED','message','KEY_TEST_ATTACHMENTS','VhhPR','length','parallelIndex','KEY_HOOK_FAILURE'];a94_0x4e60=function(){return _0xe6fe75;};return a94_0x4e60();}module['exports']=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0xfbe8c1=a95_0x32c0;(function(_0x56de81,_0x54ca60){const _0x3af472=a95_0x32c0,_0x4cf026=_0x56de81();while(!![]){try{const _0x48c6fd=-parseInt(_0x3af472(0xd3))/0x1+-parseInt(_0x3af472(0xd5))/0x2*(-parseInt(_0x3af472(0xdf))/0x3)+parseInt(_0x3af472(0xf2))/0x4*(parseInt(_0x3af472(0xd7))/0x5)+-parseInt(_0x3af472(0xf1))/0x6+parseInt(_0x3af472(0xee))/0x7*(-parseInt(_0x3af472(0xd0))/0x8)+parseInt(_0x3af472(0xef))/0x9+parseInt(_0x3af472(0xf4))/0xa;if(_0x48c6fd===_0x54ca60)break;else _0x4cf026['push'](_0x4cf026['shift']());}catch(_0x7e5de1){_0x4cf026['push'](_0x4cf026['shift']());}}}(a95_0x7167,0xe9c3c));function a95_0x32c0(_0x26d923,_0x1184f3){const _0x71670c=a95_0x7167();return a95_0x32c0=function(_0x32c0d1,_0x18b5f8){_0x32c0d1=_0x32c0d1-0xcf;let _0x5d248d=_0x71670c[_0x32c0d1];return _0x5d248d;},a95_0x32c0(_0x26d923,_0x1184f3);}const AutomationFramework=require(a95_0xfbe8c1(0xda)),{createClassLogger}=require(a95_0xfbe8c1(0xe8)),AutomationFrameworkState=require(a95_0xfbe8c1(0xd2)),HookState=require(a95_0xfbe8c1(0xe2)),CLIUtils=require(a95_0xfbe8c1(0xd8)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a95_0xfbe8c1(0xed));class PuppeteerAutomationFramework extends AutomationFramework{[a95_0xfbe8c1(0xe4)]=createClassLogger(a95_0xfbe8c1(0xea));constructor(_0x4a36f3,_0x5baa5f){super(_0x4a36f3,_0x5baa5f);}async[a95_0xfbe8c1(0xe0)](_0x3b13ca,_0x59c75a,_0x272926={}){const _0xf4de57=a95_0xfbe8c1,_0xd5bd31={};_0xd5bd31[_0xf4de57(0xe5)]=function(_0x1f0881,_0x5be67a){return _0x1f0881===_0x5be67a;},_0xd5bd31[_0xf4de57(0xe1)]=_0xf4de57(0xf7);const _0x1a3c8b=_0xd5bd31;this[_0xf4de57(0xe4)]['debug']('trackEvent:\x20automationFrameworkState='+_0x3b13ca+_0xf4de57(0xde)+_0x59c75a),await super[_0xf4de57(0xe0)](_0x3b13ca,_0x59c75a,_0x272926);const _0x1d49e6=this[_0xf4de57(0xec)](_0x3b13ca,_0x59c75a,_0x272926);if(_0x1a3c8b[_0xf4de57(0xe5)](_0x1d49e6,null)){this['logger']['debug'](_0x1a3c8b['ZgXgn']);return;}_0x272926['instance']=_0x1d49e6,await this[_0xf4de57(0xf5)](_0x1d49e6,_0x3b13ca,_0x59c75a,_0x272926);}['resolveInstance'](_0x13e764,_0x5093d9,_0x369d26={}){const _0x15efc3=a95_0xfbe8c1,_0x15ad93={};_0x15ad93['xjRAy']=function(_0x19ebc1,_0x7fcafe){return _0x19ebc1===_0x7fcafe;},_0x15ad93['TDycj']=function(_0x27bf48,_0x15cb7d){return _0x27bf48===_0x15cb7d;},_0x15ad93[_0x15efc3(0xdc)]=function(_0x5509a1,_0x25a77b){return _0x5509a1===_0x25a77b;};const _0x5bbbe2=_0x15ad93;let _0x364a5b=null;return(_0x5bbbe2['xjRAy'](_0x13e764,AutomationFrameworkState['CREATE'])&&_0x5bbbe2[_0x15efc3(0xd6)](_0x5093d9,HookState[_0x15efc3(0xcf)])||_0x5bbbe2['uanwm'](_0x13e764,AutomationFrameworkState[_0x15efc3(0xdd)]))&&this['trackPuppeteerInstance'](_0x13e764,_0x369d26),_0x364a5b=AutomationFramework[_0x15efc3(0xe9)](),_0x364a5b;}['trackPuppeteerInstance'](_0x46b1e4,_0x201760){const _0x442273=a95_0xfbe8c1,_0x1d1a00={};_0x1d1a00[_0x442273(0xe6)]=_0x442273(0xf0);const _0x8a701b=_0x1d1a00;if(AutomationFramework[_0x442273(0xe9)]()){this['logger'][_0x442273(0xdb)](_0x8a701b[_0x442273(0xe6)]);return;}const _0x30449a=CLIUtils[_0x442273(0xd1)](),_0xb00ae0=TrackedInstance['createContext'](_0x30449a);let _0x62b748=null;this['logger'][_0x442273(0xdb)](_0x442273(0xf3)+_0x30449a+',\x20state='+_0x46b1e4),_0x62b748=new AutomationFrameworkInstance(_0xb00ae0,this['getAutomationFrameworkName'](),this[_0x442273(0xe3)](),_0x46b1e4),AutomationFramework[_0x442273(0xe7)](_0xb00ae0,_0x62b748),this['logger'][_0x442273(0xdb)](_0x442273(0xeb)+_0xb00ae0[_0x442273(0xf6)]()+_0x442273(0xd4)+_0x30449a);}}module[a95_0xfbe8c1(0xd9)]=PuppeteerAutomationFramework;function a95_0x7167(){const _0x2edd7b=['ZgXgn','../state/hookState.js','getAutomationFrameworkVersion','logger','fDMhJ','bRcIS','setTrackedInstance','../../../helpers/classLogger.js','getTrackedInstance','PuppeteerAutomationFramework','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','resolveInstance','../instances/automationFrameworkInstance.js','255122pYDomm','7434324owNHVc','trackPuppeteerInstance:\x20instance\x20already\x20exists','9733860MdVjVP','16ttdEaw','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','14377940wSysle','runHooks','getId','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','PRE','360kRznJn','getCurrentInstanceName','../state/automationFrameworkState.js','42393IceMIa','\x20target=','10JKtNzZ','TDycj','418985RcrScS','../cliUtils.js','exports','./automationFramework.js','info','uanwm','NONE','\x20hookState=','997953aRqYRW','trackEvent'];a95_0x7167=function(){return _0x2edd7b;};return a95_0x7167();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a96_0x50f8(_0x279d0c,_0x1fd337){const _0x239213=a96_0x2392();return a96_0x50f8=function(_0x50f851,_0x57c169){_0x50f851=_0x50f851-0x155;let _0x2d4815=_0x239213[_0x50f851];return _0x2d4815;},a96_0x50f8(_0x279d0c,_0x1fd337);}const a96_0x1e5e48=a96_0x50f8;(function(_0xf8aa29,_0x4356ad){const _0x2faf5f=a96_0x50f8,_0x43ccdf=_0xf8aa29();while(!![]){try{const _0x4623ab=parseInt(_0x2faf5f(0x17b))/0x1*(-parseInt(_0x2faf5f(0x177))/0x2)+parseInt(_0x2faf5f(0x16e))/0x3*(-parseInt(_0x2faf5f(0x173))/0x4)+-parseInt(_0x2faf5f(0x170))/0x5+parseInt(_0x2faf5f(0x162))/0x6+parseInt(_0x2faf5f(0x15f))/0x7+parseInt(_0x2faf5f(0x157))/0x8+-parseInt(_0x2faf5f(0x15b))/0x9*(-parseInt(_0x2faf5f(0x176))/0xa);if(_0x4623ab===_0x4356ad)break;else _0x43ccdf['push'](_0x43ccdf['shift']());}catch(_0x3d82c4){_0x43ccdf['push'](_0x43ccdf['shift']());}}}(a96_0x2392,0x593b1));function a96_0x2392(){const _0x1e7661=['exports','setState','3404418SkiBkX','../../../helpers/classLogger','setInstance','trackEvent','trackEvent:\x20testFrameworkState=','../instances/trackedInstance',';\x20hookState=','setCurrentHookState','getAllData','get','../state/hookState','../eventDispatcher','36258WqozqL','../instances/testFrameworkInstance','1473290bZTseY','set','getState','48YjNwXD','__bstack_test_framework_instances__','registerObserver','1472270nZwqWk','68024rcHKcz','getInstances','instances','has','19vfoIdY','../cliUtils','runHooks','testFrameworks','binSessionId','getCurrentInstanceName','getTestFrameworks','setCurrentTestState','1891568gzbgKl','TestFramework','hasState','getHookRegistryKey','9ESTcsT','notifyObserver','getId','getTrackedInstance','3502317QOwqgW'];a96_0x2392=function(){return _0x1e7661;};return a96_0x2392();}const CLIUtils=require(a96_0x1e5e48(0x17c)),eventDispatcher=require(a96_0x1e5e48(0x16d)),TestFrameworkInstance=require(a96_0x1e5e48(0x16f)),TrackedContext=require('../instances/trackedContext'),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a96_0x1e5e48(0x16c)),{createClassLogger}=require(a96_0x1e5e48(0x163)),TrackedInstance=require(a96_0x1e5e48(0x167)),logger=createClassLogger(a96_0x1e5e48(0x158));!global[a96_0x1e5e48(0x174)]&&(global[a96_0x1e5e48(0x174)]=new Map());class TestFramework{static get[a96_0x1e5e48(0x179)](){const _0xaa898d=a96_0x1e5e48;return global[_0xaa898d(0x174)];}['testFrameworks']=[];['testFrameworkVersions']={};[a96_0x1e5e48(0x17f)]=null;constructor(_0x502c4d,_0x35d983,_0x41f0b2){const _0x360cfa=a96_0x1e5e48;this[_0x360cfa(0x17e)]=_0x502c4d,this['testFrameworkVersions']=_0x35d983,this[_0x360cfa(0x17f)]=_0x41f0b2;}[a96_0x1e5e48(0x178)](){return TestFramework['instances'];}[a96_0x1e5e48(0x164)](_0x2cf3a0,_0x154255){const _0x471185=a96_0x1e5e48;TestFramework[_0x471185(0x179)][_0x471185(0x171)](_0x2cf3a0['getId'],_0x154255);}static[a96_0x1e5e48(0x15e)](){const _0x43b5e1=a96_0x1e5e48,_0x4a72e4=TrackedInstance['createContext'](CLIUtils[_0x43b5e1(0x180)]());return TestFramework[_0x43b5e1(0x179)][_0x43b5e1(0x16b)](_0x4a72e4[_0x43b5e1(0x15d)]());}static['setTrackedInstance'](_0x143e2f,_0x1f9411){const _0x3c9f5c=a96_0x1e5e48;TestFramework[_0x3c9f5c(0x179)][_0x3c9f5c(0x171)](_0x143e2f[_0x3c9f5c(0x15d)](),_0x1f9411);}['getTestFrameworksVersions'](){return this['testFrameworkVersions'];}[a96_0x1e5e48(0x155)](){const _0x1e49a9=a96_0x1e5e48;return this[_0x1e49a9(0x17e)];}[a96_0x1e5e48(0x165)](_0x2ec44a,_0xa349fc,_0x345106={}){const _0x5edc15=a96_0x1e5e48;logger['debug'](_0x5edc15(0x166)+_0x2ec44a+_0x5edc15(0x168)+_0xa349fc);}async[a96_0x1e5e48(0x17d)](_0x5157df,_0x1393e6,_0x3e2d95,_0x3a6e88={}){const _0x37322c=a96_0x1e5e48,_0x492501=CLIUtils[_0x37322c(0x15a)](_0x1393e6,_0x3e2d95);_0x5157df[_0x37322c(0x156)](_0x1393e6),_0x5157df[_0x37322c(0x169)](_0x3e2d95),await eventDispatcher[_0x37322c(0x15c)](_0x492501,_0x3a6e88);}static[a96_0x1e5e48(0x175)](_0x2b779e,_0x5e8d82,_0x3f1e32){eventDispatcher['registerObserver'](CLIUtils['getHookRegistryKey'](_0x2b779e,_0x5e8d82),_0x3f1e32);}static[a96_0x1e5e48(0x172)](_0x610ae8,_0x1b65ca){const _0x374a85=a96_0x1e5e48;return _0x610ae8[_0x374a85(0x16a)]()[_0x374a85(0x16b)](_0x1b65ca);}static[a96_0x1e5e48(0x161)](_0x2fe99a,_0xaf659f,_0x35b260){const _0x13f424=a96_0x1e5e48;_0x2fe99a[_0x13f424(0x16a)]()['set'](_0xaf659f,_0x35b260);}static[a96_0x1e5e48(0x159)](_0x20076a,_0x2438d6){const _0x3e4284=a96_0x1e5e48;return _0x20076a[_0x3e4284(0x16a)]()[_0x3e4284(0x17a)](_0x2438d6);}}module[a96_0x1e5e48(0x160)]=TestFramework;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function a97_0x4ea3(_0xa22dce,_0x5ea871){const _0x1e40db=a97_0x1e40();return a97_0x4ea3=function(_0x4ea326,_0x498d7a){_0x4ea326=_0x4ea326-0xd0;let _0x413dce=_0x1e40db[_0x4ea326];return _0x413dce;},a97_0x4ea3(_0xa22dce,_0x5ea871);}const a97_0x45587d=a97_0x4ea3;(function(_0x15cd27,_0x2c877a){const _0x48ecd6=a97_0x4ea3,_0x4d1241=_0x15cd27();while(!![]){try{const _0x1ec8e8=parseInt(_0x48ecd6(0xf2))/0x1+parseInt(_0x48ecd6(0xf5))/0x2*(-parseInt(_0x48ecd6(0xff))/0x3)+-parseInt(_0x48ecd6(0xe9))/0x4+parseInt(_0x48ecd6(0xf7))/0x5+parseInt(_0x48ecd6(0xe0))/0x6*(parseInt(_0x48ecd6(0xdf))/0x7)+-parseInt(_0x48ecd6(0xd3))/0x8*(parseInt(_0x48ecd6(0xda))/0x9)+-parseInt(_0x48ecd6(0xd1))/0xa*(-parseInt(_0x48ecd6(0x101))/0xb);if(_0x1ec8e8===_0x2c877a)break;else _0x4d1241['push'](_0x4d1241['shift']());}catch(_0x204078){_0x4d1241['push'](_0x4d1241['shift']());}}}(a97_0x1e40,0xd201e));const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require(a97_0x45587d(0x104)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),TrackedInstance=require(a97_0x45587d(0x100)),{createClassLogger}=require(a97_0x45587d(0xfb)),logger=createClassLogger(a97_0x45587d(0xf4));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x4c4530,_0x5cfa34){super(_0x4c4530,_0x5cfa34);}async['trackEvent'](_0x2f43f0,_0x565072,_0xbf5819={}){const _0x5d0071=a97_0x45587d;await super['trackEvent'](_0x2f43f0,_0x565072,_0xbf5819);const _0x4fe3ba=this[_0x5d0071(0xd5)](_0x2f43f0,_0x565072,_0xbf5819);if(!_0x4fe3ba){logger[_0x5d0071(0xfe)](_0x5d0071(0xed)+_0x2f43f0+_0x5d0071(0xdc)+_0x565072);return;}_0xbf5819['instance']=_0x4fe3ba,await this['runHooks'](_0x4fe3ba,_0x2f43f0,_0x565072,_0xbf5819);}[a97_0x45587d(0xd5)](_0xdf761b,_0x1a7b12,_0x10b815={}){const _0x86ba4=a97_0x45587d,_0x547020={};_0x547020['YCvrB']=_0x86ba4(0xf9),_0x547020['wWOLy']=function(_0x28d7fd,_0xb0acce){return _0x28d7fd===_0xb0acce;},_0x547020[_0x86ba4(0xee)]=function(_0x3c5568,_0x48ad9d){return _0x3c5568===_0x48ad9d;},_0x547020['sfJMk']=function(_0x40a2c5,_0x3a7737){return _0x40a2c5||_0x3a7737;};const _0x15048c=_0x547020,_0x4f5ff7=_0x10b815['userAgent']||null;if(!_0x4f5ff7)return logger[_0x86ba4(0xe5)](_0x15048c[_0x86ba4(0xf0)]),AutomationFramework[_0x86ba4(0xf1)]();const _0x21a748=Number[_0x86ba4(0xfc)](_0x10b815[_0x86ba4(0x102)])?_0x10b815[_0x86ba4(0x102)]:0x0,_0x11f5af='testcafe:'+_0x4f5ff7+'#'+_0x21a748;let _0xe7a452=AutomationFramework['instances'][_0x86ba4(0xd8)](_0x11f5af);if(!_0xe7a452&&(_0x15048c[_0x86ba4(0xfd)](_0xdf761b,AutomationFrameworkState[_0x86ba4(0xfa)])||_0x15048c['mdIiA'](_0xdf761b,AutomationFrameworkState[_0x86ba4(0xe4)]))){const _0x520417=TrackedInstance[_0x86ba4(0xf6)](_0x11f5af);_0xe7a452=new AutomationFrameworkInstance(_0x520417,this[_0x86ba4(0xea)](),this[_0x86ba4(0xd0)](),_0xdf761b),AutomationFramework[_0x86ba4(0x103)][_0x86ba4(0xf3)](_0x11f5af,_0xe7a452),logger[_0x86ba4(0xe3)]('resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22'+_0x4f5ff7+_0x86ba4(0xd6)+_0x21a748+_0x86ba4(0xe6)+_0x11f5af);}return _0x15048c[_0x86ba4(0xdd)](_0xe7a452,null);}static[a97_0x45587d(0xe2)](_0x5a3231,_0x40e0af=0x0){const _0x30c2c1=a97_0x45587d,_0x4bf332='testcafe:'+_0x5a3231+'#'+_0x40e0af;return AutomationFramework[_0x30c2c1(0x103)]['delete'](_0x4bf332);}static[a97_0x45587d(0xef)](_0x59f41e,_0x23211a=0x0){const _0x4bc7f9=a97_0x45587d;return AutomationFramework['instances'][_0x4bc7f9(0xd8)](_0x4bc7f9(0xeb)+_0x59f41e+'#'+_0x23211a)||null;}static*[a97_0x45587d(0xe8)](){const _0x3f704d=a97_0x45587d,_0x51da35={};_0x51da35[_0x3f704d(0xe1)]=function(_0x5a220d,_0x5a214a){return _0x5a220d===_0x5a214a;},_0x51da35[_0x3f704d(0xf8)]=_0x3f704d(0xd9),_0x51da35[_0x3f704d(0xd2)]=_0x3f704d(0xeb),_0x51da35[_0x3f704d(0xd4)]=function(_0x2b96ee,_0x2ed08c){return _0x2b96ee===_0x2ed08c;},_0x51da35[_0x3f704d(0xec)]=function(_0x26416a,_0x4bd7c4){return _0x26416a+_0x4bd7c4;};const _0x3025e5=_0x51da35;for(const [_0x8f5d36,_0x2c579c]of AutomationFramework[_0x3f704d(0x103)][_0x3f704d(0xdb)]()){if(_0x3025e5[_0x3f704d(0xe1)](typeof _0x8f5d36,_0x3025e5[_0x3f704d(0xf8)])&&_0x8f5d36['startsWith'](_0x3025e5[_0x3f704d(0xd2)])){const _0x13cca5=_0x8f5d36[_0x3f704d(0xd7)](_0x3025e5['FTDNC'][_0x3f704d(0x106)]),_0x13349d=_0x13cca5[_0x3f704d(0xe7)]('#');if(_0x3025e5['uGVqu'](_0x13349d,-0x1)){const _0x5e2346={};_0x5e2346['userAgent']=_0x13cca5,_0x5e2346[_0x3f704d(0x102)]=0x0,_0x5e2346[_0x3f704d(0x105)]=_0x2c579c,yield _0x5e2346;}else{const _0x3d5ab5=_0x13cca5[_0x3f704d(0xd7)](0x0,_0x13349d),_0x44c77e=Number['parseInt'](_0x13cca5[_0x3f704d(0xd7)](_0x3025e5['SfYtb'](_0x13349d,0x1)),0xa)||0x0,_0x223d3e={};_0x223d3e[_0x3f704d(0xde)]=_0x3d5ab5,_0x223d3e[_0x3f704d(0x102)]=_0x44c77e,_0x223d3e[_0x3f704d(0x105)]=_0x2c579c,yield _0x223d3e;}}}}}module['exports']=TestCafeAutomationFramework;function a97_0x1e40(){const _0x171510=['resolveInstance','\x22\x20platformIndex=','slice','get','string','18GUiPzd','entries','\x20hookState=','sfJMk','userAgent','7bOOSzS','3958602HNVygz','pnVJH','removeInstance','info','NONE','warn','\x20→\x20','lastIndexOf','iterAllInstances','6107544BNdWoW','getAutomationFrameworkName','testcafe:','SfYtb','trackEvent:\x20no\x20instance\x20for\x20state=','mdIiA','getInstanceByUserAgent','YCvrB','getTrackedInstance','1017146hXZhbK','set','TestCafeAutomationFramework','10NZrNiP','createContext','6787955nsXZAq','WSgIt','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','CREATE','../../../helpers/classLogger.js','isInteger','wWOLy','debug','395580IAFzpY','../instances/trackedInstance.js','11jNmNwN','platformIndex','instances','../instances/automationFrameworkInstance.js','instance','length','getAutomationFrameworkVersion','9219740OtqzaX','FTDNC','3640408NkwsKw','uGVqu'];a97_0x1e40=function(){return _0x171510;};return a97_0x1e40();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function a98_0x141f(_0x575415,_0x66af8d){const _0x384458=a98_0x3844();return a98_0x141f=function(_0x141f70,_0x2a93f3){_0x141f70=_0x141f70-0x1da;let _0x8f5031=_0x384458[_0x141f70];return _0x8f5031;},a98_0x141f(_0x575415,_0x66af8d);}function a98_0x3844(){const _0x586149=['forEach','fixture','IXDpq','isArray','sendLogCreatedEvent','UdOAh','HnXFQ','string','KEY_HOOK_ID','\x20completed','skipped','hook_id','KEY_SESSION_ID','KWQTZ','resolveInstance','toISOString','_parseTestStart','rFZBq','event_ended_at','sPadx','getInstance','1240cGaqFt','pKwEu','testSessionEvent','FpsOw','HOOK_REGEX','base64','KEY_TEST_FAILURE_TYPE','fHyZm','wfQBK','cWfHI','RAaeb','BiQJg','wtaiR','chSqo','ImziL','addMultipleEntries','FNdFD','name','3372882sIMRzQ','KEY_HOOK_NAME','mipme','11GfCoXH','getTestFrameworks','TEST','./constants/testFrameworkConstants.js','UWKjv','passed','brsuT','__pendingPlatformUuids','wGSuo','after','EtDog','errs','tag','XPJNt','hJDpH','AFTER_EACH','AFTER_ALL','11006410oeRzts','PVFYy','startsWith','finalizeOrphans:\x20emitting\x20synthetic\x20TestRunFinished\x20for\x20','../state/testFrameworkState.js','DVroz','screenshots','__currentPlatformUuids','sendLogCreatedEvent:\x20no\x20testIdentifier,\x20skipping','dZPcT','\x20testUuid=','trackEvent\x20TEST\x20PRE:\x20fanning\x20out\x20for\x20','sendLogCreatedEvent:\x20nothing\x20to\x20send\x20for\x20testId=','Test\x20execution\x20started:\x20','okYZy','getCurrentHookState','\x20testName=','KEY_HOOK_LAST_STARTED','DnFWe','nSgmA','__fixture_','KEY_EVENT_STARTED_AT','\x20platform_index=','length','AFTER_','./testcafeAutomationFramework.js','temva','rFEIZ','hubUrl','updateData','KEY_EVENT_ENDED_AT','\x20target=','UDGTp','DGzvl','yLSuh','zUvIU','getTestFrameworksVersions','_getTestIdentifier','fBQZh','FVjrg','level','KEY_TEST_TAGS','getState','trackEvent\x20','yaxxO','unknown::','JygkD','846652HDnCox','trackEvent:\x20state=','getContext','qdjmg','keys','before_all','lFRkR','message','oWnJU','get','klxxs','createContext','failed','IAqYH','.__platformUuids','ITSLD','screenshotPath','KdQRV','getRef','_trackTestCafeInstance:\x20contextId=','\x20started','testFrameworkEvent','before','TestCafeError','ECpar','fixtureIdentifier','from','BEFORE_','getId','FPSRv','601yhIhEa','HYziO','vkTMS','DypzQ','type','dhguE','HZbBw','AXeIS','toString','288891YZNFIM','getData','wTaBH','testName','startTime','testcafe','UzBCy','endsWith','_sendLifecycleLogs\x20pi=','test_run_uuid','kCDfT','isInteger','PRE','_stripAnsi','CgYRd','PEkLq','_sendHookCbtEvents','zSXNU','KEY_HOOK_RESULT','stack','dGTqP','\x20ref=','getAllData','KEY_TEST_LOCATION','LxTps','before(fixture)','yIWhu','getConfig','DEFAULT_HOOK_RESULT','NONE','zFVTL','FwTvO','KEY_TEST_NAME',':\x20uuid=','Qryho','IMAGE','nNctO','sendLogCreatedEvent:\x20emitting\x20','object','delete','finalizeOrphans:\x20no\x20orphan\x20test_runs\x20to\x20finalize','Lhdpz','xScbs','match','event_started_at','BEFORE_EACH','lXhZf','hKaNd','eHEOf','_startedTestUuids','after(fixture)','zfjgx','GTFwn','./testFramework','../instances/testFrameworkInstance.js','eJpBH','__platformUuids','_sendLifecycleLogs\x20failed:\x20','\x20logs\x20for\x20testId=','jSJKE','Error','__pendingPlatformIdentifiers','getCurrentInstanceName','(orphan\x20test\x20','TestCafe','meta','\x20fan-out:\x20','BJfMY','getCurrentTestState','Test\x20execution\x20finished\x20—\x20result:\x20','LFVbQ','set','dmaiI','xjIck','toLowerCase','TgWez','finalizeOrphans:\x20synthetic\x20TestRunFinished\x20uuid=','filter','tags','UIPQs','testStartInfo','.__platformIdentifiers','trim','KIND_LOG','KEY_CAPABILITIES','platformIndex','debug','1176093bwMtiY','uuid','15jWXVUr','lKaEy','sendLogCreatedEvent\x20failed:\x20','../../../helpers/helper.js','instance','_trackTestCafeInstance','tnKzZ','::retry','testRunInfo\x20unavailable\x20—\x20TestCafe\x20runner\x20crash\x20or\x20unexpected\x20teardown','\x20pi=','2102422sJvkID','hRQGm','wOdiX','\x20platforms\x20(reusingFixtureUuids=','KEY_TEST_DURATION','rQoGr','push','entries','NHYUB','size','uCTaz','createTestFrameworkEventPayload:\x20','../../../helpers/classLogger.js','stringify','finalizeOrphans','KEY_TEST_FAILURE','\x20hookState=','IawqN','KEY_TEST_SCREENSHOTS','FFUUm','map','xBnfR','getTrackedInstance','tCbvx','WShDY','split','KEY_TEST_STARTED_AT','trackEvent','error','trackEvent:\x20exception\x20state=%s\x20hookState=%s\x20err=%s','8WjDTQM','_extractTestTags','HXyXQ','_sendLifecycleLogs','TestCafeOrphanTimeout','_parseTestEnd','KEY_HOOKS_STARTED','\x20state=','DhSgX','KEY_TEST_SCOPE','KEY_TEST_UUID','POST','testUuid','FkstC','unknown','hfjwN','LxcbH','nkIyh','../modules/testcafeDriverModule.js','Tlnmj','../browserstackCLI.js','_trackHookEvent','test','path','KEY_TEST_FRAMEWORK_VERSION','matchHookRegex','tqiDD','EkXDv','INIT_TEST','dxdVd','RowbC','KEY_TEST_ENDED_AT','createTestFrameworkEventPayload','durationMs','tPHoa','KEY_TEST_LOGS','XxSnV','testIdentifier','nUQsJ','./automationFramework.js','\x20sessionId=','SMXlI','__platformIdentifiers','getProcessId','replace','iterAllInstances','trackEvent:\x20runHooks\x20failed\x20—\x20','bLIzh','userAgents','_sendHookCbtEvents\x20failed:\x20','_lazyCreateInstance','Hook\x20','_deriveFailureType','testRunInfo','SGcGb','getThreadId','eGhmW','exports','rGVTv','SouzM','KEY_TEST_RESULT','afterEach(test)','KEY_TEST_FAILURE_REASON','kind','NbvEW','../cliUtils.js','KEY_HOOKS_FINISHED','info','_sendHookCbtEvents:\x20','KEY_TEST_FRAMEWORK_NAME','logCreatedEvent','warn','beforeEach(test)','format','EZKDd','TestCafe\x20reporter\x20did\x20not\x20fire\x20reportTestDone\x20for\x20this\x20test_run;\x20SDK\x20emitted\x20a\x20synthetic\x20TestRunFinished\x20on\x20teardown\x20to\x20avoid\x20an\x20indefinite\x20in_progress\x20state\x20on\x20the\x20o11y\x20dashboard.','IPMOc','\x20platform\x20identifiers,\x20uuids='];a98_0x3844=function(){return _0x586149;};return a98_0x3844();}const a98_0x6ecd1=a98_0x141f;(function(_0x361b88,_0x325380){const _0x5ca70a=a98_0x141f,_0x34ead0=_0x361b88();while(!![]){try{const _0x4128f2=-parseInt(_0x5ca70a(0x339))/0x1*(-parseInt(_0x5ca70a(0x2c6))/0x2)+parseInt(_0x5ca70a(0x239))/0x3+-parseInt(_0x5ca70a(0x31b))/0x4*(parseInt(_0x5ca70a(0x23b))/0x5)+-parseInt(_0x5ca70a(0x2d8))/0x6+-parseInt(_0x5ca70a(0x245))/0x7+parseInt(_0x5ca70a(0x263))/0x8*(-parseInt(_0x5ca70a(0x1e2))/0x9)+parseInt(_0x5ca70a(0x2ec))/0xa*(parseInt(_0x5ca70a(0x2db))/0xb);if(_0x4128f2===_0x325380)break;else _0x34ead0['push'](_0x34ead0['shift']());}catch(_0x3c6450){_0x34ead0['push'](_0x34ead0['shift']());}}}(a98_0x3844,0x51f5f));const TestFramework=require(a98_0x6ecd1(0x217)),TestFrameworkState=require(a98_0x6ecd1(0x2f0)),HookState=require('../state/hookState.js'),TestFrameworkInstance=require(a98_0x6ecd1(0x218)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a98_0x6ecd1(0x2de)),CLIUtils=require(a98_0x6ecd1(0x2a4)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),{getPlaywrightProvider,getProductForSession}=require(a98_0x6ecd1(0x23e)),{createClassLogger}=require(a98_0x6ecd1(0x251)),{v4:uuidv4}=require(a98_0x6ecd1(0x23a)),util=require('util'),logger=createClassLogger('TestCafeTestFramework');class TestCafeTestFramework extends TestFramework{constructor(_0xfb8d5d,_0x3d8291,_0x44775b){const _0x48c0a0=a98_0x6ecd1;super(_0xfb8d5d,_0x3d8291,_0x44775b),this[_0x48c0a0(0x213)]=new Map();}async[a98_0x6ecd1(0x260)](_0x1dd419,_0x1daa4d,_0x135a61={}){const _0x87bafa=a98_0x6ecd1,_0x5f5c2b={'Lhdpz':function(_0x5673b4,_0xe1c169){return _0x5673b4===_0xe1c169;},'dxdVd':function(_0x3f2160,_0x420d5a){return _0x3f2160>_0x420d5a;},'SouzM':_0x87bafa(0x2e2),'dhguE':_0x87bafa(0x21f),'UdOAh':function(_0x101004,_0x282585){return _0x101004<_0x282585;},'uCTaz':function(_0x4ec673){return _0x4ec673();},'rQLRX':function(_0xf0d569,_0x97dd23){return _0xf0d569&&_0x97dd23;},'FNdFD':_0x87bafa(0x2f3),'AXeIS':'__currentPlatformIdentifiers','rFZBq':function(_0x59f97a,_0x2b6cde){return _0x59f97a===_0x2b6cde;},'yLSuh':function(_0x508bb7,_0xf4b320){return _0x508bb7===_0xf4b320;},'nNctO':function(_0x1cdaf9,_0x4fb3d0){return _0x1cdaf9>_0x4fb3d0;},'nUQsJ':'test','rGVTv':_0x87bafa(0x336),'HQrmF':function(_0x44bb70,_0x249d12){return _0x44bb70===_0x249d12;},'tqiDD':function(_0x442d6a,_0x40d484){return _0x442d6a===_0x40d484;},'IawqN':function(_0x21728e,_0x56b5a8){return _0x21728e>_0x56b5a8;},'FPSRv':_0x87bafa(0x262),'UWKjv':function(_0x4f9598,_0x19a550){return _0x4f9598===_0x19a550;},'KWQTZ':function(_0x562f16,_0x4a620d){return _0x562f16===_0x4a620d;},'temva':function(_0x2ce81c,_0x2d4b49){return _0x2ce81c||_0x2d4b49;},'lFRkR':function(_0x151324,_0x4e6a8a){return _0x151324===_0x4e6a8a;},'RseJA':function(_0x483a18,_0x3d6fcc){return _0x483a18===_0x3d6fcc;}};super[_0x87bafa(0x260)](_0x1dd419,_0x1daa4d,_0x135a61);const _0x4c763a=this[_0x87bafa(0x2bf)](_0x1dd419,_0x1daa4d,_0x135a61);if(!_0x4c763a){logger['debug']('trackEvent:\x20no\x20instance\x20for\x20state='+_0x1dd419+'\x20hookState='+_0x1daa4d);return;}_0x4c763a['setCurrentTestState'](_0x1dd419),_0x4c763a['setCurrentHookState'](_0x1daa4d),_0x135a61[_0x87bafa(0x23f)]=_0x4c763a,logger[_0x87bafa(0x238)](_0x87bafa(0x31c)+_0x1dd419+_0x87bafa(0x255)+_0x1daa4d+_0x87bafa(0x1f7)+(_0x4c763a[_0x87bafa(0x32d)]&&_0x4c763a[_0x87bafa(0x32d)]()));try{if(_0x5f5c2b[_0x87bafa(0x20b)](_0x1dd419,TestFrameworkState['TEST'])&&_0x5f5c2b[_0x87bafa(0x20b)](_0x1daa4d,HookState[_0x87bafa(0x1ee)])){const _0x2e0fad=this[_0x87bafa(0x311)](_0x135a61['test'],0x0),_0x381121=Array[_0x87bafa(0x2b4)](_0x135a61['userAgents'])&&_0x5f5c2b['dxdVd'](_0x135a61['userAgents'][_0x87bafa(0x303)],0x0)?_0x135a61[_0x87bafa(0x293)]:[''],_0x49bc98=_0x4c763a['getData'](_0x5f5c2b['SouzM']),_0x4847f5=_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b[_0x87bafa(0x1de)]),_0x305ee6=Array['isArray'](_0x49bc98)&&_0x5f5c2b[_0x87bafa(0x20b)](_0x49bc98[_0x87bafa(0x303)],_0x381121[_0x87bafa(0x303)]);logger['info'](_0x87bafa(0x2f7)+_0x381121[_0x87bafa(0x303)]+_0x87bafa(0x248)+_0x305ee6+')');const _0x199a60=[],_0x4665d1=[],_0x4b5cbb={};for(let _0x3f594f=0x0;_0x5f5c2b[_0x87bafa(0x2b6)](_0x3f594f,_0x381121['length']);_0x3f594f++){const _0x4cc66d=_0x305ee6?_0x49bc98[_0x3f594f]:_0x5f5c2b[_0x87bafa(0x24f)](uuidv4),_0xfe7894=_0x5f5c2b['rQLRX'](_0x305ee6,_0x4847f5)&&_0x4847f5[_0x3f594f]?_0x4847f5[_0x3f594f]:_0x2e0fad+'#'+_0x3f594f;_0x199a60['push'](_0x4cc66d),_0x4665d1['push'](_0xfe7894),_0x4b5cbb[_0xfe7894]=this[_0x87bafa(0x2c1)](_0x4cc66d,_0x135a61[_0x87bafa(0x279)],_0x135a61[_0x87bafa(0x232)]);}_0x4c763a[_0x87bafa(0x309)](_0x5f5c2b[_0x87bafa(0x29e)],null),_0x4c763a['updateData'](_0x5f5c2b[_0x87bafa(0x1de)],null),_0x4c763a[_0x87bafa(0x309)](_0x5f5c2b[_0x87bafa(0x2d6)],_0x199a60),_0x4c763a[_0x87bafa(0x309)](_0x5f5c2b[_0x87bafa(0x1e0)],_0x4665d1),_0x4b5cbb[_0x2e0fad]=_0x4b5cbb[_0x4665d1[0x0]],_0x4c763a[_0x87bafa(0x2d5)](_0x4b5cbb);const _0xc6db44={[_0x2e0fad+'.__platformUuids']:_0x199a60,[_0x2e0fad+'.__platformIdentifiers']:_0x4665d1};_0x4c763a['updateMultipleEntries'](_0xc6db44),_0x135a61[_0x87bafa(0x288)]=_0x2e0fad,_0x135a61[_0x87bafa(0x26f)]=_0x199a60[0x0],_0x135a61['platformIndex']=0x0,_0x135a61['__platformUuids']=_0x199a60,_0x135a61[_0x87bafa(0x28d)]=_0x4665d1;const _0x3ba3dd=_0x135a61[_0x87bafa(0x279)]&&_0x135a61[_0x87bafa(0x279)][_0x87bafa(0x2d7)]||'';for(let _0x58a02=0x0;_0x5f5c2b[_0x87bafa(0x2b6)](_0x58a02,_0x199a60[_0x87bafa(0x303)]);_0x58a02++){this[_0x87bafa(0x213)][_0x87bafa(0x229)](_0x199a60[_0x58a02],{'testName':_0x3ba3dd,'platformIndex':_0x58a02,'testIdentifier':_0x4665d1[_0x58a02],'sessionId':null});}}if(_0x5f5c2b[_0x87bafa(0x2c2)](_0x1dd419,TestFrameworkState[_0x87bafa(0x2dd)])&&_0x5f5c2b[_0x87bafa(0x30e)](_0x1daa4d,HookState[_0x87bafa(0x26e)])){const _0x3ee3ca=_0x135a61[_0x87bafa(0x279)],_0x2a9a06=_0x135a61[_0x87bafa(0x298)],_0x1d1567=this[_0x87bafa(0x311)](_0x3ee3ca,0x0),_0x230839=_0x4c763a['getAllData']()[_0x87bafa(0x324)](_0x1d1567+_0x87bafa(0x329))||[],_0xf8b77c=_0x4c763a['getAllData']()[_0x87bafa(0x324)](_0x1d1567+'.__platformIdentifiers')||[],_0x4a4539=this[_0x87bafa(0x268)](_0x3ee3ca,_0x2a9a06),_0x2ccaeb={};for(let _0x1e7364=0x0;_0x5f5c2b['UdOAh'](_0x1e7364,_0xf8b77c['length']);_0x1e7364++){const _0x11348a=_0xf8b77c[_0x1e7364],_0x5a62b4=_0x4c763a[_0x87bafa(0x1f8)]()['get'](_0x11348a)||{},_0x1e5cb3={..._0x5a62b4,..._0x4a4539};_0x2ccaeb[_0x11348a]=_0x1e5cb3;}_0x5f5c2b[_0x87bafa(0x206)](_0xf8b77c['length'],0x0)&&(_0x2ccaeb[_0x1d1567]=_0x2ccaeb[_0xf8b77c[0x0]]);_0x4c763a[_0x87bafa(0x2d5)](_0x2ccaeb),_0x135a61[_0x87bafa(0x288)]=_0x1d1567,_0x135a61[_0x87bafa(0x26f)]=_0x230839[0x0]||'',_0x135a61[_0x87bafa(0x237)]=0x0,_0x135a61[_0x87bafa(0x21a)]=_0x230839,_0x135a61['__platformIdentifiers']=_0xf8b77c,await this[_0x87bafa(0x2b5)](_0x4c763a,_0x1dd419,_0x1daa4d,_0x5f5c2b[_0x87bafa(0x289)],_0x135a61,0x0);for(let _0x4d29d1=0x0;_0x5f5c2b[_0x87bafa(0x2b6)](_0x4d29d1,_0x230839['length']);_0x4d29d1++){this[_0x87bafa(0x213)][_0x87bafa(0x209)](_0x230839[_0x4d29d1]);}}if(CLIUtils['matchHookRegex'](_0x1dd419[_0x87bafa(0x1e1)]()[_0x87bafa(0x25e)]('.')[0x1])){const _0xa377d7=await this[_0x87bafa(0x278)](_0x4c763a,_0x1dd419,_0x1daa4d,_0x135a61);Object['entries'](_0xa377d7)[_0x87bafa(0x2b1)](([_0x5a1ea3,_0x2da874])=>_0x4c763a[_0x87bafa(0x2d5)]({[_0x5a1ea3]:_0x2da874}));const _0x5a2ed2=_0x1dd419['toString']()[_0x87bafa(0x25e)]('.')[0x1];let _0x4335e2=_0x4c763a['getData'](_0x5f5c2b[_0x87bafa(0x2d6)]),_0x1e54f4=_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b[_0x87bafa(0x1e0)]);const _0x2f25eb=Array[_0x87bafa(0x2b4)](_0x135a61['userAgents'])&&_0x5f5c2b['dxdVd'](_0x135a61[_0x87bafa(0x293)][_0x87bafa(0x303)],0x0)?_0x135a61[_0x87bafa(0x293)]:Array[_0x87bafa(0x2b4)](_0x4335e2)?_0x4335e2:[''];if(_0x5a2ed2[_0x87bafa(0x2ee)](_0x5f5c2b[_0x87bafa(0x29d)])&&_0x5f5c2b['HQrmF'](_0x1daa4d,HookState[_0x87bafa(0x1ee)])){const _0x39da25=Array[_0x87bafa(0x2b4)](_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b[_0x87bafa(0x29e)]))&&_0x5f5c2b[_0x87bafa(0x27d)](_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b[_0x87bafa(0x29e)])[_0x87bafa(0x303)],_0x2f25eb[_0x87bafa(0x303)]);if(!_0x39da25){const _0x408832=_0x2f25eb[_0x87bafa(0x259)](()=>uuidv4()),_0x14f27e=_0x2f25eb['map']((_0x19c82a,_0x4152ee)=>_0x87bafa(0x300)+(_0x135a61[_0x87bafa(0x334)]||_0x87bafa(0x271))+'#'+_0x4152ee);_0x4c763a['updateData'](_0x5f5c2b[_0x87bafa(0x29e)],_0x408832),_0x4c763a['updateData'](_0x5f5c2b[_0x87bafa(0x1de)],_0x14f27e),_0x4c763a['updateData'](_0x5f5c2b[_0x87bafa(0x2d6)],_0x408832),_0x4c763a['updateData'](_0x5f5c2b[_0x87bafa(0x1e0)],_0x14f27e),_0x4335e2=_0x408832,_0x1e54f4=_0x14f27e;}else _0x4335e2=_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b['SouzM']),_0x1e54f4=_0x4c763a['getData'](_0x5f5c2b[_0x87bafa(0x1de)]);}Array[_0x87bafa(0x2b4)](_0x4335e2)&&_0x5f5c2b[_0x87bafa(0x256)](_0x4335e2[_0x87bafa(0x303)],0x0)&&(_0x135a61['testUuid']=_0x4335e2[0x0],_0x135a61[_0x87bafa(0x237)]=0x0,_0x135a61[_0x87bafa(0x21a)]=_0x4335e2,_0x135a61[_0x87bafa(0x28d)]=_0x1e54f4);}}catch(_0x37a8ee){logger[_0x87bafa(0x261)](util[_0x87bafa(0x2ac)](_0x5f5c2b[_0x87bafa(0x338)],_0x1dd419,_0x1daa4d,_0x37a8ee['stack']||_0x37a8ee));}try{await this['runHooks'](_0x4c763a,_0x1dd419,_0x1daa4d,_0x135a61);}catch(_0x5ca507){logger['error'](_0x87bafa(0x291)+(_0x5ca507[_0x87bafa(0x1f5)]||_0x5ca507));}const _0x1b1269=_0x1dd419[_0x87bafa(0x1e1)]()[_0x87bafa(0x25e)]('.')[0x1],_0x5e062=_0x5f5c2b[_0x87bafa(0x2df)](_0x1dd419,TestFrameworkState[_0x87bafa(0x2dd)])&&(_0x5f5c2b[_0x87bafa(0x27d)](_0x1daa4d,HookState[_0x87bafa(0x1ee)])||_0x5f5c2b[_0x87bafa(0x2df)](_0x1daa4d,HookState['POST'])),_0x53fc66=CLIUtils[_0x87bafa(0x27c)](_0x1b1269)&&(_0x5f5c2b[_0x87bafa(0x2df)](_0x1daa4d,HookState['PRE'])||_0x5f5c2b[_0x87bafa(0x2be)](_0x1daa4d,HookState[_0x87bafa(0x26e)]));if(_0x5f5c2b[_0x87bafa(0x306)](_0x5e062,_0x53fc66)){let _0x116bc7=[],_0x4259f9=[];if(_0x5e062){const _0x4c8159=this[_0x87bafa(0x311)](_0x135a61[_0x87bafa(0x279)],0x0);_0x116bc7=_0x4c763a[_0x87bafa(0x1f8)]()[_0x87bafa(0x324)](_0x4c8159+_0x87bafa(0x329))||[],_0x4259f9=_0x4c763a['getAllData']()[_0x87bafa(0x324)](_0x4c8159+_0x87bafa(0x233))||[];}else _0x116bc7=Array[_0x87bafa(0x2b4)](_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b[_0x87bafa(0x2d6)]))?_0x4c763a['getData'](_0x5f5c2b['FNdFD']):[],_0x4259f9=Array['isArray'](_0x4c763a[_0x87bafa(0x1e3)](_0x5f5c2b['AXeIS']))?_0x4c763a['getData'](_0x5f5c2b[_0x87bafa(0x1e0)]):[];logger[_0x87bafa(0x2a6)](_0x87bafa(0x317)+_0x1b1269+'\x20'+_0x1daa4d[_0x87bafa(0x1e1)]()[_0x87bafa(0x25e)]('.')[0x1]+_0x87bafa(0x224)+_0x4259f9[_0x87bafa(0x303)]+_0x87bafa(0x2b0)+_0x116bc7['length']);for(let _0x530fb9=0x1;_0x5f5c2b[_0x87bafa(0x2b6)](_0x530fb9,_0x116bc7[_0x87bafa(0x303)]);_0x530fb9++){const _0x41f046={..._0x135a61};_0x41f046[_0x87bafa(0x288)]=_0x4259f9[_0x530fb9],_0x41f046['testUuid']=_0x116bc7[_0x530fb9],_0x41f046[_0x87bafa(0x237)]=_0x530fb9;const _0x44e682=_0x41f046;try{const _0x509819=this[_0x87bafa(0x283)](_0x44e682);_0x509819&&_0x5f5c2b[_0x87bafa(0x280)](Object[_0x87bafa(0x31f)](_0x509819)[_0x87bafa(0x303)],0x0)&&(logger[_0x87bafa(0x2a6)]('trackEvent\x20fan-out\x20'+_0x1b1269+_0x87bafa(0x244)+_0x530fb9+_0x87bafa(0x203)+_0x509819[_0x87bafa(0x23a)]+_0x87bafa(0x302)+_0x509819[_0x87bafa(0x237)]),await GrpcClient[_0x87bafa(0x2c5)]()['testFrameworkEvent'](_0x509819)),_0x5e062&&_0x5f5c2b[_0x87bafa(0x321)](_0x1daa4d,HookState[_0x87bafa(0x26e)])&&await this['sendLogCreatedEvent'](_0x4c763a,_0x1dd419,_0x1daa4d,_0x5f5c2b[_0x87bafa(0x289)],_0x44e682,_0x530fb9);}catch(_0x13c35d){logger['error']('trackEvent\x20fan-out\x20'+_0x1b1269+_0x87bafa(0x244)+_0x530fb9+'\x20failed:\x20'+(_0x13c35d[_0x87bafa(0x1f5)]||_0x13c35d));}}_0x53fc66&&(_0x5f5c2b['RseJA'](_0x1daa4d,HookState[_0x87bafa(0x1ee)])||_0x5f5c2b[_0x87bafa(0x27d)](_0x1daa4d,HookState[_0x87bafa(0x26e)]))&&await this[_0x87bafa(0x1f2)](_0x4c763a,_0x1b1269,_0x1daa4d,_0x116bc7),await this[_0x87bafa(0x266)](_0x4c763a,_0x1b1269,_0x1daa4d,_0x116bc7,_0x4259f9,_0x135a61);}}async[a98_0x6ecd1(0x266)](_0x267a43,_0x4394f9,_0x196248,_0x5a7c0c,_0x77e2b3,_0x1f1d87){const _0x21bf05=a98_0x6ecd1,_0x254ec9={'Fozwt':function(_0x121cd5,_0x513cbd){return _0x121cd5(_0x513cbd);},'dmaiI':'uuid','wOdiX':function(_0x533cc2,_0x8d9464){return _0x533cc2===_0x8d9464;},'tCbvx':_0x21bf05(0x2dd),'BJfMY':_0x21bf05(0x1ee),'zSXNU':function(_0xf3d69,_0xac85ab){return _0xf3d69===_0xac85ab;},'IAqYH':function(_0x4e4422,_0x2790f4){return _0x4e4422===_0x2790f4;},'rFEIZ':_0x21bf05(0x26e),'fHyZm':_0x21bf05(0x2bb),'LxTps':function(_0x1487e7,_0x1ca014){return _0x1487e7>_0x1ca014;},'kCDfT':_0x21bf05(0x327),'sPadx':'passed','UDGTp':'BEFORE_','IiHfd':'BEFORE_ALL','FkstC':_0x21bf05(0x1fb),'FFUUm':_0x21bf05(0x20f),'EZKDd':_0x21bf05(0x2ab),'RAaeb':function(_0x545392,_0x33e89e){return _0x545392===_0x33e89e;},'PVFYy':_0x21bf05(0x304),'NbvEW':function(_0x17debc,_0x3fd3e2){return _0x17debc===_0x3fd3e2;},'IPMOc':_0x21bf05(0x2eb),'tnKzZ':_0x21bf05(0x214),'TgWez':_0x21bf05(0x2ea),'EtDog':_0x21bf05(0x2a0),'rQoGr':function(_0x17e38b,_0x250efb){return _0x17e38b===_0x250efb;},'XhNRL':function(_0x1210be,_0x41ce6d){return _0x1210be===_0x41ce6d;},'NHYUB':function(_0x4ebf5c,_0x4ab17e){return _0x4ebf5c<_0x4ab17e;},'KdQRV':_0x21bf05(0x2a6)};try{const {v4:_0xec81f4}=_0x254ec9['Fozwt'](require,_0x254ec9[_0x21bf05(0x22a)]),_0x53e0bb=_0x196248[_0x21bf05(0x1e1)]()[_0x21bf05(0x25e)]('.')[0x1];let _0x7b78d='';if(_0x254ec9[_0x21bf05(0x247)](_0x4394f9,_0x254ec9[_0x21bf05(0x25c)])&&_0x254ec9['wOdiX'](_0x53e0bb,_0x254ec9[_0x21bf05(0x225)]))_0x7b78d=_0x21bf05(0x2f9)+(_0x1f1d87[_0x21bf05(0x279)]&&_0x1f1d87[_0x21bf05(0x279)]['testName']||'');else{if(_0x254ec9[_0x21bf05(0x1f3)](_0x4394f9,_0x254ec9[_0x21bf05(0x25c)])&&_0x254ec9[_0x21bf05(0x328)](_0x53e0bb,_0x254ec9[_0x21bf05(0x307)])){const _0x10ccf2=_0x1f1d87['testRunInfo']&&Array['isArray'](_0x1f1d87[_0x21bf05(0x298)]['errs'])?_0x1f1d87[_0x21bf05(0x298)]['errs']:[],_0x16cf70=_0x1f1d87[_0x21bf05(0x298)]&&_0x1f1d87['testRunInfo'][_0x21bf05(0x2bb)]?_0x254ec9[_0x21bf05(0x2cd)]:_0x254ec9[_0x21bf05(0x1fa)](_0x10ccf2['length'],0x0)?_0x254ec9[_0x21bf05(0x1ec)]:_0x254ec9[_0x21bf05(0x2c4)];_0x7b78d=_0x21bf05(0x227)+_0x16cf70;}else{if(_0x4394f9['startsWith'](_0x254ec9[_0x21bf05(0x30c)])&&_0x254ec9[_0x21bf05(0x328)](_0x53e0bb,_0x254ec9[_0x21bf05(0x225)])){const _0xe2e2e1=_0x254ec9['wOdiX'](_0x4394f9,_0x254ec9['IiHfd'])?_0x254ec9[_0x21bf05(0x270)]:_0x254ec9[_0x21bf05(0x1f3)](_0x4394f9,_0x254ec9[_0x21bf05(0x258)])?_0x254ec9['EZKDd']:_0x4394f9[_0x21bf05(0x22c)]();_0x7b78d='Hook\x20'+_0xe2e2e1+_0x21bf05(0x32f);}else{if(_0x4394f9[_0x21bf05(0x2ee)](_0x254ec9[_0x21bf05(0x30c)])&&_0x254ec9[_0x21bf05(0x1f3)](_0x53e0bb,_0x254ec9[_0x21bf05(0x307)])){const _0x5dd488=_0x254ec9[_0x21bf05(0x2d0)](_0x4394f9,_0x254ec9['IiHfd'])?_0x254ec9[_0x21bf05(0x270)]:_0x254ec9['zSXNU'](_0x4394f9,_0x254ec9['FFUUm'])?_0x254ec9[_0x21bf05(0x2ad)]:_0x4394f9[_0x21bf05(0x22c)]();_0x7b78d='Hook\x20'+_0x5dd488+_0x21bf05(0x2ba);}else{if(_0x4394f9[_0x21bf05(0x2ee)](_0x254ec9[_0x21bf05(0x2ed)])&&_0x254ec9['IAqYH'](_0x53e0bb,_0x254ec9[_0x21bf05(0x225)])){const _0x9070c9=_0x254ec9[_0x21bf05(0x2a3)](_0x4394f9,_0x254ec9[_0x21bf05(0x2af)])?_0x254ec9[_0x21bf05(0x241)]:_0x254ec9[_0x21bf05(0x328)](_0x4394f9,_0x254ec9[_0x21bf05(0x22d)])?_0x254ec9[_0x21bf05(0x2e5)]:_0x4394f9['toLowerCase']();_0x7b78d=_0x21bf05(0x296)+_0x9070c9+_0x21bf05(0x32f);}else{if(_0x4394f9[_0x21bf05(0x2ee)](_0x254ec9[_0x21bf05(0x2ed)])&&_0x254ec9[_0x21bf05(0x24a)](_0x53e0bb,_0x254ec9[_0x21bf05(0x307)])){const _0x42c31c=_0x254ec9[_0x21bf05(0x328)](_0x4394f9,_0x254ec9[_0x21bf05(0x2af)])?_0x254ec9['tnKzZ']:_0x254ec9['XhNRL'](_0x4394f9,_0x254ec9[_0x21bf05(0x22d)])?_0x254ec9['EtDog']:_0x4394f9[_0x21bf05(0x22c)]();_0x7b78d=_0x21bf05(0x296)+_0x42c31c+'\x20completed';}else return;}}}}}const _0xbf893a=new Date()[_0x21bf05(0x2c0)](),_0x4b52b2=_0x4394f9[_0x21bf05(0x2ee)](_0x254ec9[_0x21bf05(0x30c)])||_0x4394f9[_0x21bf05(0x2ee)](_0x254ec9[_0x21bf05(0x2ed)]);let _0x1edfc5='';if(_0x4b52b2){const _0x1ad13d=_0x267a43[_0x21bf05(0x1f8)]()[_0x21bf05(0x324)](TestFrameworkConstants[_0x21bf05(0x2fd)])||{};_0x1edfc5=_0x1ad13d[_0x4394f9]||'';}for(let _0x2ba9bc=0x0;_0x254ec9[_0x21bf05(0x24d)](_0x2ba9bc,_0x5a7c0c[_0x21bf05(0x303)]);_0x2ba9bc++){const _0x535892=_0x4b52b2?_0x1edfc5:_0x5a7c0c[_0x2ba9bc];if(!_0x535892)continue;const _0xd701e0={};_0xd701e0[_0x21bf05(0x23a)]=_0x535892,_0xd701e0[_0x21bf05(0x1eb)]=_0x5a7c0c[_0x2ba9bc],_0xd701e0['timestamp']=_0xbf893a,_0xd701e0[_0x21bf05(0x322)]=_0x7b78d,_0xd701e0[_0x21bf05(0x2a2)]=TestFrameworkConstants[_0x21bf05(0x235)],_0xd701e0[_0x21bf05(0x314)]=_0x254ec9[_0x21bf05(0x32c)];const _0x42d277=_0xd701e0,_0x10e00c={'platformIndex':_0x2ba9bc,'logs':[_0x42d277],'testFrameworkName':this[_0x21bf05(0x2dc)]()[0x0],'testFrameworkVersion':this[_0x21bf05(0x310)]()[this[_0x21bf05(0x2dc)]()[0x0]]||'','testFrameworkState':_0x4394f9};try{await GrpcClient['getInstance']()[_0x21bf05(0x2a9)](_0x10e00c);}catch(_0x3f5d01){logger[_0x21bf05(0x238)](_0x21bf05(0x1ea)+_0x2ba9bc+':\x20'+(_0x3f5d01[_0x21bf05(0x322)]||_0x3f5d01));}}}catch(_0x55ee99){logger[_0x21bf05(0x238)](_0x21bf05(0x21b)+(_0x55ee99[_0x21bf05(0x322)]||_0x55ee99));}}async['_sendHookCbtEvents'](_0x326d02,_0x196abf,_0x26a098,_0x4b9e3e){const _0x44a0b2=a98_0x6ecd1,_0xc02131={'PEkLq':function(_0x39b118,_0x58cc7a){return _0x39b118(_0x58cc7a);},'cWfHI':_0x44a0b2(0x277),'klxxs':function(_0x451022,_0x156b67){return _0x451022(_0x156b67);},'CmJNy':_0x44a0b2(0x305),'Qryho':_0x44a0b2(0x275),'tPHoa':function(_0x39b2e0,_0x2e24ea){return _0x39b2e0(_0x2e24ea);},'FVjrg':_0x44a0b2(0x28a),'hKaNd':function(_0x403033,_0x19e6d7){return _0x403033===_0x19e6d7;},'ITSLD':_0x44a0b2(0x208),'Tlnmj':function(_0x34f73f,_0x362b51){return _0x34f73f>_0x362b51;},'AREsw':_0x44a0b2(0x2cb),'jSJKE':_0x44a0b2(0x1e7),'XxSnV':function(_0x6b65ef,_0x16559a){return _0x6b65ef(_0x16559a);},'ChXPS':_0x44a0b2(0x222),'xjIck':function(_0x6b0a10){return _0x6b0a10();}};try{const _0x5c17df=_0xc02131[_0x44a0b2(0x1f1)](require,_0xc02131[_0x44a0b2(0x2cf)]),_0x469a48=_0xc02131[_0x44a0b2(0x325)](require,_0xc02131['CmJNy']),_0x50517c=_0x5c17df['getInstance'](),_0x4978ad=_0x50517c[_0x44a0b2(0x1fd)]()?.[_0x44a0b2(0x308)]||'',_0x2736b5=_0x326d02[_0x44a0b2(0x31d)](),_0x47c6cc={'hash':_0x2736b5['getId'](),'threadId':_0x2736b5[_0x44a0b2(0x29a)]()['toString'](),'processId':_0x2736b5[_0x44a0b2(0x28e)]()[_0x44a0b2(0x1e1)]()};for(const {platformIndex:_0x36a47f,instance:_0x274843}of _0x469a48[_0x44a0b2(0x290)]()){try{const _0x2de1e3=_0x4b9e3e[_0x36a47f]||_0x4b9e3e[0x0]||'';if(!_0x2de1e3)continue;const _0xdf5c54=_0xc02131[_0x44a0b2(0x1f1)](require,_0xc02131[_0x44a0b2(0x204)]),_0x1ea10c=_0xc02131[_0x44a0b2(0x285)](require,_0xc02131[_0x44a0b2(0x313)]),_0x4191c9=_0x1ea10c[_0x44a0b2(0x316)](_0x274843,_0xdf5c54[_0x44a0b2(0x2bd)],'')||'',_0x461b5e=_0x1ea10c[_0x44a0b2(0x316)](_0x274843,_0xdf5c54[_0x44a0b2(0x236)],{})||{},_0x13b9d9=_0x1ea10c[_0x44a0b2(0x316)](_0x274843,_0xdf5c54['KEY_HUB_URL'],'')||_0x4978ad,_0x3de54c=_0x461b5e&&_0xc02131[_0x44a0b2(0x211)](typeof _0x461b5e,_0xc02131[_0x44a0b2(0x32a)])?Object['keys'](_0x461b5e)[_0x44a0b2(0x303)]:0x0,_0x418129=Buffer[_0x44a0b2(0x335)](JSON[_0x44a0b2(0x252)](_0xc02131[_0x44a0b2(0x276)](_0x3de54c,0x0)?_0x461b5e:{}))[_0x44a0b2(0x1e1)](_0xc02131['AREsw']),_0x280a0c={'platformIndex':_0x36a47f,'testFrameworkName':this[_0x44a0b2(0x2dc)]()[0x0]||_0xc02131[_0x44a0b2(0x21d)],'testFrameworkVersion':this[_0x44a0b2(0x310)]()[this[_0x44a0b2(0x2dc)]()[0x0]]||'','testFrameworkState':_0x196abf,'testHookState':_0x26a098['toString']()['split']('.')[0x1],'testUuid':_0x2de1e3,'automationSession':{'provider':_0xc02131[_0x44a0b2(0x287)](getPlaywrightProvider,_0x13b9d9),'frameworkName':_0xc02131['ChXPS'],'frameworkVersion':'','frameworkSessionId':_0x4191c9,'ref':_0x274843['getRef'](),'hubUrl':_0x13b9d9,'product':_0xc02131[_0x44a0b2(0x22b)](getProductForSession)},'capabilities':_0x418129,'executionContext':_0x47c6cc};logger[_0x44a0b2(0x238)](_0x44a0b2(0x2a7)+_0x196abf+'\x20'+_0x26a098+_0x44a0b2(0x244)+_0x36a47f+_0x44a0b2(0x2f6)+_0x2de1e3+_0x44a0b2(0x28b)+_0x4191c9),await GrpcClient[_0x44a0b2(0x2c5)]()[_0x44a0b2(0x2c8)](_0x280a0c);}catch(_0x1e22dd){logger[_0x44a0b2(0x238)]('_sendHookCbtEvents\x20inner\x20failed:\x20'+(_0x1e22dd[_0x44a0b2(0x322)]||_0x1e22dd));}}}catch(_0x2ea03c){logger[_0x44a0b2(0x238)](_0x44a0b2(0x294)+(_0x2ea03c[_0x44a0b2(0x322)]||_0x2ea03c));}}async[a98_0x6ecd1(0x253)](){const _0x1faaf0=a98_0x6ecd1,_0x520805={'zfjgx':function(_0x13ac86,_0x3b6885){return _0x13ac86===_0x3b6885;},'qdjmg':_0x1faaf0(0x20a),'HnXFQ':_0x1faaf0(0x327),'IXDpq':_0x1faaf0(0x267),'DypzQ':_0x1faaf0(0x2ae),'SCAKk':_0x1faaf0(0x2cb),'VSqpH':function(_0x3d6851,_0x23f062){return _0x3d6851(_0x23f062);}};if(!this[_0x1faaf0(0x213)]||_0x520805[_0x1faaf0(0x215)](this[_0x1faaf0(0x213)][_0x1faaf0(0x24e)],0x0)){logger[_0x1faaf0(0x2a6)](_0x520805[_0x1faaf0(0x31e)]);return;}const _0xa24f88=Array['from'](this[_0x1faaf0(0x213)]['entries']());logger[_0x1faaf0(0x2aa)](_0x1faaf0(0x2ef)+_0xa24f88['length']+'\x20orphan\x20test_run(s)');const _0x17236e=TestFrameworkState[_0x1faaf0(0x2dd)]['toString']()[_0x1faaf0(0x25e)]('.')[0x1],_0x2db1d9=HookState[_0x1faaf0(0x26e)][_0x1faaf0(0x1e1)]()[_0x1faaf0(0x25e)]('.')[0x1],_0x37b12f=new Date()[_0x1faaf0(0x2c0)]();for(const [_0x2e239c,_0x732831]of _0xa24f88){const _0x1e686d={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x1faaf0(0x2dc)]()[0x0],[TestFrameworkConstants[_0x1faaf0(0x27b)]]:this[_0x1faaf0(0x310)]()[this[_0x1faaf0(0x2dc)]()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_UUID']]:_0x2e239c,[TestFrameworkConstants[_0x1faaf0(0x202)]]:_0x732831['testName']||_0x1faaf0(0x221)+_0x2e239c+')',[TestFrameworkConstants[_0x1faaf0(0x29f)]]:_0x520805[_0x1faaf0(0x2b7)],[TestFrameworkConstants[_0x1faaf0(0x254)]]:[{'type':_0x520805[_0x1faaf0(0x2b3)],'message':_0x520805[_0x1faaf0(0x1dc)],'stack':''}],[TestFrameworkConstants[_0x1faaf0(0x2cc)]]:_0x520805['IXDpq'],[TestFrameworkConstants[_0x1faaf0(0x25f)]]:_0x37b12f,[TestFrameworkConstants[_0x1faaf0(0x282)]]:_0x37b12f,[TestFrameworkConstants[_0x1faaf0(0x2a5)]]:{},[TestFrameworkConstants[_0x1faaf0(0x269)]]:{}},_0x27b109=Buffer[_0x1faaf0(0x335)](JSON[_0x1faaf0(0x252)](_0x1e686d))[_0x1faaf0(0x1e1)](_0x520805['SCAKk']),_0x553776={'platformIndex':_0x732831[_0x1faaf0(0x237)]||0x0,'testFrameworkName':this['getTestFrameworks']()[0x0],'testFrameworkVersion':this[_0x1faaf0(0x310)]()[this[_0x1faaf0(0x2dc)]()[0x0]]||'','testFrameworkState':_0x17236e,'hookState':_0x2db1d9,'startedAt':_0x37b12f,'endedAt':_0x37b12f,'uuid':_0x520805['VSqpH'](String,_0x2e239c),'eventJson':_0x27b109,'executionContext':{'hash':'','threadId':'0','processId':_0x520805['VSqpH'](String,process['pid'])},'test_identifier':_0x732831[_0x1faaf0(0x288)]||''};try{logger[_0x1faaf0(0x2a6)](_0x1faaf0(0x22e)+_0x2e239c+'\x20platformIndex='+_0x732831[_0x1faaf0(0x237)]+_0x1faaf0(0x2fc)+_0x732831[_0x1faaf0(0x1e5)]),await GrpcClient[_0x1faaf0(0x2c5)]()[_0x1faaf0(0x330)](_0x553776);}catch(_0x2924df){logger['warn']('finalizeOrphans:\x20failed\x20to\x20emit\x20synthetic\x20TestRunFinished\x20for\x20'+_0x2e239c+':\x20'+(_0x2924df[_0x1faaf0(0x322)]||_0x2924df));}}this[_0x1faaf0(0x213)]['clear']();}[a98_0x6ecd1(0x2bf)](_0x15965d,_0xb5a6f0,_0x4b9cec={}){const _0x3a07fb=a98_0x6ecd1,_0x1a6de0={};_0x1a6de0[_0x3a07fb(0x2d2)]=function(_0x262dae,_0x566ce0){return _0x262dae===_0x566ce0;},_0x1a6de0[_0x3a07fb(0x273)]=function(_0x59c839,_0x1978a7){return _0x59c839===_0x1978a7;};const _0x298249=_0x1a6de0;return(_0x298249[_0x3a07fb(0x2d2)](_0x15965d,TestFrameworkState[_0x3a07fb(0x27f)])||_0x298249[_0x3a07fb(0x273)](_0x15965d,TestFrameworkState[_0x3a07fb(0x1ff)]))&&this['_trackTestCafeInstance'](_0x15965d,_0x4b9cec),TestFramework[_0x3a07fb(0x25b)]()||this[_0x3a07fb(0x295)](_0x15965d);}['_trackTestCafeInstance'](_0x31d226,_0x178f79){const _0x58ccb4=a98_0x6ecd1,_0x3a03d6=CLIUtils[_0x58ccb4(0x220)](),_0x53971d=TrackedInstance[_0x58ccb4(0x326)](_0x3a03d6),_0x3ed47b=new TestFrameworkInstance(_0x53971d,this[_0x58ccb4(0x2dc)](),this[_0x58ccb4(0x310)](),_0x31d226,HookState[_0x58ccb4(0x1ff)]);TestFramework['setTrackedInstance'](_0x53971d,_0x3ed47b),logger[_0x58ccb4(0x2a6)](_0x58ccb4(0x32e)+_0x53971d[_0x58ccb4(0x337)]()+_0x58ccb4(0x30b)+_0x3a03d6+_0x58ccb4(0x26a)+_0x31d226);}[a98_0x6ecd1(0x295)](_0x123725){const _0x32d999=a98_0x6ecd1;return this[_0x32d999(0x240)](_0x123725,{}),TestFramework[_0x32d999(0x25b)]();}[a98_0x6ecd1(0x283)](_0x20b39f){const _0x2e43d5=a98_0x6ecd1,_0x1b1c21={'CgYRd':function(_0x1c158f,_0x490ea4){return _0x1c158f>_0x490ea4;},'okYZy':function(_0x29633d,_0x4bd05f){return _0x29633d-_0x4bd05f;},'wfQBK':function(_0x471c1c,_0x2a3bb2){return _0x471c1c>_0x2a3bb2;},'NcZcz':function(_0x228420,_0x3e0765){return _0x228420-_0x3e0765;},'DhSgX':function(_0x59be7e,_0xa3b092){return _0x59be7e===_0xa3b092;},'TxIXU':_0x2e43d5(0x208),'dZPcT':_0x2e43d5(0x329),'GTFwn':'.__platformIdentifiers','fBQZh':function(_0x509598,_0x3f8870){return _0x509598||_0x3f8870;},'xLgyu':function(_0x4566d1,_0x5ea45e){return _0x4566d1===_0x5ea45e;},'pkRAS':_0x2e43d5(0x26e),'xLmiK':_0x2e43d5(0x2e0),'chSqo':function(_0x26df4a,_0x382483){return _0x26df4a(_0x382483);},'xBnfR':function(_0x1a1146,_0x1be6f8){return _0x1a1146||_0x1be6f8;},'DGzvl':function(_0x4a3b3e,_0x3a013f){return _0x4a3b3e(_0x3a013f);},'ECpar':function(_0x5a0aac,_0x71d9f7){return _0x5a0aac||_0x71d9f7;},'UzBCy':_0x2e43d5(0x2cb),'yaxxO':function(_0x122c20,_0x40bb10){return _0x122c20(_0x40bb10);},'BiQJg':function(_0x760efc,_0x4275fa){return _0x760efc(_0x4275fa);},'HZbBw':function(_0x4400ab,_0x583bec){return _0x4400ab||_0x583bec;}};try{const _0x497c7e=_0x20b39f[_0x2e43d5(0x23f)];if(!_0x497c7e)return{};const _0x37a348=_0x497c7e[_0x2e43d5(0x31d)](),_0x1dce0e=_0x497c7e[_0x2e43d5(0x226)]()[_0x2e43d5(0x1e1)]()[_0x2e43d5(0x25e)]('.')[0x1],_0x35ceff=_0x497c7e[_0x2e43d5(0x2fb)]()[_0x2e43d5(0x1e1)]()[_0x2e43d5(0x25e)]('.')[0x1],_0x315e33=Number['isInteger'](_0x20b39f[_0x2e43d5(0x237)])?_0x20b39f[_0x2e43d5(0x237)]:0x0,_0x2241c0={'hash':_0x37a348[_0x2e43d5(0x337)](),'threadId':_0x37a348['getThreadId']()[_0x2e43d5(0x1e1)](),'processId':_0x37a348['getProcessId']()[_0x2e43d5(0x1e1)]()};if(TestFrameworkConstants[_0x2e43d5(0x2ca)]&&new RegExp(TestFrameworkConstants[_0x2e43d5(0x2ca)])[_0x2e43d5(0x279)](_0x1dce0e)){const _0x4ce7f6=_0x1dce0e,_0x16f1d0=_0x497c7e['getAllData'](),_0x18ecee=(_0x16f1d0[_0x2e43d5(0x324)](TestFrameworkConstants[_0x2e43d5(0x269)])||{})[_0x4ce7f6],_0x55d1e1=(_0x16f1d0[_0x2e43d5(0x324)](TestFrameworkConstants[_0x2e43d5(0x2a5)])||{})[_0x4ce7f6],_0x167074=Array['isArray'](_0x18ecee)&&_0x1b1c21[_0x2e43d5(0x1f0)](_0x18ecee[_0x2e43d5(0x303)],0x0)?_0x18ecee[_0x1b1c21[_0x2e43d5(0x2fa)](_0x18ecee[_0x2e43d5(0x303)],0x1)]:null,_0x3e4563=Array['isArray'](_0x55d1e1)&&_0x1b1c21[_0x2e43d5(0x2ce)](_0x55d1e1[_0x2e43d5(0x303)],0x0)?_0x55d1e1[_0x1b1c21['NcZcz'](_0x55d1e1[_0x2e43d5(0x303)],0x1)]:null,_0x27e705=_0x167074&&_0x167074[_0x2e43d5(0x20e)]||'',_0x2d9672=_0x3e4563&&_0x3e4563[_0x2e43d5(0x2c3)]||'',_0x5016ac=_0x167074&&_0x167074[_0x2e43d5(0x2bc)]||_0x3e4563&&_0x3e4563[_0x2e43d5(0x2bc)]||_0x4ce7f6+':'+_0x37a348[_0x2e43d5(0x337)](),_0x3b3cfc=_0x20b39f[_0x2e43d5(0x2b2)]||{},_0x11375b=_0x3b3cfc&&_0x3b3cfc[_0x2e43d5(0x27a)]||'',_0x564668=_0x3b3cfc&&_0x3b3cfc['name']||'';let _0x1966c8=null;for(const [_0x3737e5,_0x76827]of _0x16f1d0[_0x2e43d5(0x24c)]()){if(_0x76827&&_0x1b1c21[_0x2e43d5(0x26b)](typeof _0x76827,_0x1b1c21['TxIXU'])&&_0x76827[TestFrameworkConstants[_0x2e43d5(0x202)]]&&!_0x3737e5[_0x2e43d5(0x1e9)](_0x1b1c21[_0x2e43d5(0x2f5)])&&!_0x3737e5[_0x2e43d5(0x1e9)](_0x1b1c21[_0x2e43d5(0x216)])){_0x1966c8=_0x76827;break;}}const _0x41b1e6=_0x1966c8&&_0x1966c8[TestFrameworkConstants['KEY_TEST_NAME']]||_0x564668||_0x4ce7f6,_0x550835=_0x1966c8&&_0x1966c8[TestFrameworkConstants[_0x2e43d5(0x1f9)]]||_0x11375b||'',_0x34ec88={[TestFrameworkConstants[_0x2e43d5(0x26d)]]:_0x20b39f[_0x2e43d5(0x26f)]||'',[TestFrameworkConstants[_0x2e43d5(0x202)]]:_0x41b1e6,[TestFrameworkConstants[_0x2e43d5(0x1f9)]]:_0x550835,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x550835,[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1b1c21[_0x2e43d5(0x312)](_0x564668,_0x41b1e6),[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x564668?[_0x564668]:[],[TestFrameworkConstants[_0x2e43d5(0x2d9)]]:_0x4ce7f6,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x5016ac,[TestFrameworkConstants[_0x2e43d5(0x1f4)]]:_0x1b1c21['xLgyu'](_0x35ceff,_0x1b1c21['pkRAS'])?_0x1b1c21['xLmiK']:TestFrameworkConstants[_0x2e43d5(0x1fe)],[TestFrameworkConstants[_0x2e43d5(0x301)]]:_0x27e705,[TestFrameworkConstants[_0x2e43d5(0x30a)]]:_0x2d9672,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x2e43d5(0x2dc)]()[0x0],[TestFrameworkConstants[_0x2e43d5(0x27b)]]:this[_0x2e43d5(0x310)]()[this[_0x2e43d5(0x2dc)]()[0x0]]||'',[TestFrameworkConstants[_0x2e43d5(0x269)]]:_0x16f1d0[_0x2e43d5(0x324)](TestFrameworkConstants[_0x2e43d5(0x269)])||{},[TestFrameworkConstants[_0x2e43d5(0x2a5)]]:_0x16f1d0[_0x2e43d5(0x324)](TestFrameworkConstants[_0x2e43d5(0x2a5)])||{}};return{'platformIndex':_0x315e33,'testFrameworkName':this[_0x2e43d5(0x2dc)]()[0x0],'testFrameworkVersion':this[_0x2e43d5(0x310)]()[this[_0x2e43d5(0x2dc)]()[0x0]]||'','testFrameworkState':_0x1dce0e,'hookState':_0x35ceff,'startedAt':_0x1b1c21[_0x2e43d5(0x2d3)](String,_0x1b1c21[_0x2e43d5(0x25a)](_0x27e705,'')),'endedAt':_0x1b1c21[_0x2e43d5(0x30d)](String,_0x1b1c21[_0x2e43d5(0x333)](_0x2d9672,'')),'uuid':_0x1b1c21[_0x2e43d5(0x2d3)](String,_0x5016ac),'eventJson':Buffer[_0x2e43d5(0x335)](JSON[_0x2e43d5(0x252)](_0x34ec88))[_0x2e43d5(0x1e1)](_0x1b1c21[_0x2e43d5(0x1e8)]),'executionContext':_0x2241c0,'test_identifier':_0x34ec88[TestFrameworkConstants[_0x2e43d5(0x2b9)]]};}const _0x35649a=_0x20b39f['testIdentifier']||_0x20b39f[_0x2e43d5(0x279)]&&this['_getTestIdentifier'](_0x20b39f[_0x2e43d5(0x279)],0x0)||null,_0x47e15f=_0x35649a&&_0x497c7e['getAllData']()[_0x2e43d5(0x324)](_0x35649a)||{},_0x41c3c3=_0x497c7e[_0x2e43d5(0x1f8)](),_0x4ed134={..._0x47e15f,[TestFrameworkConstants[_0x2e43d5(0x269)]]:_0x41c3c3['get'](TestFrameworkConstants[_0x2e43d5(0x269)])||_0x47e15f[TestFrameworkConstants[_0x2e43d5(0x269)]]||{},[TestFrameworkConstants[_0x2e43d5(0x2a5)]]:_0x41c3c3[_0x2e43d5(0x324)](TestFrameworkConstants[_0x2e43d5(0x2a5)])||_0x47e15f[TestFrameworkConstants[_0x2e43d5(0x2a5)]]||{}},{[TestFrameworkConstants[_0x2e43d5(0x2a8)]]:_0x446615=this[_0x2e43d5(0x2dc)]()[0x0],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2c80bf='',[TestFrameworkConstants[_0x2e43d5(0x25f)]]:_0x367161='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4cb385=''}=_0x4ed134,_0x21ebd5=_0x20b39f[_0x2e43d5(0x26f)]||_0x4ed134[TestFrameworkConstants[_0x2e43d5(0x26d)]]||_0x497c7e[_0x2e43d5(0x32d)](),_0x3d4164=Buffer[_0x2e43d5(0x335)](JSON[_0x2e43d5(0x252)](_0x4ed134))['toString'](_0x1b1c21[_0x2e43d5(0x1e8)]);return{'platformIndex':_0x315e33,'testFrameworkName':_0x446615,'testFrameworkVersion':_0x2c80bf,'testFrameworkState':_0x1dce0e,'hookState':_0x35ceff,'startedAt':_0x367161?_0x1b1c21[_0x2e43d5(0x318)](String,_0x367161):'','endedAt':_0x4cb385?_0x1b1c21[_0x2e43d5(0x2d1)](String,_0x4cb385):'','uuid':_0x1b1c21[_0x2e43d5(0x2d3)](String,_0x1b1c21[_0x2e43d5(0x1df)](_0x21ebd5,'')),'eventJson':_0x3d4164,'executionContext':_0x2241c0,'test_identifier':_0x35649a};}catch(_0x5c3f20){return logger[_0x2e43d5(0x261)](_0x2e43d5(0x250)+(_0x5c3f20[_0x2e43d5(0x1f5)]||_0x5c3f20)),{};}}async['sendLogCreatedEvent'](_0x10b233,_0xb52cde,_0x17fbcf,_0x5f228b,_0x5533e8,_0x1c5aa6){const _0x40108b=a98_0x6ecd1,_0x3b5e79={'kFDUX':function(_0x3f3d80){return _0x3f3d80();},'wGSuo':_0x40108b(0x205),'wTaBH':function(_0x1137ff){return _0x1137ff();},'DnFWe':'ERROR','hRQGm':_0x40108b(0x2f4),'FwTvO':function(_0x203062,_0x25eaa2){return _0x203062===_0x25eaa2;}};try{const _0x5d636d=_0x5533e8[_0x40108b(0x288)]||_0x5533e8[_0x40108b(0x279)]&&this[_0x40108b(0x311)](_0x5533e8[_0x40108b(0x279)],0x0);if(!_0x5d636d){logger[_0x40108b(0x238)](_0x3b5e79[_0x40108b(0x246)]);return;}const _0x44922e=_0x10b233[_0x40108b(0x1f8)]()[_0x40108b(0x324)](_0x5d636d)||{},_0x26d416=_0x44922e[TestFrameworkConstants['KEY_TEST_UUID']],_0x5d8672=_0x44922e[TestFrameworkConstants[_0x40108b(0x257)]]||[],_0x5f4c57=_0x44922e[TestFrameworkConstants[_0x40108b(0x254)]]||[],_0xf70a97=[];_0x5d8672[_0x40108b(0x2b1)](_0x4c783f=>{const _0x4ae80c=_0x40108b;_0xf70a97[_0x4ae80c(0x24b)]({'uuid':_0x3b5e79['kFDUX'](uuidv4),'test_run_uuid':_0x26d416,'timestamp':new Date()[_0x4ae80c(0x2c0)](),'message':'','attachment_url':_0x4c783f,'attachment_type':_0x3b5e79[_0x4ae80c(0x2e3)]});});Array[_0x40108b(0x2b4)](_0x5f4c57)&&_0x5f4c57[_0x40108b(0x2b1)](_0x264c2e=>{const _0x313923=_0x40108b;_0xf70a97[_0x313923(0x24b)]({'uuid':_0x3b5e79[_0x313923(0x1e4)](uuidv4),'test_run_uuid':_0x26d416,'timestamp':new Date()[_0x313923(0x2c0)](),'message':_0x264c2e[_0x313923(0x322)]||'','stack_trace':_0x264c2e['stack']||'','level':_0x3b5e79[_0x313923(0x2fe)]});});if(_0x3b5e79[_0x40108b(0x201)](_0xf70a97[_0x40108b(0x303)],0x0)){logger[_0x40108b(0x238)](_0x40108b(0x2f8)+_0x5d636d);return;}const _0xe34f07=_0x44922e[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x40108b(0x2dc)]()[0x0],_0x4057c8=_0x44922e[TestFrameworkConstants[_0x40108b(0x27b)]]||'',_0x1a434e={'platformIndex':Number[_0x40108b(0x1ed)](_0x1c5aa6)?_0x1c5aa6:Number[_0x40108b(0x1ed)](_0x5533e8[_0x40108b(0x237)])?_0x5533e8[_0x40108b(0x237)]:0x0,'logs':_0xf70a97,'testFrameworkName':_0xe34f07,'testFrameworkVersion':_0x4057c8,'testFrameworkState':_0xb52cde['toString']()[_0x40108b(0x25e)]('.')[0x1]};logger[_0x40108b(0x238)](_0x40108b(0x207)+_0xf70a97[_0x40108b(0x303)]+_0x40108b(0x21c)+_0x5d636d),await GrpcClient[_0x40108b(0x2c5)]()[_0x40108b(0x2a9)](_0x1a434e);}catch(_0x536118){logger[_0x40108b(0x261)](_0x40108b(0x23d)+(_0x536118[_0x40108b(0x1f5)]||_0x536118));}}[a98_0x6ecd1(0x311)](_0x5dd5c4,_0x20e51d){const _0x45ec53=a98_0x6ecd1,_0x277d27={'EkXDv':function(_0x2d5d46){return _0x2d5d46();},'XPJNt':_0x45ec53(0x271)};if(!_0x5dd5c4)return _0x45ec53(0x319)+_0x277d27[_0x45ec53(0x27e)](uuidv4);const _0x224591=_0x5dd5c4[_0x45ec53(0x2b2)]&&_0x5dd5c4[_0x45ec53(0x2b2)][_0x45ec53(0x27a)]||_0x277d27[_0x45ec53(0x2e8)],_0x3114c8=_0x5dd5c4[_0x45ec53(0x2b2)]&&_0x5dd5c4['fixture'][_0x45ec53(0x2d7)]||_0x277d27[_0x45ec53(0x2e8)],_0x212731=_0x5dd5c4[_0x45ec53(0x2d7)]||_0x277d27['XPJNt'],_0x184a64=_0x224591+'::'+_0x3114c8+'::'+_0x212731;return _0x20e51d?_0x184a64+_0x45ec53(0x242)+_0x20e51d:_0x184a64;}[a98_0x6ecd1(0x2c1)](_0x4c6117,_0x1a9330,_0xd6dc35){const _0x1e7f6b=a98_0x6ecd1,_0x42b752=_0x1a9330&&_0x1a9330[_0x1e7f6b(0x2b2)]&&_0x1a9330[_0x1e7f6b(0x2b2)]['path']||'',_0x5993f4=_0x1a9330&&_0x1a9330['fixture']&&_0x1a9330['fixture'][_0x1e7f6b(0x2d7)]||'',_0x2d3b27=_0x1a9330&&_0x1a9330[_0x1e7f6b(0x2d7)]||'',_0x4bc0e0=this[_0x1e7f6b(0x2dc)]()[0x0];return{[TestFrameworkConstants[_0x1e7f6b(0x2a8)]]:_0x4bc0e0,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x1e7f6b(0x310)]()[_0x4bc0e0],[TestFrameworkConstants[_0x1e7f6b(0x26d)]]:_0x4c6117,[TestFrameworkConstants[_0x1e7f6b(0x202)]]:_0x2d3b27,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x42b752,[TestFrameworkConstants[_0x1e7f6b(0x1f9)]]:_0x42b752,[TestFrameworkConstants[_0x1e7f6b(0x26c)]]:_0x5993f4,[TestFrameworkConstants['KEY_TEST_SCOPES']]:[_0x5993f4],[TestFrameworkConstants[_0x1e7f6b(0x315)]]:this[_0x1e7f6b(0x264)](_0x1a9330),[TestFrameworkConstants[_0x1e7f6b(0x29f)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x1e7f6b(0x25f)]]:_0xd6dc35?_0xd6dc35[_0x1e7f6b(0x1e6)]:new Date()[_0x1e7f6b(0x2c0)](),[TestFrameworkConstants[_0x1e7f6b(0x286)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{}};}[a98_0x6ecd1(0x264)](_0x3ac890){const _0x7de193=a98_0x6ecd1,_0x1f4c2b={'vdFmX':function(_0x50221d,_0x25f241){return _0x50221d==_0x25f241;},'nSgmA':function(_0xb852a4,_0x4783c4){return _0xb852a4(_0x4783c4);},'SGcGb':function(_0x5f507f,_0x267249){return _0x5f507f>_0x267249;},'TqviR':function(_0x5b367e,_0x4f226b){return _0x5b367e===_0x4f226b;},'zFVTL':_0x7de193(0x208),'lKaEy':function(_0x179aea,_0x543cfa){return _0x179aea in _0x543cfa;},'mipme':_0x7de193(0x2e7),'SMXlI':function(_0x246f24,_0x15db2e){return _0x246f24 in _0x15db2e;},'pKwEu':_0x7de193(0x230),'xScbs':function(_0x119803,_0x4ad479){return _0x119803===_0x4ad479;},'bLIzh':function(_0x3da794,_0x26715c){return _0x3da794(_0x26715c);}},_0x136ec1=[],_0x24be0a=_0x2a8a65=>{const _0x5ab24b=_0x7de193;if(_0x1f4c2b['vdFmX'](_0x2a8a65,null))return;if(Array[_0x5ab24b(0x2b4)](_0x2a8a65)){_0x2a8a65[_0x5ab24b(0x2b1)](_0x24be0a);return;}const _0x1984c1=_0x1f4c2b[_0x5ab24b(0x2ff)](String,_0x2a8a65)[_0x5ab24b(0x234)]();_0x1f4c2b[_0x5ab24b(0x299)](_0x1984c1[_0x5ab24b(0x303)],0x0)&&_0x136ec1[_0x5ab24b(0x24b)](_0x1984c1);};try{const _0x57fd22=_0x3ac890&&_0x3ac890[_0x7de193(0x223)]||{};_0x57fd22&&_0x1f4c2b['TqviR'](typeof _0x57fd22,_0x1f4c2b[_0x7de193(0x200)])&&(_0x1f4c2b[_0x7de193(0x23c)](_0x1f4c2b[_0x7de193(0x2da)],_0x57fd22)&&_0x1f4c2b['nSgmA'](_0x24be0a,_0x57fd22[_0x7de193(0x2e7)]),_0x1f4c2b[_0x7de193(0x28c)](_0x1f4c2b[_0x7de193(0x2c7)],_0x57fd22)&&_0x1f4c2b[_0x7de193(0x2ff)](_0x24be0a,_0x57fd22[_0x7de193(0x230)]));const _0x256b21=_0x3ac890&&_0x3ac890[_0x7de193(0x2b2)]&&_0x3ac890[_0x7de193(0x2b2)][_0x7de193(0x223)]||{};_0x256b21&&_0x1f4c2b[_0x7de193(0x20c)](typeof _0x256b21,_0x1f4c2b[_0x7de193(0x200)])&&(_0x1f4c2b[_0x7de193(0x23c)](_0x1f4c2b['mipme'],_0x256b21)&&_0x1f4c2b[_0x7de193(0x292)](_0x24be0a,_0x256b21[_0x7de193(0x2e7)]),_0x1f4c2b[_0x7de193(0x23c)](_0x1f4c2b['pKwEu'],_0x256b21)&&_0x1f4c2b[_0x7de193(0x2ff)](_0x24be0a,_0x256b21[_0x7de193(0x230)]));}catch(_0x4371bb){}return Array['from'](new Set(_0x136ec1));}[a98_0x6ecd1(0x1ef)](_0xffdd10){const _0xcc76f3=a98_0x6ecd1,_0x5a5897={};_0x5a5897[_0xcc76f3(0x231)]=function(_0xcc964f,_0x1e968d){return _0xcc964f!==_0x1e968d;},_0x5a5897[_0xcc76f3(0x31a)]=_0xcc76f3(0x2b8);const _0x4eafea=_0x5a5897;if(_0x4eafea[_0xcc76f3(0x231)](typeof _0xffdd10,_0x4eafea[_0xcc76f3(0x31a)]))return _0xffdd10;return _0xffdd10[_0xcc76f3(0x28f)](/\x1b\[[0-9;]*[a-zA-Z]/g,'');}[a98_0x6ecd1(0x297)](_0x202726){const _0x5440c0=a98_0x6ecd1,_0x354143={};_0x354143[_0x5440c0(0x2f1)]=_0x5440c0(0x21e),_0x354143[_0x5440c0(0x228)]=function(_0x45a9fc,_0x1df110){return _0x45a9fc===_0x1df110;},_0x354143['nkIyh']=_0x5440c0(0x2b8),_0x354143['lXhZf']=function(_0x22b13f,_0x123ac9){return _0x22b13f!==_0x123ac9;},_0x354143[_0x5440c0(0x265)]=function(_0x17cc9f,_0x4a871e){return _0x17cc9f===_0x4a871e;},_0x354143[_0x5440c0(0x30f)]=function(_0x490335,_0x21d0b5){return _0x490335===_0x21d0b5;},_0x354143['HYziO']='TestCafeError';const _0x491d7b=_0x354143;if(!_0x202726)return _0x491d7b['DVroz'];if(_0x202726['name']&&_0x491d7b['LFVbQ'](typeof _0x202726[_0x5440c0(0x2d7)],_0x491d7b[_0x5440c0(0x274)])&&_0x491d7b[_0x5440c0(0x210)](_0x202726[_0x5440c0(0x2d7)],_0x491d7b[_0x5440c0(0x2f1)]))return _0x202726[_0x5440c0(0x2d7)];const _0x328aae=_0x491d7b[_0x5440c0(0x265)](typeof _0x202726[_0x5440c0(0x322)],_0x491d7b[_0x5440c0(0x274)])?_0x202726['message']:'',_0x3cc6ec=_0x328aae[_0x5440c0(0x20d)](/^([A-Z][A-Za-z0-9]*Error):/);if(_0x3cc6ec)return _0x3cc6ec[0x1];return _0x202726[_0x5440c0(0x1dd)]&&_0x491d7b[_0x5440c0(0x30f)](typeof _0x202726[_0x5440c0(0x1dd)],_0x491d7b[_0x5440c0(0x274)])?_0x202726[_0x5440c0(0x1dd)]:_0x491d7b[_0x5440c0(0x1da)];}[a98_0x6ecd1(0x268)](_0x5727d5,_0x1b3d87){const _0x397a08=a98_0x6ecd1,_0x1bc434={};_0x1bc434[_0x397a08(0x29b)]=_0x397a08(0x327),_0x1bc434[_0x397a08(0x2d4)]=_0x397a08(0x332),_0x1bc434[_0x397a08(0x281)]=_0x397a08(0x243),_0x1bc434[_0x397a08(0x272)]=_0x397a08(0x2e0),_0x1bc434[_0x397a08(0x1fc)]='skipped',_0x1bc434[_0x397a08(0x212)]=function(_0x28d208,_0x5a31df){return _0x28d208>_0x5a31df;};const _0x32791a=_0x1bc434;if(!_0x1b3d87)return{[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x32791a[_0x397a08(0x29b)],[TestFrameworkConstants['KEY_TEST_DURATION']]:0x0,[TestFrameworkConstants[_0x397a08(0x254)]]:[{'type':_0x32791a[_0x397a08(0x2d4)],'message':_0x32791a[_0x397a08(0x281)],'stack':''}],[TestFrameworkConstants[_0x397a08(0x2cc)]]:_0x32791a[_0x397a08(0x2d4)],[TestFrameworkConstants[_0x397a08(0x2a1)]]:_0x32791a[_0x397a08(0x281)],[TestFrameworkConstants[_0x397a08(0x282)]]:new Date()[_0x397a08(0x2c0)]()};let _0x5e2813=_0x32791a[_0x397a08(0x272)],_0x4a60fe=null,_0x1d11b0=null,_0x15eab1=null;if(_0x1b3d87[_0x397a08(0x2bb)])_0x5e2813=_0x32791a[_0x397a08(0x1fc)];else{if(Array[_0x397a08(0x2b4)](_0x1b3d87[_0x397a08(0x2e6)])&&_0x32791a[_0x397a08(0x212)](_0x1b3d87[_0x397a08(0x2e6)][_0x397a08(0x303)],0x0)){_0x5e2813=_0x32791a['eGhmW'],_0x4a60fe=_0x1b3d87['errs'][_0x397a08(0x259)](_0x1d7cc1=>({'type':this[_0x397a08(0x297)](_0x1d7cc1),'message':this[_0x397a08(0x1ef)](_0x1d7cc1&&_0x1d7cc1[_0x397a08(0x322)]?_0x1d7cc1[_0x397a08(0x322)]:String(_0x1d7cc1)),'stack':this[_0x397a08(0x1ef)](_0x1d7cc1&&_0x1d7cc1[_0x397a08(0x1f5)]?_0x1d7cc1[_0x397a08(0x1f5)]:'')}));const _0x22909b=_0x4a60fe[0x0];_0x1d11b0=_0x22909b['type'],_0x15eab1=_0x22909b[_0x397a08(0x322)];}}const _0x18673d=Array['isArray'](_0x1b3d87['screenshots'])?_0x1b3d87[_0x397a08(0x2f2)][_0x397a08(0x259)](_0x2be8d2=>_0x2be8d2&&_0x2be8d2[_0x397a08(0x32b)])[_0x397a08(0x22f)](Boolean):[];return{[TestFrameworkConstants[_0x397a08(0x29f)]]:_0x5e2813,[TestFrameworkConstants[_0x397a08(0x249)]]:_0x1b3d87[_0x397a08(0x284)]||0x0,[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x4a60fe,[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x1d11b0,[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x15eab1,[TestFrameworkConstants[_0x397a08(0x282)]]:new Date()[_0x397a08(0x2c0)](),[TestFrameworkConstants[_0x397a08(0x257)]]:_0x18673d};}async[a98_0x6ecd1(0x278)](_0x29e386,_0x3761a5,_0x4395f5,_0x1a65ed){const _0x299791=a98_0x6ecd1,_0x548372={'vkTMS':_0x299791(0x331),'FpsOw':_0x299791(0x320),'WShDY':_0x299791(0x2e4),'oWnJU':'after_all','brsuT':function(_0x1b81f3,_0x429c91){return _0x1b81f3===_0x429c91;},'dGTqP':function(_0xb108d4){return _0xb108d4();},'hJDpH':function(_0x5065f3,_0x41ce61){return _0x5065f3-_0x41ce61;},'eJpBH':'passed'},_0x5ef6f2=_0x3761a5[_0x299791(0x1e1)]()[_0x299791(0x25e)]('.')[0x1],_0x48d3cc=_0x5ef6f2[_0x299791(0x22c)](),_0x2a6549=_0x48d3cc['startsWith'](_0x548372[_0x299791(0x1db)])?_0x548372[_0x299791(0x2c9)]:_0x48d3cc[_0x299791(0x2ee)](_0x548372[_0x299791(0x25d)])?_0x548372[_0x299791(0x323)]:_0x48d3cc,_0x45beca={};if(_0x548372[_0x299791(0x2e1)](_0x4395f5,HookState[_0x299791(0x1ee)])){const _0x39bd1a=_0x29e386['getAllData']()[_0x299791(0x324)](TestFrameworkConstants[_0x299791(0x269)])||{},_0x503261=Array[_0x299791(0x2b4)](_0x39bd1a[_0x5ef6f2])?_0x39bd1a[_0x5ef6f2]:[],_0x5edc7e=_0x548372[_0x299791(0x1f6)](uuidv4);_0x503261[_0x299791(0x24b)]({'hook_id':_0x5edc7e,'hook_name':_0x5ef6f2,'key':_0x5ef6f2,'hook_type':_0x2a6549,'event_started_at':new Date()['toISOString']()}),_0x39bd1a[_0x5ef6f2]=_0x503261;const _0x541606=_0x29e386[_0x299791(0x1f8)]()['get'](TestFrameworkConstants[_0x299791(0x2fd)])||{};_0x541606[_0x5ef6f2]=_0x5edc7e,_0x45beca[TestFrameworkConstants[_0x299791(0x269)]]=_0x39bd1a,_0x45beca[TestFrameworkConstants[_0x299791(0x2fd)]]=_0x541606;}else{if(_0x548372[_0x299791(0x2e1)](_0x4395f5,HookState[_0x299791(0x26e)])){const _0x1f2a8d=_0x29e386['getAllData']()[_0x299791(0x324)](TestFrameworkConstants[_0x299791(0x2a5)])||{},_0x4e9e5a=Array['isArray'](_0x1f2a8d[_0x5ef6f2])?_0x1f2a8d[_0x5ef6f2]:[],_0x4862bb=_0x29e386[_0x299791(0x1f8)]()['get'](TestFrameworkConstants[_0x299791(0x2fd)])||{},_0x321f69=_0x29e386[_0x299791(0x1f8)]()[_0x299791(0x324)](TestFrameworkConstants['KEY_HOOKS_STARTED'])||{},_0x2e4116=Array[_0x299791(0x2b4)](_0x321f69[_0x5ef6f2])?_0x321f69[_0x5ef6f2][_0x548372[_0x299791(0x2e9)](_0x321f69[_0x5ef6f2][_0x299791(0x303)],0x1)]:null,_0x45f8cf=_0x4862bb&&_0x4862bb[_0x5ef6f2]||_0x2e4116&&_0x2e4116['hook_id']||_0x548372[_0x299791(0x1f6)](uuidv4);_0x4e9e5a[_0x299791(0x24b)]({'hook_id':_0x45f8cf,'hook_name':_0x5ef6f2,'key':_0x5ef6f2,'hook_type':_0x2a6549,'event_started_at':_0x2e4116?_0x2e4116['event_started_at']:new Date()[_0x299791(0x2c0)](),'event_ended_at':new Date()['toISOString'](),'hook_result':_0x548372[_0x299791(0x219)]}),_0x1f2a8d[_0x5ef6f2]=_0x4e9e5a,_0x45beca[TestFrameworkConstants[_0x299791(0x2a5)]]=_0x1f2a8d;}}return _0x45beca;}}module[a98_0x6ecd1(0x29c)]=TestCafeTestFramework;
|