browserstack-node-sdk 1.63.3 → 1.63.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a95_0x17a943=a95_0x20f5;(function(_0x339f4d,_0x12fc4b){const _0x5d42ce=a95_0x20f5,_0x176b3b=_0x339f4d();while(!![]){try{const _0x2c858b=-parseInt(_0x5d42ce(0x23e))/0x1+-parseInt(_0x5d42ce(0x1e0))/0x2*(-parseInt(_0x5d42ce(0x2a8))/0x3)+-parseInt(_0x5d42ce(0x277))/0x4*(parseInt(_0x5d42ce(0x1fb))/0x5)+-parseInt(_0x5d42ce(0x2b8))/0x6+-parseInt(_0x5d42ce(0x1c7))/0x7*(parseInt(_0x5d42ce(0x237))/0x8)+parseInt(_0x5d42ce(0x2b9))/0x9+parseInt(_0x5d42ce(0x21d))/0xa;if(_0x2c858b===_0x12fc4b)break;else _0x176b3b['push'](_0x176b3b['shift']());}catch(_0x261c81){_0x176b3b['push'](_0x176b3b['shift']());}}}(a95_0x40db,0x893fd));const TestFramework=require('./testFramework'),TestFrameworkState=require(a95_0x17a943(0x279)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a95_0x17a943(0x212)),TestFrameworkInstance=require(a95_0x17a943(0x1ef)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a95_0x17a943(0x25c)),TestFrameworkConstants=require(a95_0x17a943(0x23d)),logger=createClassLogger(a95_0x17a943(0x282)),{v4:uuidv4}=require(a95_0x17a943(0x2a2)),util=require(a95_0x17a943(0x236)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x17a943(0x29f)),TestInfo=require(a95_0x17a943(0x260)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a95_0x17a943(0x1fa)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x17a943(0x1ec)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x17a943(0x1ec)),path=require('path'),fs=require('fs'),helper=require(a95_0x17a943(0x202)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants'),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a95_0x17a943(0x222),a95_0x17a943(0x22f),a95_0x17a943(0x249),a95_0x17a943(0x26e)]);function a95_0x20f5(_0x51774f,_0x13c992){const _0x40db2b=a95_0x40db();return a95_0x20f5=function(_0x20f592,_0x3dad59){_0x20f592=_0x20f592-0x1c2;let _0x4dc857=_0x40db2b[_0x20f592];return _0x4dc857;},a95_0x20f5(_0x51774f,_0x13c992);}function a95_0x40db(){const _0x46fe88=['failure','error','KEY_TEST_NAME','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','setTestDetails','toString','parsePlaywrightTestResult:\x20extracted\x20','7HbsCMv','title','getCurrentHookState','length','IbCsn','result','../customTagManager','iQNjQ','filePath','eLwZi','mergeIntoTags','debug','filter','TEST_SCREENSHOT','ubMtM','inspect','KEY_TEST_FAILURE','dTvIi','hook','TvmZS','getProcessId','step','gxiVn','statSync','eventJson','1690434bACsDn','dEZGu','eEtdu','FdlBb','pop','startTime','test','matchHookRegex','status','exports','sWNnT','trackHookEvent','../../playwright/reporter/pwUtils','message','hIwdq','../instances/testFrameworkInstance.js','path','EVtnB','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','\x20&\x20hook\x20=\x20','attachments','resolveInstance','jGElV','parallelIndex','KEY_HOOK_FAILURE_TYPE','trackEvent','../../../helpers/test-observability/utils','35RXvjyv','POST','\x20result=','push','EgJlf','getTime','toISOString','../../../../src/helpers/helper','aeDvB','trackPlaywrightInstance','forEach','annotations','GpBzF','trim','has','IcXPY','KEY_TEST_RETRY_OF','getRef','kpSCH','KEY_CUSTOM_TAGS','TBTnZ','CrybT','timedOut','../../../helpers/classLogger.js','vHkPH','gAhcV','createTestFrameworkEventPayload\x20testId:\x20','setTrackedInstance','KEY_TEST_STARTED_AT','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_AUTOMATE_SESSION_NAME','results','keyword','failed','10278180patqOD','KEY_HOOK_LOGS','KEY_HOOKS_FINISHED','KEY_TEST_FAILURE_TYPE','addMultipleEntries','skip','from','get','KEY_TEST_ATTACHMENTS','sendLogCreatedEvent','\x20hookState=','NsZKS','sbijf','\x20instanceId=','steps','KEY_TEST_LOCATION','ZhSfz','hookState','fixme','MAX_NESTED_STEP_DEPTH','testFrameworkState','PRE','GCfeA','\x20steps\x20for\x20testId=','getTestFrameworksVersions','util','50896xdYURW','trackStepEvent:\x20exception=','KEY_TEST_UUID','passed','stack','KEY_TEST_SCOPES','./constants/testFrameworkConstants.js','1103088fojpOy','logCreatedEvent','iJNqb','KEY_HOOK_FAILURE_REASON','DEFAULT_TEST_RESULT','instance','sendLogCreatedEvent\x20for\x20testId:\x20','InHQG','hKCfo','KEY_TEST_RERUN_NAME','SyYDg','slow','KEY_HOOKS_STARTED','qiIDL','usfbH','tSvnk','dAtIA','getInstance','parsePlaywrightTest','parsePlaywrightTestResult','xAFKk','parsePlaywrightTestResult:\x20testId=','lPcWI','KEY_TEST_RESULT','duration','basename','\x20batch\x20','eTHSC','zrtUE','getAllData','../instances/trackedInstance.js','NONE','\x20step=\x22','getTraceFilePaths','../TestInfo.js','executionContext','KEY_HOOK_FAILURE','YpHLc','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_HOOK_NAME','TEST_STEP','Error\x20processing\x20direct\x20trace\x20file\x20','cBXLn','GAktT','Expected\x20to\x20fail,\x20but\x20passed.','getContext','MgiLY','bDuHy','fail','MAX_TOP_LEVEL_STEPS','getCurrentTestState','KEY_TEST_FRAMEWORK_VERSION','wIPnG','yQYbo','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','getTestIdentifierFromTestInfo','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','154772rngqDX','Error\x20in\x20createTestFrameworkEventPayload:\x20','../state/testFrameworkState.js','trackStepEvent','KEY_TEST_FILE_PATH','KEY_LOGS','KEY_TEST_ID','Error\x20in\x20sendLogCreatedEvent:\x20','mUZmr','\x20response=','KEY_TEST_FRAMEWORK_NAME','PlaywrightTestFramework','PdMPU','soLwU','oBsjH','ZRIot','FcysY','\x20testHookState=','retry','getTrackedInstance','startedAt','info','acSBx','KEY_HOOK_ID','XYOIi','ERnbT','BqryZ','vmjgp','KEY_HOOK_RESULT','concat','errors','text','\x20testState:\x20','Error\x20processing\x20trace\x20file\x20','runHooks','KEY_TEST_FAILURE_REASON','\x20target=','TEST','LCdUe','getTestFrameworks','../../../helpers/helper.js','KEY_EVENT_ENDED_AT','size','uuid','wkwmk','set','pYnWb','trackStepEvent:\x20testId=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','3oGVccF','sendLogCreatedEvent:\x20testId=','GkleR','gfOwT','KEY_EVENT_STARTED_AT','bXgRM','epJrj','\x20instance=','getTestUUID','gHVeO','bihCp','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getTestDetails','AMcFb',',\x20state=','getId','581016wgODxn','1496475sNShpY','kkOoE','DocPL','\x20hookState:\x20','KEY_TEST_SCOPE','platformIndex','format','No\x20reason\x20provided','endedAt','\x20payload=','dOiiG','fGjTZ','split','failure_type'];a95_0x40db=function(){return _0x46fe88;};return a95_0x40db();}class PlaywrightTestFramework extends TestFramework{constructor(_0x58886f,_0x16a346,_0x391bd6){super(_0x58886f,_0x16a346,_0x391bd6);}async['trackEvent'](_0x4b2701,_0x14c1be,_0x10ecbc={}){const _0x568049=a95_0x17a943,_0x7ab7aa={'vHkPH':function(_0x55009a,_0x56e8e6){return _0x55009a===_0x56e8e6;},'BqryZ':function(_0x26ad02,_0x387bb8){return _0x26ad02===_0x387bb8;},'YpHLc':function(_0x4c5f3b,_0x22d3ba){return _0x4c5f3b===_0x22d3ba;},'sWNnT':function(_0x39ab9c,_0x11f081,_0x5a7e7b){return _0x39ab9c(_0x11f081,_0x5a7e7b);},'dTvIi':function(_0x264416,_0x2d9b9c){return _0x264416===_0x2d9b9c;},'GAktT':function(_0xdfb0b4,_0x8fccd8,_0x47b390){return _0xdfb0b4(_0x8fccd8,_0x47b390);},'iYlhS':function(_0x3d7583,_0x15d640,_0x581e34,_0xf885cd){return _0x3d7583(_0x15d640,_0x581e34,_0xf885cd);},'tSvnk':_0x568049(0x1e6),'CrybT':_0x568049(0x2b3)};super[_0x568049(0x1f9)](_0x4b2701,_0x14c1be,_0x10ecbc);if(_0x7ab7aa[_0x568049(0x213)](_0x4b2701,TestFrameworkState[_0x568049(0x1d4)])){const _0x29fd1d=TestInfo[_0x568049(0x275)](_0x10ecbc[_0x568049(0x1e6)],_0x10ecbc[_0x568049(0x1e6)][_0x568049(0x289)]);TestInfo['setTestDetails'](_0x29fd1d,_0x10ecbc[_0x568049(0x1cc)],!![]);}if(_0x7ab7aa[_0x568049(0x213)](_0x4b2701,TestFrameworkState[_0x568049(0x266)])){this[_0x568049(0x27a)](_0x4b2701,_0x14c1be,_0x10ecbc);return;}const _0x3d54be=this[_0x568049(0x1f5)](_0x4b2701,_0x14c1be,_0x10ecbc);if(!_0x3d54be)return;logger[_0x568049(0x1d2)](_0x568049(0x218)+_0x4b2701+_0x568049(0x227)+_0x14c1be+_0x568049(0x22a)+_0x3d54be[_0x568049(0x20c)]());try{if(_0x7ab7aa[_0x568049(0x291)](_0x14c1be,HookState[_0x568049(0x232)])&&_0x7ab7aa[_0x568049(0x263)](_0x4b2701,TestFrameworkState[_0x568049(0x29c)])){const _0x659d20=_0x10ecbc[_0x568049(0x1e6)];logger[_0x568049(0x1d2)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x659d20['id']+'}');const _0x5db388=TestInfo[_0x568049(0x2b0)](_0x7ab7aa[_0x568049(0x1ea)](getTestRunIdentifier,_0x659d20,_0x10ecbc[_0x568049(0x1cc)][_0x568049(0x289)]));_0x3d54be[_0x568049(0x221)](this[_0x568049(0x250)](_0x5db388,_0x659d20,_0x10ecbc[_0x568049(0x1cc)])),logger[_0x568049(0x1d2)](_0x568049(0x274)+_0x659d20['id']+',\x20testFrameworkState='+_0x4b2701+_0x568049(0x288)+_0x14c1be+_0x568049(0x2af)+_0x3d54be['getRef']());}if(_0x7ab7aa[_0x568049(0x1d8)](_0x14c1be,HookState[_0x568049(0x1fc)])&&_0x7ab7aa[_0x568049(0x1d8)](_0x4b2701,TestFrameworkState['TEST'])){const _0x42d640=_0x10ecbc[_0x568049(0x1e6)],_0x313e91=_0x10ecbc[_0x568049(0x1cc)];logger['debug'](_0x568049(0x1c3)+_0x42d640['id']);const _0x106693=_0x7ab7aa[_0x568049(0x269)](getTestRunIdentifier,_0x42d640,_0x313e91[_0x568049(0x289)]),_0x3a4150=_0x3d54be['getAllData']()[_0x568049(0x224)](_0x106693)[TestFrameworkConstants[_0x568049(0x239)]],{steps:_0x173164,logs:_0x2b83cc}=_0x7ab7aa['iYlhS'](getStepsAndLogs,_0x313e91[_0x568049(0x22b)],_0x3a4150,_0x7ab7aa[_0x568049(0x24d)]);_0x3d54be[_0x568049(0x221)](this[_0x568049(0x251)](_0x42d640['id'],_0x313e91,_0x42d640,_0x173164)),await this['sendLogCreatedEvent'](_0x3d54be,_0x4b2701,_0x14c1be,_0x7ab7aa['tSvnk'],_0x10ecbc,_0x2b83cc);}if(CLIUtils[_0x568049(0x1e7)](_0x4b2701[_0x568049(0x1c5)]()[_0x568049(0x2c5)]('.')[0x1])){const _0x12e980=await this[_0x568049(0x1eb)](_0x3d54be,_0x4b2701,_0x14c1be,_0x10ecbc);_0x3d54be['addMultipleEntries'](_0x12e980);}}catch(_0x5cdf8a){logger[_0x568049(0x2c8)](util['format'](_0x7ab7aa[_0x568049(0x210)],_0x4b2701,_0x14c1be,_0x10ecbc[_0x568049(0x1ca)],_0x5cdf8a));}_0x10ecbc[_0x568049(0x243)]=_0x3d54be,await this[_0x568049(0x299)](_0x3d54be,_0x4b2701,_0x14c1be,_0x10ecbc);}['resolveInstance'](_0x14de2a,_0x342667,_0x430c70={}){const _0x561f45=a95_0x17a943,_0x2ae447={};_0x2ae447[_0x561f45(0x233)]=function(_0x2963ff,_0x44824d){return _0x2963ff===_0x44824d;},_0x2ae447[_0x561f45(0x292)]=function(_0x589566,_0x1255cb){return _0x589566===_0x1255cb;};const _0x1c89b4=_0x2ae447;let _0x51495d=null;return(_0x1c89b4[_0x561f45(0x233)](_0x14de2a,TestFrameworkState['INIT_TEST'])||_0x1c89b4[_0x561f45(0x292)](_0x14de2a,TestFrameworkState[_0x561f45(0x25d)]))&&this[_0x561f45(0x204)](_0x14de2a,_0x430c70),_0x51495d=TestFramework[_0x561f45(0x28a)](),_0x51495d;}['trackPlaywrightInstance'](_0x4d9ae1,_0x50728e){const _0x31edfe=a95_0x17a943,_0x8f345c=CLIUtils['getCurrentInstanceName'](),_0xf1ff90=TrackedInstance['createContext'](_0x8f345c);let _0x2a3ad5=null;logger[_0x31edfe(0x28c)](_0x31edfe(0x276)+_0x8f345c+_0x31edfe(0x2b6)+_0x4d9ae1),_0x2a3ad5=new TestFrameworkInstance(_0xf1ff90,this[_0x31edfe(0x29e)](),this[_0x31edfe(0x235)](),_0x4d9ae1,HookState['NONE']),TestFramework[_0x31edfe(0x216)](_0xf1ff90,_0x2a3ad5),logger[_0x31edfe(0x28c)](_0x31edfe(0x2a7)+_0xf1ff90[_0x31edfe(0x2b7)]()+_0x31edfe(0x29b)+_0x8f345c);}[a95_0x17a943(0x250)](_0x5302bb,_0x12f746,_0x580aa6){const _0x10087b=a95_0x17a943,_0x38b8f7={'gfOwT':function(_0x58af6c,_0x1e4f5b){return _0x58af6c(_0x1e4f5b);},'soLwU':function(_0x3ddedb,_0x2f8e68){return _0x3ddedb(_0x2f8e68);},'wIPnG':function(_0x3c46e5,_0x48622a){return _0x3c46e5(_0x48622a);},'MgiLY':function(_0x36e2e2,_0x3b5541){return _0x36e2e2(_0x3b5541);},'ZRIot':function(_0x3fdcae,_0x1dc451){return _0x3fdcae(_0x1dc451);},'myNge':function(_0x41cbe9,_0xe3ca6e){return _0x41cbe9(_0xe3ca6e);},'lPcWI':function(_0x2974fd,_0xd30a94,_0x3936a9){return _0x2974fd(_0xd30a94,_0x3936a9);},'kkOoE':function(_0x4eeb74,_0x59e77a){return _0x4eeb74(_0x59e77a);}},_0x417044=_0x38b8f7[_0x10087b(0x2ab)](getPlaywrightTestId,_0x12f746),_0x409d65=_0x38b8f7['gfOwT'](getPlaywrightTestTitle,_0x12f746),_0x593310=_0x38b8f7[_0x10087b(0x284)](getTestTags,_0x12f746),_0x200cc5=_0x38b8f7[_0x10087b(0x272)](getPlaywrightTestCode,_0x12f746),_0x3a8b3e=_0x38b8f7[_0x10087b(0x26c)](getPlaywrightTestFilePath,_0x12f746),_0x1dd9c0=_0x3a8b3e,_0x3f1041=_0x38b8f7[_0x10087b(0x286)](getPlaywrightTestScope,_0x12f746),_0x34edcb=_0x38b8f7['myNge'](getPlaywrightTestScopes,_0x12f746),_0x308e0e=_0x38b8f7[_0x10087b(0x26c)](getPlaywrightSessionName,_0x12f746),_0x30b395=this[_0x10087b(0x29e)]()[0x0],_0x263a10=_0x38b8f7[_0x10087b(0x254)](getTestRunIdentifier,_0x12f746,_0x580aa6[_0x10087b(0x289)]),_0x36ec6c={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x30b395,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[_0x30b395],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x10087b(0x21f)]]:{},[TestFrameworkConstants[_0x10087b(0x24a)]]:{},[TestFrameworkConstants[_0x10087b(0x239)]]:_0x5302bb,[TestFrameworkConstants[_0x10087b(0x255)]]:TestFrameworkConstants[_0x10087b(0x242)],[TestFrameworkConstants[_0x10087b(0x219)]]:_0x308e0e,[TestFrameworkConstants[_0x10087b(0x27b)]]:_0x3a8b3e,[TestFrameworkConstants[_0x10087b(0x27d)]]:_0x417044,[TestFrameworkConstants[_0x10087b(0x1c2)]]:_0x409d65,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1dd9c0,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x200cc5,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x593310,[TestFrameworkConstants[_0x10087b(0x217)]]:_0x12f746[_0x10087b(0x21a)][0x0][_0x10087b(0x1e5)],[TestFrameworkConstants[_0x10087b(0x2bd)]]:_0x3f1041,[TestFrameworkConstants[_0x10087b(0x23c)]]:_0x34edcb,[TestFrameworkConstants[_0x10087b(0x247)]]:_0x38b8f7[_0x10087b(0x2ba)](getPlaywrightCustomRerunParam,_0x12f746)};TestInfo[_0x10087b(0x1c4)](_0x263a10,_0x36ec6c);const _0x3e59b2={};return _0x3e59b2[_0x263a10]=_0x36ec6c,_0x3e59b2;}[a95_0x17a943(0x251)](_0x4b36f1,_0x16cc73,_0x34f9b7,_0x52341b){const _0x38a1cc=a95_0x17a943,_0x326059={'EgJlf':function(_0x62da12,_0x27c009){return _0x62da12(_0x27c009);},'kpSCH':'TEST_ATTACHMENT','bXgRM':function(_0x2e9693,_0x1fa5d5){return _0x2e9693===_0x1fa5d5;},'ERnbT':function(_0x4e4747,_0x890882){return _0x4e4747===_0x890882;},'ZhSfz':function(_0x290059,_0xcb4f92){return _0x290059===_0xcb4f92;},'epJrj':_0x38a1cc(0x2c0),'DocPL':function(_0x5e23a0,_0x5e1c55){return _0x5e23a0(_0x5e1c55);},'xAFKk':function(_0x4b18b5,_0x46fd8a,_0x2cf989){return _0x4b18b5(_0x46fd8a,_0x2cf989);},'LCdUe':function(_0x123ce9,_0x550349){return _0x123ce9===_0x550349;},'dAtIA':'skipped','jGElV':'passed','SyYDg':function(_0x52b52a,_0x1642b5){return _0x52b52a===_0x1642b5;},'bihCp':'failed','aeDvB':function(_0xf8fd28,_0x11285e){return _0xf8fd28===_0x11285e;},'sbijf':_0x38a1cc(0x211),'gHVeO':_0x38a1cc(0x26a),'yQYbo':function(_0x13956f,_0x68a231,_0x51b428){return _0x13956f(_0x68a231,_0x51b428);},'bDuHy':function(_0x536ba7,_0x44f322){return _0x536ba7||_0x44f322;},'gxiVn':function(_0x1d898c,_0x24e17f){return _0x1d898c>_0x24e17f;},'qiIDL':function(_0x5be07a,_0x191c02,_0x7c6666){return _0x5be07a(_0x191c02,_0x7c6666);},'zrtUE':function(_0x32f860,_0x20046c){return _0x32f860-_0x20046c;},'GkleR':function(_0x26c76a,_0x488e94,_0x2b6793,_0x39afab){return _0x26c76a(_0x488e94,_0x2b6793,_0x39afab);},'VHmrr':_0x38a1cc(0x1e6),'amaae':function(_0x7d5ad5,_0x2cb550){return _0x7d5ad5>=_0x2cb550;},'TvmZS':function(_0x8f0ca0,_0x4b8d7b){return _0x8f0ca0+_0x4b8d7b;},'NsZKS':function(_0x346cc4,_0x4268a6){return _0x346cc4>_0x4268a6;},'iJNqb':_0x38a1cc(0x1f0),'InHQG':function(_0x23f755,_0x1fade9){return _0x23f755>_0x1fade9;},'pzHEa':function(_0x4785c5,_0x44648b){return _0x4785c5(_0x44648b);},'hKCfo':_0x38a1cc(0x1cd)};logger[_0x38a1cc(0x1d2)](_0x38a1cc(0x253)+_0x4b36f1);const _0x161965=_0x326059[_0x38a1cc(0x252)](getTestRunIdentifier,_0x34f9b7,_0x16cc73[_0x38a1cc(0x289)]),_0x21f4c0=new Date(),_0x4eef5c=_0x16cc73[_0x38a1cc(0x1e8)],_0x4ae911=TestInfo[_0x38a1cc(0x2b4)](_0x161965)[TestFrameworkConstants[_0x38a1cc(0x20e)]]||{};let _0x102d62=_0x4eef5c;if(_0x326059[_0x38a1cc(0x22d)](_0x16cc73['status'],_0x34f9b7['expectedStatus']))_0x102d62=_0x326059[_0x38a1cc(0x29d)](_0x16cc73[_0x38a1cc(0x1e8)],_0x326059[_0x38a1cc(0x24e)])?_0x326059[_0x38a1cc(0x24e)]:_0x326059[_0x38a1cc(0x1f6)];else{(_0x326059[_0x38a1cc(0x22d)](_0x102d62,_0x326059[_0x38a1cc(0x1f6)])||_0x326059[_0x38a1cc(0x248)](_0x102d62,_0x326059['bihCp'])||_0x326059[_0x38a1cc(0x203)](_0x102d62,_0x326059[_0x38a1cc(0x229)]))&&(_0x102d62=_0x326059[_0x38a1cc(0x2b2)]);if(_0x326059[_0x38a1cc(0x203)](_0x16cc73[_0x38a1cc(0x1e8)],_0x326059['jGElV'])&&_0x326059[_0x38a1cc(0x2ad)](_0x34f9b7['expectedStatus'],_0x326059[_0x38a1cc(0x2b2)])){const _0x4e822a={};_0x4e822a[_0x38a1cc(0x1ed)]=_0x326059['gHVeO'],_0x4e822a[_0x38a1cc(0x23b)]=_0x326059[_0x38a1cc(0x2b1)],_0x16cc73[_0x38a1cc(0x2c8)]=_0x4e822a,_0x16cc73[_0x38a1cc(0x295)]=[_0x16cc73[_0x38a1cc(0x2c8)]];}}const {failureData:_0x35da07,logs:_0x4eacd9}=_0x326059['yQYbo'](getFailureData,_0x16cc73?.['errors'],{}),_0x2f37e0={[TestFrameworkConstants[_0x38a1cc(0x1d7)]]:_0x326059[_0x38a1cc(0x26d)](_0x35da07,null),[TestFrameworkConstants[_0x38a1cc(0x220)]]:_0x16cc73?.[_0x38a1cc(0x2c8)]&&_0x326059[_0x38a1cc(0x1ff)](getFailureType,_0x16cc73['error'][_0x38a1cc(0x1ed)]),[TestFrameworkConstants[_0x38a1cc(0x29a)]]:_0x16cc73?.[_0x38a1cc(0x2c8)]&&_0x326059[_0x38a1cc(0x2bb)](removeAnsiColors,_0x16cc73[_0x38a1cc(0x2c8)]['message']),[TestFrameworkConstants[_0x38a1cc(0x27c)]]:[],[TestFrameworkConstants[_0x38a1cc(0x255)]]:_0x102d62,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x21f4c0[_0x38a1cc(0x201)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x38a1cc(0x201)](),[TestFrameworkConstants[_0x38a1cc(0x20e)]]:_0x4ae911};if(_0x16cc73&&_0x326059['gxiVn'](_0x16cc73[_0x38a1cc(0x289)],0x0)){const _0x4b1893=TestInfo[_0x38a1cc(0x2b0)](_0x326059['qiIDL'](getTestRunIdentifier,_0x34f9b7,_0x326059[_0x38a1cc(0x25a)](_0x16cc73[_0x38a1cc(0x289)],0x1)));_0x2f37e0[TestFrameworkConstants[_0x38a1cc(0x20b)]]=_0x4b1893;}const _0x329f6a={};_0x329f6a[_0x38a1cc(0x1e6)]=_0x34f9b7;const _0x77932d=this[_0x38a1cc(0x1f5)](TestFrameworkState[_0x38a1cc(0x29c)],HookState[_0x38a1cc(0x1fc)],_0x329f6a),_0xbbd029=_0x77932d[_0x38a1cc(0x25b)]()[_0x38a1cc(0x224)](_0x161965)[TestFrameworkConstants[_0x38a1cc(0x239)]],_0x3a9fe2=_0x52341b||_0x326059[_0x38a1cc(0x2aa)](getStepsAndLogs,_0x16cc73[_0x38a1cc(0x22b)],_0xbbd029,_0x326059['VHmrr'])[_0x38a1cc(0x22b)],_0x3cf5d8=new Map(),_0x3e22a7=new Map();let _0x395314=0x0;const _0x265c66=[];for(const _0x18681e of _0x3a9fe2||[]){const _0x4bcb71=_0x18681e['parent_id']||null;let _0x4df6ea;if(_0x326059[_0x38a1cc(0x203)](_0x4bcb71,null)){if(_0x326059['amaae'](_0x395314,TestFrameworkConstants[_0x38a1cc(0x26f)]))continue;_0x4df6ea=0x0,_0x395314++;}else{const _0x359b90=_0x3cf5d8[_0x38a1cc(0x224)](_0x4bcb71);if(_0x326059[_0x38a1cc(0x203)](_0x359b90,undefined))continue;_0x4df6ea=_0x326059[_0x38a1cc(0x1da)](_0x359b90,0x1);if(_0x326059[_0x38a1cc(0x228)](_0x4df6ea,TestFrameworkConstants[_0x38a1cc(0x230)]))continue;}_0x3cf5d8[_0x38a1cc(0x2a4)](_0x18681e['id'],_0x4df6ea),_0x3e22a7[_0x38a1cc(0x2a4)](_0x18681e['id'],_0x18681e['text']),_0x265c66[_0x38a1cc(0x1fe)]({'id':_0x18681e['id'],'parent_id':_0x4bcb71,'parent_text':_0x4bcb71?_0x3e22a7[_0x38a1cc(0x224)](_0x4bcb71)||'':'','text':_0x18681e[_0x38a1cc(0x296)],'keyword':_0x18681e[_0x38a1cc(0x21b)]||null,'started_at':_0x18681e['started_at'],'duration':_0x18681e[_0x38a1cc(0x256)]??null,'result':_0x18681e['result'],'failure':_0x18681e[_0x38a1cc(0x2c7)]||null,'failure_type':_0x18681e[_0x38a1cc(0x2c6)]||null});}const _0x52a057={};_0x52a057['steps']=_0x265c66,_0x2f37e0[TestFrameworkConstants['KEY_TEST_META']]=_0x52a057,logger[_0x38a1cc(0x1d2)](_0x38a1cc(0x1c6)+_0x265c66[_0x38a1cc(0x1ca)]+_0x38a1cc(0x234)+_0x4b36f1);const _0x268f56=[],_0x54edbd=_0x326059[_0x38a1cc(0x273)](findNestedKey,_0x16cc73,_0x326059[_0x38a1cc(0x240)]);if(_0x54edbd&&_0x326059[_0x38a1cc(0x2bb)](validateFilePath,_0x54edbd))try{_0x268f56[_0x38a1cc(0x1fe)]({'kind':_0x326059[_0x38a1cc(0x20d)],'timestamp':new Date()[_0x38a1cc(0x201)](),'test_run_uuid':_0xbbd029,'file_name':path[_0x38a1cc(0x257)](_0x54edbd),'file_size':fs['statSync'](_0x54edbd)[_0x38a1cc(0x2a1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x49df5f){logger[_0x38a1cc(0x2c8)](_0x38a1cc(0x267)+_0x54edbd+':\x20'+_0x49df5f[_0x38a1cc(0x1ed)]);}const _0x216a0d=TestInfo[_0x38a1cc(0x25f)](),_0xf85f25=_0x216a0d[_0x38a1cc(0x1d3)](_0x150f82=>_0x150f82['testUId']===_0xbbd029);_0xf85f25['forEach'](_0x1a2757=>{const _0x4679cc=_0x38a1cc;if(_0x1a2757[_0x4679cc(0x1cf)]&&_0x326059[_0x4679cc(0x1ff)](validateFilePath,_0x1a2757['filePath'])&&!_0x268f56['some'](_0x346b2e=>_0x346b2e['file_name']===path[_0x4679cc(0x257)](_0x1a2757['filePath'])))try{_0x268f56[_0x4679cc(0x1fe)]({'kind':_0x326059[_0x4679cc(0x20d)],'timestamp':new Date()[_0x4679cc(0x201)](),'test_run_uuid':_0xbbd029,'file_name':path['basename'](_0x1a2757[_0x4679cc(0x1cf)]),'file_size':fs[_0x4679cc(0x1de)](_0x1a2757[_0x4679cc(0x1cf)])[_0x4679cc(0x2a1)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5b2d66){logger[_0x4679cc(0x2c8)](_0x4679cc(0x298)+_0x1a2757['filePath']+'\x20from\x20TestDetails:\x20'+_0x5b2d66[_0x4679cc(0x1ed)]);}});if(_0x326059[_0x38a1cc(0x1dd)](_0x268f56[_0x38a1cc(0x1ca)],0x0)){const _0x439e96=_0x2f37e0[TestFrameworkConstants[_0x38a1cc(0x27c)]]||[];_0x2f37e0[TestFrameworkConstants['KEY_LOGS']]=[..._0x439e96,..._0x268f56];}const _0xc8f1cf=TestInfo[_0x38a1cc(0x2b4)](_0x161965)[TestFrameworkConstants[_0x38a1cc(0x225)]]||{},_0x4e81aa=_0x326059[_0x38a1cc(0x24b)](getManualUploadLogs,_0xc8f1cf,_0x77932d['getAllData']()[_0x38a1cc(0x224)](_0x161965)[TestFrameworkConstants[_0x38a1cc(0x239)]]);if(_0x326059[_0x38a1cc(0x245)](_0x4e81aa['length'],0x0)){const _0x50f639=_0x2f37e0[TestFrameworkConstants[_0x38a1cc(0x27c)]]||[];_0x2f37e0[TestFrameworkConstants['KEY_LOGS']]=[..._0x50f639,..._0x4e81aa];}const _0x22a7dc=_0x34f9b7[_0x38a1cc(0x206)]||[],_0x236b61=_0x2f37e0[TestFrameworkConstants[_0x38a1cc(0x20e)]]||{},_0x21457c=_0x326059['pzHEa'](require,_0x326059[_0x38a1cc(0x246)]);_0x22a7dc[_0x38a1cc(0x205)](_0x1f35ca=>{const _0x5329c5=_0x38a1cc,{type:_0x14faa9}=_0x1f35ca;let _0x50398d=_0x1f35ca['description'];if(!_0x14faa9)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x5329c5(0x209)](_0x14faa9))return;(_0x326059[_0x5329c5(0x2ad)](_0x50398d,undefined)||_0x326059[_0x5329c5(0x290)](_0x50398d,null)||_0x326059['ZhSfz'](_0x326059[_0x5329c5(0x1ff)](String,_0x50398d)[_0x5329c5(0x208)](),''))&&(_0x50398d=_0x326059[_0x5329c5(0x2ae)]);const _0x233fd1=helper['parseCommaSeparatedValues'](_0x326059[_0x5329c5(0x2bb)](String,_0x50398d));_0x21457c[_0x5329c5(0x1d1)](_0x236b61,_0x14faa9,_0x233fd1);}),_0x2f37e0[TestFrameworkConstants[_0x38a1cc(0x20e)]]=_0x236b61,TestInfo[_0x38a1cc(0x1c4)](_0x161965,_0x2f37e0);const _0x3f7f29={};return _0x3f7f29[_0x161965]=_0x2f37e0,_0x3f7f29;}[a95_0x17a943(0x27a)](_0x48c201,_0x3c8c13,_0x252a3b){const _0xdb28af=a95_0x17a943,_0x123feb={'dOiiG':function(_0x2e6a76,_0x1c95b9){return _0x2e6a76||_0x1c95b9;},'IcXPY':function(_0x5f4982,_0x7918f9,_0x2b14e9){return _0x5f4982(_0x7918f9,_0x2b14e9);}};try{const {test:_0x38d376,result:_0x25dd7d,step:_0x56c13c}=_0x252a3b;if(_0x123feb[_0xdb28af(0x2c3)](!_0x38d376,!_0x56c13c)||!_0x25dd7d)return;const _0x31582a=_0x123feb[_0xdb28af(0x20a)](getTestRunIdentifier,_0x38d376,_0x25dd7d[_0xdb28af(0x289)]);logger['debug'](_0xdb28af(0x2a6)+_0x31582a+_0xdb28af(0x227)+_0x3c8c13+_0xdb28af(0x25e)+_0x56c13c[_0xdb28af(0x1c8)]+'\x22');}catch(_0x276921){logger[_0xdb28af(0x2c8)](_0xdb28af(0x238)+util['format'](_0x276921));}}async[a95_0x17a943(0x1eb)](_0x37b7d7,_0x27b662,_0x5df1c8,_0x2e781a){const _0xd312b5=a95_0x17a943,_0x43ee04={'eMBOt':function(_0x24ae2d,_0x133dfc,_0x57088b){return _0x24ae2d(_0x133dfc,_0x57088b);},'usfbH':function(_0x1cbca2,_0x810941){return _0x1cbca2 in _0x810941;},'ubMtM':function(_0x1ad674,_0x3c83b9){return _0x1ad674 in _0x3c83b9;},'TBTnZ':function(_0x26a7b8,_0x113327){return _0x26a7b8(_0x113327);},'eTHSC':function(_0x491fde,_0x37162b){return _0x491fde===_0x37162b;},'FdlBb':function(_0x46ad93){return _0x46ad93();},'VLwoJ':function(_0x152cbe,_0x4ce0dd){return _0x152cbe>_0x4ce0dd;},'IbCsn':function(_0x26b32d,_0x569392,_0x566ba1){return _0x26b32d(_0x569392,_0x566ba1);},'gAhcV':'err','fGjTZ':function(_0x24afee,_0xd76de){return _0x24afee(_0xd76de);},'eLwZi':function(_0x3d8dcc,_0xca594c){return _0x3d8dcc(_0xca594c);},'iQNjQ':_0xd312b5(0x21c),'EVtnB':_0xd312b5(0x23a),'YdQNO':function(_0x1b18d,_0x58adc6){return _0x1b18d!==_0x58adc6;},'wkwmk':function(_0x829f61,_0x35a096){return _0x829f61+_0x35a096;},'STRUr':'hook'},_0x486a14=_0x2e781a[_0xd312b5(0x1e6)],_0x57932c=_0x2e781a['step'],_0x22ec14=_0x43ee04['eMBOt'](getTestRunIdentifier,_0x486a14,_0x2e781a[_0xd312b5(0x1cc)][_0xd312b5(0x289)]),_0x265686=_0x27b662[_0xd312b5(0x1c5)]()['split']('.')[0x1];let _0x467add=_0x37b7d7[_0xd312b5(0x25b)]()[_0xd312b5(0x224)](_0x22ec14)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x467add&&(_0x467add={});!_0x43ee04[_0xd312b5(0x24c)](_0x265686,_0x467add)&&(_0x467add[_0x265686]=[]);let _0x32e3b9=_0x37b7d7[_0xd312b5(0x25b)]()['get'](_0x22ec14)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x32e3b9&&(_0x32e3b9={});!_0x43ee04[_0xd312b5(0x1d5)](_0x265686,_0x32e3b9)&&(_0x32e3b9[_0x265686]=[]);const _0x584abb={[TestFrameworkConstants[_0xd312b5(0x24a)]]:_0x467add,[TestFrameworkConstants[_0xd312b5(0x21f)]]:_0x32e3b9},_0x2eccf1={};_0x2eccf1[_0x22ec14]=_0x584abb;const _0x192851=_0x2eccf1,_0x1b3c16=_0x43ee04[_0xd312b5(0x20f)](getPlaywrightTestFilePath,_0x486a14),_0x252398=_0x1b3c16,_0x2c8da5=TestInfo[_0xd312b5(0x2b4)](_0x22ec14)[TestFrameworkConstants[_0xd312b5(0x20e)]]||{};if(_0x43ee04[_0xd312b5(0x259)](_0x5df1c8,HookState['PRE'])){const _0x5b9906={'key':_0x265686,[TestFrameworkConstants[_0xd312b5(0x28e)]]:_0x43ee04[_0xd312b5(0x1e3)](uuidv4),[TestFrameworkConstants[_0xd312b5(0x293)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0xd312b5(0x2ac)]]:_0x57932c['startTime'],[TestFrameworkConstants[_0xd312b5(0x21e)]]:[],[TestFrameworkConstants[_0xd312b5(0x265)]]:_0x57932c[_0xd312b5(0x1c8)],[TestFrameworkConstants[_0xd312b5(0x27b)]]:_0x1b3c16,[TestFrameworkConstants[_0xd312b5(0x22c)]]:_0x252398,[TestFrameworkConstants[_0xd312b5(0x20e)]]:_0x2c8da5};_0x467add[_0x265686][_0xd312b5(0x1fe)](_0x5b9906),_0x192851[_0x22ec14][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x265686,logger[_0xd312b5(0x1d2)](_0xd312b5(0x1f2)+_0x265686+_0xd312b5(0x1f3)+_0x5b9906+'\x20\x20and\x20args\x20=\x20'+_0x2e781a);}else{if(_0x43ee04[_0xd312b5(0x259)](_0x5df1c8,HookState['POST'])){const _0x100afa=await _0x2e781a['result'],_0x4bf74c=_0x467add[_0x265686]||[],_0x29a392=_0x2e781a[_0xd312b5(0x1dc)];logger[_0xd312b5(0x1d2)]('Hook\x20List\x20in\x20Post\x20'+_0x4bf74c+'\x20and\x20args\x20=\x20'+_0x2e781a);if(_0x43ee04['VLwoJ'](_0x4bf74c[_0xd312b5(0x1ca)],0x0)){const _0xbdf885=_0x4bf74c[_0xd312b5(0x1e4)]();if(_0x29a392[_0xd312b5(0x2c8)]){const _0x6f5002=_0x43ee04[_0xd312b5(0x1cb)](failureData,_0x29a392[_0xd312b5(0x2c8)],_0x43ee04[_0xd312b5(0x214)]);_0xbdf885[TestFrameworkConstants[_0xd312b5(0x1f8)]]=_0x43ee04[_0xd312b5(0x2c4)](getFailureType,_0x29a392?.['error']['message']),_0xbdf885[TestFrameworkConstants[_0xd312b5(0x241)]]=_0x43ee04[_0xd312b5(0x1d0)](removeAnsiColors,_0x29a392?.[_0xd312b5(0x2c8)][_0xd312b5(0x1ed)]),_0xbdf885[TestFrameworkConstants[_0xd312b5(0x293)]]=_0x43ee04[_0xd312b5(0x1ce)],_0xbdf885[TestFrameworkConstants[_0xd312b5(0x262)]]=_0x6f5002;}else _0xbdf885[TestFrameworkConstants[_0xd312b5(0x293)]]=_0x43ee04[_0xd312b5(0x1f1)];_0x43ee04['YdQNO'](_0x100afa,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0xbdf885[TestFrameworkConstants[_0xd312b5(0x293)]]=!_0x29a392[_0xd312b5(0x2c8)]?_0x43ee04[_0xd312b5(0x1f1)]:_0x43ee04[_0xd312b5(0x1ce)]);const _0x1cf845=new Date(_0x29a392[_0xd312b5(0x1e5)]),_0x1be4af=new Date(_0x43ee04[_0xd312b5(0x2a3)](_0x1cf845[_0xd312b5(0x200)](),_0x29a392['duration']));_0xbdf885[TestFrameworkConstants[_0xd312b5(0x2a0)]]=_0x1be4af[_0xd312b5(0x201)](),_0xbdf885[TestFrameworkConstants[_0xd312b5(0x20e)]]=_0x2c8da5;const _0x5d65d1=_0xbdf885[TestFrameworkConstants[_0xd312b5(0x28e)]];await this[_0xd312b5(0x226)](_0x37b7d7,_0x27b662,_0x5d65d1,_0x43ee04['STRUr'],_0x2e781a),!_0x32e3b9[_0x265686]&&(_0x32e3b9[_0x265686]=[]),_0x32e3b9[_0x265686][_0xd312b5(0x1fe)](_0xbdf885),_0x192851[_0x22ec14][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x265686;}}}return _0x192851;}async[a95_0x17a943(0x226)](_0x549fd7,_0x1695f9,_0x4a5b50,_0x2d5ea6,_0xe58560,_0x5863aa){const _0x17b770=a95_0x17a943,_0x4b7784={'eEtdu':function(_0x323556,_0x1b50e7){return _0x323556===_0x1b50e7;},'KHnBP':_0x17b770(0x1e6),'TKEVS':function(_0xd81c49,_0x4a1d33,_0x4e4f4e){return _0xd81c49(_0x4a1d33,_0x4e4f4e);},'AMcFb':function(_0x5c49b3,_0x24007e,_0x50135a){return _0x5c49b3(_0x24007e,_0x50135a);},'dEZGu':'attachments','acSBx':function(_0x15a106,_0x3c02b3,_0x3ccdee,_0x11511b){return _0x15a106(_0x3c02b3,_0x3ccdee,_0x11511b);},'WfQoh':function(_0x2f518e,_0x345c85,_0x59ba4e){return _0x2f518e(_0x345c85,_0x59ba4e);},'cBXLn':function(_0x4727be,_0x1e00d4,_0x19008c){return _0x4727be(_0x1e00d4,_0x19008c);},'tpQnt':function(_0x3b43a1,_0x480280,_0x73d99f){return _0x3b43a1(_0x480280,_0x73d99f);},'xHUbd':function(_0x566f1a,_0xfa0ec3){return _0x566f1a/_0xfa0ec3;},'pYnWb':function(_0x30f500,_0x5eb05e){return _0x30f500<_0x5eb05e;},'mUZmr':function(_0x2fc1c8,_0x1dccd5){return _0x2fc1c8*_0x1dccd5;},'XYOIi':function(_0x1091ae,_0x5c95ac){return _0x1091ae+_0x5c95ac;},'GpBzF':function(_0x3527ae,_0x55ce0c,_0x22561a,_0x837509,_0x371965){return _0x3527ae(_0x55ce0c,_0x22561a,_0x837509,_0x371965);},'PdMPU':function(_0x1c86da,_0x16ebfe){return _0x1c86da+_0x16ebfe;},'RdFFy':function(_0x417e41,_0x59c540,_0x15d485,_0x4ef5c7){return _0x417e41(_0x59c540,_0x15d485,_0x4ef5c7);},'FcysY':_0x17b770(0x1d9)};try{if(_0x4b7784[_0x17b770(0x1e2)](_0x2d5ea6,_0x4b7784['KHnBP'])){const _0xa47331=await _0xe58560[_0x17b770(0x1cc)],_0x53fdf5=_0x4b7784['TKEVS'](getTestRunIdentifier,_0xe58560[_0x17b770(0x1e6)],_0xe58560[_0x17b770(0x1cc)][_0x17b770(0x289)]),_0x3e907d=_0xe58560[_0x17b770(0x1e6)];logger[_0x17b770(0x1d2)]('sendLogCreatedEvent:\x20testId='+_0x53fdf5+_0x17b770(0x1fd)+util[_0x17b770(0x1d6)](_0xa47331));const _0x2bab59=_0x549fd7[_0x17b770(0x25b)]()[_0x17b770(0x224)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]];await _0x4b7784[_0x17b770(0x2b5)](sendTraceZip,_0xa47331,_0x2bab59);const _0x1d7dfb=TestInfo[_0x17b770(0x2b4)](_0x53fdf5)[_0x4b7784[_0x17b770(0x1e1)]],_0x32f367={};if(_0x1d7dfb){!_0xa47331[_0x17b770(0x1f4)]&&(_0xa47331[_0x17b770(0x1f4)]=[]);_0x32f367[_0x17b770(0x1f4)]=_0xa47331[_0x17b770(0x1f4)][_0x17b770(0x294)](_0x1d7dfb||[]);const _0x105465=TestInfo[_0x17b770(0x2b4)](_0x53fdf5);delete _0x105465[_0x4b7784[_0x17b770(0x1e1)]],TestInfo[_0x17b770(0x1c4)](_0x53fdf5,_0x105465);}const _0x22c70f=_0x5863aa||_0x4b7784[_0x17b770(0x28d)](getStepsAndLogs,_0xa47331[_0x17b770(0x22b)],_0x549fd7['getAllData']()[_0x17b770(0x224)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]],_0x4b7784['KHnBP'])['logs'],_0x59d446=_0x4b7784['WfQoh'](getScreenshots,_0x32f367,_0x549fd7['getAllData']()[_0x17b770(0x224)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]]),_0x3ee5d3=_0x4b7784[_0x17b770(0x268)](getVideos,_0xa47331,_0x549fd7[_0x17b770(0x25b)]()[_0x17b770(0x224)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]]),{_:_0x1078f5,logs:_0x3271cc}=_0x4b7784[_0x17b770(0x2b5)](getFailureData,_0xa47331[_0x17b770(0x295)],{'test_run_uuid':_0x549fd7[_0x17b770(0x25b)]()[_0x17b770(0x224)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]]}),_0x4a0031=TestInfo[_0x17b770(0x2b4)](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x225)]]||{},_0x4e1320=_0x4b7784['tpQnt'](getMediaArtifactsLogs,_0x4a0031,_0x549fd7[_0x17b770(0x25b)]()['get'](_0x53fdf5)[TestFrameworkConstants[_0x17b770(0x239)]]),_0x438abb=_0x549fd7[_0x17b770(0x25b)]()[_0x17b770(0x224)](_0x53fdf5),{[TestFrameworkConstants[_0x17b770(0x281)]]:_0x44bd47='',[TestFrameworkConstants[_0x17b770(0x271)]]:_0x114d5a=''}=_0x438abb,_0x58b306=(_0x22c70f||[])[_0x17b770(0x294)](_0x59d446||[])[_0x17b770(0x294)](_0x3271cc||[])[_0x17b770(0x294)](_0x3ee5d3||[])[_0x17b770(0x294)](_0x4e1320||[]),_0x7e8423=0x28,_0x3b375a=Math['ceil'](_0x4b7784['xHUbd'](_0x58b306[_0x17b770(0x1ca)],_0x7e8423));for(let _0x27e555=0x0;_0x4b7784[_0x17b770(0x2a5)](_0x27e555,_0x3b375a);_0x27e555++){const _0x1ab3ed=_0x4b7784[_0x17b770(0x27f)](_0x27e555,_0x7e8423),_0xd164d7=_0x4b7784[_0x17b770(0x28f)](_0x1ab3ed,_0x7e8423),_0x34b90a=_0x58b306['slice'](_0x1ab3ed,_0xd164d7),_0x4061a7={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x34b90a,'testFrameworkName':_0x44bd47,'testFrameworkVersion':_0x114d5a,'testFrameworkState':_0x1695f9[_0x17b770(0x1c5)]()[_0x17b770(0x2c5)]('.')[0x1]};_0x4b7784[_0x17b770(0x207)](updatePayloadForTraceLogs,_0x4061a7,_0xe58560,_0x53fdf5,_0x549fd7),logger[_0x17b770(0x1d2)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x53fdf5+_0x17b770(0x258)+_0x4b7784[_0x17b770(0x283)](_0x27e555,0x1)+'/'+_0x3b375a+_0x17b770(0x2c2)+util[_0x17b770(0x1d6)](_0x4061a7));const _0x48a21c=await GrpcClient['getInstance']()[_0x17b770(0x23f)](_0x4061a7);logger['debug'](_0x17b770(0x244)+_0x53fdf5+_0x17b770(0x258)+_0x4b7784[_0x17b770(0x283)](_0x27e555,0x1)+'/'+_0x3b375a+_0x17b770(0x280)+util['inspect'](_0x48a21c));}}else{const {logs:_0x26bbe9}=_0x4b7784['RdFFy'](getStepsAndLogs,_0xe58560[_0x17b770(0x1dc)][_0x17b770(0x22b)],_0x4a5b50,_0x4b7784[_0x17b770(0x287)]),_0x5b2a92=_0x4b7784[_0x17b770(0x2b5)](getTestRunIdentifier,_0xe58560[_0x17b770(0x1e6)],_0xe58560['result'][_0x17b770(0x289)]);logger[_0x17b770(0x1d2)](_0x17b770(0x2a9)+_0x5b2a92);const _0x2fe406=_0x549fd7[_0x17b770(0x25b)]()[_0x17b770(0x224)](_0x5b2a92),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x264613='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1d5b0b=''}=_0x2fe406,_0x9b02ce={'platformIndex':'0','logs':_0x26bbe9,'testFrameworkName':_0x264613,'testFrameworkVersion':_0x1d5b0b,'testFrameworkState':_0x1695f9[_0x17b770(0x1c5)]()[_0x17b770(0x2c5)]('.')[0x1]};_0x4b7784[_0x17b770(0x207)](updatePayloadForTraceLogs,_0x9b02ce,_0xe58560,_0x5b2a92,_0x549fd7),logger['debug'](_0x17b770(0x244)+_0x5b2a92+_0x17b770(0x2c2)+util[_0x17b770(0x1d6)](_0x9b02ce));const _0x20f30d=await GrpcClient[_0x17b770(0x24f)]()['logCreatedEvent'](_0x9b02ce);}}catch(_0x20de13){logger[_0x17b770(0x2c8)](_0x17b770(0x27e)+util[_0x17b770(0x2bf)](_0x20de13));}}['createTestFrameworkEventPayload'](_0x16115a){const _0x5701d0=a95_0x17a943,_0x26358f={'oBsjH':function(_0x442632,_0x5e7488,_0x8fc05){return _0x442632(_0x5e7488,_0x8fc05);},'RYyAe':function(_0x2cd35c,_0x11ed5d){return _0x2cd35c<_0x11ed5d;},'hIwdq':'base64'};try{const _0x59cc64=_0x16115a[_0x5701d0(0x1e6)]['id'],_0x39b585=_0x26358f[_0x5701d0(0x285)](getTestRunIdentifier,_0x16115a[_0x5701d0(0x1e6)],_0x16115a[_0x5701d0(0x1cc)][_0x5701d0(0x289)]),_0x1ec2e7=_0x16115a[_0x5701d0(0x243)],_0xee860a=_0x1ec2e7[_0x5701d0(0x26b)](),_0x4be466=_0x1ec2e7[_0x5701d0(0x25b)]()[_0x5701d0(0x224)](_0x39b585);logger['debug'](_0x5701d0(0x215)+_0x59cc64);const {[TestFrameworkConstants[_0x5701d0(0x281)]]:_0x49196d='',[TestFrameworkConstants[_0x5701d0(0x271)]]:_0x48f343='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x799fb2='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x44ac29=''}=_0x4be466,_0x1bed20=_0x1ec2e7[_0x5701d0(0x270)]()[_0x5701d0(0x1c5)]()[_0x5701d0(0x2c5)]('.')[0x1],_0x1698a7=_0x1ec2e7[_0x5701d0(0x1c9)]()['toString']()[_0x5701d0(0x2c5)]('.')[0x1],_0xc365dc=_0x26358f['RYyAe'](_0x16115a?.[_0x5701d0(0x1cc)]?.[_0x5701d0(0x1f7)]??0x0,0x0)?0x0:_0x16115a?.[_0x5701d0(0x1cc)]?.[_0x5701d0(0x1f7)]??0x0,_0x1cd772=_0x1ec2e7['getRef'](),_0x201fd4=Buffer[_0x5701d0(0x223)](JSON['stringify'](_0x4be466))['toString'](_0x26358f[_0x5701d0(0x1ee)]),_0x1d80ec={'hash':_0xee860a[_0x5701d0(0x2b7)](),'threadId':_0xee860a['getThreadId']()[_0x5701d0(0x1c5)](),'processId':_0xee860a[_0x5701d0(0x1db)]()[_0x5701d0(0x1c5)]()},_0x3308f7={};_0x3308f7[_0x5701d0(0x2be)]=_0xc365dc,_0x3308f7['testFrameworkName']=_0x49196d,_0x3308f7['testFrameworkVersion']=_0x48f343,_0x3308f7[_0x5701d0(0x231)]=_0x1bed20,_0x3308f7[_0x5701d0(0x22e)]=_0x1698a7,_0x3308f7[_0x5701d0(0x28b)]=_0x799fb2,_0x3308f7[_0x5701d0(0x2c1)]=_0x44ac29,_0x3308f7[_0x5701d0(0x2a2)]=_0x1cd772,_0x3308f7[_0x5701d0(0x1df)]=_0x201fd4,_0x3308f7[_0x5701d0(0x261)]=_0x1d80ec;const _0x1b27ec=_0x3308f7;return logger['debug'](_0x5701d0(0x264)+_0x59cc64+_0x5701d0(0x297)+_0x1bed20+_0x5701d0(0x2bc)+_0x1698a7),_0x1b27ec;}catch(_0x41d70f){return logger['error'](_0x5701d0(0x278)+util[_0x5701d0(0x2bf)](_0x41d70f)),{};}}}module[a95_0x17a943(0x1e9)]=PlaywrightTestFramework;
|
|
1
|
+
const a95_0x25121f=a95_0x538e;function a95_0x1376(){const _0x2ef5ff=['has','KWSdv','getCurrentHookState','format','KEY_HOOKS_FINISHED','NONE','testFrameworkVersion','startTime','trackEvent:\x20found\x20instance,\x20testFrameworkState=','setTestDetails','\x20hookState:\x20','rtsHE','cnjoi','\x20testHookState=','cHojk','\x20instanceId=','\x20&\x20hook\x20=\x20','stack','DEFAULT_TEST_RESULT','KEY_TEST_NAME','results','trackStepEvent:\x20testId=','hook','createContext','\x20step=\x22','trackHookEvent','TZRLo','startedAt','getAllData','passed','getTestFrameworksVersions','eventJson','getTestFrameworks','KEY_TEST_LOCATION','hookState','KEY_TEST_FRAMEWORK_VERSION','stringify','9MbxpaH','EcDYO','MgxDW','1208kizGaz','getTraceFilePaths','instance','INIT_TEST','mguXr','skipped','KEY_TEST_SCOPE','KEY_TEST_FAILURE_REASON','status','description','fixme','../state/testFrameworkState.js','BxjsS','attachments','PlaywrightTestFramework','92WHXuGW','SWAGa','rszhp','get','sendLogCreatedEvent:\x20testId=','jMTjM','keyword','getInstance','slice','PRE','util','../../../helpers/test-observability/utils','gRgzC','../TestInfo.js','concat','getRef','305oiMYTR','eillx','WNVwD','Hook\x20List\x20in\x20Post\x20','\x20result=','KRYmO','getTrackedInstance','SHSqB','../state/hookState.js','wJyFX','Error\x20in\x20createTestFrameworkEventPayload:\x20','error','info','getContext','skip','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getCurrentInstanceName','zkpfq','KEY_HOOK_LAST_STARTED','\x20hookState=','HxUpA','KEY_LOGS','debug','KEY_TEST_LOGS','push','ElXLR','resolveInstance','11bXCYOq','\x20testState:\x20','testFrameworkName','YsjtF','parseCommaSeparatedValues','184220skCMRl','Crlzy','UDCll','DoHYO','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_HOOK_LOGS','mDORd','sZKyP','statSync','SGbkE','jTJRK','lpaCy','mergeIntoTags','iQkQH','BTPmO','KEY_TEST_TAGS','KEY_TEST_FILE_PATH','logCreatedEvent','KsRUC','\x20from\x20TestDetails:\x20','sendLogCreatedEvent','\x20and\x20args\x20=\x20','VwVjW','Error\x20processing\x20direct\x20trace\x20file\x20','KEY_CUSTOM_TAGS','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','trim','yNBsy','message','fail','\x20batch\x20','size','failure_type','file_name','errors','\x20steps\x20for\x20testId=','KknIP','createTestFrameworkEventPayload\x20testId:\x20','failed','KEY_TEST_FAILURE','createTestFrameworkEventPayload','length','TEST','set','some','zKfSB','retry','MNGEb','25386KXlaWL','./testFramework','WtrIO','490933NPfGtY','text','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','step','TCuNH','trackPlaywrightInstance','testFrameworkState','MAX_TOP_LEVEL_STEPS','runHooks','juBlk','Error\x20processing\x20trace\x20file\x20','KEY_TEST_RETRY_OF','inspect','KEY_HOOK_RESULT','test','getThreadId','expectedStatus','basename','qBuip','YQkut','base64','filePath','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','annotations','fcqYb','KEY_TEST_STARTED_AT','getTestDetails','KEY_TEST_ATTACHMENTS','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','parallelIndex','ceil','platformIndex','getTime','\x20target=','steps','uuid','../cliUtils.js','KEY_EVENT_STARTED_AT','trackEvent','KEY_TEST_RERUN_NAME','kUQZo','\x20instance=','../customTagManager','../../playwright/reporter/pwUtils','KEY_TEST_ID','TEST_SCREENSHOT','timedOut','3401048qtLeKz','parsePlaywrightTestResult','KEY_TEST_RESULT','../grpcClient','exports','nKvvI','./constants/testFrameworkConstants.js','trackStepEvent:\x20exception=','MAX_NESTED_STEP_DEPTH','getProcessId','path','filter','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','toString','TEST_STEP','executionContext','TEST_ATTACHMENT','gxJFe','KEY_HOOK_FAILURE_REASON','parsePlaywrightTest','Dhxru','POST','esdWU','../instances/trackedInstance.js','result','from','KEY_TEST_UUID','toISOString','setTrackedInstance','rgzoA','split','getTestUUID','forEach','GrHkE','KEY_TEST_ENDED_AT','\x20response=','pySwK','KEY_HOOK_ID','PdXHN','84XxXzMZ','Yfkcb','wTYtB','DEFAULT_HOOK_RESULT','BJYJP','testUId','213500ifEXGC','No\x20reason\x20provided','Trtom','mCOcO','addMultipleEntries','title','\x20payload=','KEY_HOOKS_STARTED','../../../../src/helpers/helper','sendLogCreatedEvent\x20for\x20testId:\x20','getId','Error\x20in\x20sendLogCreatedEvent:\x20','slow','matchHookRegex','14542560BIzOrq','FlRzB','KEY_EVENT_ENDED_AT','NAMgZ','TJZSz'];a95_0x1376=function(){return _0x2ef5ff;};return a95_0x1376();}(function(_0x4745cf,_0x53627a){const _0x7b2054=a95_0x538e,_0x4a6204=_0x4745cf();while(!![]){try{const _0x31e0d8=-parseInt(_0x7b2054(0x216))/0x1+-parseInt(_0x7b2054(0x1b3))/0x2*(-parseInt(_0x7b2054(0x213))/0x3)+-parseInt(_0x7b2054(0x1a4))/0x4*(parseInt(_0x7b2054(0x1c3))/0x5)+parseInt(_0x7b2054(0x163))/0x6*(-parseInt(_0x7b2054(0x169))/0x7)+-parseInt(_0x7b2054(0x13c))/0x8*(parseInt(_0x7b2054(0x1a1))/0x9)+parseInt(_0x7b2054(0x1e3))/0xa*(parseInt(_0x7b2054(0x1de))/0xb)+parseInt(_0x7b2054(0x177))/0xc;if(_0x31e0d8===_0x53627a)break;else _0x4a6204['push'](_0x4a6204['shift']());}catch(_0x32256b){_0x4a6204['push'](_0x4a6204['shift']());}}}(a95_0x1376,0x3f014));const TestFramework=require(a95_0x25121f(0x214)),TestFrameworkState=require(a95_0x25121f(0x1af)),HookState=require(a95_0x25121f(0x1cb)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a95_0x25121f(0x23b)),TrackedInstance=require(a95_0x25121f(0x153)),TestFrameworkConstants=require(a95_0x25121f(0x142)),logger=createClassLogger(a95_0x25121f(0x1b2)),{v4:uuidv4}=require(a95_0x25121f(0x23a)),util=require(a95_0x25121f(0x1bd)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a95_0x25121f(0x1c0)),GrpcClient=require(a95_0x25121f(0x13f)),{removeAnsiColors,getFailureType,failureData}=require(a95_0x25121f(0x1be)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x25121f(0x242)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x25121f(0x242)),path=require('path'),fs=require('fs'),helper=require(a95_0x25121f(0x171)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants'),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a95_0x25121f(0x1d1),a95_0x25121f(0x1ae),a95_0x25121f(0x175),a95_0x25121f(0x200)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x22ea89,_0x418463,_0x3def0c){super(_0x22ea89,_0x418463,_0x3def0c);}async['trackEvent'](_0x1b22e7,_0x17d37b,_0x3b1c54={}){const _0x36acfc=a95_0x25121f,_0x39bbc3={'cnjoi':function(_0x3e1613,_0x105bb6){return _0x3e1613===_0x105bb6;},'jMTjM':function(_0xe99d9a,_0x32c153){return _0xe99d9a===_0x32c153;},'gxJFe':function(_0x36a989,_0x1d25a9,_0x1c2488){return _0x36a989(_0x1d25a9,_0x1c2488);},'qBuip':function(_0x20b109,_0x2dcd2e,_0x36481e){return _0x20b109(_0x2dcd2e,_0x36481e);},'mCOcO':function(_0x5bee23,_0x13b50c,_0x578f09,_0x2d586b){return _0x5bee23(_0x13b50c,_0x578f09,_0x2d586b);},'yNBsy':_0x36acfc(0x225),'YkOQW':_0x36acfc(0x1d2)};super[_0x36acfc(0x23d)](_0x1b22e7,_0x17d37b,_0x3b1c54);if(_0x39bbc3['cnjoi'](_0x1b22e7,TestFrameworkState[_0x36acfc(0x13a)])){const _0x3235c0=TestInfo['getTestIdentifierFromTestInfo'](_0x3b1c54[_0x36acfc(0x225)],_0x3b1c54[_0x36acfc(0x225)]['retry']);TestInfo['setTestDetails'](_0x3235c0,_0x3b1c54[_0x36acfc(0x154)],!![]);}if(_0x39bbc3['jMTjM'](_0x1b22e7,TestFrameworkState[_0x36acfc(0x14a)])){this['trackStepEvent'](_0x1b22e7,_0x17d37b,_0x3b1c54);return;}const _0x3a8f74=this['resolveInstance'](_0x1b22e7,_0x17d37b,_0x3b1c54);if(!_0x3a8f74)return;logger['debug'](_0x36acfc(0x184)+_0x1b22e7+'\x20hookState='+_0x17d37b+_0x36acfc(0x18b)+_0x3a8f74['getRef']());try{if(_0x39bbc3[_0x36acfc(0x1b8)](_0x17d37b,HookState[_0x36acfc(0x1bc)])&&_0x39bbc3[_0x36acfc(0x1b8)](_0x1b22e7,TestFrameworkState['TEST'])){const _0x217cf0=_0x3b1c54[_0x36acfc(0x225)];logger[_0x36acfc(0x1d9)](_0x36acfc(0x218)+_0x217cf0['id']+'}');const _0x561086=TestInfo['getTestUUID'](_0x39bbc3[_0x36acfc(0x14d)](getTestRunIdentifier,_0x217cf0,_0x3b1c54['result'][_0x36acfc(0x211)]));_0x3a8f74['addMultipleEntries'](this[_0x36acfc(0x14f)](_0x561086,_0x217cf0,_0x3b1c54[_0x36acfc(0x154)])),logger[_0x36acfc(0x1d9)](_0x36acfc(0x148)+_0x217cf0['id']+',\x20testFrameworkState='+_0x1b22e7+_0x36acfc(0x189)+_0x17d37b+_0x36acfc(0x240)+_0x3a8f74['getRef']());}if(_0x39bbc3[_0x36acfc(0x188)](_0x17d37b,HookState[_0x36acfc(0x151)])&&_0x39bbc3[_0x36acfc(0x1b8)](_0x1b22e7,TestFrameworkState[_0x36acfc(0x20d)])){const _0x3f7916=_0x3b1c54[_0x36acfc(0x225)],_0x4bbf1b=_0x3b1c54[_0x36acfc(0x154)];logger[_0x36acfc(0x1d9)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x3f7916['id']);const _0x5c8d15=_0x39bbc3[_0x36acfc(0x229)](getTestRunIdentifier,_0x3f7916,_0x4bbf1b[_0x36acfc(0x211)]),_0xae2964=_0x3a8f74[_0x36acfc(0x198)]()[_0x36acfc(0x1b6)](_0x5c8d15)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x340865,logs:_0x34baf7}=_0x39bbc3[_0x36acfc(0x16c)](getStepsAndLogs,_0x4bbf1b[_0x36acfc(0x239)],_0xae2964,_0x39bbc3[_0x36acfc(0x1fe)]);_0x3a8f74['addMultipleEntries'](this[_0x36acfc(0x13d)](_0x3f7916['id'],_0x4bbf1b,_0x3f7916,_0x340865)),await this[_0x36acfc(0x1f7)](_0x3a8f74,_0x1b22e7,_0x17d37b,_0x39bbc3['yNBsy'],_0x3b1c54,_0x34baf7);}if(CLIUtils[_0x36acfc(0x176)](_0x1b22e7[_0x36acfc(0x149)]()[_0x36acfc(0x15a)]('.')[0x1])){const _0x15857b=await this[_0x36acfc(0x195)](_0x3a8f74,_0x1b22e7,_0x17d37b,_0x3b1c54);_0x3a8f74[_0x36acfc(0x16d)](_0x15857b);}}catch(_0x1f1095){logger[_0x36acfc(0x1ce)](util[_0x36acfc(0x17f)](_0x39bbc3['YkOQW'],_0x1b22e7,_0x17d37b,_0x3b1c54[_0x36acfc(0x20c)],_0x1f1095));}_0x3b1c54[_0x36acfc(0x1a6)]=_0x3a8f74,await this[_0x36acfc(0x21f)](_0x3a8f74,_0x1b22e7,_0x17d37b,_0x3b1c54);}[a95_0x25121f(0x1dd)](_0x5bc520,_0xf45907,_0x3fb6c9={}){const _0x1a729e=a95_0x25121f,_0x2b83a9={};_0x2b83a9[_0x1a729e(0x1ed)]=function(_0x41ae34,_0x379f98){return _0x41ae34===_0x379f98;};const _0x4b578e=_0x2b83a9;let _0x42cfd4=null;return(_0x4b578e[_0x1a729e(0x1ed)](_0x5bc520,TestFrameworkState[_0x1a729e(0x1a7)])||_0x4b578e[_0x1a729e(0x1ed)](_0x5bc520,TestFrameworkState['NONE']))&&this[_0x1a729e(0x21c)](_0x5bc520,_0x3fb6c9),_0x42cfd4=TestFramework[_0x1a729e(0x1c9)](),_0x42cfd4;}[a95_0x25121f(0x21c)](_0x310176,_0x5d3398){const _0x538c2b=a95_0x25121f,_0x269c7d=CLIUtils[_0x538c2b(0x1d3)](),_0x70ea51=TrackedInstance[_0x538c2b(0x193)](_0x269c7d);let _0x587c4b=null;logger[_0x538c2b(0x1cf)](_0x538c2b(0x22d)+_0x269c7d+',\x20state='+_0x310176),_0x587c4b=new TestFrameworkInstance(_0x70ea51,this[_0x538c2b(0x19c)](),this['getTestFrameworksVersions'](),_0x310176,HookState[_0x538c2b(0x181)]),TestFramework[_0x538c2b(0x158)](_0x70ea51,_0x587c4b),logger['info'](_0x538c2b(0x1fc)+_0x70ea51[_0x538c2b(0x173)]()+_0x538c2b(0x238)+_0x269c7d);}[a95_0x25121f(0x14f)](_0x17d18d,_0x4a4bf7,_0x1680b6){const _0x3002af=a95_0x25121f,_0x7da080={'SHSqB':function(_0x5b1f7e,_0x1d7d68){return _0x5b1f7e(_0x1d7d68);},'TCuNH':function(_0x2edd8e,_0x3ecf70){return _0x2edd8e(_0x3ecf70);},'rgzoA':function(_0x1d80a4,_0xa0edad){return _0x1d80a4(_0xa0edad);},'YsjtF':function(_0xa8e3ec,_0x2cdf84){return _0xa8e3ec(_0x2cdf84);},'FlRzB':function(_0x511c77,_0x28efed){return _0x511c77(_0x28efed);},'QXHad':function(_0x318f5e,_0x1a0330,_0x13ac7a){return _0x318f5e(_0x1a0330,_0x13ac7a);}},_0x385ca4=_0x7da080[_0x3002af(0x1ca)](getPlaywrightTestId,_0x4a4bf7),_0x1416fc=_0x7da080[_0x3002af(0x21b)](getPlaywrightTestTitle,_0x4a4bf7),_0x234fa3=_0x7da080[_0x3002af(0x159)](getTestTags,_0x4a4bf7),_0x424687=_0x7da080[_0x3002af(0x1ca)](getPlaywrightTestCode,_0x4a4bf7),_0x59b0a8=_0x7da080[_0x3002af(0x21b)](getPlaywrightTestFilePath,_0x4a4bf7),_0x36f673=_0x59b0a8,_0x45982d=_0x7da080['rgzoA'](getPlaywrightTestScope,_0x4a4bf7),_0x576ef9=_0x7da080[_0x3002af(0x1e1)](getPlaywrightTestScopes,_0x4a4bf7),_0x3c0663=_0x7da080[_0x3002af(0x178)](getPlaywrightSessionName,_0x4a4bf7),_0x17d2d2=this[_0x3002af(0x19c)]()[0x0],_0x2c6c7b=_0x7da080['QXHad'](getTestRunIdentifier,_0x4a4bf7,_0x1680b6[_0x3002af(0x211)]),_0x2e18b8={[TestFrameworkConstants[_0x3002af(0x219)]]:_0x17d2d2,[TestFrameworkConstants[_0x3002af(0x19f)]]:this[_0x3002af(0x19a)]()[_0x17d2d2],[TestFrameworkConstants[_0x3002af(0x1da)]]:[],[TestFrameworkConstants[_0x3002af(0x180)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x3002af(0x156)]]:_0x17d18d,[TestFrameworkConstants[_0x3002af(0x13e)]]:TestFrameworkConstants[_0x3002af(0x18e)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x3c0663,[TestFrameworkConstants[_0x3002af(0x1f3)]]:_0x59b0a8,[TestFrameworkConstants[_0x3002af(0x139)]]:_0x385ca4,[TestFrameworkConstants[_0x3002af(0x18f)]]:_0x1416fc,[TestFrameworkConstants[_0x3002af(0x19d)]]:_0x36f673,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x424687,[TestFrameworkConstants[_0x3002af(0x1f2)]]:_0x234fa3,[TestFrameworkConstants[_0x3002af(0x230)]]:_0x4a4bf7[_0x3002af(0x190)][0x0]['startTime'],[TestFrameworkConstants[_0x3002af(0x1aa)]]:_0x45982d,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x576ef9,[TestFrameworkConstants[_0x3002af(0x23e)]]:_0x7da080['rgzoA'](getPlaywrightCustomRerunParam,_0x4a4bf7)};TestInfo['setTestDetails'](_0x2c6c7b,_0x2e18b8);const _0x5294da={};return _0x5294da[_0x2c6c7b]=_0x2e18b8,_0x5294da;}[a95_0x25121f(0x13d)](_0x408c28,_0x3891dc,_0xa3ba13,_0x576c45){const _0x30a6d2=a95_0x25121f,_0x49d5fd={'GrHkE':function(_0x4e6ec1,_0x29466d){return _0x4e6ec1(_0x29466d);},'zkpfq':_0x30a6d2(0x14c),'KRYmO':function(_0x3d66ee,_0x2f573a){return _0x3d66ee===_0x2f573a;},'BJYJP':function(_0x383a62,_0x457782){return _0x383a62===_0x457782;},'HxUpA':function(_0x375e06,_0x5d02f3){return _0x375e06(_0x5d02f3);},'rtsHE':_0x30a6d2(0x16a),'zKfSB':function(_0x5dc2f7,_0x8abe4c,_0x4bb4df){return _0x5dc2f7(_0x8abe4c,_0x4bb4df);},'MNGEb':_0x30a6d2(0x1a9),'Yfkcb':_0x30a6d2(0x199),'WtrIO':'failed','SWAGa':_0x30a6d2(0x13b),'YQkut':'Expected\x20to\x20fail,\x20but\x20passed.','pySwK':function(_0x1719ad,_0x391495,_0x33aa6c){return _0x1719ad(_0x391495,_0x33aa6c);},'KsRUC':function(_0x100a56,_0x27e28c){return _0x100a56||_0x27e28c;},'mguXr':function(_0x347246,_0x56fec9){return _0x347246>_0x56fec9;},'Trtom':function(_0x2e4bca,_0x1c8dcf){return _0x2e4bca-_0x1c8dcf;},'tPTdW':function(_0x5e5eea,_0x237a56,_0x5f390f,_0x2b1b2b){return _0x5e5eea(_0x237a56,_0x5f390f,_0x2b1b2b);},'TJZSz':'test','MgxDW':function(_0xc49a22,_0x239a30){return _0xc49a22===_0x239a30;},'Jeuzl':function(_0x2594de,_0x958cbc){return _0x2594de>=_0x958cbc;},'wJyFX':function(_0x10935b,_0x4b2786){return _0x10935b+_0x4b2786;},'fcqYb':_0x30a6d2(0x146),'aiKib':function(_0x5ec0ba,_0x3c54d7,_0x20dff4){return _0x5ec0ba(_0x3c54d7,_0x20dff4);},'DoHYO':_0x30a6d2(0x241)};logger['debug']('parsePlaywrightTestResult:\x20testId='+_0x408c28);const _0x3295c9=_0x49d5fd[_0x30a6d2(0x210)](getTestRunIdentifier,_0xa3ba13,_0x3891dc[_0x30a6d2(0x211)]),_0x5ad95f=new Date(),_0x2b311c=_0x3891dc[_0x30a6d2(0x1ac)],_0x577b10=TestInfo[_0x30a6d2(0x231)](_0x3295c9)[TestFrameworkConstants[_0x30a6d2(0x1fb)]]||{};let _0x64b932=_0x2b311c;if(_0x49d5fd[_0x30a6d2(0x167)](_0x3891dc[_0x30a6d2(0x1ac)],_0xa3ba13[_0x30a6d2(0x227)]))_0x64b932=_0x49d5fd[_0x30a6d2(0x167)](_0x3891dc[_0x30a6d2(0x1ac)],_0x49d5fd[_0x30a6d2(0x212)])?_0x49d5fd[_0x30a6d2(0x212)]:_0x49d5fd[_0x30a6d2(0x164)];else{(_0x49d5fd[_0x30a6d2(0x167)](_0x64b932,_0x49d5fd[_0x30a6d2(0x164)])||_0x49d5fd[_0x30a6d2(0x1c8)](_0x64b932,_0x49d5fd['WtrIO'])||_0x49d5fd[_0x30a6d2(0x1c8)](_0x64b932,_0x49d5fd[_0x30a6d2(0x1b4)]))&&(_0x64b932=_0x49d5fd['WtrIO']);if(_0x49d5fd[_0x30a6d2(0x167)](_0x3891dc[_0x30a6d2(0x1ac)],_0x49d5fd[_0x30a6d2(0x164)])&&_0x49d5fd[_0x30a6d2(0x1c8)](_0xa3ba13['expectedStatus'],_0x49d5fd[_0x30a6d2(0x215)])){const _0x4adf4c={};_0x4adf4c['message']=_0x49d5fd['YQkut'],_0x4adf4c[_0x30a6d2(0x18d)]=_0x49d5fd[_0x30a6d2(0x22a)],_0x3891dc['error']=_0x4adf4c,_0x3891dc['errors']=[_0x3891dc[_0x30a6d2(0x1ce)]];}}const {failureData:_0x6c1ed9,logs:_0x5928df}=_0x49d5fd[_0x30a6d2(0x160)](getFailureData,_0x3891dc?.[_0x30a6d2(0x205)],{}),_0x2a6be0={[TestFrameworkConstants[_0x30a6d2(0x20a)]]:_0x49d5fd[_0x30a6d2(0x1f5)](_0x6c1ed9,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x3891dc?.[_0x30a6d2(0x1ce)]&&_0x49d5fd[_0x30a6d2(0x1d7)](getFailureType,_0x3891dc[_0x30a6d2(0x1ce)][_0x30a6d2(0x1ff)]),[TestFrameworkConstants[_0x30a6d2(0x1ab)]]:_0x3891dc?.[_0x30a6d2(0x1ce)]&&_0x49d5fd[_0x30a6d2(0x1d7)](removeAnsiColors,_0x3891dc['error']['message']),[TestFrameworkConstants[_0x30a6d2(0x1d8)]]:[],[TestFrameworkConstants[_0x30a6d2(0x13e)]]:_0x64b932,[TestFrameworkConstants[_0x30a6d2(0x15e)]]:_0x5ad95f[_0x30a6d2(0x157)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x30a6d2(0x1fb)]]:_0x577b10};if(_0x3891dc&&_0x49d5fd[_0x30a6d2(0x1a8)](_0x3891dc[_0x30a6d2(0x211)],0x0)){const _0x1eb9ad=TestInfo[_0x30a6d2(0x15b)](_0x49d5fd['pySwK'](getTestRunIdentifier,_0xa3ba13,_0x49d5fd[_0x30a6d2(0x16b)](_0x3891dc['retry'],0x1)));_0x2a6be0[TestFrameworkConstants[_0x30a6d2(0x222)]]=_0x1eb9ad;}const _0xa5a9e7={};_0xa5a9e7[_0x30a6d2(0x225)]=_0xa3ba13;const _0x265797=this[_0x30a6d2(0x1dd)](TestFrameworkState[_0x30a6d2(0x20d)],HookState[_0x30a6d2(0x151)],_0xa5a9e7),_0x5dc466=_0x265797['getAllData']()[_0x30a6d2(0x1b6)](_0x3295c9)[TestFrameworkConstants[_0x30a6d2(0x156)]],_0xbf98d0=_0x576c45||_0x49d5fd['tPTdW'](getStepsAndLogs,_0x3891dc['steps'],_0x5dc466,_0x49d5fd[_0x30a6d2(0x17b)])[_0x30a6d2(0x239)],_0x3e9f49=new Map(),_0x20b71b=new Map();let _0x3e0c9f=0x0;const _0x4388f9=[];for(const _0x364443 of _0xbf98d0||[]){const _0x2e8077=_0x364443['parent_id']||null;let _0x513081;if(_0x49d5fd[_0x30a6d2(0x1a3)](_0x2e8077,null)){if(_0x49d5fd['Jeuzl'](_0x3e0c9f,TestFrameworkConstants[_0x30a6d2(0x21e)]))continue;_0x513081=0x0,_0x3e0c9f++;}else{const _0x5ea474=_0x3e9f49['get'](_0x2e8077);if(_0x49d5fd[_0x30a6d2(0x1a3)](_0x5ea474,undefined))continue;_0x513081=_0x49d5fd[_0x30a6d2(0x1cc)](_0x5ea474,0x1);if(_0x49d5fd['mguXr'](_0x513081,TestFrameworkConstants[_0x30a6d2(0x144)]))continue;}_0x3e9f49[_0x30a6d2(0x20e)](_0x364443['id'],_0x513081),_0x20b71b['set'](_0x364443['id'],_0x364443[_0x30a6d2(0x217)]),_0x4388f9['push']({'id':_0x364443['id'],'parent_id':_0x2e8077,'parent_text':_0x2e8077?_0x20b71b[_0x30a6d2(0x1b6)](_0x2e8077)||'':'','text':_0x364443[_0x30a6d2(0x217)],'keyword':_0x364443[_0x30a6d2(0x1b9)]||null,'started_at':_0x364443['started_at'],'duration':_0x364443['duration']??null,'result':_0x364443['result'],'failure':_0x364443['failure']||null,'failure_type':_0x364443[_0x30a6d2(0x203)]||null});}const _0x44041c={};_0x44041c['steps']=_0x4388f9,_0x2a6be0[TestFrameworkConstants['KEY_TEST_META']]=_0x44041c,logger[_0x30a6d2(0x1d9)]('parsePlaywrightTestResult:\x20extracted\x20'+_0x4388f9['length']+_0x30a6d2(0x206)+_0x408c28);const _0x2bb8ff=[],_0x4874cb=_0x49d5fd['zKfSB'](findNestedKey,_0x3891dc,_0x49d5fd[_0x30a6d2(0x22f)]);if(_0x4874cb&&_0x49d5fd['GrHkE'](validateFilePath,_0x4874cb))try{_0x2bb8ff[_0x30a6d2(0x1db)]({'kind':_0x49d5fd[_0x30a6d2(0x1d4)],'timestamp':new Date()[_0x30a6d2(0x157)](),'test_run_uuid':_0x5dc466,'file_name':path[_0x30a6d2(0x228)](_0x4874cb),'file_size':fs[_0x30a6d2(0x1eb)](_0x4874cb)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4f64cb){logger[_0x30a6d2(0x1ce)](_0x30a6d2(0x1fa)+_0x4874cb+':\x20'+_0x4f64cb[_0x30a6d2(0x1ff)]);}const _0x481ce7=TestInfo[_0x30a6d2(0x1a5)](),_0x2d6e98=_0x481ce7[_0x30a6d2(0x147)](_0x44c2dc=>_0x44c2dc[_0x30a6d2(0x168)]===_0x5dc466);_0x2d6e98[_0x30a6d2(0x15c)](_0x275c3f=>{const _0x1b9952=_0x30a6d2;if(_0x275c3f[_0x1b9952(0x22c)]&&_0x49d5fd[_0x1b9952(0x15d)](validateFilePath,_0x275c3f['filePath'])&&!_0x2bb8ff[_0x1b9952(0x20f)](_0x26402f=>_0x26402f[_0x1b9952(0x204)]===path[_0x1b9952(0x228)](_0x275c3f['filePath'])))try{_0x2bb8ff[_0x1b9952(0x1db)]({'kind':_0x49d5fd[_0x1b9952(0x1d4)],'timestamp':new Date()[_0x1b9952(0x157)](),'test_run_uuid':_0x5dc466,'file_name':path[_0x1b9952(0x228)](_0x275c3f[_0x1b9952(0x22c)]),'file_size':fs[_0x1b9952(0x1eb)](_0x275c3f['filePath'])[_0x1b9952(0x202)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x399f77){logger[_0x1b9952(0x1ce)](_0x1b9952(0x221)+_0x275c3f[_0x1b9952(0x22c)]+_0x1b9952(0x1f6)+_0x399f77['message']);}});if(_0x49d5fd['mguXr'](_0x2bb8ff[_0x30a6d2(0x20c)],0x0)){const _0x527040=_0x2a6be0[TestFrameworkConstants['KEY_LOGS']]||[];_0x2a6be0[TestFrameworkConstants['KEY_LOGS']]=[..._0x527040,..._0x2bb8ff];}const _0x5c41fb=TestInfo[_0x30a6d2(0x231)](_0x3295c9)[TestFrameworkConstants[_0x30a6d2(0x232)]]||{},_0x115555=_0x49d5fd['aiKib'](getManualUploadLogs,_0x5c41fb,_0x265797[_0x30a6d2(0x198)]()[_0x30a6d2(0x1b6)](_0x3295c9)[TestFrameworkConstants[_0x30a6d2(0x156)]]);if(_0x49d5fd[_0x30a6d2(0x1a8)](_0x115555[_0x30a6d2(0x20c)],0x0)){const _0x4de068=_0x2a6be0[TestFrameworkConstants[_0x30a6d2(0x1d8)]]||[];_0x2a6be0[TestFrameworkConstants[_0x30a6d2(0x1d8)]]=[..._0x4de068,..._0x115555];}const _0x11e88b=_0xa3ba13[_0x30a6d2(0x22e)]||[],_0x522e91=_0x2a6be0[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0xde1c62=_0x49d5fd[_0x30a6d2(0x1d7)](require,_0x49d5fd[_0x30a6d2(0x1e6)]);_0x11e88b['forEach'](_0x32413b=>{const _0x25dfdf=_0x30a6d2,{type:_0x4c4e75}=_0x32413b;let _0x327b3d=_0x32413b[_0x25dfdf(0x1ad)];if(!_0x4c4e75)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x25dfdf(0x17c)](_0x4c4e75))return;(_0x49d5fd[_0x25dfdf(0x1c8)](_0x327b3d,undefined)||_0x49d5fd[_0x25dfdf(0x1c8)](_0x327b3d,null)||_0x49d5fd['BJYJP'](_0x49d5fd[_0x25dfdf(0x1d7)](String,_0x327b3d)[_0x25dfdf(0x1fd)](),''))&&(_0x327b3d=_0x49d5fd[_0x25dfdf(0x187)]);const _0x2a9279=helper[_0x25dfdf(0x1e2)](_0x49d5fd[_0x25dfdf(0x15d)](String,_0x327b3d));_0xde1c62[_0x25dfdf(0x1ef)](_0x522e91,_0x4c4e75,_0x2a9279);}),_0x2a6be0[TestFrameworkConstants[_0x30a6d2(0x1fb)]]=_0x522e91,TestInfo[_0x30a6d2(0x185)](_0x3295c9,_0x2a6be0);const _0x47d6d1={};return _0x47d6d1[_0x3295c9]=_0x2a6be0,_0x47d6d1;}['trackStepEvent'](_0x262e44,_0x58a0a6,_0x2b0d23){const _0x5a139b=a95_0x25121f,_0x4ad3b3={'esdWU':function(_0x3188eb,_0x1a5a4e){return _0x3188eb||_0x1a5a4e;},'YKiGm':function(_0x54f100,_0x31a493,_0x282f61){return _0x54f100(_0x31a493,_0x282f61);}};try{const {test:_0x72094d,result:_0x3f42fe,step:_0xf1cd75}=_0x2b0d23;if(_0x4ad3b3[_0x5a139b(0x152)](!_0x72094d,!_0xf1cd75)||!_0x3f42fe)return;const _0x2a20f8=_0x4ad3b3['YKiGm'](getTestRunIdentifier,_0x72094d,_0x3f42fe['retry']);logger['debug'](_0x5a139b(0x191)+_0x2a20f8+_0x5a139b(0x1d6)+_0x58a0a6+_0x5a139b(0x194)+_0xf1cd75[_0x5a139b(0x16e)]+'\x22');}catch(_0x32482c){logger[_0x5a139b(0x1ce)](_0x5a139b(0x143)+util[_0x5a139b(0x17f)](_0x32482c));}}async[a95_0x25121f(0x195)](_0x39b785,_0x391fb2,_0x3de7af,_0x169d9f){const _0x3686a8=a95_0x25121f,_0x3f6e3c={'Dhxru':function(_0x456af7,_0x5af70a,_0x362216){return _0x456af7(_0x5af70a,_0x362216);},'WNVwD':function(_0x46afc1,_0x3f94f7){return _0x46afc1 in _0x3f94f7;},'csmwp':function(_0x5f0e67,_0x11948a){return _0x5f0e67 in _0x11948a;},'gRgzC':function(_0x5d862d,_0x5d941d){return _0x5d862d(_0x5d941d);},'nKvvI':function(_0x53f15c,_0x321204){return _0x53f15c===_0x321204;},'TZRLo':function(_0x574138){return _0x574138();},'BTPmO':function(_0x41ecc3,_0x25b8a8){return _0x41ecc3===_0x25b8a8;},'mDORd':function(_0xe2f7bc,_0x3cae53){return _0xe2f7bc>_0x3cae53;},'iQkQH':'err','sZKyP':function(_0x189e92,_0x2f13cb){return _0x189e92(_0x2f13cb);},'PdXHN':_0x3686a8(0x209),'KknIP':_0x3686a8(0x199),'kUQZo':function(_0x357778,_0x2f87f2){return _0x357778!==_0x2f87f2;},'NAMgZ':function(_0x49ed4c,_0x4db0dd){return _0x49ed4c+_0x4db0dd;},'BxjsS':'hook'},_0x26365e=_0x169d9f['test'],_0x3a251a=_0x169d9f[_0x3686a8(0x21a)],_0x7471b1=_0x3f6e3c[_0x3686a8(0x150)](getTestRunIdentifier,_0x26365e,_0x169d9f[_0x3686a8(0x154)][_0x3686a8(0x211)]),_0xa2386e=_0x391fb2[_0x3686a8(0x149)]()[_0x3686a8(0x15a)]('.')[0x1];let _0x1d4fd9=_0x39b785['getAllData']()[_0x3686a8(0x1b6)](_0x7471b1)[TestFrameworkConstants[_0x3686a8(0x170)]];!_0x1d4fd9&&(_0x1d4fd9={});!_0x3f6e3c[_0x3686a8(0x1c5)](_0xa2386e,_0x1d4fd9)&&(_0x1d4fd9[_0xa2386e]=[]);let _0x5c51bb=_0x39b785['getAllData']()[_0x3686a8(0x1b6)](_0x7471b1)[TestFrameworkConstants[_0x3686a8(0x180)]];!_0x5c51bb&&(_0x5c51bb={});!_0x3f6e3c['csmwp'](_0xa2386e,_0x5c51bb)&&(_0x5c51bb[_0xa2386e]=[]);const _0xf13d34={[TestFrameworkConstants[_0x3686a8(0x170)]]:_0x1d4fd9,[TestFrameworkConstants[_0x3686a8(0x180)]]:_0x5c51bb},_0x3e1090={};_0x3e1090[_0x7471b1]=_0xf13d34;const _0x547efe=_0x3e1090,_0x125ded=_0x3f6e3c[_0x3686a8(0x1bf)](getPlaywrightTestFilePath,_0x26365e),_0x263719=_0x125ded,_0x1d5c16=TestInfo['getTestDetails'](_0x7471b1)[TestFrameworkConstants[_0x3686a8(0x1fb)]]||{};if(_0x3f6e3c[_0x3686a8(0x141)](_0x3de7af,HookState[_0x3686a8(0x1bc)])){const _0x29a09c={'key':_0xa2386e,[TestFrameworkConstants[_0x3686a8(0x161)]]:_0x3f6e3c[_0x3686a8(0x196)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x3686a8(0x166)],[TestFrameworkConstants[_0x3686a8(0x23c)]]:_0x3a251a[_0x3686a8(0x183)],[TestFrameworkConstants[_0x3686a8(0x1e8)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3a251a['title'],[TestFrameworkConstants[_0x3686a8(0x1f3)]]:_0x125ded,[TestFrameworkConstants[_0x3686a8(0x19d)]]:_0x263719,[TestFrameworkConstants[_0x3686a8(0x1fb)]]:_0x1d5c16};_0x1d4fd9[_0xa2386e]['push'](_0x29a09c),_0x547efe[_0x7471b1][TestFrameworkConstants[_0x3686a8(0x1d5)]]=_0xa2386e,logger['debug'](_0x3686a8(0x233)+_0xa2386e+_0x3686a8(0x18c)+_0x29a09c+'\x20\x20and\x20args\x20=\x20'+_0x169d9f);}else{if(_0x3f6e3c[_0x3686a8(0x1f1)](_0x3de7af,HookState[_0x3686a8(0x151)])){const _0x5cda13=await _0x169d9f[_0x3686a8(0x154)],_0x944517=_0x1d4fd9[_0xa2386e]||[],_0x5cf452=_0x169d9f[_0x3686a8(0x21a)];logger[_0x3686a8(0x1d9)](_0x3686a8(0x1c6)+_0x944517+_0x3686a8(0x1f8)+_0x169d9f);if(_0x3f6e3c[_0x3686a8(0x1e9)](_0x944517[_0x3686a8(0x20c)],0x0)){const _0x7d0a11=_0x944517['pop']();if(_0x5cf452[_0x3686a8(0x1ce)]){const _0x11d19b=_0x3f6e3c[_0x3686a8(0x150)](failureData,_0x5cf452['error'],_0x3f6e3c[_0x3686a8(0x1f0)]);_0x7d0a11[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x3f6e3c[_0x3686a8(0x1ea)](getFailureType,_0x5cf452?.[_0x3686a8(0x1ce)][_0x3686a8(0x1ff)]),_0x7d0a11[TestFrameworkConstants[_0x3686a8(0x14e)]]=_0x3f6e3c[_0x3686a8(0x1ea)](removeAnsiColors,_0x5cf452?.[_0x3686a8(0x1ce)][_0x3686a8(0x1ff)]),_0x7d0a11[TestFrameworkConstants[_0x3686a8(0x224)]]=_0x3f6e3c[_0x3686a8(0x162)],_0x7d0a11[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x11d19b;}else _0x7d0a11[TestFrameworkConstants[_0x3686a8(0x224)]]=_0x3f6e3c[_0x3686a8(0x207)];_0x3f6e3c[_0x3686a8(0x23f)](_0x5cda13,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x7d0a11[TestFrameworkConstants[_0x3686a8(0x224)]]=!_0x5cf452['error']?_0x3f6e3c[_0x3686a8(0x207)]:_0x3f6e3c[_0x3686a8(0x162)]);const _0x4654b2=new Date(_0x5cf452[_0x3686a8(0x183)]),_0x51e12a=new Date(_0x3f6e3c[_0x3686a8(0x17a)](_0x4654b2[_0x3686a8(0x237)](),_0x5cf452['duration']));_0x7d0a11[TestFrameworkConstants[_0x3686a8(0x179)]]=_0x51e12a[_0x3686a8(0x157)](),_0x7d0a11[TestFrameworkConstants[_0x3686a8(0x1fb)]]=_0x1d5c16;const _0x404635=_0x7d0a11[TestFrameworkConstants[_0x3686a8(0x161)]];await this['sendLogCreatedEvent'](_0x39b785,_0x391fb2,_0x404635,_0x3f6e3c[_0x3686a8(0x1b0)],_0x169d9f),!_0x5c51bb[_0xa2386e]&&(_0x5c51bb[_0xa2386e]=[]),_0x5c51bb[_0xa2386e][_0x3686a8(0x1db)](_0x7d0a11),_0x547efe[_0x7471b1][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0xa2386e;}}}return _0x547efe;}async[a95_0x25121f(0x1f7)](_0x521ee6,_0xba37dc,_0x14859a,_0x8c2285,_0x50629b,_0x5e3f83){const _0x52c5ff=a95_0x25121f,_0x54ad22={'iSCYu':function(_0x2b0c52,_0x1d8937){return _0x2b0c52===_0x1d8937;},'cHojk':_0x52c5ff(0x225),'lpaCy':function(_0xa737d3,_0x1cd773,_0xacf30a){return _0xa737d3(_0x1cd773,_0xacf30a);},'wTYtB':_0x52c5ff(0x1b1),'Crlzy':function(_0x1cf8db,_0x27019a,_0x4aed58,_0x5e828f){return _0x1cf8db(_0x27019a,_0x4aed58,_0x5e828f);},'EcDYO':function(_0x19db48,_0x24998d,_0x1a2b07){return _0x19db48(_0x24998d,_0x1a2b07);},'KWSdv':function(_0x4ba017,_0x11f821){return _0x4ba017/_0x11f821;},'VwVjW':function(_0x6ce5ad,_0x40489c){return _0x6ce5ad<_0x40489c;},'poRzP':function(_0x36bc87,_0x3f36fb){return _0x36bc87*_0x3f36fb;},'ElXLR':function(_0x3324f3,_0xeef4a3){return _0x3324f3+_0xeef4a3;},'SGbkE':function(_0x33c9ff,_0x11605d,_0x22be97,_0xe838e,_0x35a08a){return _0x33c9ff(_0x11605d,_0x22be97,_0xe838e,_0x35a08a);},'IAXYt':_0x52c5ff(0x192),'zMCsO':function(_0x4f86e3,_0xcca674,_0xdec937){return _0x4f86e3(_0xcca674,_0xdec937);},'rszhp':function(_0x520f78,_0x3b1071,_0x3f37ad,_0x5c78db,_0x3bb110){return _0x520f78(_0x3b1071,_0x3f37ad,_0x5c78db,_0x3bb110);}};try{if(_0x54ad22['iSCYu'](_0x8c2285,_0x54ad22[_0x52c5ff(0x18a)])){const _0x5d95a7=await _0x50629b[_0x52c5ff(0x154)],_0x3eeb0a=_0x54ad22[_0x52c5ff(0x1ee)](getTestRunIdentifier,_0x50629b[_0x52c5ff(0x225)],_0x50629b[_0x52c5ff(0x154)][_0x52c5ff(0x211)]),_0x91c77c=_0x50629b['test'];logger['debug'](_0x52c5ff(0x1b7)+_0x3eeb0a+_0x52c5ff(0x1c7)+util[_0x52c5ff(0x223)](_0x5d95a7));const _0x53040a=_0x521ee6[_0x52c5ff(0x198)]()['get'](_0x3eeb0a)[TestFrameworkConstants[_0x52c5ff(0x156)]];await _0x54ad22[_0x52c5ff(0x1ee)](sendTraceZip,_0x5d95a7,_0x53040a);const _0xa6741a=TestInfo[_0x52c5ff(0x231)](_0x3eeb0a)[_0x54ad22[_0x52c5ff(0x165)]],_0x59ed0d={};if(_0xa6741a){!_0x5d95a7['attachments']&&(_0x5d95a7[_0x52c5ff(0x1b1)]=[]);_0x59ed0d[_0x52c5ff(0x1b1)]=_0x5d95a7[_0x52c5ff(0x1b1)][_0x52c5ff(0x1c1)](_0xa6741a||[]);const _0x592d9c=TestInfo['getTestDetails'](_0x3eeb0a);delete _0x592d9c[_0x54ad22['wTYtB']],TestInfo[_0x52c5ff(0x185)](_0x3eeb0a,_0x592d9c);}const _0x2ecc89=_0x5e3f83||_0x54ad22[_0x52c5ff(0x1e4)](getStepsAndLogs,_0x5d95a7[_0x52c5ff(0x239)],_0x521ee6[_0x52c5ff(0x198)]()[_0x52c5ff(0x1b6)](_0x3eeb0a)[TestFrameworkConstants[_0x52c5ff(0x156)]],_0x54ad22['cHojk'])['logs'],_0x2c2b24=_0x54ad22[_0x52c5ff(0x1a2)](getScreenshots,_0x59ed0d,_0x521ee6[_0x52c5ff(0x198)]()['get'](_0x3eeb0a)[TestFrameworkConstants[_0x52c5ff(0x156)]]),_0x44bb6c=_0x54ad22['EcDYO'](getVideos,_0x5d95a7,_0x521ee6[_0x52c5ff(0x198)]()[_0x52c5ff(0x1b6)](_0x3eeb0a)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x4b6055,logs:_0x5e7a91}=_0x54ad22['EcDYO'](getFailureData,_0x5d95a7[_0x52c5ff(0x205)],{'test_run_uuid':_0x521ee6[_0x52c5ff(0x198)]()[_0x52c5ff(0x1b6)](_0x3eeb0a)[TestFrameworkConstants[_0x52c5ff(0x156)]]}),_0x2eda8a=TestInfo[_0x52c5ff(0x231)](_0x3eeb0a)[TestFrameworkConstants[_0x52c5ff(0x232)]]||{},_0x173cc9=_0x54ad22['EcDYO'](getMediaArtifactsLogs,_0x2eda8a,_0x521ee6[_0x52c5ff(0x198)]()[_0x52c5ff(0x1b6)](_0x3eeb0a)[TestFrameworkConstants[_0x52c5ff(0x156)]]),_0x2ed3b7=_0x521ee6[_0x52c5ff(0x198)]()[_0x52c5ff(0x1b6)](_0x3eeb0a),{[TestFrameworkConstants[_0x52c5ff(0x219)]]:_0x1741ac='',[TestFrameworkConstants[_0x52c5ff(0x19f)]]:_0x12afdd=''}=_0x2ed3b7,_0x501d87=(_0x2ecc89||[])['concat'](_0x2c2b24||[])['concat'](_0x5e7a91||[])[_0x52c5ff(0x1c1)](_0x44bb6c||[])['concat'](_0x173cc9||[]),_0x52abee=0x28,_0x3f8eec=Math[_0x52c5ff(0x235)](_0x54ad22[_0x52c5ff(0x17d)](_0x501d87[_0x52c5ff(0x20c)],_0x52abee));for(let _0x1965d0=0x0;_0x54ad22[_0x52c5ff(0x1f9)](_0x1965d0,_0x3f8eec);_0x1965d0++){const _0x4358cd=_0x54ad22['poRzP'](_0x1965d0,_0x52abee),_0x17c370=_0x54ad22[_0x52c5ff(0x1dc)](_0x4358cd,_0x52abee),_0x51a07a=_0x501d87[_0x52c5ff(0x1bb)](_0x4358cd,_0x17c370),_0x4e1278={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x51a07a,'testFrameworkName':_0x1741ac,'testFrameworkVersion':_0x12afdd,'testFrameworkState':_0xba37dc[_0x52c5ff(0x149)]()[_0x52c5ff(0x15a)]('.')[0x1]};_0x54ad22[_0x52c5ff(0x1ec)](updatePayloadForTraceLogs,_0x4e1278,_0x50629b,_0x3eeb0a,_0x521ee6),logger[_0x52c5ff(0x1d9)](_0x52c5ff(0x172)+_0x3eeb0a+_0x52c5ff(0x201)+_0x54ad22[_0x52c5ff(0x1dc)](_0x1965d0,0x1)+'/'+_0x3f8eec+_0x52c5ff(0x16f)+util['inspect'](_0x4e1278));const _0x3870c2=await GrpcClient['getInstance']()[_0x52c5ff(0x1f4)](_0x4e1278);logger[_0x52c5ff(0x1d9)](_0x52c5ff(0x172)+_0x3eeb0a+'\x20batch\x20'+_0x54ad22[_0x52c5ff(0x1dc)](_0x1965d0,0x1)+'/'+_0x3f8eec+_0x52c5ff(0x15f)+util['inspect'](_0x3870c2));}}else{const {logs:_0x52b350}=_0x54ad22[_0x52c5ff(0x1e4)](getStepsAndLogs,_0x50629b['step'][_0x52c5ff(0x239)],_0x14859a,_0x54ad22['IAXYt']),_0x4c631c=_0x54ad22['zMCsO'](getTestRunIdentifier,_0x50629b[_0x52c5ff(0x225)],_0x50629b['result'][_0x52c5ff(0x211)]);logger[_0x52c5ff(0x1d9)]('sendLogCreatedEvent:\x20testId='+_0x4c631c);const _0x3e8ff2=_0x521ee6[_0x52c5ff(0x198)]()['get'](_0x4c631c),{[TestFrameworkConstants[_0x52c5ff(0x219)]]:_0xc5c6d9='',[TestFrameworkConstants[_0x52c5ff(0x19f)]]:_0x4931cf=''}=_0x3e8ff2,_0xf59a6b={'platformIndex':'0','logs':_0x52b350,'testFrameworkName':_0xc5c6d9,'testFrameworkVersion':_0x4931cf,'testFrameworkState':_0xba37dc[_0x52c5ff(0x149)]()[_0x52c5ff(0x15a)]('.')[0x1]};_0x54ad22[_0x52c5ff(0x1b5)](updatePayloadForTraceLogs,_0xf59a6b,_0x50629b,_0x4c631c,_0x521ee6),logger['debug'](_0x52c5ff(0x172)+_0x4c631c+_0x52c5ff(0x16f)+util[_0x52c5ff(0x223)](_0xf59a6b));const _0x3e48ae=await GrpcClient[_0x52c5ff(0x1ba)]()[_0x52c5ff(0x1f4)](_0xf59a6b);}}catch(_0x5be3ca){logger['error'](_0x52c5ff(0x174)+util[_0x52c5ff(0x17f)](_0x5be3ca));}}[a95_0x25121f(0x20b)](_0x4b54fe){const _0x5b76ba=a95_0x25121f,_0x5db700={'juBlk':function(_0x5db480,_0x1b6db7,_0x4c2b19){return _0x5db480(_0x1b6db7,_0x4c2b19);},'eillx':function(_0x14dd84,_0xea26b1){return _0x14dd84<_0xea26b1;},'UDCll':_0x5b76ba(0x22b)};try{const _0x22014f=_0x4b54fe[_0x5b76ba(0x225)]['id'],_0x501ce1=_0x5db700[_0x5b76ba(0x220)](getTestRunIdentifier,_0x4b54fe[_0x5b76ba(0x225)],_0x4b54fe[_0x5b76ba(0x154)][_0x5b76ba(0x211)]),_0x38f988=_0x4b54fe[_0x5b76ba(0x1a6)],_0x44afc8=_0x38f988[_0x5b76ba(0x1d0)](),_0x3d33de=_0x38f988[_0x5b76ba(0x198)]()[_0x5b76ba(0x1b6)](_0x501ce1);logger[_0x5b76ba(0x1d9)](_0x5b76ba(0x208)+_0x22014f);const {[TestFrameworkConstants[_0x5b76ba(0x219)]]:_0x1600a4='',[TestFrameworkConstants[_0x5b76ba(0x19f)]]:_0xcb8fa0='',[TestFrameworkConstants[_0x5b76ba(0x230)]]:_0x4efd2b='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x52c291=''}=_0x3d33de,_0x35c2dd=_0x38f988['getCurrentTestState']()[_0x5b76ba(0x149)]()[_0x5b76ba(0x15a)]('.')[0x1],_0x1e8cc6=_0x38f988[_0x5b76ba(0x17e)]()['toString']()[_0x5b76ba(0x15a)]('.')[0x1],_0x554bf2=_0x5db700[_0x5b76ba(0x1c4)](_0x4b54fe?.[_0x5b76ba(0x154)]?.[_0x5b76ba(0x234)]??0x0,0x0)?0x0:_0x4b54fe?.[_0x5b76ba(0x154)]?.[_0x5b76ba(0x234)]??0x0,_0x21fc18=_0x38f988[_0x5b76ba(0x1c2)](),_0x3ab4ee=Buffer[_0x5b76ba(0x155)](JSON[_0x5b76ba(0x1a0)](_0x3d33de))['toString'](_0x5db700[_0x5b76ba(0x1e5)]),_0x40bb2e={'hash':_0x44afc8[_0x5b76ba(0x173)](),'threadId':_0x44afc8[_0x5b76ba(0x226)]()[_0x5b76ba(0x149)](),'processId':_0x44afc8[_0x5b76ba(0x145)]()[_0x5b76ba(0x149)]()},_0x21748c={};_0x21748c[_0x5b76ba(0x236)]=_0x554bf2,_0x21748c[_0x5b76ba(0x1e0)]=_0x1600a4,_0x21748c[_0x5b76ba(0x182)]=_0xcb8fa0,_0x21748c[_0x5b76ba(0x21d)]=_0x35c2dd,_0x21748c[_0x5b76ba(0x19e)]=_0x1e8cc6,_0x21748c[_0x5b76ba(0x197)]=_0x4efd2b,_0x21748c['endedAt']=_0x52c291,_0x21748c['uuid']=_0x21fc18,_0x21748c[_0x5b76ba(0x19b)]=_0x3ab4ee,_0x21748c[_0x5b76ba(0x14b)]=_0x40bb2e;const _0x2caafe=_0x21748c;return logger[_0x5b76ba(0x1d9)](_0x5b76ba(0x1e7)+_0x22014f+_0x5b76ba(0x1df)+_0x35c2dd+_0x5b76ba(0x186)+_0x1e8cc6),_0x2caafe;}catch(_0x16120f){return logger[_0x5b76ba(0x1ce)](_0x5b76ba(0x1cd)+util[_0x5b76ba(0x17f)](_0x16120f)),{};}}}function a95_0x538e(_0x5125ea,_0x1278ba){const _0x137632=a95_0x1376();return a95_0x538e=function(_0x538e25,_0x47af52){_0x538e25=_0x538e25-0x139;let _0x318814=_0x137632[_0x538e25];return _0x318814;},a95_0x538e(_0x5125ea,_0x1278ba);}module[a95_0x25121f(0x140)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x4a7e58=a96_0x1b08;function a96_0x4e7c(){const _0x13c62c=['924612WmvaWo','trackEvent','getId','12PrbStD','\x20hookState=','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','./automationFramework.js','getCurrentInstanceName','1188297ldAIcU','3MJrhPo','instance','BUitn','5LxbEqQ','trackEvent:\x20automationFrameworkState=','CIxUf','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','2686564pMlRVj','info','../instances/automationFrameworkInstance.js','PRE','getTrackedInstance',',\x20state=','setTrackedInstance','../../../helpers/classLogger.js','resolveInstance','getAutomationFrameworkVersion','createContext','36LghbkA','PuppeteerAutomationFramework','debug','Yikmz','904888VUZkWA','trackPuppeteerInstance:\x20instance\x20already\x20exists','6wPNvMM','14084690zbLntv','../state/hookState.js','../cliUtils.js','8147489HwUFfJ','../instances/trackedInstance.js','logger','Cwhpf','1393282OnrKTF'];a96_0x4e7c=function(){return _0x13c62c;};return a96_0x4e7c();}(function(_0x28c106,_0x2cc730){const _0x4e6293=a96_0x1b08,_0x244954=_0x28c106();while(!![]){try{const _0x30b1da=parseInt(_0x4e6293(0xc3))/0x1+-parseInt(_0x4e6293(0xc4))/0x2*(-parseInt(_0x4e6293(0xcd))/0x3)+-parseInt(_0x4e6293(0xd4))/0x4*(parseInt(_0x4e6293(0xd0))/0x5)+-parseInt(_0x4e6293(0xbb))/0x6*(parseInt(_0x4e6293(0xbf))/0x7)+-parseInt(_0x4e6293(0xb9))/0x8*(parseInt(_0x4e6293(0xb5))/0x9)+parseInt(_0x4e6293(0xbc))/0xa+parseInt(_0x4e6293(0xcc))/0xb*(-parseInt(_0x4e6293(0xc7))/0xc);if(_0x30b1da===_0x2cc730)break;else _0x244954['push'](_0x244954['shift']());}catch(_0x36ea88){_0x244954['push'](_0x244954['shift']());}}}(a96_0x4e7c,0xd3eb2));const AutomationFramework=require(a96_0x4a7e58(0xca)),{createClassLogger}=require(a96_0x4a7e58(0xb1)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a96_0x4a7e58(0xbd)),CLIUtils=require(a96_0x4a7e58(0xbe)),TrackedInstance=require(a96_0x4a7e58(0xc0)),AutomationFrameworkInstance=require(a96_0x4a7e58(0xd6));function a96_0x1b08(_0x386a74,_0x2f0cdf){const _0x4e7cc5=a96_0x4e7c();return a96_0x1b08=function(_0x1b08c2,_0x3a09b8){_0x1b08c2=_0x1b08c2-0xb1;let _0x143f46=_0x4e7cc5[_0x1b08c2];return _0x143f46;},a96_0x1b08(_0x386a74,_0x2f0cdf);}class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a96_0x4a7e58(0xb6));constructor(_0x2528c0,_0x25d788){super(_0x2528c0,_0x25d788);}async[a96_0x4a7e58(0xc5)](_0x22f8a0,_0x2e19b4,_0x194ea1={}){const _0x1777e6=a96_0x4a7e58,_0x1a8266={};_0x1a8266[_0x1777e6(0xc2)]=function(_0x5b23ca,_0x161055){return _0x5b23ca===_0x161055;},_0x1a8266['zTmei']=_0x1777e6(0xc9);const _0x3ad72a=_0x1a8266;this[_0x1777e6(0xc1)][_0x1777e6(0xb7)](_0x1777e6(0xd1)+_0x22f8a0+_0x1777e6(0xc8)+_0x2e19b4),await super[_0x1777e6(0xc5)](_0x22f8a0,_0x2e19b4,_0x194ea1);const _0x158b8e=this[_0x1777e6(0xb2)](_0x22f8a0,_0x2e19b4,_0x194ea1);if(_0x3ad72a['Cwhpf'](_0x158b8e,null)){this[_0x1777e6(0xc1)]['debug'](_0x3ad72a['zTmei']);return;}_0x194ea1[_0x1777e6(0xce)]=_0x158b8e,await this['runHooks'](_0x158b8e,_0x22f8a0,_0x2e19b4,_0x194ea1);}[a96_0x4a7e58(0xb2)](_0x178287,_0x4aca56,_0x8c0274={}){const _0x17736b=a96_0x4a7e58,_0x3c0ca8={};_0x3c0ca8['Yikmz']=function(_0x4dbbac,_0x4331b7){return _0x4dbbac===_0x4331b7;},_0x3c0ca8['BUitn']=function(_0x332822,_0xbb3fd3){return _0x332822===_0xbb3fd3;};const _0x921230=_0x3c0ca8;let _0x32fdef=null;return(_0x921230[_0x17736b(0xb8)](_0x178287,AutomationFrameworkState['CREATE'])&&_0x921230[_0x17736b(0xcf)](_0x4aca56,HookState[_0x17736b(0xd7)])||_0x921230[_0x17736b(0xcf)](_0x178287,AutomationFrameworkState['NONE']))&&this['trackPuppeteerInstance'](_0x178287,_0x8c0274),_0x32fdef=AutomationFramework[_0x17736b(0xd8)](),_0x32fdef;}['trackPuppeteerInstance'](_0x34be48,_0x428873){const _0x4d6068=a96_0x4a7e58,_0x28943e={};_0x28943e[_0x4d6068(0xd2)]=_0x4d6068(0xba);const _0x58c252=_0x28943e;if(AutomationFramework[_0x4d6068(0xd8)]()){this['logger'][_0x4d6068(0xd5)](_0x58c252[_0x4d6068(0xd2)]);return;}const _0x4f8803=CLIUtils[_0x4d6068(0xcb)](),_0x16611d=TrackedInstance[_0x4d6068(0xb4)](_0x4f8803);let _0x41e532=null;this[_0x4d6068(0xc1)]['info'](_0x4d6068(0xd3)+_0x4f8803+_0x4d6068(0xd9)+_0x34be48),_0x41e532=new AutomationFrameworkInstance(_0x16611d,this['getAutomationFrameworkName'](),this[_0x4d6068(0xb3)](),_0x34be48),AutomationFramework[_0x4d6068(0xda)](_0x16611d,_0x41e532),this[_0x4d6068(0xc1)][_0x4d6068(0xd5)]('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x16611d[_0x4d6068(0xc6)]()+'\x20target='+_0x4f8803);}}module['exports']=PuppeteerAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a97_0x4249(){const _0x5fec02=['../state/testFrameworkState','12dCCTKy','registerObserver','trackEvent','18AjdINr',';\x20hookState=','222885ToaIyz','testFrameworks','242120KXpnai','binSessionId','239560YkRtnF','getAllData','3819312LWkkkk','getTrackedInstance','../instances/trackedInstance','trackEvent:\x20testFrameworkState=','296247kTJgPc','exports','__bstack_test_framework_instances__','getHookRegistryKey','debug','has','getId','setState','../../../helpers/classLogger','getInstances','9xDgZQY','getState','getTestFrameworksVersions','set','createContext','482637cLKuOl','hasState','516945XwOjuy','get','../eventDispatcher','instances','../state/hookState','runHooks','testFrameworkVersions','setCurrentHookState','../instances/trackedContext'];a97_0x4249=function(){return _0x5fec02;};return a97_0x4249();}function a97_0x2396(_0x3dd750,_0x46544d){const _0x424960=a97_0x4249();return a97_0x2396=function(_0x239669,_0x3c3594){_0x239669=_0x239669-0xcf;let _0xe78385=_0x424960[_0x239669];return _0xe78385;},a97_0x2396(_0x3dd750,_0x46544d);}const a97_0x3f8949=a97_0x2396;(function(_0x4bb68a,_0x1ef237){const _0x4fb500=a97_0x2396,_0x1b6dd4=_0x4bb68a();while(!![]){try{const _0x16d99d=parseInt(_0x4fb500(0xef))/0x1+-parseInt(_0x4fb500(0xd8))/0x2+parseInt(_0x4fb500(0xed))/0x3*(-parseInt(_0x4fb500(0xcf))/0x4)+parseInt(_0x4fb500(0xd4))/0x5+parseInt(_0x4fb500(0xd2))/0x6*(-parseInt(_0x4fb500(0xde))/0x7)+parseInt(_0x4fb500(0xda))/0x8+-parseInt(_0x4fb500(0xe8))/0x9*(parseInt(_0x4fb500(0xd6))/0xa);if(_0x16d99d===_0x1ef237)break;else _0x1b6dd4['push'](_0x1b6dd4['shift']());}catch(_0x290043){_0x1b6dd4['push'](_0x1b6dd4['shift']());}}}(a97_0x4249,0x45aa0));const CLIUtils=require('../cliUtils'),eventDispatcher=require(a97_0x3f8949(0xf1)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a97_0x3f8949(0xf7)),TestFrameworkState=require(a97_0x3f8949(0xf8)),HookState=require(a97_0x3f8949(0xf3)),{createClassLogger}=require(a97_0x3f8949(0xe6)),TrackedInstance=require(a97_0x3f8949(0xdc)),logger=createClassLogger('TestFramework');!global['__bstack_test_framework_instances__']&&(global[a97_0x3f8949(0xe0)]=new Map());class TestFramework{static get['instances'](){const _0x4b5730=a97_0x3f8949;return global[_0x4b5730(0xe0)];}[a97_0x3f8949(0xd5)]=[];[a97_0x3f8949(0xf5)]={};[a97_0x3f8949(0xd7)]=null;constructor(_0x44ae9e,_0x24d502,_0xe743de){const _0xe066d3=a97_0x3f8949;this[_0xe066d3(0xd5)]=_0x44ae9e,this[_0xe066d3(0xf5)]=_0x24d502,this['binSessionId']=_0xe743de;}[a97_0x3f8949(0xe7)](){const _0x37f8f=a97_0x3f8949;return TestFramework[_0x37f8f(0xf2)];}['setInstance'](_0x1d0fb6,_0x31a4b5){const _0x92ab02=a97_0x3f8949;TestFramework[_0x92ab02(0xf2)][_0x92ab02(0xeb)](_0x1d0fb6['getId'],_0x31a4b5);}static[a97_0x3f8949(0xdb)](){const _0x3f2b6c=a97_0x3f8949,_0x4d350c=TrackedInstance[_0x3f2b6c(0xec)](CLIUtils['getCurrentInstanceName']());return TestFramework[_0x3f2b6c(0xf2)][_0x3f2b6c(0xf0)](_0x4d350c[_0x3f2b6c(0xe4)]());}static['setTrackedInstance'](_0x5c1114,_0x4e5057){const _0x110f94=a97_0x3f8949;TestFramework[_0x110f94(0xf2)][_0x110f94(0xeb)](_0x5c1114['getId'](),_0x4e5057);}[a97_0x3f8949(0xea)](){const _0x31c5f1=a97_0x3f8949;return this[_0x31c5f1(0xf5)];}['getTestFrameworks'](){const _0xed8cbd=a97_0x3f8949;return this[_0xed8cbd(0xd5)];}[a97_0x3f8949(0xd1)](_0x4f1041,_0x10e07c,_0xab2214={}){const _0x3a0214=a97_0x3f8949;logger[_0x3a0214(0xe2)](_0x3a0214(0xdd)+_0x4f1041+_0x3a0214(0xd3)+_0x10e07c);}async[a97_0x3f8949(0xf4)](_0x298e68,_0x4f1ea9,_0x1830da,_0x27dbfe={}){const _0x2180bf=a97_0x3f8949,_0x4a4364=CLIUtils[_0x2180bf(0xe1)](_0x4f1ea9,_0x1830da);_0x298e68['setCurrentTestState'](_0x4f1ea9),_0x298e68[_0x2180bf(0xf6)](_0x1830da),await eventDispatcher['notifyObserver'](_0x4a4364,_0x27dbfe);}static['registerObserver'](_0x4c20d9,_0x1b0012,_0x2b5999){const _0x36613d=a97_0x3f8949;eventDispatcher[_0x36613d(0xd0)](CLIUtils[_0x36613d(0xe1)](_0x4c20d9,_0x1b0012),_0x2b5999);}static[a97_0x3f8949(0xe9)](_0x152367,_0x3cc611){const _0x138821=a97_0x3f8949;return _0x152367[_0x138821(0xd9)]()[_0x138821(0xf0)](_0x3cc611);}static[a97_0x3f8949(0xe5)](_0x310a46,_0x1eaef6,_0x2af87a){const _0x3c2006=a97_0x3f8949;_0x310a46['getAllData']()[_0x3c2006(0xeb)](_0x1eaef6,_0x2af87a);}static[a97_0x3f8949(0xee)](_0x3257be,_0x111ac3){const _0x1f7d3d=a97_0x3f8949;return _0x3257be[_0x1f7d3d(0xd9)]()[_0x1f7d3d(0xe3)](_0x111ac3);}}module[a97_0x3f8949(0xdf)]=TestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a98_0x46d50b=a98_0x2156;(function(_0x598673,_0x49a79f){const _0xf41c39=a98_0x2156,_0x3c71ee=_0x598673();while(!![]){try{const _0x23672a=parseInt(_0xf41c39(0x1ab))/0x1+parseInt(_0xf41c39(0x1bc))/0x2+-parseInt(_0xf41c39(0x1a1))/0x3*(-parseInt(_0xf41c39(0x1af))/0x4)+parseInt(_0xf41c39(0x1b4))/0x5+-parseInt(_0xf41c39(0x1a3))/0x6+-parseInt(_0xf41c39(0x1a8))/0x7+parseInt(_0xf41c39(0x1b0))/0x8;if(_0x23672a===_0x49a79f)break;else _0x3c71ee['push'](_0x3c71ee['shift']());}catch(_0x488c9b){_0x3c71ee['push'](_0x3c71ee['shift']());}}}(a98_0x2c68,0x4b68b));function a98_0x2c68(){const _0x26f6d1=['\x22\x20platformIndex=','trackEvent','FUVWN','305212viTgYl','trackEvent:\x20no\x20instance\x20for\x20state=','string','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','startsWith','\x20→\x20','getInstanceByUserAgent','userAgent','TestCafeAutomationFramework','info','../instances/trackedInstance.js','createContext','CREATE','set','exports','slice','length','platformIndex','NONE','WJHDq','get','debug','3753CPVQRu','instance','521718QLYXEE','testcafe:','warn','uNbNl','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','4178944qTLBAV','../state/automationFrameworkState.js','resolveInstance','194676yLMuTM','UggEx','entries','instances','136oilpGq','1378328rKzTGS','delete','\x20hookState=','lastIndexOf','2153565JgKRNs','ictDV','lAbrY','parseInt','iterAllInstances'];a98_0x2c68=function(){return _0x26f6d1;};return a98_0x2c68();}function a98_0x2156(_0x383fce,_0x179605){const _0x2c686c=a98_0x2c68();return a98_0x2156=function(_0x2156f0,_0x5cb110){_0x2156f0=_0x2156f0-0x19d;let _0x560ae3=_0x2c686c[_0x2156f0];return _0x560ae3;},a98_0x2156(_0x383fce,_0x179605);}const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js'),AutomationFrameworkState=require(a98_0x46d50b(0x1a9)),TrackedInstance=require(a98_0x46d50b(0x1c6)),{createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a98_0x46d50b(0x1c4));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x24d5c7,_0x1f39a1){super(_0x24d5c7,_0x1f39a1);}async[a98_0x46d50b(0x1ba)](_0x35b38c,_0x93e0ea,_0x42797d={}){const _0x1eb3ea=a98_0x46d50b;await super['trackEvent'](_0x35b38c,_0x93e0ea,_0x42797d);const _0x299fde=this[_0x1eb3ea(0x1aa)](_0x35b38c,_0x93e0ea,_0x42797d);if(!_0x299fde){logger[_0x1eb3ea(0x1a0)](_0x1eb3ea(0x1bd)+_0x35b38c+_0x1eb3ea(0x1b2)+_0x93e0ea);return;}_0x42797d['instance']=_0x299fde,await this['runHooks'](_0x299fde,_0x35b38c,_0x93e0ea,_0x42797d);}['resolveInstance'](_0x12356b,_0x5641fc,_0x538616={}){const _0xa8a92d=a98_0x46d50b,_0x6bee48={};_0x6bee48['zoKfv']=_0xa8a92d(0x1a7),_0x6bee48[_0xa8a92d(0x1b5)]=function(_0x5b7611,_0x851ee){return _0x5b7611===_0x851ee;},_0x6bee48['IqdZJ']=function(_0xd11d5b,_0x479431){return _0xd11d5b===_0x479431;},_0x6bee48[_0xa8a92d(0x1bb)]=function(_0x278977,_0x4648e2){return _0x278977||_0x4648e2;};const _0x4856b9=_0x6bee48,_0x35f1b0=_0x538616[_0xa8a92d(0x1c3)]||null;if(!_0x35f1b0)return logger[_0xa8a92d(0x1a5)](_0x4856b9['zoKfv']),AutomationFramework['getTrackedInstance']();const _0x795cd2=Number['isInteger'](_0x538616['platformIndex'])?_0x538616['platformIndex']:0x0,_0x849b06=_0xa8a92d(0x1a4)+_0x35f1b0+'#'+_0x795cd2;let _0x307a60=AutomationFramework[_0xa8a92d(0x1ae)][_0xa8a92d(0x19f)](_0x849b06);if(!_0x307a60&&(_0x4856b9['ictDV'](_0x12356b,AutomationFrameworkState[_0xa8a92d(0x1c8)])||_0x4856b9['IqdZJ'](_0x12356b,AutomationFrameworkState[_0xa8a92d(0x19d)]))){const _0x24328d=TrackedInstance[_0xa8a92d(0x1c7)](_0x849b06);_0x307a60=new AutomationFrameworkInstance(_0x24328d,this['getAutomationFrameworkName'](),this['getAutomationFrameworkVersion'](),_0x12356b),AutomationFramework[_0xa8a92d(0x1ae)][_0xa8a92d(0x1c9)](_0x849b06,_0x307a60),logger[_0xa8a92d(0x1c5)](_0xa8a92d(0x1bf)+_0x35f1b0+_0xa8a92d(0x1b9)+_0x795cd2+_0xa8a92d(0x1c1)+_0x849b06);}return _0x4856b9[_0xa8a92d(0x1bb)](_0x307a60,null);}static['removeInstance'](_0xad171f,_0x3a99ee=0x0){const _0x4e4688=a98_0x46d50b,_0x24f419=_0x4e4688(0x1a4)+_0xad171f+'#'+_0x3a99ee;return AutomationFramework[_0x4e4688(0x1ae)][_0x4e4688(0x1b1)](_0x24f419);}static[a98_0x46d50b(0x1c2)](_0x221fd4,_0x4c8e33=0x0){const _0x4f4b56=a98_0x46d50b;return AutomationFramework[_0x4f4b56(0x1ae)][_0x4f4b56(0x19f)]('testcafe:'+_0x221fd4+'#'+_0x4c8e33)||null;}static*[a98_0x46d50b(0x1b8)](){const _0x458911=a98_0x46d50b,_0x4f3dac={};_0x4f3dac['UggEx']=function(_0x12147f,_0x12b08e){return _0x12147f===_0x12b08e;},_0x4f3dac[_0x458911(0x1b6)]=_0x458911(0x1be),_0x4f3dac[_0x458911(0x1a6)]=_0x458911(0x1a4),_0x4f3dac[_0x458911(0x19e)]=function(_0xdb1d8c,_0x48c8f4){return _0xdb1d8c+_0x48c8f4;};const _0x544ff7=_0x4f3dac;for(const [_0x42addb,_0x1c3202]of AutomationFramework['instances'][_0x458911(0x1ad)]()){if(_0x544ff7['UggEx'](typeof _0x42addb,_0x544ff7[_0x458911(0x1b6)])&&_0x42addb[_0x458911(0x1c0)](_0x544ff7['uNbNl'])){const _0x1abd64=_0x42addb[_0x458911(0x1cb)](_0x544ff7[_0x458911(0x1a6)][_0x458911(0x1cc)]),_0x47e805=_0x1abd64[_0x458911(0x1b3)]('#');if(_0x544ff7[_0x458911(0x1ac)](_0x47e805,-0x1)){const _0x23c09f={};_0x23c09f[_0x458911(0x1c3)]=_0x1abd64,_0x23c09f[_0x458911(0x1cd)]=0x0,_0x23c09f[_0x458911(0x1a2)]=_0x1c3202,yield _0x23c09f;}else{const _0x507dd7=_0x1abd64[_0x458911(0x1cb)](0x0,_0x47e805),_0x442d78=Number[_0x458911(0x1b7)](_0x1abd64[_0x458911(0x1cb)](_0x544ff7['WJHDq'](_0x47e805,0x1)),0xa)||0x0,_0x37acee={};_0x37acee['userAgent']=_0x507dd7,_0x37acee['platformIndex']=_0x442d78,_0x37acee['instance']=_0x1c3202,yield _0x37acee;}}}}}module[a98_0x46d50b(0x1ca)]=TestCafeAutomationFramework;
|