browserstack-node-sdk 1.63.4 → 1.63.6
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_0x4697c1=a95_0x23a9;function a95_0x23a9(_0x31f707,_0x4c8b82){const _0x1e9bc7=a95_0x1e9b();return a95_0x23a9=function(_0x23a910,_0x1a7b14){_0x23a910=_0x23a910-0xd2;let _0x433706=_0x1e9bc7[_0x23a910];return _0x433706;},a95_0x23a9(_0x31f707,_0x4c8b82);}(function(_0x58063f,_0x32b95a){const _0x32456b=a95_0x23a9,_0x1e3e57=_0x58063f();while(!![]){try{const _0x146afb=-parseInt(_0x32456b(0x1a6))/0x1+-parseInt(_0x32456b(0x134))/0x2+-parseInt(_0x32456b(0x1aa))/0x3+-parseInt(_0x32456b(0x1d4))/0x4+parseInt(_0x32456b(0x10e))/0x5+-parseInt(_0x32456b(0xf0))/0x6*(-parseInt(_0x32456b(0x1a0))/0x7)+parseInt(_0x32456b(0x163))/0x8;if(_0x146afb===_0x32b95a)break;else _0x1e3e57['push'](_0x1e3e57['shift']());}catch(_0x3f236c){_0x1e3e57['push'](_0x1e3e57['shift']());}}}(a95_0x1e9b,0xe3dca));function a95_0x1e9b(){const _0x16755a=['basename','KEY_HOOK_FAILURE_REASON','trackEvent:\x20found\x20instance,\x20testFrameworkState=','PRE','VwmXM','bBljY','file_name','get','YvPLk','statSync','\x20response=','expectedStatus','yoRnc','KEY_HOOKS_FINISHED','\x20steps\x20for\x20testId=','KEY_TEST_RERUN_NAME','getTrackedInstance','../../../helpers/helper.js','getId','logCreatedEvent','zhmto','KEY_CUSTOM_TAGS','split','KEY_HOOK_LOGS','TKQFg','DEFAULT_HOOK_RESULT','\x20instanceId=','1100440SHogZl','EvztA','TEST_STEP','KEY_HOOK_ID','hook',',\x20state=','getInstance','getTestDetails','getCurrentHookState','jBPQg','jhgrb','POST','NAInG','CpzFQ','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','HqWLE','test','trackPlaywrightInstance','status','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','TEST_SCREENSHOT','annotations','KEY_TEST_FRAMEWORK_NAME','\x20\x20and\x20args\x20=\x20','from','yxjks','MYtYF','zoUXS','trackEvent','skipped','../../../helpers/test-observability/utils','aYBGl','zkZNY','445818pHkeTZ','vwpSI','attachments','Hook\x20List\x20in\x20Post\x20','logs','iWsNm','ydJTV','browserstackPlatformIndex','pop','info','veHcJ','\x20hookState=','KEY_TEST_META','./testFramework','joFJP','Gklkq','message','KEY_TEST_RESULT_AT','errors','startedAt','runHooks','GlSMf','KEY_TEST_FILE_PATH','xArBt','KEY_TEST_FAILURE_TYPE','timedOut','slice','../TestInfo.js','toString','parsePlaywrightTest','8514135YrVeCR','NBZpG','yECds','err','testFrameworkName','mBdOf','bKgIe','setTestDetails','KEY_TEST_RESULT','ywTnS','\x20payload=','gGNXT','eventJson','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','DOuXU','BRjES','DEFAULT_TEST_RESULT','uuid','push','addMultipleEntries','\x20from\x20TestDetails:\x20','pdhuF','SNNES','testFrameworkVersion','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','aYTSl','testFrameworkState','format','TeZsM','HpepK','Expected\x20to\x20fail,\x20but\x20passed.','parsePlaywrightTestResult','stringify','IqTKL','xdzUb','../instances/testFrameworkInstance.js','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','2820510yOrSkX','error','KEY_TEST_SCOPES','startTime','Error\x20in\x20createTestFrameworkEventPayload:\x20','passed','kwMwB','LppEB','../../../../src/helpers/helper','\x20target=','fixme','getAllData','dofDq','GFWqg','KEY_TEST_ID','KEY_EVENT_ENDED_AT','scVpq','KEY_LOGS','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','exports','description','SGHSw','MAoWA','parallelIndex','KEY_TEST_RETRY_OF','forEach','aczrr','parsePlaywrightTestResult:\x20testId=','instance','step','getTestFrameworksVersions','../instances/trackedInstance.js','TEST','VDmoB','base64','inspect','KEY_TEST_CODE','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','../../../helpers/classLogger.js','trackHookEvent','mergeIntoTags','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','lgZvS','sXkzV','onATg','Error\x20in\x20sendLogCreatedEvent:\x20','WZoSt','17197552gaHGFt','failed','toISOString','\x20batch\x20','has','wccQP','\x20testState:\x20','ZPQGw','filePath','trackStepEvent','text','fQZWz','KEY_HOOKS_STARTED','getRef','PcIBi','debug','\x20instance=','AnTYT','tPyZz','some','KtpFg','path','BaNDl','createTestFrameworkEventPayload','./constants/testFrameworkConstants.js','matchHookRegex','stack','setTrackedInstance','trackStepEvent:\x20exception=','sendLogCreatedEvent','MAX_TOP_LEVEL_STEPS','KEY_TEST_ENDED_AT','KEY_TEST_LOCATION','size','KEY_TEST_UUID','KEY_HOOK_RESULT','util','KEY_TEST_NAME','gvBbv','gBqOO','../../playwright/reporter/pwUtils','results','length','getTestFrameworks','\x20step=\x22','SswQF','hookState','trackStepEvent:\x20testId=','filter','set','result','failure_type','NONE','woBan','createContext','JTqmQ','sendLogCreatedEvent:\x20testId=','No\x20reason\x20provided','../../utils/constants','xwlKq','NcRmg','49BquUod','KEY_HOOK_FAILURE_TYPE','INIT_TEST','vdrJv','concat','steps','1317993ygVHNQ','retry','resolveInstance','parseCommaSeparatedValues','1307886gpbzVw','trim','getProcessId','getCurrentInstanceName','qDYGR','KEY_TEST_STARTED_AT','KEY_HOOK_FAILURE','\x20hookState:\x20','gLGyq','\x20result=','duration','failure','Error\x20processing\x20direct\x20trace\x20file\x20','getTestUUID','WfAhh'];a95_0x1e9b=function(){return _0x16755a;};return a95_0x1e9b();}const TestFramework=require(a95_0x4697c1(0xfd)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a95_0x4697c1(0x15a)),TestFrameworkInstance=require(a95_0x4697c1(0x132)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a95_0x4697c1(0x153)),TestFrameworkConstants=require(a95_0x4697c1(0x17b)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a95_0x4697c1(0x120)),util=require(a95_0x4697c1(0x187)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x4697c1(0x1ca)),TestInfo=require(a95_0x4697c1(0x10b)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a95_0x4697c1(0xed)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x4697c1(0x18b)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x4697c1(0x18b)),path=require(a95_0x4697c1(0x178)),fs=require('fs'),helper=require(a95_0x4697c1(0x13c)),{PLAYWRIGHT_TRACE_LOGS}=require(a95_0x4697c1(0x19d)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set(['skip',a95_0x4697c1(0x13e),'slow','fail']);class PlaywrightTestFramework extends TestFramework{constructor(_0x801091,_0x314bdb,_0x1c5c35){super(_0x801091,_0x314bdb,_0x1c5c35);}async[a95_0x4697c1(0xeb)](_0x90999c,_0x201dd1,_0x5d2ece={}){const _0x2435f7=a95_0x4697c1,_0x11832a={'gLGyq':function(_0x3cf3b4,_0xaa5c46){return _0x3cf3b4===_0xaa5c46;},'veHcJ':function(_0x2eda61,_0x525f98){return _0x2eda61===_0x525f98;},'DOuXU':function(_0x3e7a73,_0xfaff1e,_0x380c49){return _0x3e7a73(_0xfaff1e,_0x380c49);},'HqWLE':function(_0x3170cb,_0x2c9cc2){return _0x3170cb===_0x2c9cc2;},'IqTKL':function(_0x4bc752,_0x1b5010,_0x1574d6){return _0x4bc752(_0x1b5010,_0x1574d6);},'yECds':function(_0x5c6cec,_0x583701,_0x43d132,_0x449bbb){return _0x5c6cec(_0x583701,_0x43d132,_0x449bbb);},'gvBbv':_0x2435f7(0xdf),'iWsNm':_0x2435f7(0x133)};super['trackEvent'](_0x90999c,_0x201dd1,_0x5d2ece);if(_0x11832a[_0x2435f7(0x1b2)](_0x90999c,TestFrameworkState[_0x2435f7(0xe3)])){const _0x14611a=TestInfo['getTestIdentifierFromTestInfo'](_0x5d2ece[_0x2435f7(0xdf)],_0x5d2ece['test']['retry']);TestInfo[_0x2435f7(0x115)](_0x14611a,_0x5d2ece[_0x2435f7(0x195)],!![]);}if(_0x11832a[_0x2435f7(0xfa)](_0x90999c,TestFrameworkState[_0x2435f7(0x1d6)])){this[_0x2435f7(0x16c)](_0x90999c,_0x201dd1,_0x5d2ece);return;}const _0x4b0a8a=this[_0x2435f7(0x1a8)](_0x90999c,_0x201dd1,_0x5d2ece);if(!_0x4b0a8a)return;logger[_0x2435f7(0x172)](_0x2435f7(0x1bb)+_0x90999c+_0x2435f7(0xfb)+_0x201dd1+_0x2435f7(0x1d3)+_0x4b0a8a[_0x2435f7(0x170)]());try{if(_0x11832a[_0x2435f7(0x1b2)](_0x201dd1,HookState['PRE'])&&_0x11832a[_0x2435f7(0x1b2)](_0x90999c,TestFrameworkState[_0x2435f7(0x154)])){const _0x53d977=_0x5d2ece['test'];logger['debug']('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x53d977['id']+'}');const _0x22cd17=TestInfo[_0x2435f7(0x1b7)](_0x11832a[_0x2435f7(0x11d)](getTestRunIdentifier,_0x53d977,_0x5d2ece['result'][_0x2435f7(0x1a7)]));_0x4b0a8a[_0x2435f7(0x122)](this[_0x2435f7(0x10d)](_0x22cd17,_0x53d977,_0x5d2ece[_0x2435f7(0x195)])),logger[_0x2435f7(0x172)](_0x2435f7(0x159)+_0x53d977['id']+',\x20testFrameworkState='+_0x90999c+'\x20testHookState='+_0x201dd1+_0x2435f7(0x173)+_0x4b0a8a[_0x2435f7(0x170)]());}if(_0x11832a[_0x2435f7(0xfa)](_0x201dd1,HookState[_0x2435f7(0xda)])&&_0x11832a[_0x2435f7(0xde)](_0x90999c,TestFrameworkState['TEST'])){const _0x17ae2b=_0x5d2ece['test'],_0x5e2ac7=_0x5d2ece['result'];logger[_0x2435f7(0x172)](_0x2435f7(0x15d)+_0x17ae2b['id']);const _0x2a6068=_0x11832a[_0x2435f7(0x130)](getTestRunIdentifier,_0x17ae2b,_0x5e2ac7[_0x2435f7(0x1a7)]),_0x19dd8b=_0x4b0a8a[_0x2435f7(0x13f)]()[_0x2435f7(0x1c0)](_0x2a6068)[TestFrameworkConstants[_0x2435f7(0x185)]],{steps:_0x4f5e59,logs:_0x20be3a}=_0x11832a[_0x2435f7(0x110)](getStepsAndLogs,_0x5e2ac7[_0x2435f7(0x1a5)],_0x19dd8b,_0x11832a[_0x2435f7(0x189)]);_0x4b0a8a['addMultipleEntries'](this[_0x2435f7(0x12e)](_0x17ae2b['id'],_0x5e2ac7,_0x17ae2b,_0x4f5e59)),await this[_0x2435f7(0x180)](_0x4b0a8a,_0x90999c,_0x201dd1,_0x11832a[_0x2435f7(0x189)],_0x5d2ece,_0x20be3a);}if(CLIUtils[_0x2435f7(0x17c)](_0x90999c['toString']()[_0x2435f7(0x1cf)]('.')[0x1])){const _0x158f6d=await this[_0x2435f7(0x15b)](_0x4b0a8a,_0x90999c,_0x201dd1,_0x5d2ece);_0x4b0a8a[_0x2435f7(0x122)](_0x158f6d);}}catch(_0x53021b){logger[_0x2435f7(0x135)](util['format'](_0x11832a[_0x2435f7(0xf5)],_0x90999c,_0x201dd1,_0x5d2ece[_0x2435f7(0x18d)],_0x53021b));}_0x5d2ece[_0x2435f7(0x150)]=_0x4b0a8a,await this[_0x2435f7(0x104)](_0x4b0a8a,_0x90999c,_0x201dd1,_0x5d2ece);}[a95_0x4697c1(0x1a8)](_0x187584,_0x35fa91,_0x4e72e8={}){const _0x2bc8bc=a95_0x4697c1,_0x1f90cd={};_0x1f90cd[_0x2bc8bc(0xf1)]=function(_0x212950,_0x2e3237){return _0x212950===_0x2e3237;},_0x1f90cd[_0x2bc8bc(0x13b)]=function(_0x205ef5,_0x33a131){return _0x205ef5===_0x33a131;};const _0x3df30d=_0x1f90cd;let _0x123570=null;return(_0x3df30d[_0x2bc8bc(0xf1)](_0x187584,TestFrameworkState[_0x2bc8bc(0x1a2)])||_0x3df30d[_0x2bc8bc(0x13b)](_0x187584,TestFrameworkState[_0x2bc8bc(0x197)]))&&this[_0x2bc8bc(0xe0)](_0x187584,_0x4e72e8),_0x123570=TestFramework[_0x2bc8bc(0x1c9)](),_0x123570;}[a95_0x4697c1(0xe0)](_0x577ca1,_0x1efa8c){const _0x156ac9=a95_0x4697c1,_0x50cc0d=CLIUtils[_0x156ac9(0x1ad)](),_0x46389f=TrackedInstance[_0x156ac9(0x199)](_0x50cc0d);let _0x37edb3=null;logger[_0x156ac9(0xf9)](_0x156ac9(0x146)+_0x50cc0d+_0x156ac9(0xd4)+_0x577ca1),_0x37edb3=new TestFrameworkInstance(_0x46389f,this[_0x156ac9(0x18e)](),this[_0x156ac9(0x152)](),_0x577ca1,HookState[_0x156ac9(0x197)]),TestFramework[_0x156ac9(0x17e)](_0x46389f,_0x37edb3),logger[_0x156ac9(0xf9)](_0x156ac9(0x127)+_0x46389f[_0x156ac9(0x1cb)]()+_0x156ac9(0x13d)+_0x50cc0d);}[a95_0x4697c1(0x10d)](_0x1de6d5,_0x6f4104,_0x5363bd){const _0x4c2339=a95_0x4697c1,_0x528496={'GlSMf':function(_0x35fe76,_0x35d889){return _0x35fe76(_0x35d889);},'HpepK':function(_0x111164,_0x39c978){return _0x111164(_0x39c978);},'JTqmQ':function(_0x44ef16,_0x2b5ddf){return _0x44ef16(_0x2b5ddf);},'pFfPj':function(_0xdd70eb,_0x396b4b){return _0xdd70eb(_0x396b4b);},'AnTYT':function(_0x3863a8,_0x2d4c4a){return _0x3863a8(_0x2d4c4a);},'FhWNB':function(_0x4ba225,_0xfe179d,_0x2a8267){return _0x4ba225(_0xfe179d,_0x2a8267);}},_0x1ed6d5=_0x528496[_0x4c2339(0x105)](getPlaywrightTestId,_0x6f4104),_0x218a8f=_0x528496['HpepK'](getPlaywrightTestTitle,_0x6f4104),_0x226637=_0x528496[_0x4c2339(0x12c)](getTestTags,_0x6f4104),_0x4de4da=_0x528496[_0x4c2339(0x12c)](getPlaywrightTestCode,_0x6f4104),_0x359d20=_0x528496[_0x4c2339(0x19a)](getPlaywrightTestFilePath,_0x6f4104),_0x29b2aa=_0x359d20,_0x1c7547=_0x528496['pFfPj'](getPlaywrightTestScope,_0x6f4104),_0x6e4b98=_0x528496['GlSMf'](getPlaywrightTestScopes,_0x6f4104),_0x282016=_0x528496[_0x4c2339(0x174)](getPlaywrightSessionName,_0x6f4104),_0xc403d8=this[_0x4c2339(0x18e)]()[0x0],_0x2ad442=_0x528496['FhWNB'](getTestRunIdentifier,_0x6f4104,_0x5363bd[_0x4c2339(0x1a7)]),_0x35f061={[TestFrameworkConstants[_0x4c2339(0xe5)]]:_0xc403d8,[TestFrameworkConstants[_0x4c2339(0x11c)]]:this[_0x4c2339(0x152)]()[_0xc403d8],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x4c2339(0x185)]]:_0x1de6d5,[TestFrameworkConstants[_0x4c2339(0x116)]]:TestFrameworkConstants[_0x4c2339(0x11f)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x282016,[TestFrameworkConstants[_0x4c2339(0x106)]]:_0x359d20,[TestFrameworkConstants[_0x4c2339(0x142)]]:_0x1ed6d5,[TestFrameworkConstants[_0x4c2339(0x188)]]:_0x218a8f,[TestFrameworkConstants[_0x4c2339(0x183)]]:_0x29b2aa,[TestFrameworkConstants[_0x4c2339(0x158)]]:_0x4de4da,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x226637,[TestFrameworkConstants[_0x4c2339(0x1af)]]:_0x6f4104[_0x4c2339(0x18c)][0x0][_0x4c2339(0x137)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1c7547,[TestFrameworkConstants[_0x4c2339(0x136)]]:_0x6e4b98,[TestFrameworkConstants[_0x4c2339(0x1c8)]]:_0x528496[_0x4c2339(0x105)](getPlaywrightCustomRerunParam,_0x6f4104)};TestInfo['setTestDetails'](_0x2ad442,_0x35f061);const _0x3755fa={};return _0x3755fa[_0x2ad442]=_0x35f061,_0x3755fa;}[a95_0x4697c1(0x12e)](_0x155c94,_0x313054,_0x5616d3,_0x57ea8b){const _0x1bffbb=a95_0x4697c1,_0x1394ea={'SNNES':function(_0x5bd2aa,_0x2f09c9){return _0x5bd2aa(_0x2f09c9);},'ydJTV':'TEST_ATTACHMENT','WZoSt':function(_0xb5c17b,_0x4cae3d){return _0xb5c17b===_0x4cae3d;},'YvPLk':function(_0xf58033,_0x172846){return _0xf58033===_0x172846;},'xwlKq':function(_0x3227cc,_0x370e3f){return _0x3227cc(_0x370e3f);},'MAoWA':_0x1bffbb(0x19c),'lgZvS':function(_0x36fa52,_0x531173,_0x17d1e7){return _0x36fa52(_0x531173,_0x17d1e7);},'GFWqg':function(_0x1dfd5a,_0x41b27a){return _0x1dfd5a===_0x41b27a;},'KscXq':function(_0x1f7e0b,_0x165224){return _0x1f7e0b===_0x165224;},'yxjks':_0x1bffbb(0xec),'TKQFg':_0x1bffbb(0x139),'xdzUb':function(_0x1da85c,_0x1146c7){return _0x1da85c===_0x1146c7;},'NBZpG':_0x1bffbb(0x164),'joFJP':_0x1bffbb(0x109),'gjJAH':function(_0x1bdbd0,_0x24718f){return _0x1bdbd0===_0x24718f;},'zoUXS':_0x1bffbb(0x12d),'ktqJD':function(_0x1909a2,_0x4475ae,_0x1a3a4d){return _0x1909a2(_0x4475ae,_0x1a3a4d);},'TeZsM':function(_0x5e4447,_0x1cf866){return _0x5e4447||_0x1cf866;},'gGNXT':function(_0x5c6cbe,_0x3c95ab){return _0x5c6cbe(_0x3c95ab);},'PcIBi':function(_0x521791,_0x1027b7){return _0x521791(_0x1027b7);},'jhgrb':function(_0x39278a,_0x1a2d86){return _0x39278a>_0x1a2d86;},'fQZWz':function(_0x5595f5,_0x533da0){return _0x5595f5-_0x533da0;},'VDmoB':function(_0x7579fb,_0x3d4a64,_0x11b14f,_0x4a136e){return _0x7579fb(_0x3d4a64,_0x11b14f,_0x4a136e);},'sXkzV':'test','kGQCs':function(_0x472572,_0x5e67cc){return _0x472572>=_0x5e67cc;},'jBPQg':function(_0xdb7a41,_0x50075f){return _0xdb7a41+_0x50075f;},'Gklkq':function(_0x31b015,_0x3717c0){return _0x31b015>_0x3717c0;},'ywTnS':'path','KtpFg':function(_0x1b47d1,_0x3b4eb8,_0x27c522){return _0x1b47d1(_0x3b4eb8,_0x27c522);},'aYTSl':'../customTagManager'};logger['debug'](_0x1bffbb(0x14f)+_0x155c94);const _0x575b2f=_0x1394ea['lgZvS'](getTestRunIdentifier,_0x5616d3,_0x313054['retry']),_0x27368c=new Date(),_0x5838e4=_0x313054[_0x1bffbb(0xe1)],_0x142971=TestInfo[_0x1bffbb(0xd6)](_0x575b2f)[TestFrameworkConstants[_0x1bffbb(0x1ce)]]||{};let _0x2b5cc1=_0x5838e4;if(_0x1394ea[_0x1bffbb(0x141)](_0x313054[_0x1bffbb(0xe1)],_0x5616d3['expectedStatus']))_0x2b5cc1=_0x1394ea['KscXq'](_0x313054[_0x1bffbb(0xe1)],_0x1394ea[_0x1bffbb(0xe8)])?_0x1394ea[_0x1bffbb(0xe8)]:_0x1394ea['TKQFg'];else{(_0x1394ea[_0x1bffbb(0x131)](_0x2b5cc1,_0x1394ea[_0x1bffbb(0x1d1)])||_0x1394ea[_0x1bffbb(0x162)](_0x2b5cc1,_0x1394ea[_0x1bffbb(0x10f)])||_0x1394ea['WZoSt'](_0x2b5cc1,_0x1394ea[_0x1bffbb(0xfe)]))&&(_0x2b5cc1=_0x1394ea['NBZpG']);if(_0x1394ea[_0x1bffbb(0x131)](_0x313054[_0x1bffbb(0xe1)],_0x1394ea[_0x1bffbb(0x1d1)])&&_0x1394ea['gjJAH'](_0x5616d3[_0x1bffbb(0x1c4)],_0x1394ea[_0x1bffbb(0x10f)])){const _0x5c70fc={};_0x5c70fc[_0x1bffbb(0x100)]=_0x1394ea[_0x1bffbb(0xea)],_0x5c70fc[_0x1bffbb(0x17d)]=_0x1394ea[_0x1bffbb(0xea)],_0x313054['error']=_0x5c70fc,_0x313054['errors']=[_0x313054[_0x1bffbb(0x135)]];}}const {failureData:_0x160572,logs:_0x1a16a6}=_0x1394ea['ktqJD'](getFailureData,_0x313054?.['errors'],{}),_0x34e4f0={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x1394ea[_0x1bffbb(0x12b)](_0x160572,null),[TestFrameworkConstants[_0x1bffbb(0x108)]]:_0x313054?.[_0x1bffbb(0x135)]&&_0x1394ea[_0x1bffbb(0x119)](getFailureType,_0x313054[_0x1bffbb(0x135)][_0x1bffbb(0x100)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x313054?.[_0x1bffbb(0x135)]&&_0x1394ea[_0x1bffbb(0x171)](removeAnsiColors,_0x313054['error'][_0x1bffbb(0x100)]),[TestFrameworkConstants[_0x1bffbb(0x145)]]:[],[TestFrameworkConstants[_0x1bffbb(0x116)]]:_0x2b5cc1,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x27368c['toISOString'](),[TestFrameworkConstants[_0x1bffbb(0x101)]]:new Date()[_0x1bffbb(0x165)](),[TestFrameworkConstants[_0x1bffbb(0x1ce)]]:_0x142971};if(_0x313054&&_0x1394ea[_0x1bffbb(0xd9)](_0x313054[_0x1bffbb(0x1a7)],0x0)){const _0x48046e=TestInfo[_0x1bffbb(0x1b7)](_0x1394ea[_0x1bffbb(0x15e)](getTestRunIdentifier,_0x5616d3,_0x1394ea[_0x1bffbb(0x16e)](_0x313054[_0x1bffbb(0x1a7)],0x1)));_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x14c)]]=_0x48046e;}const _0x372c16={};_0x372c16[_0x1bffbb(0xdf)]=_0x5616d3;const _0x415e89=this[_0x1bffbb(0x1a8)](TestFrameworkState['TEST'],HookState['POST'],_0x372c16),_0x2b62f0=_0x415e89['getAllData']()[_0x1bffbb(0x1c0)](_0x575b2f)[TestFrameworkConstants[_0x1bffbb(0x185)]],_0x36f178=_0x57ea8b||_0x1394ea[_0x1bffbb(0x155)](getStepsAndLogs,_0x313054['steps'],_0x2b62f0,_0x1394ea[_0x1bffbb(0x15f)])[_0x1bffbb(0x1a5)],_0x3112f5=new Map(),_0x353682=new Map();let _0x2ec06b=0x0;const _0x5b2b25=[];for(const _0x514d04 of _0x36f178||[]){const _0x56a533=_0x514d04['parent_id']||null;let _0x25cf61;if(_0x1394ea[_0x1bffbb(0x141)](_0x56a533,null)){if(_0x1394ea['kGQCs'](_0x2ec06b,TestFrameworkConstants[_0x1bffbb(0x181)]))continue;_0x25cf61=0x0,_0x2ec06b++;}else{const _0x48eff9=_0x3112f5[_0x1bffbb(0x1c0)](_0x56a533);if(_0x1394ea['xdzUb'](_0x48eff9,undefined))continue;_0x25cf61=_0x1394ea[_0x1bffbb(0xd8)](_0x48eff9,0x1);if(_0x1394ea[_0x1bffbb(0xff)](_0x25cf61,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0x3112f5['set'](_0x514d04['id'],_0x25cf61),_0x353682[_0x1bffbb(0x194)](_0x514d04['id'],_0x514d04[_0x1bffbb(0x16d)]),_0x5b2b25[_0x1bffbb(0x121)]({'id':_0x514d04['id'],'parent_id':_0x56a533,'parent_text':_0x56a533?_0x353682[_0x1bffbb(0x1c0)](_0x56a533)||'':'','text':_0x514d04[_0x1bffbb(0x16d)],'keyword':_0x514d04['keyword']||null,'started_at':_0x514d04['started_at'],'duration':_0x514d04[_0x1bffbb(0x1b4)]??null,'result':_0x514d04['result'],'failure':_0x514d04[_0x1bffbb(0x1b5)]||null,'failure_type':_0x514d04[_0x1bffbb(0x196)]||null});}const _0x43e95d={};_0x43e95d[_0x1bffbb(0x1a5)]=_0x5b2b25,_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0xfc)]]=_0x43e95d,logger[_0x1bffbb(0x172)]('parsePlaywrightTestResult:\x20extracted\x20'+_0x5b2b25['length']+_0x1bffbb(0x1c7)+_0x155c94);const _0x264704=[],_0x477c06=_0x1394ea[_0x1bffbb(0x15e)](findNestedKey,_0x313054,_0x1394ea[_0x1bffbb(0x117)]);if(_0x477c06&&_0x1394ea[_0x1bffbb(0x171)](validateFilePath,_0x477c06))try{_0x264704[_0x1bffbb(0x121)]({'kind':_0x1394ea['ydJTV'],'timestamp':new Date()[_0x1bffbb(0x165)](),'test_run_uuid':_0x2b62f0,'file_name':path[_0x1bffbb(0x1b9)](_0x477c06),'file_size':fs[_0x1bffbb(0x1c2)](_0x477c06)[_0x1bffbb(0x184)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x24f870){logger[_0x1bffbb(0x135)](_0x1bffbb(0x1b6)+_0x477c06+':\x20'+_0x24f870[_0x1bffbb(0x100)]);}const _0x400fa4=TestInfo['getTraceFilePaths'](),_0x256426=_0x400fa4[_0x1bffbb(0x193)](_0x4af780=>_0x4af780['testUId']===_0x2b62f0);_0x256426[_0x1bffbb(0x14d)](_0x2476ea=>{const _0x421435=_0x1bffbb;if(_0x2476ea['filePath']&&_0x1394ea['SNNES'](validateFilePath,_0x2476ea['filePath'])&&!_0x264704[_0x421435(0x176)](_0x3b75f0=>_0x3b75f0[_0x421435(0x1bf)]===path['basename'](_0x2476ea[_0x421435(0x16b)])))try{_0x264704[_0x421435(0x121)]({'kind':_0x1394ea[_0x421435(0xf6)],'timestamp':new Date()[_0x421435(0x165)](),'test_run_uuid':_0x2b62f0,'file_name':path[_0x421435(0x1b9)](_0x2476ea[_0x421435(0x16b)]),'file_size':fs[_0x421435(0x1c2)](_0x2476ea[_0x421435(0x16b)])[_0x421435(0x184)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x46bd3e){logger[_0x421435(0x135)]('Error\x20processing\x20trace\x20file\x20'+_0x2476ea[_0x421435(0x16b)]+_0x421435(0x123)+_0x46bd3e[_0x421435(0x100)]);}});if(_0x1394ea['jhgrb'](_0x264704[_0x1bffbb(0x18d)],0x0)){const _0x13d1f8=_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x145)]]||[];_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x145)]]=[..._0x13d1f8,..._0x264704];}const _0x3e2e51=TestInfo[_0x1bffbb(0xd6)](_0x575b2f)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x252e63=_0x1394ea[_0x1bffbb(0x177)](getManualUploadLogs,_0x3e2e51,_0x415e89[_0x1bffbb(0x13f)]()[_0x1bffbb(0x1c0)](_0x575b2f)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x1394ea[_0x1bffbb(0xd9)](_0x252e63[_0x1bffbb(0x18d)],0x0)){const _0x3965f9=_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x145)]]||[];_0x34e4f0[TestFrameworkConstants['KEY_LOGS']]=[..._0x3965f9,..._0x252e63];}const _0x1b6593=_0x5616d3[_0x1bffbb(0xe4)]||[],_0xac4f73=_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x1ce)]]||{},_0x5865d5=_0x1394ea['xwlKq'](require,_0x1394ea[_0x1bffbb(0x128)]);_0x1b6593[_0x1bffbb(0x14d)](_0x57b0ec=>{const _0x252815=_0x1bffbb,{type:_0x107357}=_0x57b0ec;let _0x28dc14=_0x57b0ec[_0x252815(0x148)];if(!_0x107357)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x252815(0x167)](_0x107357))return;(_0x1394ea[_0x252815(0x162)](_0x28dc14,undefined)||_0x1394ea[_0x252815(0x162)](_0x28dc14,null)||_0x1394ea[_0x252815(0x1c1)](_0x1394ea[_0x252815(0x19e)](String,_0x28dc14)[_0x252815(0x1ab)](),''))&&(_0x28dc14=_0x1394ea[_0x252815(0x14a)]);const _0x1b7ff7=helper[_0x252815(0x1a9)](_0x1394ea[_0x252815(0x125)](String,_0x28dc14));_0x5865d5[_0x252815(0x15c)](_0xac4f73,_0x107357,_0x1b7ff7);}),_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x1ce)]]=_0xac4f73,TestInfo[_0x1bffbb(0x115)](_0x575b2f,_0x34e4f0);const _0x36bd41={};return _0x36bd41[_0x575b2f]=_0x34e4f0,_0x36bd41;}[a95_0x4697c1(0x16c)](_0x8bf5b6,_0xc5a979,_0x4c9bac){const _0xa2bbbb=a95_0x4697c1,_0x26edc9={'zhmto':function(_0x4bc52f,_0x4e81a9){return _0x4bc52f||_0x4e81a9;},'scVpq':function(_0x2389b0,_0x4c5dd6,_0x3c4e33){return _0x2389b0(_0x4c5dd6,_0x3c4e33);}};try{const {test:_0x4cadc9,result:_0x172848,step:_0x3e93c1}=_0x4c9bac;if(_0x26edc9[_0xa2bbbb(0x1cd)](!_0x4cadc9,!_0x3e93c1)||!_0x172848)return;const _0x4177ca=_0x26edc9[_0xa2bbbb(0x144)](getTestRunIdentifier,_0x4cadc9,_0x172848[_0xa2bbbb(0x1a7)]);logger[_0xa2bbbb(0x172)](_0xa2bbbb(0x192)+_0x4177ca+'\x20hookState='+_0xc5a979+_0xa2bbbb(0x18f)+_0x3e93c1['title']+'\x22');}catch(_0x39f8d8){logger[_0xa2bbbb(0x135)](_0xa2bbbb(0x17f)+util[_0xa2bbbb(0x12a)](_0x39f8d8));}}async[a95_0x4697c1(0x15b)](_0x21c31e,_0x51080e,_0x68a9fe,_0x29ae0d){const _0x57cf97=a95_0x4697c1,_0x595951={'gBqOO':function(_0x4bc805,_0x5f5273,_0x320e7b){return _0x4bc805(_0x5f5273,_0x320e7b);},'hmgFq':function(_0x405e2c,_0x40b3bd){return _0x405e2c in _0x40b3bd;},'VwmXM':function(_0x1151e7,_0x302d1a){return _0x1151e7 in _0x302d1a;},'qDYGR':function(_0x54ee5f,_0x3c9351){return _0x54ee5f(_0x3c9351);},'pdhuF':function(_0xa5d548,_0x35fdcd){return _0xa5d548===_0x35fdcd;},'SGHSw':function(_0x2d92d8){return _0x2d92d8();},'MYtYF':function(_0x34fa5d,_0x254250){return _0x34fa5d===_0x254250;},'NcRmg':function(_0x5e079f,_0x4b84d2){return _0x5e079f>_0x4b84d2;},'yoRnc':_0x57cf97(0x111),'BaNDl':_0x57cf97(0x164),'dofDq':'passed','mBdOf':function(_0x5dacec,_0x31849e){return _0x5dacec!==_0x31849e;},'tPyZz':function(_0x333775,_0x25bf86){return _0x333775+_0x25bf86;},'SswQF':_0x57cf97(0xd3)},_0x1d52b3=_0x29ae0d['test'],_0x417832=_0x29ae0d[_0x57cf97(0x151)],_0x5efd9a=_0x595951[_0x57cf97(0x18a)](getTestRunIdentifier,_0x1d52b3,_0x29ae0d['result'][_0x57cf97(0x1a7)]),_0x4006d4=_0x51080e[_0x57cf97(0x10c)]()[_0x57cf97(0x1cf)]('.')[0x1];let _0x49a5e3=_0x21c31e['getAllData']()[_0x57cf97(0x1c0)](_0x5efd9a)[TestFrameworkConstants[_0x57cf97(0x16f)]];!_0x49a5e3&&(_0x49a5e3={});!_0x595951['hmgFq'](_0x4006d4,_0x49a5e3)&&(_0x49a5e3[_0x4006d4]=[]);let _0x486e7f=_0x21c31e[_0x57cf97(0x13f)]()[_0x57cf97(0x1c0)](_0x5efd9a)[TestFrameworkConstants[_0x57cf97(0x1c6)]];!_0x486e7f&&(_0x486e7f={});!_0x595951[_0x57cf97(0x1bd)](_0x4006d4,_0x486e7f)&&(_0x486e7f[_0x4006d4]=[]);const _0x3fffd4={[TestFrameworkConstants[_0x57cf97(0x16f)]]:_0x49a5e3,[TestFrameworkConstants[_0x57cf97(0x1c6)]]:_0x486e7f},_0x2f9f7e={};_0x2f9f7e[_0x5efd9a]=_0x3fffd4;const _0x3c63db=_0x2f9f7e,_0x704204=_0x595951[_0x57cf97(0x1ae)](getPlaywrightTestFilePath,_0x1d52b3),_0xb9a767=_0x704204,_0x419049=TestInfo[_0x57cf97(0xd6)](_0x5efd9a)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x595951[_0x57cf97(0x124)](_0x68a9fe,HookState[_0x57cf97(0x1bc)])){const _0x5cb015={'key':_0x4006d4,[TestFrameworkConstants[_0x57cf97(0xd2)]]:_0x595951[_0x57cf97(0x149)](uuidv4),[TestFrameworkConstants[_0x57cf97(0x186)]]:TestFrameworkConstants[_0x57cf97(0x1d2)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x417832[_0x57cf97(0x137)],[TestFrameworkConstants[_0x57cf97(0x1d0)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x417832['title'],[TestFrameworkConstants[_0x57cf97(0x106)]]:_0x704204,[TestFrameworkConstants[_0x57cf97(0x183)]]:_0xb9a767,[TestFrameworkConstants[_0x57cf97(0x1ce)]]:_0x419049};_0x49a5e3[_0x4006d4][_0x57cf97(0x121)](_0x5cb015),_0x3c63db[_0x5efd9a][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x4006d4,logger[_0x57cf97(0x172)](_0x57cf97(0xe2)+_0x4006d4+'\x20&\x20hook\x20=\x20'+_0x5cb015+_0x57cf97(0xe6)+_0x29ae0d);}else{if(_0x595951[_0x57cf97(0xe9)](_0x68a9fe,HookState[_0x57cf97(0xda)])){const _0x1bcb7a=await _0x29ae0d[_0x57cf97(0x195)],_0x29eef1=_0x49a5e3[_0x4006d4]||[],_0x3ee17f=_0x29ae0d['step'];logger[_0x57cf97(0x172)](_0x57cf97(0xf3)+_0x29eef1+'\x20and\x20args\x20=\x20'+_0x29ae0d);if(_0x595951[_0x57cf97(0x19f)](_0x29eef1['length'],0x0)){const _0x106208=_0x29eef1[_0x57cf97(0xf8)]();if(_0x3ee17f['error']){const _0xad14ce=_0x595951[_0x57cf97(0x18a)](failureData,_0x3ee17f['error'],_0x595951[_0x57cf97(0x1c5)]);_0x106208[TestFrameworkConstants[_0x57cf97(0x1a1)]]=_0x595951[_0x57cf97(0x1ae)](getFailureType,_0x3ee17f?.[_0x57cf97(0x135)][_0x57cf97(0x100)]),_0x106208[TestFrameworkConstants[_0x57cf97(0x1ba)]]=_0x595951['qDYGR'](removeAnsiColors,_0x3ee17f?.['error'][_0x57cf97(0x100)]),_0x106208[TestFrameworkConstants[_0x57cf97(0x186)]]=_0x595951[_0x57cf97(0x179)],_0x106208[TestFrameworkConstants[_0x57cf97(0x1b0)]]=_0xad14ce;}else _0x106208[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x595951[_0x57cf97(0x140)];_0x595951[_0x57cf97(0x113)](_0x1bcb7a,TestFrameworkConstants[_0x57cf97(0x1d2)])&&(_0x106208[TestFrameworkConstants[_0x57cf97(0x186)]]=!_0x3ee17f['error']?_0x595951[_0x57cf97(0x140)]:_0x595951[_0x57cf97(0x179)]);const _0x3c943d=new Date(_0x3ee17f[_0x57cf97(0x137)]),_0x19162a=new Date(_0x595951[_0x57cf97(0x175)](_0x3c943d['getTime'](),_0x3ee17f[_0x57cf97(0x1b4)]));_0x106208[TestFrameworkConstants[_0x57cf97(0x143)]]=_0x19162a[_0x57cf97(0x165)](),_0x106208[TestFrameworkConstants[_0x57cf97(0x1ce)]]=_0x419049;const _0xa653df=_0x106208[TestFrameworkConstants[_0x57cf97(0xd2)]];await this[_0x57cf97(0x180)](_0x21c31e,_0x51080e,_0xa653df,_0x595951[_0x57cf97(0x190)],_0x29ae0d),!_0x486e7f[_0x4006d4]&&(_0x486e7f[_0x4006d4]=[]),_0x486e7f[_0x4006d4][_0x57cf97(0x121)](_0x106208),_0x3c63db[_0x5efd9a][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x4006d4;}}}return _0x3c63db;}async[a95_0x4697c1(0x180)](_0x188258,_0x5376bc,_0x12c3b4,_0x714f,_0x43039e,_0xc8f4d7){const _0x47ac1c=a95_0x4697c1,_0x27f94d={'bHAJS':function(_0x150288,_0x37d564){return _0x150288===_0x37d564;},'wccQP':_0x47ac1c(0xdf),'onATg':function(_0xf2cb74,_0x49440d,_0x518765){return _0xf2cb74(_0x49440d,_0x518765);},'BRjES':_0x47ac1c(0xf2),'abSNl':function(_0x45ddf5,_0x10ce0c,_0x5dbde7,_0x2ec8a5){return _0x45ddf5(_0x10ce0c,_0x5dbde7,_0x2ec8a5);},'aczrr':function(_0x232841,_0x3b0199,_0x2f3dab){return _0x232841(_0x3b0199,_0x2f3dab);},'vdrJv':function(_0x4a78d8,_0x9ca0d9,_0x1dec91){return _0x4a78d8(_0x9ca0d9,_0x1dec91);},'zkZNY':function(_0x542008,_0x17b8dd){return _0x542008/_0x17b8dd;},'bBljY':function(_0x39cc86,_0xdc884a){return _0x39cc86<_0xdc884a;},'ZPQGw':function(_0x4ac34d,_0x3dcde1){return _0x4ac34d*_0x3dcde1;},'NAInG':function(_0x43d6c5,_0x2c1c85){return _0x43d6c5+_0x2c1c85;},'bKgIe':function(_0x32e971,_0x44bea4,_0x205a47,_0x4a9461,_0x47a4a9){return _0x32e971(_0x44bea4,_0x205a47,_0x4a9461,_0x47a4a9);},'kwMwB':function(_0x405544,_0x1d5d43){return _0x405544+_0x1d5d43;},'CpzFQ':function(_0x3c215a,_0x1e61c5){return _0x3c215a+_0x1e61c5;},'aYBGl':function(_0x190de5,_0xac7703,_0x5aade6,_0x49aae1){return _0x190de5(_0xac7703,_0x5aade6,_0x49aae1);},'xArBt':_0x47ac1c(0xd3),'EvztA':function(_0x3b2b34,_0xbc3437,_0x22107f,_0x211964,_0x568535){return _0x3b2b34(_0xbc3437,_0x22107f,_0x211964,_0x568535);}};try{if(_0x27f94d['bHAJS'](_0x714f,_0x27f94d['wccQP'])){const _0x475f4e=await _0x43039e[_0x47ac1c(0x195)],_0x32c70c=_0x27f94d[_0x47ac1c(0x160)](getTestRunIdentifier,_0x43039e[_0x47ac1c(0xdf)],_0x43039e[_0x47ac1c(0x195)][_0x47ac1c(0x1a7)]),_0x2063d0=_0x43039e[_0x47ac1c(0xdf)];logger[_0x47ac1c(0x172)](_0x47ac1c(0x19b)+_0x32c70c+_0x47ac1c(0x1b3)+util[_0x47ac1c(0x157)](_0x475f4e));const _0x525b29=_0x188258[_0x47ac1c(0x13f)]()[_0x47ac1c(0x1c0)](_0x32c70c)[TestFrameworkConstants[_0x47ac1c(0x185)]];await _0x27f94d['onATg'](sendTraceZip,_0x475f4e,_0x525b29);const _0x1be6c2=TestInfo['getTestDetails'](_0x32c70c)[_0x27f94d[_0x47ac1c(0x11e)]],_0x19dd34={};if(_0x1be6c2){!_0x475f4e[_0x47ac1c(0xf2)]&&(_0x475f4e[_0x47ac1c(0xf2)]=[]);_0x19dd34['attachments']=_0x475f4e[_0x47ac1c(0xf2)][_0x47ac1c(0x1a4)](_0x1be6c2||[]);const _0x300d98=TestInfo[_0x47ac1c(0xd6)](_0x32c70c);delete _0x300d98[_0x27f94d[_0x47ac1c(0x11e)]],TestInfo[_0x47ac1c(0x115)](_0x32c70c,_0x300d98);}const _0x510ee3=_0xc8f4d7||_0x27f94d['abSNl'](getStepsAndLogs,_0x475f4e[_0x47ac1c(0x1a5)],_0x188258[_0x47ac1c(0x13f)]()[_0x47ac1c(0x1c0)](_0x32c70c)[TestFrameworkConstants[_0x47ac1c(0x185)]],_0x27f94d[_0x47ac1c(0x168)])[_0x47ac1c(0xf4)],_0x341e76=_0x27f94d[_0x47ac1c(0x14e)](getScreenshots,_0x19dd34,_0x188258[_0x47ac1c(0x13f)]()[_0x47ac1c(0x1c0)](_0x32c70c)[TestFrameworkConstants[_0x47ac1c(0x185)]]),_0x3b2a6b=_0x27f94d['onATg'](getVideos,_0x475f4e,_0x188258[_0x47ac1c(0x13f)]()['get'](_0x32c70c)[TestFrameworkConstants[_0x47ac1c(0x185)]]),{_:_0x1f1f3f,logs:_0x976444}=_0x27f94d[_0x47ac1c(0x160)](getFailureData,_0x475f4e[_0x47ac1c(0x102)],{'test_run_uuid':_0x188258[_0x47ac1c(0x13f)]()['get'](_0x32c70c)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x4debf5=TestInfo['getTestDetails'](_0x32c70c)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1766a2=_0x27f94d[_0x47ac1c(0x1a3)](getMediaArtifactsLogs,_0x4debf5,_0x188258[_0x47ac1c(0x13f)]()[_0x47ac1c(0x1c0)](_0x32c70c)[TestFrameworkConstants[_0x47ac1c(0x185)]]),_0x3e8cef=_0x188258[_0x47ac1c(0x13f)]()[_0x47ac1c(0x1c0)](_0x32c70c),{[TestFrameworkConstants[_0x47ac1c(0xe5)]]:_0x5a359d='',[TestFrameworkConstants[_0x47ac1c(0x11c)]]:_0x404fff=''}=_0x3e8cef,_0x5a1df1=(_0x510ee3||[])[_0x47ac1c(0x1a4)](_0x341e76||[])[_0x47ac1c(0x1a4)](_0x976444||[])[_0x47ac1c(0x1a4)](_0x3b2a6b||[])[_0x47ac1c(0x1a4)](_0x1766a2||[]),_0x260cff=0x28,_0x242d1a=Math['ceil'](_0x27f94d[_0x47ac1c(0xef)](_0x5a1df1[_0x47ac1c(0x18d)],_0x260cff));for(let _0x5c43eb=0x0;_0x27f94d[_0x47ac1c(0x1be)](_0x5c43eb,_0x242d1a);_0x5c43eb++){const _0xf95c2e=_0x27f94d[_0x47ac1c(0x16a)](_0x5c43eb,_0x260cff),_0x4d3c93=_0x27f94d[_0x47ac1c(0xdb)](_0xf95c2e,_0x260cff),_0x5def47=_0x5a1df1[_0x47ac1c(0x10a)](_0xf95c2e,_0x4d3c93),_0x28e777={'platformIndex':global?.[_0x47ac1c(0xf7)]??0x0,'logs':_0x5def47,'testFrameworkName':_0x5a359d,'testFrameworkVersion':_0x404fff,'testFrameworkState':_0x5376bc[_0x47ac1c(0x10c)]()[_0x47ac1c(0x1cf)]('.')[0x1]};_0x27f94d[_0x47ac1c(0x114)](updatePayloadForTraceLogs,_0x28e777,_0x43039e,_0x32c70c,_0x188258),logger[_0x47ac1c(0x172)](_0x47ac1c(0x11b)+_0x32c70c+'\x20batch\x20'+_0x27f94d[_0x47ac1c(0x13a)](_0x5c43eb,0x1)+'/'+_0x242d1a+_0x47ac1c(0x118)+util['inspect'](_0x28e777));const _0x4a0c90=await GrpcClient['getInstance']()[_0x47ac1c(0x1cc)](_0x28e777);logger[_0x47ac1c(0x172)](_0x47ac1c(0x11b)+_0x32c70c+_0x47ac1c(0x166)+_0x27f94d[_0x47ac1c(0xdc)](_0x5c43eb,0x1)+'/'+_0x242d1a+_0x47ac1c(0x1c3)+util[_0x47ac1c(0x157)](_0x4a0c90));}}else{const {logs:_0x5724ec}=_0x27f94d[_0x47ac1c(0xee)](getStepsAndLogs,_0x43039e['step'][_0x47ac1c(0x1a5)],_0x12c3b4,_0x27f94d[_0x47ac1c(0x107)]),_0x381191=_0x27f94d[_0x47ac1c(0x160)](getTestRunIdentifier,_0x43039e[_0x47ac1c(0xdf)],_0x43039e[_0x47ac1c(0x195)]['retry']);logger[_0x47ac1c(0x172)](_0x47ac1c(0x19b)+_0x381191);const _0xcde7b5=_0x188258[_0x47ac1c(0x13f)]()['get'](_0x381191),{[TestFrameworkConstants[_0x47ac1c(0xe5)]]:_0x56d571='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x40e5b3=''}=_0xcde7b5,_0xf11b91={'platformIndex':'0','logs':_0x5724ec,'testFrameworkName':_0x56d571,'testFrameworkVersion':_0x40e5b3,'testFrameworkState':_0x5376bc['toString']()[_0x47ac1c(0x1cf)]('.')[0x1]};_0x27f94d[_0x47ac1c(0x1d5)](updatePayloadForTraceLogs,_0xf11b91,_0x43039e,_0x381191,_0x188258),logger[_0x47ac1c(0x172)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x381191+_0x47ac1c(0x118)+util['inspect'](_0xf11b91));const _0x317224=await GrpcClient[_0x47ac1c(0xd5)]()[_0x47ac1c(0x1cc)](_0xf11b91);}}catch(_0x548624){logger['error'](_0x47ac1c(0x161)+util[_0x47ac1c(0x12a)](_0x548624));}}[a95_0x4697c1(0x17a)](_0x464bbb){const _0x56f1b5=a95_0x4697c1,_0x4cbe15={'woBan':function(_0x1f23f4,_0x218812,_0xdccc0b){return _0x1f23f4(_0x218812,_0xdccc0b);},'uAaBk':function(_0xbe74a9,_0x322be0){return _0xbe74a9<_0x322be0;},'WfAhh':_0x56f1b5(0x156)};try{const _0x5c0247=_0x464bbb['test']['id'],_0x405640=_0x4cbe15[_0x56f1b5(0x198)](getTestRunIdentifier,_0x464bbb[_0x56f1b5(0xdf)],_0x464bbb[_0x56f1b5(0x195)][_0x56f1b5(0x1a7)]),_0x3f42f3=_0x464bbb[_0x56f1b5(0x150)],_0x106dac=_0x3f42f3['getContext'](),_0xbc7667=_0x3f42f3[_0x56f1b5(0x13f)]()[_0x56f1b5(0x1c0)](_0x405640);logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x5c0247);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xa42152='',[TestFrameworkConstants[_0x56f1b5(0x11c)]]:_0x27e944='',[TestFrameworkConstants[_0x56f1b5(0x1af)]]:_0x692d3f='',[TestFrameworkConstants[_0x56f1b5(0x182)]]:_0x4c8409=''}=_0xbc7667,_0x442f5f=_0x3f42f3['getCurrentTestState']()[_0x56f1b5(0x10c)]()[_0x56f1b5(0x1cf)]('.')[0x1],_0x30583a=_0x3f42f3[_0x56f1b5(0xd7)]()['toString']()['split']('.')[0x1],_0x19d1ba=_0x4cbe15['uAaBk'](_0x464bbb?.['result']?.['parallelIndex']??0x0,0x0)?0x0:_0x464bbb?.[_0x56f1b5(0x195)]?.[_0x56f1b5(0x14b)]??0x0,_0x554791=_0x3f42f3[_0x56f1b5(0x170)](),_0x318ae7=Buffer[_0x56f1b5(0xe7)](JSON[_0x56f1b5(0x12f)](_0xbc7667))[_0x56f1b5(0x10c)](_0x4cbe15[_0x56f1b5(0x1b8)]),_0x4134c0={'hash':_0x106dac[_0x56f1b5(0x1cb)](),'threadId':_0x106dac['getThreadId']()[_0x56f1b5(0x10c)](),'processId':_0x106dac[_0x56f1b5(0x1ac)]()['toString']()},_0x1a771f={};_0x1a771f['platformIndex']=_0x19d1ba,_0x1a771f[_0x56f1b5(0x112)]=_0xa42152,_0x1a771f[_0x56f1b5(0x126)]=_0x27e944,_0x1a771f[_0x56f1b5(0x129)]=_0x442f5f,_0x1a771f[_0x56f1b5(0x191)]=_0x30583a,_0x1a771f[_0x56f1b5(0x103)]=_0x692d3f,_0x1a771f['endedAt']=_0x4c8409,_0x1a771f[_0x56f1b5(0x120)]=_0x554791,_0x1a771f[_0x56f1b5(0x11a)]=_0x318ae7,_0x1a771f['executionContext']=_0x4134c0;const _0x46ebe2=_0x1a771f;return logger[_0x56f1b5(0x172)](_0x56f1b5(0xdd)+_0x5c0247+_0x56f1b5(0x169)+_0x442f5f+_0x56f1b5(0x1b1)+_0x30583a),_0x46ebe2;}catch(_0x143880){return logger[_0x56f1b5(0x135)](_0x56f1b5(0x138)+util[_0x56f1b5(0x12a)](_0x143880)),{};}}}module[a95_0x4697c1(0x147)]=PlaywrightTestFramework;
|
|
1
|
+
const a95_0x255bc1=a95_0x442a;(function(_0x530e58,_0x447908){const _0x278aae=a95_0x442a,_0x67c25b=_0x530e58();while(!![]){try{const _0x4ce4df=-parseInt(_0x278aae(0x12b))/0x1*(-parseInt(_0x278aae(0x1b8))/0x2)+parseInt(_0x278aae(0x1db))/0x3+parseInt(_0x278aae(0xe7))/0x4*(parseInt(_0x278aae(0x180))/0x5)+-parseInt(_0x278aae(0x1c9))/0x6+-parseInt(_0x278aae(0xfb))/0x7*(-parseInt(_0x278aae(0x138))/0x8)+parseInt(_0x278aae(0x133))/0x9+parseInt(_0x278aae(0x15a))/0xa*(-parseInt(_0x278aae(0x139))/0xb);if(_0x4ce4df===_0x447908)break;else _0x67c25b['push'](_0x67c25b['shift']());}catch(_0x2a4576){_0x67c25b['push'](_0x67c25b['shift']());}}}(a95_0x54a6,0x90dbb));function a95_0x54a6(){const _0x53ce60=['results','OaaOu','steps','4LLxbTi','../instances/testFrameworkInstance.js','failed','getProcessId','KEY_HOOK_NAME','../TestInfo.js','testFrameworkVersion','trackEvent','step','../customTagManager','parsePlaywrightTestResult:\x20extracted\x20','wcukp','TEST_SCREENSHOT','DtbFi','WxicU','rtJXf','No\x20reason\x20provided','browserstackPlatformIndex','passed','Vozgj','973gaEsvT','miNQu','KEY_TEST_RESULT','qUOsO','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','slow','ogndZ','parsePlaywrightTestResult:\x20testId=','exports','MIkJC','KEY_LOGS','from','filePath','getTrackedInstance','status','../state/hookState.js','PRE','KEY_HOOK_FAILURE_REASON','getTestUUID','startedAt','../../playwright/reporter/pwUtils','ZldXc','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_FILE_PATH','\x20from\x20TestDetails:\x20','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','trackPlaywrightInstance','expectedStatus','logs','test','GLVKa','setTrackedInstance','LyYYs','btXcl','hook','getRef','keyword','getInstance','VZkSa','KEY_TEST_CODE','KEY_HOOKS_FINISHED','EzeAS','KEY_TEST_FRAMEWORK_NAME','info','KEY_TEST_UUID','./constants/testFrameworkConstants.js','xaelk','ZuaIK','382217YWQfPt','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','\x20instance=','vsWnV','../../utils/constants','ceil','BKETs','KEY_HOOK_ID','9072018ZocxpF','getTestFrameworks','timedOut','trackStepEvent','GDxYe','21512rHlfpP','22445511aAEKVX','SaEVt','failure','parsePlaywrightTest','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','\x20&\x20hook\x20=\x20','skipped','KEY_TEST_LOGS','startTime','trackHookEvent','Expected\x20to\x20fail,\x20but\x20passed.','UBwLi','nfzuh','obcEV','cUitb','sendLogCreatedEvent','uuid','UGoeK','trackStepEvent:\x20testId=','KEY_TEST_META','getTestIdentifierFromTestInfo','KEY_TEST_STARTED_AT','\x20hookState=','get','inspect','../cliUtils.js','Error\x20in\x20sendLogCreatedEvent:\x20','filter','format','description','\x20\x20and\x20args\x20=\x20','fail','message','10uCnqDO','../state/testFrameworkState.js','size','KEY_TEST_RETRY_OF','dQZEr','started_at','SKcYl','getTestFrameworksVersions','length','attachments','err','result','\x20hookState:\x20','base64','logCreatedEvent','KEY_TEST_ENDED_AT','path','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','vzBCE','qBuup','KnnHJ','resolveInstance','has','rTEms','MAX_TOP_LEVEL_STEPS','ZlUmX','matchHookRegex','\x20steps\x20for\x20testId=','mergeIntoTags','KEY_HOOK_LAST_STARTED','stringify','setTestDetails','set','KEY_CUSTOM_TAGS','\x20batch\x20','eventJson','cNRkL','trim','2373295bBPRJU','parsePlaywrightTestResult','Osssz','forEach','oCMvE','error','WfAew','getCurrentHookState','KEY_TEST_LOCATION','ouKrB','getThreadId','Error\x20processing\x20trace\x20file\x20','platformIndex','POST','\x20payload=','hWDQw','KEY_HOOK_LOGS','../../../../src/helpers/helper','xjYfi','PlaywrightTestFramework','bVngx','PRcau','\x20testState:\x20','file_name','MGiNn','Error\x20in\x20createTestFrameworkEventPayload:\x20','fyxVO','tlDXN','RCmJK','parseCommaSeparatedValues','getTestDetails','basename','ErsKJ','zXnbp','failure_type','AAJkw','\x20target=','TEST_STEP','NONE','trackStepEvent:\x20exception=','sendLogCreatedEvent:\x20testId=','DEFAULT_HOOK_RESULT','retry','KEY_HOOK_RESULT','KEY_HOOK_LAST_FINISHED','DEFAULT_TEST_RESULT','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','push','toISOString','addMultipleEntries','LGhtc','rZzdK','nwfje','createTestFrameworkEventPayload','nctSw','debug','2ngvEJm','../../../helpers/test-observability/utils','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','htpEj','KEY_HOOKS_STARTED','BSAeY','./testFramework','getTime','getTraceFilePaths','KEY_TEST_SCOPE','getAllData','slice','KEY_HOOK_FAILURE','ImOzQ','errors','../../../helpers/classLogger.js','stack','1736634WftHxP',',\x20state=','getId','YVhfM','KEY_TEST_FRAMEWORK_VERSION','INIT_TEST','concat','pgdgB','VPnzp','ZxZFR','KEY_TEST_SCOPES','text','toString','runHooks','createContext','KEY_TEST_ATTACHMENTS','pop','Hook\x20List\x20in\x20Post\x20','2053890apKXYV','split','lllkO','jajVF','hookState','pLxPX','testFrameworkState','../../../helpers/helper.js','DwcZy','PZuGL','\x20response=','KEY_AUTOMATE_SESSION_NAME','title','parallelIndex','duration'];a95_0x54a6=function(){return _0x53ce60;};return a95_0x54a6();}const TestFramework=require(a95_0x255bc1(0x1be)),TestFrameworkState=require(a95_0x255bc1(0x15b)),HookState=require(a95_0x255bc1(0x10a)),{createClassLogger}=require(a95_0x255bc1(0x1c7)),TestFrameworkInstance=require(a95_0x255bc1(0xe8)),CLIUtils=require(a95_0x255bc1(0x152)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a95_0x255bc1(0x128)),logger=createClassLogger(a95_0x255bc1(0x193)),{v4:uuidv4}=require(a95_0x255bc1(0x149)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x255bc1(0x1e2)),TestInfo=require(a95_0x255bc1(0xec)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a95_0x255bc1(0x1b9)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x255bc1(0x10f)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x255bc1(0x10f)),path=require(a95_0x255bc1(0x16a)),fs=require('fs'),helper=require(a95_0x255bc1(0x191)),{PLAYWRIGHT_TRACE_LOGS}=require(a95_0x255bc1(0x12f)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set(['skip','fixme',a95_0x255bc1(0x100),a95_0x255bc1(0x158)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x18166b,_0x44e229,_0x33ec20){super(_0x18166b,_0x44e229,_0x33ec20);}async['trackEvent'](_0xd2b5cb,_0x43321e,_0x5022c2={}){const _0x4230eb=a95_0x255bc1,_0x3af8b1={'ZuaIK':function(_0x46fc17,_0x4a3df0){return _0x46fc17===_0x4a3df0;},'VPnzp':function(_0x4d1e34,_0x31156e){return _0x4d1e34===_0x31156e;},'UofpQ':function(_0x32710f,_0x4d1ca5){return _0x32710f===_0x4d1ca5;},'gvXGV':function(_0x3ce230,_0x5d4cb3,_0x403e4e){return _0x3ce230(_0x5d4cb3,_0x403e4e);},'cNRkL':function(_0x1c5d01,_0x483f59,_0x2398d5){return _0x1c5d01(_0x483f59,_0x2398d5);},'xjYfi':function(_0x3758ca,_0x3e0c20,_0x3be183,_0x1f27c0){return _0x3758ca(_0x3e0c20,_0x3be183,_0x1f27c0);},'rZzdK':_0x4230eb(0x118),'SaEVt':_0x4230eb(0x1ba)};super[_0x4230eb(0xee)](_0xd2b5cb,_0x43321e,_0x5022c2);if(_0x3af8b1[_0x4230eb(0x12a)](_0xd2b5cb,TestFrameworkState[_0x4230eb(0xf3)])){const _0x2dda89=TestInfo[_0x4230eb(0x14d)](_0x5022c2[_0x4230eb(0x118)],_0x5022c2[_0x4230eb(0x118)][_0x4230eb(0x1aa)]);TestInfo[_0x4230eb(0x179)](_0x2dda89,_0x5022c2[_0x4230eb(0x165)],!![]);}if(_0x3af8b1[_0x4230eb(0x12a)](_0xd2b5cb,TestFrameworkState[_0x4230eb(0x1a5)])){this[_0x4230eb(0x136)](_0xd2b5cb,_0x43321e,_0x5022c2);return;}const _0x580326=this[_0x4230eb(0x16f)](_0xd2b5cb,_0x43321e,_0x5022c2);if(!_0x580326)return;logger[_0x4230eb(0x1b7)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0xd2b5cb+_0x4230eb(0x14f)+_0x43321e+'\x20instanceId='+_0x580326[_0x4230eb(0x11e)]());try{if(_0x3af8b1[_0x4230eb(0x1d1)](_0x43321e,HookState[_0x4230eb(0x10b)])&&_0x3af8b1['UofpQ'](_0xd2b5cb,TestFrameworkState['TEST'])){const _0x2cc482=_0x5022c2[_0x4230eb(0x118)];logger[_0x4230eb(0x1b7)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x2cc482['id']+'}');const _0xeaa34a=TestInfo[_0x4230eb(0x10d)](_0x3af8b1['gvXGV'](getTestRunIdentifier,_0x2cc482,_0x5022c2[_0x4230eb(0x165)]['retry']));_0x580326[_0x4230eb(0x1b1)](this[_0x4230eb(0x13c)](_0xeaa34a,_0x2cc482,_0x5022c2[_0x4230eb(0x165)])),logger[_0x4230eb(0x1b7)](_0x4230eb(0x1ae)+_0x2cc482['id']+',\x20testFrameworkState='+_0xd2b5cb+'\x20testHookState='+_0x43321e+_0x4230eb(0x12d)+_0x580326[_0x4230eb(0x11e)]());}if(_0x3af8b1['UofpQ'](_0x43321e,HookState[_0x4230eb(0x18d)])&&_0x3af8b1['VPnzp'](_0xd2b5cb,TestFrameworkState['TEST'])){const _0x33bb74=_0x5022c2[_0x4230eb(0x118)],_0x393ce8=_0x5022c2[_0x4230eb(0x165)];logger[_0x4230eb(0x1b7)](_0x4230eb(0x13d)+_0x33bb74['id']);const _0x205dc4=_0x3af8b1[_0x4230eb(0x17e)](getTestRunIdentifier,_0x33bb74,_0x393ce8[_0x4230eb(0x1aa)]),_0x4808d5=_0x580326[_0x4230eb(0x1c2)]()[_0x4230eb(0x150)](_0x205dc4)[TestFrameworkConstants[_0x4230eb(0x127)]],{steps:_0x47dbc9,logs:_0xcdad3e}=_0x3af8b1[_0x4230eb(0x192)](getStepsAndLogs,_0x393ce8[_0x4230eb(0xe6)],_0x4808d5,_0x3af8b1[_0x4230eb(0x1b3)]);_0x580326[_0x4230eb(0x1b1)](this['parsePlaywrightTestResult'](_0x33bb74['id'],_0x393ce8,_0x33bb74,_0x47dbc9)),await this[_0x4230eb(0x148)](_0x580326,_0xd2b5cb,_0x43321e,_0x3af8b1[_0x4230eb(0x1b3)],_0x5022c2,_0xcdad3e);}if(CLIUtils[_0x4230eb(0x174)](_0xd2b5cb[_0x4230eb(0x1d5)]()[_0x4230eb(0x1dc)]('.')[0x1])){const _0xc319d1=await this[_0x4230eb(0x142)](_0x580326,_0xd2b5cb,_0x43321e,_0x5022c2);_0x580326[_0x4230eb(0x1b1)](_0xc319d1);}}catch(_0x47162e){logger[_0x4230eb(0x185)](util[_0x4230eb(0x155)](_0x3af8b1[_0x4230eb(0x13a)],_0xd2b5cb,_0x43321e,_0x5022c2[_0x4230eb(0x162)],_0x47162e));}_0x5022c2['instance']=_0x580326,await this[_0x4230eb(0x1d6)](_0x580326,_0xd2b5cb,_0x43321e,_0x5022c2);}[a95_0x255bc1(0x16f)](_0x2b1451,_0x52fed9,_0x146057={}){const _0x4075d0=a95_0x255bc1,_0x46c9c1={};_0x46c9c1['rTEms']=function(_0x2203b4,_0x2fc5d6){return _0x2203b4===_0x2fc5d6;};const _0x47c2b0=_0x46c9c1;let _0x42e166=null;return(_0x47c2b0[_0x4075d0(0x171)](_0x2b1451,TestFrameworkState[_0x4075d0(0x1ce)])||_0x47c2b0[_0x4075d0(0x171)](_0x2b1451,TestFrameworkState['NONE']))&&this[_0x4075d0(0x115)](_0x2b1451,_0x146057),_0x42e166=TestFramework[_0x4075d0(0x108)](),_0x42e166;}['trackPlaywrightInstance'](_0x5e5593,_0x3b86c9){const _0x6602d6=a95_0x255bc1,_0x32de26=CLIUtils['getCurrentInstanceName'](),_0x5e79f2=TrackedInstance[_0x6602d6(0x1d7)](_0x32de26);let _0x35e01c=null;logger['info'](_0x6602d6(0xff)+_0x32de26+_0x6602d6(0x1ca)+_0x5e5593),_0x35e01c=new TestFrameworkInstance(_0x5e79f2,this[_0x6602d6(0x134)](),this[_0x6602d6(0x161)](),_0x5e5593,HookState[_0x6602d6(0x1a6)]),TestFramework[_0x6602d6(0x11a)](_0x5e79f2,_0x35e01c),logger[_0x6602d6(0x126)](_0x6602d6(0x114)+_0x5e79f2[_0x6602d6(0x1cb)]()+_0x6602d6(0x1a4)+_0x32de26);}['parsePlaywrightTest'](_0x44a95,_0x48e6a7,_0x28c6d6){const _0x46907d=a95_0x255bc1,_0x4c87b4={'nwfje':function(_0x4fdf14,_0x579cc0){return _0x4fdf14(_0x579cc0);},'LGhtc':function(_0x4d6382,_0x5ac5dc){return _0x4d6382(_0x5ac5dc);},'htpEj':function(_0x462d88,_0x2d6f87){return _0x462d88(_0x2d6f87);},'miNQu':function(_0x1efaa5,_0x1e0d7d,_0x46fa9a){return _0x1efaa5(_0x1e0d7d,_0x46fa9a);}},_0x484d6d=_0x4c87b4['nwfje'](getPlaywrightTestId,_0x48e6a7),_0x45a0cd=_0x4c87b4['nwfje'](getPlaywrightTestTitle,_0x48e6a7),_0x458eaa=_0x4c87b4[_0x46907d(0x1b4)](getTestTags,_0x48e6a7),_0x20f490=_0x4c87b4[_0x46907d(0x1b4)](getPlaywrightTestCode,_0x48e6a7),_0x169116=_0x4c87b4[_0x46907d(0x1b2)](getPlaywrightTestFilePath,_0x48e6a7),_0x416c6a=_0x169116,_0x284963=_0x4c87b4[_0x46907d(0x1b4)](getPlaywrightTestScope,_0x48e6a7),_0x2be684=_0x4c87b4[_0x46907d(0x1b2)](getPlaywrightTestScopes,_0x48e6a7),_0x202e52=_0x4c87b4[_0x46907d(0x1bb)](getPlaywrightSessionName,_0x48e6a7),_0x19acd2=this[_0x46907d(0x134)]()[0x0],_0x41eb7b=_0x4c87b4[_0x46907d(0xfc)](getTestRunIdentifier,_0x48e6a7,_0x28c6d6[_0x46907d(0x1aa)]),_0x7f1dd8={[TestFrameworkConstants[_0x46907d(0x125)]]:_0x19acd2,[TestFrameworkConstants[_0x46907d(0x1cd)]]:this[_0x46907d(0x161)]()[_0x19acd2],[TestFrameworkConstants[_0x46907d(0x140)]]:[],[TestFrameworkConstants[_0x46907d(0x123)]]:{},[TestFrameworkConstants[_0x46907d(0x1bc)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x44a95,[TestFrameworkConstants[_0x46907d(0xfd)]]:TestFrameworkConstants[_0x46907d(0x1ad)],[TestFrameworkConstants[_0x46907d(0xe0)]]:_0x202e52,[TestFrameworkConstants[_0x46907d(0x112)]]:_0x169116,[TestFrameworkConstants['KEY_TEST_ID']]:_0x484d6d,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x45a0cd,[TestFrameworkConstants[_0x46907d(0x188)]]:_0x416c6a,[TestFrameworkConstants[_0x46907d(0x122)]]:_0x20f490,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x458eaa,[TestFrameworkConstants[_0x46907d(0x14e)]]:_0x48e6a7[_0x46907d(0xe4)][0x0][_0x46907d(0x141)],[TestFrameworkConstants[_0x46907d(0x1c1)]]:_0x284963,[TestFrameworkConstants[_0x46907d(0x1d3)]]:_0x2be684,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x4c87b4['htpEj'](getPlaywrightCustomRerunParam,_0x48e6a7)};TestInfo[_0x46907d(0x179)](_0x41eb7b,_0x7f1dd8);const _0x1e7408={};return _0x1e7408[_0x41eb7b]=_0x7f1dd8,_0x1e7408;}[a95_0x255bc1(0x181)](_0x4e6e4c,_0xebb924,_0x496d68,_0x426211){const _0x57a7e1=a95_0x255bc1,_0x57e667={'hWDQw':function(_0x341b8f,_0x561300){return _0x341b8f(_0x561300);},'btXcl':'TEST_ATTACHMENT','WfAew':function(_0x2b9928,_0x771447){return _0x2b9928===_0x771447;},'wcukp':function(_0x15a59a,_0xc297e6){return _0x15a59a===_0xc297e6;},'UBwLi':_0x57a7e1(0xf7),'qUOsO':function(_0x5eb293,_0xa9c552,_0x2ea7d1){return _0x5eb293(_0xa9c552,_0x2ea7d1);},'lllkO':function(_0x276985,_0x14c9ef){return _0x276985===_0x14c9ef;},'oCMvE':function(_0x5edffd,_0x1cd2f4){return _0x5edffd===_0x1cd2f4;},'MGiNn':_0x57a7e1(0x13f),'EzeAS':_0x57a7e1(0xf9),'rtJXf':function(_0x5da07f,_0x1d0e32){return _0x5da07f===_0x1d0e32;},'tlDXN':_0x57a7e1(0xe9),'PRcau':_0x57a7e1(0x135),'GDxYe':_0x57a7e1(0x143),'mqAQG':function(_0x51bf64,_0x5ece25){return _0x51bf64||_0x5ece25;},'DwcZy':function(_0x34c19b,_0x3978b8){return _0x34c19b(_0x3978b8);},'vsWnV':function(_0x5f3d6f,_0x5c4e97){return _0x5f3d6f(_0x5c4e97);},'PZuGL':function(_0x55bf11,_0x1a9140){return _0x55bf11>_0x1a9140;},'ZlUmX':function(_0x2fea76,_0x406697,_0x3fd085){return _0x2fea76(_0x406697,_0x3fd085);},'Osssz':function(_0x30678b,_0x573a09){return _0x30678b-_0x573a09;},'qBuup':function(_0x60909,_0x5c6310,_0x458e97,_0x170461){return _0x60909(_0x5c6310,_0x458e97,_0x170461);},'DtbFi':_0x57a7e1(0x118),'xaelk':function(_0x307a7d,_0x2aa346){return _0x307a7d>=_0x2aa346;},'ouKrB':function(_0x3bf8a3,_0x30fe96){return _0x3bf8a3+_0x30fe96;},'zXnbp':_0x57a7e1(0x16a),'jajVF':function(_0x58886b,_0xc3994b){return _0x58886b(_0xc3994b);},'BSAeY':function(_0x2d2825,_0x2f3036,_0xdb45a6){return _0x2d2825(_0x2f3036,_0xdb45a6);},'FSHkD':_0x57a7e1(0xf0)};logger[_0x57a7e1(0x1b7)](_0x57a7e1(0x102)+_0x4e6e4c);const _0x4834a5=_0x57e667[_0x57a7e1(0xfe)](getTestRunIdentifier,_0x496d68,_0xebb924['retry']),_0x566586=new Date(),_0x1225ff=_0xebb924['status'],_0x536327=TestInfo[_0x57a7e1(0x19e)](_0x4834a5)[TestFrameworkConstants[_0x57a7e1(0x17b)]]||{};let _0x2ee6db=_0x1225ff;if(_0x57e667[_0x57a7e1(0x1dd)](_0xebb924[_0x57a7e1(0x109)],_0x496d68[_0x57a7e1(0x116)]))_0x2ee6db=_0x57e667[_0x57a7e1(0x184)](_0xebb924[_0x57a7e1(0x109)],_0x57e667[_0x57a7e1(0x198)])?_0x57e667[_0x57a7e1(0x198)]:_0x57e667[_0x57a7e1(0x124)];else{(_0x57e667[_0x57a7e1(0xf2)](_0x2ee6db,_0x57e667[_0x57a7e1(0x124)])||_0x57e667[_0x57a7e1(0xf6)](_0x2ee6db,_0x57e667[_0x57a7e1(0x19b)])||_0x57e667[_0x57a7e1(0x186)](_0x2ee6db,_0x57e667[_0x57a7e1(0x195)]))&&(_0x2ee6db=_0x57e667[_0x57a7e1(0x19b)]);if(_0x57e667['wcukp'](_0xebb924[_0x57a7e1(0x109)],_0x57e667['EzeAS'])&&_0x57e667[_0x57a7e1(0x184)](_0x496d68[_0x57a7e1(0x116)],_0x57e667['tlDXN'])){const _0x3dcf89={};_0x3dcf89[_0x57a7e1(0x159)]=_0x57e667[_0x57a7e1(0x137)],_0x3dcf89[_0x57a7e1(0x1c8)]=_0x57e667[_0x57a7e1(0x137)],_0xebb924[_0x57a7e1(0x185)]=_0x3dcf89,_0xebb924['errors']=[_0xebb924[_0x57a7e1(0x185)]];}}const {failureData:_0x2b2518,logs:_0x54598c}=_0x57e667[_0x57a7e1(0xfe)](getFailureData,_0xebb924?.[_0x57a7e1(0x1c6)],{}),_0x288733={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x57e667['mqAQG'](_0x2b2518,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0xebb924?.[_0x57a7e1(0x185)]&&_0x57e667[_0x57a7e1(0x1e3)](getFailureType,_0xebb924['error'][_0x57a7e1(0x159)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0xebb924?.[_0x57a7e1(0x185)]&&_0x57e667[_0x57a7e1(0x12e)](removeAnsiColors,_0xebb924[_0x57a7e1(0x185)][_0x57a7e1(0x159)]),[TestFrameworkConstants[_0x57a7e1(0x105)]]:[],[TestFrameworkConstants[_0x57a7e1(0xfd)]]:_0x2ee6db,[TestFrameworkConstants[_0x57a7e1(0x169)]]:_0x566586[_0x57a7e1(0x1b0)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x57a7e1(0x17b)]]:_0x536327};if(_0xebb924&&_0x57e667[_0x57a7e1(0x1e4)](_0xebb924[_0x57a7e1(0x1aa)],0x0)){const _0x2351f9=TestInfo[_0x57a7e1(0x10d)](_0x57e667[_0x57a7e1(0x173)](getTestRunIdentifier,_0x496d68,_0x57e667[_0x57a7e1(0x182)](_0xebb924[_0x57a7e1(0x1aa)],0x1)));_0x288733[TestFrameworkConstants[_0x57a7e1(0x15d)]]=_0x2351f9;}const _0x371229={};_0x371229['test']=_0x496d68;const _0x2fdc0e=this[_0x57a7e1(0x16f)](TestFrameworkState['TEST'],HookState[_0x57a7e1(0x18d)],_0x371229),_0x219e75=_0x2fdc0e[_0x57a7e1(0x1c2)]()['get'](_0x4834a5)[TestFrameworkConstants[_0x57a7e1(0x127)]],_0x575a86=_0x426211||_0x57e667[_0x57a7e1(0x16d)](getStepsAndLogs,_0xebb924['steps'],_0x219e75,_0x57e667[_0x57a7e1(0xf4)])[_0x57a7e1(0xe6)],_0x307846=new Map(),_0x42892d=new Map();let _0x257eeb=0x0;const _0x1a9676=[];for(const _0x4804fc of _0x575a86||[]){const _0x3d5f21=_0x4804fc['parent_id']||null;let _0x10f0e7;if(_0x57e667['rtJXf'](_0x3d5f21,null)){if(_0x57e667[_0x57a7e1(0x129)](_0x257eeb,TestFrameworkConstants[_0x57a7e1(0x172)]))continue;_0x10f0e7=0x0,_0x257eeb++;}else{const _0x49ffe2=_0x307846[_0x57a7e1(0x150)](_0x3d5f21);if(_0x57e667[_0x57a7e1(0xf2)](_0x49ffe2,undefined))continue;_0x10f0e7=_0x57e667[_0x57a7e1(0x189)](_0x49ffe2,0x1);if(_0x57e667[_0x57a7e1(0x1e4)](_0x10f0e7,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0x307846['set'](_0x4804fc['id'],_0x10f0e7),_0x42892d[_0x57a7e1(0x17a)](_0x4804fc['id'],_0x4804fc[_0x57a7e1(0x1d4)]),_0x1a9676[_0x57a7e1(0x1af)]({'id':_0x4804fc['id'],'parent_id':_0x3d5f21,'parent_text':_0x3d5f21?_0x42892d[_0x57a7e1(0x150)](_0x3d5f21)||'':'','text':_0x4804fc[_0x57a7e1(0x1d4)],'keyword':_0x4804fc[_0x57a7e1(0x11f)]||null,'started_at':_0x4804fc[_0x57a7e1(0x15f)],'duration':_0x4804fc[_0x57a7e1(0xe3)]??null,'result':_0x4804fc[_0x57a7e1(0x165)],'failure':_0x4804fc[_0x57a7e1(0x13b)]||null,'failure_type':_0x4804fc[_0x57a7e1(0x1a2)]||null});}const _0x5c50ce={};_0x5c50ce['steps']=_0x1a9676,_0x288733[TestFrameworkConstants[_0x57a7e1(0x14c)]]=_0x5c50ce,logger[_0x57a7e1(0x1b7)](_0x57a7e1(0xf1)+_0x1a9676['length']+_0x57a7e1(0x175)+_0x4e6e4c);const _0x25beaf=[],_0x1e8c07=_0x57e667[_0x57a7e1(0x173)](findNestedKey,_0xebb924,_0x57e667[_0x57a7e1(0x1a1)]);if(_0x1e8c07&&_0x57e667[_0x57a7e1(0x1de)](validateFilePath,_0x1e8c07))try{_0x25beaf[_0x57a7e1(0x1af)]({'kind':_0x57e667[_0x57a7e1(0x11c)],'timestamp':new Date()[_0x57a7e1(0x1b0)](),'test_run_uuid':_0x219e75,'file_name':path[_0x57a7e1(0x19f)](_0x1e8c07),'file_size':fs['statSync'](_0x1e8c07)[_0x57a7e1(0x15c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xb0c4e6){logger[_0x57a7e1(0x185)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x1e8c07+':\x20'+_0xb0c4e6[_0x57a7e1(0x159)]);}const _0x8e4af1=TestInfo[_0x57a7e1(0x1c0)](),_0x34bc6a=_0x8e4af1[_0x57a7e1(0x154)](_0x122579=>_0x122579['testUId']===_0x219e75);_0x34bc6a[_0x57a7e1(0x183)](_0x448c64=>{const _0x5b8d01=_0x57a7e1;if(_0x448c64['filePath']&&_0x57e667[_0x5b8d01(0x18f)](validateFilePath,_0x448c64[_0x5b8d01(0x107)])&&!_0x25beaf['some'](_0x3fb20d=>_0x3fb20d[_0x5b8d01(0x197)]===path[_0x5b8d01(0x19f)](_0x448c64[_0x5b8d01(0x107)])))try{_0x25beaf[_0x5b8d01(0x1af)]({'kind':_0x57e667[_0x5b8d01(0x11c)],'timestamp':new Date()[_0x5b8d01(0x1b0)](),'test_run_uuid':_0x219e75,'file_name':path[_0x5b8d01(0x19f)](_0x448c64['filePath']),'file_size':fs['statSync'](_0x448c64[_0x5b8d01(0x107)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xf3e184){logger[_0x5b8d01(0x185)](_0x5b8d01(0x18b)+_0x448c64[_0x5b8d01(0x107)]+_0x5b8d01(0x113)+_0xf3e184[_0x5b8d01(0x159)]);}});if(_0x57e667['PZuGL'](_0x25beaf['length'],0x0)){const _0x2b18ae=_0x288733[TestFrameworkConstants[_0x57a7e1(0x105)]]||[];_0x288733[TestFrameworkConstants[_0x57a7e1(0x105)]]=[..._0x2b18ae,..._0x25beaf];}const _0x5b502c=TestInfo['getTestDetails'](_0x4834a5)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x36c05f=_0x57e667[_0x57a7e1(0x1bd)](getManualUploadLogs,_0x5b502c,_0x2fdc0e[_0x57a7e1(0x1c2)]()[_0x57a7e1(0x150)](_0x4834a5)[TestFrameworkConstants[_0x57a7e1(0x127)]]);if(_0x57e667[_0x57a7e1(0x1e4)](_0x36c05f[_0x57a7e1(0x162)],0x0)){const _0x199129=_0x288733[TestFrameworkConstants['KEY_LOGS']]||[];_0x288733[TestFrameworkConstants[_0x57a7e1(0x105)]]=[..._0x199129,..._0x36c05f];}const _0x46589b=_0x496d68['annotations']||[],_0x3ffb52=_0x288733[TestFrameworkConstants[_0x57a7e1(0x17b)]]||{},_0x2ea58d=_0x57e667[_0x57a7e1(0x1de)](require,_0x57e667['FSHkD']);_0x46589b[_0x57a7e1(0x183)](_0x1b2351=>{const _0x189d3f=_0x57a7e1,{type:_0x1472df}=_0x1b2351;let _0x16fa0c=_0x1b2351[_0x189d3f(0x156)];if(!_0x1472df)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x189d3f(0x170)](_0x1472df))return;(_0x57e667[_0x189d3f(0x186)](_0x16fa0c,undefined)||_0x57e667[_0x189d3f(0xf2)](_0x16fa0c,null)||_0x57e667[_0x189d3f(0xf2)](_0x57e667['hWDQw'](String,_0x16fa0c)[_0x189d3f(0x17f)](),''))&&(_0x16fa0c=_0x57e667[_0x189d3f(0x144)]);const _0x540cee=helper[_0x189d3f(0x19d)](_0x57e667['hWDQw'](String,_0x16fa0c));_0x2ea58d[_0x189d3f(0x176)](_0x3ffb52,_0x1472df,_0x540cee);}),_0x288733[TestFrameworkConstants[_0x57a7e1(0x17b)]]=_0x3ffb52,TestInfo['setTestDetails'](_0x4834a5,_0x288733);const _0x5117aa={};return _0x5117aa[_0x4834a5]=_0x288733,_0x5117aa;}[a95_0x255bc1(0x136)](_0x175aa3,_0x274811,_0x5d9c64){const _0x508ea2=a95_0x255bc1,_0x4d51fa={'VZkSa':function(_0x1563ad,_0x59000b){return _0x1563ad||_0x59000b;},'KaEFj':function(_0x594679,_0x175b07,_0x3f7956){return _0x594679(_0x175b07,_0x3f7956);}};try{const {test:_0x203f71,result:_0xe9bfe8,step:_0x5913e5}=_0x5d9c64;if(_0x4d51fa[_0x508ea2(0x121)](!_0x203f71,!_0x5913e5)||!_0xe9bfe8)return;const _0x4b4acc=_0x4d51fa['KaEFj'](getTestRunIdentifier,_0x203f71,_0xe9bfe8[_0x508ea2(0x1aa)]);logger[_0x508ea2(0x1b7)](_0x508ea2(0x14b)+_0x4b4acc+_0x508ea2(0x14f)+_0x274811+'\x20step=\x22'+_0x5913e5[_0x508ea2(0xe1)]+'\x22');}catch(_0x471c1d){logger['error'](_0x508ea2(0x1a7)+util[_0x508ea2(0x155)](_0x471c1d));}}async['trackHookEvent'](_0x1fb85c,_0x39283e,_0x5a0e03,_0x44968f){const _0x5693f6=a95_0x255bc1,_0x3c6cc2={'AAJkw':function(_0x691ccf,_0x2a493d,_0x2191b4){return _0x691ccf(_0x2a493d,_0x2191b4);},'xnXDb':function(_0x6b9c36,_0x49accd){return _0x6b9c36 in _0x49accd;},'nfzuh':function(_0x345310,_0x4fd3be){return _0x345310 in _0x4fd3be;},'qSXqE':function(_0x37d7c0,_0x5abdfe){return _0x37d7c0(_0x5abdfe);},'YVhfM':function(_0x334860,_0x909751){return _0x334860===_0x909751;},'fyxVO':function(_0x2a2ac0){return _0x2a2ac0();},'ZxZFR':function(_0x17bd13,_0x42ac6e){return _0x17bd13===_0x42ac6e;},'MIkJC':function(_0x62a697,_0x2fcd54){return _0x62a697>_0x2fcd54;},'twmUU':function(_0x225809,_0x633d96,_0xb9dc6a){return _0x225809(_0x633d96,_0xb9dc6a);},'dNFoZ':_0x5693f6(0x164),'SKcYl':function(_0x9de6aa,_0x55c799){return _0x9de6aa(_0x55c799);},'ZOIgK':function(_0x96431c,_0x5cb871){return _0x96431c(_0x5cb871);},'qYRcw':_0x5693f6(0xe9),'OaaOu':'passed','qAZfE':function(_0x1790d6,_0x57f657){return _0x1790d6!==_0x57f657;},'ZcFRY':function(_0x2953d2,_0x5d6765){return _0x2953d2+_0x5d6765;},'obcEV':_0x5693f6(0x11d)},_0x45704e=_0x44968f[_0x5693f6(0x118)],_0x448bb2=_0x44968f[_0x5693f6(0xef)],_0x4fd095=_0x3c6cc2[_0x5693f6(0x1a3)](getTestRunIdentifier,_0x45704e,_0x44968f['result'][_0x5693f6(0x1aa)]),_0x3120d6=_0x39283e[_0x5693f6(0x1d5)]()[_0x5693f6(0x1dc)]('.')[0x1];let _0x547455=_0x1fb85c[_0x5693f6(0x1c2)]()[_0x5693f6(0x150)](_0x4fd095)[TestFrameworkConstants[_0x5693f6(0x1bc)]];!_0x547455&&(_0x547455={});!_0x3c6cc2['xnXDb'](_0x3120d6,_0x547455)&&(_0x547455[_0x3120d6]=[]);let _0x30409b=_0x1fb85c[_0x5693f6(0x1c2)]()[_0x5693f6(0x150)](_0x4fd095)[TestFrameworkConstants[_0x5693f6(0x123)]];!_0x30409b&&(_0x30409b={});!_0x3c6cc2[_0x5693f6(0x145)](_0x3120d6,_0x30409b)&&(_0x30409b[_0x3120d6]=[]);const _0x35f14c={[TestFrameworkConstants[_0x5693f6(0x1bc)]]:_0x547455,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x30409b},_0x4915bf={};_0x4915bf[_0x4fd095]=_0x35f14c;const _0x2784c3=_0x4915bf,_0x30ff53=_0x3c6cc2['qSXqE'](getPlaywrightTestFilePath,_0x45704e),_0x42fe68=_0x30ff53,_0x3b0e09=TestInfo[_0x5693f6(0x19e)](_0x4fd095)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x3c6cc2[_0x5693f6(0x1cc)](_0x5a0e03,HookState[_0x5693f6(0x10b)])){const _0x5455af={'key':_0x3120d6,[TestFrameworkConstants[_0x5693f6(0x132)]]:_0x3c6cc2[_0x5693f6(0x19a)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x5693f6(0x1a9)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x448bb2[_0x5693f6(0x141)],[TestFrameworkConstants[_0x5693f6(0x190)]]:[],[TestFrameworkConstants[_0x5693f6(0xeb)]]:_0x448bb2[_0x5693f6(0xe1)],[TestFrameworkConstants[_0x5693f6(0x112)]]:_0x30ff53,[TestFrameworkConstants[_0x5693f6(0x188)]]:_0x42fe68,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x3b0e09};_0x547455[_0x3120d6]['push'](_0x5455af),_0x2784c3[_0x4fd095][TestFrameworkConstants[_0x5693f6(0x177)]]=_0x3120d6,logger[_0x5693f6(0x1b7)](_0x5693f6(0x12c)+_0x3120d6+_0x5693f6(0x13e)+_0x5455af+_0x5693f6(0x157)+_0x44968f);}else{if(_0x3c6cc2[_0x5693f6(0x1d2)](_0x5a0e03,HookState[_0x5693f6(0x18d)])){const _0x286513=await _0x44968f[_0x5693f6(0x165)],_0x5d7216=_0x547455[_0x3120d6]||[],_0x342564=_0x44968f[_0x5693f6(0xef)];logger[_0x5693f6(0x1b7)](_0x5693f6(0x1da)+_0x5d7216+'\x20and\x20args\x20=\x20'+_0x44968f);if(_0x3c6cc2[_0x5693f6(0x104)](_0x5d7216[_0x5693f6(0x162)],0x0)){const _0x52e443=_0x5d7216[_0x5693f6(0x1d9)]();if(_0x342564[_0x5693f6(0x185)]){const _0x40343a=_0x3c6cc2['twmUU'](failureData,_0x342564[_0x5693f6(0x185)],_0x3c6cc2['dNFoZ']);_0x52e443[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x3c6cc2[_0x5693f6(0x160)](getFailureType,_0x342564?.[_0x5693f6(0x185)][_0x5693f6(0x159)]),_0x52e443[TestFrameworkConstants[_0x5693f6(0x10c)]]=_0x3c6cc2['ZOIgK'](removeAnsiColors,_0x342564?.[_0x5693f6(0x185)]['message']),_0x52e443[TestFrameworkConstants[_0x5693f6(0x1ab)]]=_0x3c6cc2['qYRcw'],_0x52e443[TestFrameworkConstants[_0x5693f6(0x1c4)]]=_0x40343a;}else _0x52e443[TestFrameworkConstants[_0x5693f6(0x1ab)]]=_0x3c6cc2[_0x5693f6(0xe5)];_0x3c6cc2['qAZfE'](_0x286513,TestFrameworkConstants[_0x5693f6(0x1a9)])&&(_0x52e443[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x342564[_0x5693f6(0x185)]?_0x3c6cc2[_0x5693f6(0xe5)]:_0x3c6cc2['qYRcw']);const _0xe8ca2c=new Date(_0x342564[_0x5693f6(0x141)]),_0x55258b=new Date(_0x3c6cc2['ZcFRY'](_0xe8ca2c[_0x5693f6(0x1bf)](),_0x342564[_0x5693f6(0xe3)]));_0x52e443[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x55258b[_0x5693f6(0x1b0)](),_0x52e443[TestFrameworkConstants[_0x5693f6(0x17b)]]=_0x3b0e09;const _0x4a736b=_0x52e443[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x5693f6(0x148)](_0x1fb85c,_0x39283e,_0x4a736b,_0x3c6cc2[_0x5693f6(0x146)],_0x44968f),!_0x30409b[_0x3120d6]&&(_0x30409b[_0x3120d6]=[]),_0x30409b[_0x3120d6]['push'](_0x52e443),_0x2784c3[_0x4fd095][TestFrameworkConstants[_0x5693f6(0x1ac)]]=_0x3120d6;}}}return _0x2784c3;}async['sendLogCreatedEvent'](_0x5bf84f,_0x998257,_0x2cfdf6,_0x2183be,_0x1b1cb5,_0x138afb){const _0x5ed9a4=a95_0x255bc1,_0x2c4318={'Vozgj':function(_0x37de3a,_0x186ca1){return _0x37de3a===_0x186ca1;},'BKETs':_0x5ed9a4(0x118),'UGoeK':function(_0x7773fe,_0x30c207,_0x43a650){return _0x7773fe(_0x30c207,_0x43a650);},'ZldXc':_0x5ed9a4(0x163),'cUitb':function(_0x519d2c,_0x49cf0e,_0x20a4e5,_0x4318c0){return _0x519d2c(_0x49cf0e,_0x20a4e5,_0x4318c0);},'ImOzQ':function(_0x1f96f5,_0x15be65,_0x2d9414){return _0x1f96f5(_0x15be65,_0x2d9414);},'KnnHJ':function(_0x1d25f6,_0x6c95e2,_0x4a5e25){return _0x1d25f6(_0x6c95e2,_0x4a5e25);},'nctSw':function(_0x3113ca,_0xb55f37){return _0x3113ca/_0xb55f37;},'dQZEr':function(_0x241d83,_0x162c0c){return _0x241d83<_0x162c0c;},'ErsKJ':function(_0x2878c4,_0x5c2414){return _0x2878c4*_0x5c2414;},'bVngx':function(_0x40d426,_0x3ecf3e){return _0x40d426+_0x3ecf3e;},'RCmJK':function(_0x537b0d,_0x4893bf,_0x27ed4d,_0x41f3f3,_0x594db4){return _0x537b0d(_0x4893bf,_0x27ed4d,_0x41f3f3,_0x594db4);},'pLxPX':function(_0x4567ec,_0x9b0ae9){return _0x4567ec+_0x9b0ae9;},'vzBCE':function(_0x18578f,_0x837221,_0x564558,_0x53ef0c){return _0x18578f(_0x837221,_0x564558,_0x53ef0c);},'GLVKa':_0x5ed9a4(0x11d),'WxicU':function(_0x371d2f,_0x27277a,_0x171aa3){return _0x371d2f(_0x27277a,_0x171aa3);}};try{if(_0x2c4318[_0x5ed9a4(0xfa)](_0x2183be,_0x2c4318[_0x5ed9a4(0x131)])){const _0xb1efdf=await _0x1b1cb5[_0x5ed9a4(0x165)],_0x4a3769=_0x2c4318[_0x5ed9a4(0x14a)](getTestRunIdentifier,_0x1b1cb5[_0x5ed9a4(0x118)],_0x1b1cb5['result'][_0x5ed9a4(0x1aa)]),_0x3f2d15=_0x1b1cb5[_0x5ed9a4(0x118)];logger[_0x5ed9a4(0x1b7)](_0x5ed9a4(0x1a8)+_0x4a3769+'\x20result='+util['inspect'](_0xb1efdf));const _0xdd5fe6=_0x5bf84f[_0x5ed9a4(0x1c2)]()['get'](_0x4a3769)[TestFrameworkConstants[_0x5ed9a4(0x127)]];await _0x2c4318[_0x5ed9a4(0x14a)](sendTraceZip,_0xb1efdf,_0xdd5fe6);const _0x2d0596=TestInfo[_0x5ed9a4(0x19e)](_0x4a3769)[_0x2c4318[_0x5ed9a4(0x110)]],_0x24a88c={};if(_0x2d0596){!_0xb1efdf[_0x5ed9a4(0x163)]&&(_0xb1efdf['attachments']=[]);_0x24a88c[_0x5ed9a4(0x163)]=_0xb1efdf['attachments'][_0x5ed9a4(0x1cf)](_0x2d0596||[]);const _0x3acfc6=TestInfo['getTestDetails'](_0x4a3769);delete _0x3acfc6[_0x2c4318[_0x5ed9a4(0x110)]],TestInfo[_0x5ed9a4(0x179)](_0x4a3769,_0x3acfc6);}const _0x3dc179=_0x138afb||_0x2c4318[_0x5ed9a4(0x147)](getStepsAndLogs,_0xb1efdf['steps'],_0x5bf84f['getAllData']()[_0x5ed9a4(0x150)](_0x4a3769)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2c4318[_0x5ed9a4(0x131)])[_0x5ed9a4(0x117)],_0x4b646f=_0x2c4318[_0x5ed9a4(0x14a)](getScreenshots,_0x24a88c,_0x5bf84f['getAllData']()[_0x5ed9a4(0x150)](_0x4a3769)[TestFrameworkConstants[_0x5ed9a4(0x127)]]),_0x178f31=_0x2c4318[_0x5ed9a4(0x1c5)](getVideos,_0xb1efdf,_0x5bf84f[_0x5ed9a4(0x1c2)]()['get'](_0x4a3769)[TestFrameworkConstants[_0x5ed9a4(0x127)]]),{_:_0x221c9d,logs:_0x52e887}=_0x2c4318[_0x5ed9a4(0x16e)](getFailureData,_0xb1efdf[_0x5ed9a4(0x1c6)],{'test_run_uuid':_0x5bf84f['getAllData']()[_0x5ed9a4(0x150)](_0x4a3769)[TestFrameworkConstants[_0x5ed9a4(0x127)]]}),_0x3c9eae=TestInfo[_0x5ed9a4(0x19e)](_0x4a3769)[TestFrameworkConstants[_0x5ed9a4(0x1d8)]]||{},_0x565ec0=_0x2c4318['UGoeK'](getMediaArtifactsLogs,_0x3c9eae,_0x5bf84f[_0x5ed9a4(0x1c2)]()[_0x5ed9a4(0x150)](_0x4a3769)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x34f5cd=_0x5bf84f['getAllData']()['get'](_0x4a3769),{[TestFrameworkConstants[_0x5ed9a4(0x125)]]:_0x346908='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x31fb89=''}=_0x34f5cd,_0x4d288b=(_0x3dc179||[])[_0x5ed9a4(0x1cf)](_0x4b646f||[])[_0x5ed9a4(0x1cf)](_0x52e887||[])['concat'](_0x178f31||[])['concat'](_0x565ec0||[]),_0x4139b6=0x28,_0x5091b9=Math[_0x5ed9a4(0x130)](_0x2c4318[_0x5ed9a4(0x1b6)](_0x4d288b[_0x5ed9a4(0x162)],_0x4139b6));for(let _0x3be61b=0x0;_0x2c4318[_0x5ed9a4(0x15e)](_0x3be61b,_0x5091b9);_0x3be61b++){const _0x1bd75b=_0x2c4318[_0x5ed9a4(0x1a0)](_0x3be61b,_0x4139b6),_0x4512e7=_0x2c4318[_0x5ed9a4(0x194)](_0x1bd75b,_0x4139b6),_0x411898=_0x4d288b[_0x5ed9a4(0x1c3)](_0x1bd75b,_0x4512e7),_0x38f763={'platformIndex':global?.[_0x5ed9a4(0xf8)]??0x0,'logs':_0x411898,'testFrameworkName':_0x346908,'testFrameworkVersion':_0x31fb89,'testFrameworkState':_0x998257[_0x5ed9a4(0x1d5)]()[_0x5ed9a4(0x1dc)]('.')[0x1]};_0x2c4318['RCmJK'](updatePayloadForTraceLogs,_0x38f763,_0x1b1cb5,_0x4a3769,_0x5bf84f),logger[_0x5ed9a4(0x1b7)](_0x5ed9a4(0x111)+_0x4a3769+_0x5ed9a4(0x17c)+_0x2c4318[_0x5ed9a4(0x1e0)](_0x3be61b,0x1)+'/'+_0x5091b9+_0x5ed9a4(0x18e)+util[_0x5ed9a4(0x151)](_0x38f763));const _0x4bc8b0=await GrpcClient['getInstance']()[_0x5ed9a4(0x168)](_0x38f763);logger[_0x5ed9a4(0x1b7)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x4a3769+_0x5ed9a4(0x17c)+_0x2c4318[_0x5ed9a4(0x194)](_0x3be61b,0x1)+'/'+_0x5091b9+_0x5ed9a4(0x1e5)+util['inspect'](_0x4bc8b0));}}else{const {logs:_0x78ef5c}=_0x2c4318[_0x5ed9a4(0x16c)](getStepsAndLogs,_0x1b1cb5['step'][_0x5ed9a4(0xe6)],_0x2cfdf6,_0x2c4318[_0x5ed9a4(0x119)]),_0x123de2=_0x2c4318[_0x5ed9a4(0xf5)](getTestRunIdentifier,_0x1b1cb5[_0x5ed9a4(0x118)],_0x1b1cb5['result'][_0x5ed9a4(0x1aa)]);logger[_0x5ed9a4(0x1b7)](_0x5ed9a4(0x1a8)+_0x123de2);const _0x3ea1f4=_0x5bf84f[_0x5ed9a4(0x1c2)]()['get'](_0x123de2),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x19b610='',[TestFrameworkConstants[_0x5ed9a4(0x1cd)]]:_0x4629b6=''}=_0x3ea1f4,_0xb232bf={'platformIndex':'0','logs':_0x78ef5c,'testFrameworkName':_0x19b610,'testFrameworkVersion':_0x4629b6,'testFrameworkState':_0x998257[_0x5ed9a4(0x1d5)]()[_0x5ed9a4(0x1dc)]('.')[0x1]};_0x2c4318[_0x5ed9a4(0x19c)](updatePayloadForTraceLogs,_0xb232bf,_0x1b1cb5,_0x123de2,_0x5bf84f),logger[_0x5ed9a4(0x1b7)](_0x5ed9a4(0x111)+_0x123de2+_0x5ed9a4(0x18e)+util[_0x5ed9a4(0x151)](_0xb232bf));const _0x1fb8e1=await GrpcClient[_0x5ed9a4(0x120)]()[_0x5ed9a4(0x168)](_0xb232bf);}}catch(_0x4effe6){logger[_0x5ed9a4(0x185)](_0x5ed9a4(0x153)+util['format'](_0x4effe6));}}[a95_0x255bc1(0x1b5)](_0x3daf74){const _0x179dbc=a95_0x255bc1,_0x3a0e5d={'pgdgB':function(_0x1a76ab,_0x57389e,_0x45129d){return _0x1a76ab(_0x57389e,_0x45129d);},'ogndZ':function(_0x463eff,_0x14f7a1){return _0x463eff<_0x14f7a1;},'LyYYs':_0x179dbc(0x167)};try{const _0x35a01c=_0x3daf74['test']['id'],_0x3822d1=_0x3a0e5d[_0x179dbc(0x1d0)](getTestRunIdentifier,_0x3daf74[_0x179dbc(0x118)],_0x3daf74['result'][_0x179dbc(0x1aa)]),_0x41011d=_0x3daf74['instance'],_0x2ce601=_0x41011d['getContext'](),_0x5b3f54=_0x41011d['getAllData']()[_0x179dbc(0x150)](_0x3822d1);logger[_0x179dbc(0x1b7)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x35a01c);const {[TestFrameworkConstants[_0x179dbc(0x125)]]:_0x5472cd='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2e90d9='',[TestFrameworkConstants[_0x179dbc(0x14e)]]:_0x4f42a8='',[TestFrameworkConstants[_0x179dbc(0x169)]]:_0x5edba4=''}=_0x5b3f54,_0x106198=_0x41011d['getCurrentTestState']()[_0x179dbc(0x1d5)]()[_0x179dbc(0x1dc)]('.')[0x1],_0x15081b=_0x41011d[_0x179dbc(0x187)]()['toString']()['split']('.')[0x1],_0x41cdfc=_0x3a0e5d[_0x179dbc(0x101)](_0x3daf74?.['result']?.[_0x179dbc(0xe2)]??0x0,0x0)?0x0:_0x3daf74?.[_0x179dbc(0x165)]?.[_0x179dbc(0xe2)]??0x0,_0x134e04=_0x41011d[_0x179dbc(0x11e)](),_0x3baa7c=Buffer[_0x179dbc(0x106)](JSON[_0x179dbc(0x178)](_0x5b3f54))[_0x179dbc(0x1d5)](_0x3a0e5d[_0x179dbc(0x11b)]),_0x3b7743={'hash':_0x2ce601[_0x179dbc(0x1cb)](),'threadId':_0x2ce601[_0x179dbc(0x18a)]()[_0x179dbc(0x1d5)](),'processId':_0x2ce601[_0x179dbc(0xea)]()[_0x179dbc(0x1d5)]()},_0x1c6173={};_0x1c6173[_0x179dbc(0x18c)]=_0x41cdfc,_0x1c6173['testFrameworkName']=_0x5472cd,_0x1c6173[_0x179dbc(0xed)]=_0x2e90d9,_0x1c6173[_0x179dbc(0x1e1)]=_0x106198,_0x1c6173[_0x179dbc(0x1df)]=_0x15081b,_0x1c6173[_0x179dbc(0x10e)]=_0x4f42a8,_0x1c6173['endedAt']=_0x5edba4,_0x1c6173[_0x179dbc(0x149)]=_0x134e04,_0x1c6173[_0x179dbc(0x17d)]=_0x3baa7c,_0x1c6173['executionContext']=_0x3b7743;const _0x2beb58=_0x1c6173;return logger[_0x179dbc(0x1b7)](_0x179dbc(0x16b)+_0x35a01c+_0x179dbc(0x196)+_0x106198+_0x179dbc(0x166)+_0x15081b),_0x2beb58;}catch(_0x1071fb){return logger[_0x179dbc(0x185)](_0x179dbc(0x199)+util['format'](_0x1071fb)),{};}}}function a95_0x442a(_0x4dd34e,_0x1856c5){const _0x54a6d7=a95_0x54a6();return a95_0x442a=function(_0x442a3f,_0x278d4c){_0x442a3f=_0x442a3f-0xe0;let _0x53551d=_0x54a6d7[_0x442a3f];return _0x53551d;},a95_0x442a(_0x4dd34e,_0x1856c5);}module[a95_0x255bc1(0x103)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a96_0x4d05(){const _0x40a619=['4QVYGjF','instance','igivR','lanjj','getAutomationFrameworkName','7615780NDSOBN','../instances/automationFrameworkInstance.js','info','getTrackedInstance','jlACJ','getCurrentInstanceName','945jRJebc','WHkUe','trackEvent','4897989gCFGdx','14826iaFaSl','trackPuppeteerInstance:\x20instance\x20already\x20exists','resolveInstance','./automationFramework.js','15904GUJuGI','../../../helpers/classLogger.js','214983dHNTuI','828TfnVaa','PuppeteerAutomationFramework','../state/hookState.js','LTKxh','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','\x20hookState=','PRE','getId','runHooks','../cliUtils.js','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','NONE','CREATE','8beDyPd','234921aTsYNZ','../instances/trackedInstance.js','2960EJFQDi','setTrackedInstance','debug','logger','237721IbKWoa'];a96_0x4d05=function(){return _0x40a619;};return a96_0x4d05();}const a96_0x61f50b=a96_0x4f52;(function(_0x45db27,_0x5288fe){const _0x32e98e=a96_0x4f52,_0x2b3c84=_0x45db27();while(!![]){try{const _0x3acfbb=-parseInt(_0x32e98e(0x16e))/0x1*(-parseInt(_0x32e98e(0x175))/0x2)+-parseInt(_0x32e98e(0x18a))/0x3*(-parseInt(_0x32e98e(0x16d))/0x4)+parseInt(_0x32e98e(0x180))/0x5*(parseInt(_0x32e98e(0x184))/0x6)+parseInt(_0x32e98e(0x188))/0x7*(-parseInt(_0x32e98e(0x170))/0x8)+-parseInt(_0x32e98e(0x183))/0x9+-parseInt(_0x32e98e(0x17a))/0xa+parseInt(_0x32e98e(0x174))/0xb*(parseInt(_0x32e98e(0x18b))/0xc);if(_0x3acfbb===_0x5288fe)break;else _0x2b3c84['push'](_0x2b3c84['shift']());}catch(_0x17de2e){_0x2b3c84['push'](_0x2b3c84['shift']());}}}(a96_0x4d05,0x67bc7));const AutomationFramework=require(a96_0x61f50b(0x187)),{createClassLogger}=require(a96_0x61f50b(0x189)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a96_0x61f50b(0x18d)),CLIUtils=require(a96_0x61f50b(0x194)),TrackedInstance=require(a96_0x61f50b(0x16f)),AutomationFrameworkInstance=require(a96_0x61f50b(0x17b));function a96_0x4f52(_0x1da55e,_0x1e06bf){const _0x4d0594=a96_0x4d05();return a96_0x4f52=function(_0x4f52ae,_0xc07f77){_0x4f52ae=_0x4f52ae-0x16a;let _0x4dea66=_0x4d0594[_0x4f52ae];return _0x4dea66;},a96_0x4f52(_0x1da55e,_0x1e06bf);}class PuppeteerAutomationFramework extends AutomationFramework{[a96_0x61f50b(0x173)]=createClassLogger(a96_0x61f50b(0x18c));constructor(_0x5ad4cf,_0x481c1f){super(_0x5ad4cf,_0x481c1f);}async[a96_0x61f50b(0x182)](_0x101de8,_0x307b5d,_0x3a84d2={}){const _0x5e2ad5=a96_0x61f50b,_0x42b7f9={};_0x42b7f9['IAFHb']=function(_0x2364c4,_0x2033d4){return _0x2364c4===_0x2033d4;},_0x42b7f9['WHkUe']=_0x5e2ad5(0x18f);const _0x5150fc=_0x42b7f9;this[_0x5e2ad5(0x173)][_0x5e2ad5(0x172)]('trackEvent:\x20automationFrameworkState='+_0x101de8+_0x5e2ad5(0x190)+_0x307b5d),await super[_0x5e2ad5(0x182)](_0x101de8,_0x307b5d,_0x3a84d2);const _0x81e3e5=this[_0x5e2ad5(0x186)](_0x101de8,_0x307b5d,_0x3a84d2);if(_0x5150fc['IAFHb'](_0x81e3e5,null)){this[_0x5e2ad5(0x173)][_0x5e2ad5(0x172)](_0x5150fc[_0x5e2ad5(0x181)]);return;}_0x3a84d2[_0x5e2ad5(0x176)]=_0x81e3e5,await this[_0x5e2ad5(0x193)](_0x81e3e5,_0x101de8,_0x307b5d,_0x3a84d2);}[a96_0x61f50b(0x186)](_0x2ae2a5,_0x59670f,_0x5087d2={}){const _0xd3acbc=a96_0x61f50b,_0x1fb6a7={};_0x1fb6a7[_0xd3acbc(0x177)]=function(_0x714d2c,_0x3762b6){return _0x714d2c===_0x3762b6;},_0x1fb6a7[_0xd3acbc(0x178)]=function(_0x29ff65,_0x3ef5f5){return _0x29ff65===_0x3ef5f5;},_0x1fb6a7['LTKxh']=function(_0x55d461,_0x462a88){return _0x55d461===_0x462a88;};const _0x29e39e=_0x1fb6a7;let _0x544869=null;return(_0x29e39e[_0xd3acbc(0x177)](_0x2ae2a5,AutomationFrameworkState[_0xd3acbc(0x16c)])&&_0x29e39e[_0xd3acbc(0x178)](_0x59670f,HookState[_0xd3acbc(0x191)])||_0x29e39e[_0xd3acbc(0x18e)](_0x2ae2a5,AutomationFrameworkState[_0xd3acbc(0x16b)]))&&this['trackPuppeteerInstance'](_0x2ae2a5,_0x5087d2),_0x544869=AutomationFramework[_0xd3acbc(0x17d)](),_0x544869;}['trackPuppeteerInstance'](_0x3a9b1b,_0x4f3b99){const _0x548360=a96_0x61f50b,_0x58f636={};_0x58f636['jlACJ']=_0x548360(0x185);const _0x206cdc=_0x58f636;if(AutomationFramework[_0x548360(0x17d)]()){this[_0x548360(0x173)][_0x548360(0x17c)](_0x206cdc[_0x548360(0x17e)]);return;}const _0x33c53c=CLIUtils[_0x548360(0x17f)](),_0x4428ac=TrackedInstance['createContext'](_0x33c53c);let _0x4b3c0c=null;this[_0x548360(0x173)][_0x548360(0x17c)](_0x548360(0x16a)+_0x33c53c+',\x20state='+_0x3a9b1b),_0x4b3c0c=new AutomationFrameworkInstance(_0x4428ac,this[_0x548360(0x179)](),this['getAutomationFrameworkVersion'](),_0x3a9b1b),AutomationFramework[_0x548360(0x171)](_0x4428ac,_0x4b3c0c),this[_0x548360(0x173)][_0x548360(0x17c)]('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x4428ac[_0x548360(0x192)]()+'\x20target='+_0x33c53c);}}module['exports']=PuppeteerAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97_0x435b2f=a97_0x5afd;(function(_0x34f4ae,_0x21d0f5){const _0x1a208c=a97_0x5afd,_0x2f34e8=_0x34f4ae();while(!![]){try{const _0x49e1d0=-parseInt(_0x1a208c(0xf5))/0x1+-parseInt(_0x1a208c(0xeb))/0x2*(-parseInt(_0x1a208c(0xe8))/0x3)+-parseInt(_0x1a208c(0xea))/0x4+-parseInt(_0x1a208c(0xd6))/0x5*(-parseInt(_0x1a208c(0xec))/0x6)+parseInt(_0x1a208c(0xed))/0x7*(-parseInt(_0x1a208c(0xdc))/0x8)+parseInt(_0x1a208c(0xd9))/0x9*(parseInt(_0x1a208c(0xf8))/0xa)+-parseInt(_0x1a208c(0xe2))/0xb*(-parseInt(_0x1a208c(0xf2))/0xc);if(_0x49e1d0===_0x21d0f5)break;else _0x2f34e8['push'](_0x2f34e8['shift']());}catch(_0x2cf8f6){_0x2f34e8['push'](_0x2f34e8['shift']());}}}(a97_0x5a1b,0xbe7e3));const CLIUtils=require('../cliUtils'),eventDispatcher=require(a97_0x435b2f(0xfa)),TestFrameworkInstance=require(a97_0x435b2f(0xde)),TrackedContext=require(a97_0x435b2f(0xdd)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a97_0x435b2f(0xdb)),{createClassLogger}=require(a97_0x435b2f(0xef)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a97_0x435b2f(0xf9));!global[a97_0x435b2f(0xe1)]&&(global['__bstack_test_framework_instances__']=new Map());class TestFramework{static get[a97_0x435b2f(0xfb)](){const _0x10a553=a97_0x435b2f;return global[_0x10a553(0xe1)];}[a97_0x435b2f(0xf7)]=[];[a97_0x435b2f(0xdf)]={};['binSessionId']=null;constructor(_0x8110e8,_0x252470,_0x1bcb1b){const _0x53ffbf=a97_0x435b2f;this[_0x53ffbf(0xf7)]=_0x8110e8,this[_0x53ffbf(0xdf)]=_0x252470,this[_0x53ffbf(0xfc)]=_0x1bcb1b;}['getInstances'](){return TestFramework['instances'];}['setInstance'](_0x5d0c85,_0x2eff14){const _0x4033c5=a97_0x435b2f;TestFramework[_0x4033c5(0xfb)][_0x4033c5(0xfd)](_0x5d0c85[_0x4033c5(0xd4)],_0x2eff14);}static[a97_0x435b2f(0xd8)](){const _0x3ac9a7=a97_0x435b2f,_0x597689=TrackedInstance[_0x3ac9a7(0xd2)](CLIUtils[_0x3ac9a7(0xf4)]());return TestFramework[_0x3ac9a7(0xfb)]['get'](_0x597689[_0x3ac9a7(0xd4)]());}static['setTrackedInstance'](_0x83c95c,_0x541e2b){const _0x329e2e=a97_0x435b2f;TestFramework[_0x329e2e(0xfb)][_0x329e2e(0xfd)](_0x83c95c[_0x329e2e(0xd4)](),_0x541e2b);}[a97_0x435b2f(0xe9)](){const _0x48e076=a97_0x435b2f;return this[_0x48e076(0xdf)];}['getTestFrameworks'](){return this['testFrameworks'];}[a97_0x435b2f(0xf3)](_0x8592ed,_0x40998b,_0x5b8356={}){const _0x506520=a97_0x435b2f;logger['debug'](_0x506520(0xd7)+_0x8592ed+_0x506520(0xee)+_0x40998b);}async[a97_0x435b2f(0xda)](_0xcbfe35,_0xbffdbd,_0x34110e,_0x2c61f1={}){const _0x3864f5=a97_0x435b2f,_0x48e7eb=CLIUtils[_0x3864f5(0xd3)](_0xbffdbd,_0x34110e);_0xcbfe35['setCurrentTestState'](_0xbffdbd),_0xcbfe35[_0x3864f5(0xf6)](_0x34110e),await eventDispatcher[_0x3864f5(0xe5)](_0x48e7eb,_0x2c61f1);}static[a97_0x435b2f(0xe3)](_0x1f54de,_0x195299,_0x235346){const _0xf13947=a97_0x435b2f;eventDispatcher[_0xf13947(0xe3)](CLIUtils[_0xf13947(0xd3)](_0x1f54de,_0x195299),_0x235346);}static[a97_0x435b2f(0xe6)](_0x54c6f0,_0x18da77){const _0x5eb1bb=a97_0x435b2f;return _0x54c6f0[_0x5eb1bb(0xf1)]()[_0x5eb1bb(0xd5)](_0x18da77);}static[a97_0x435b2f(0xe7)](_0x1f7d97,_0x34b8dd,_0x3ed39e){const _0x58b2c1=a97_0x435b2f;_0x1f7d97[_0x58b2c1(0xf1)]()[_0x58b2c1(0xfd)](_0x34b8dd,_0x3ed39e);}static[a97_0x435b2f(0xe0)](_0x4001a4,_0x330708){const _0xc2e5bb=a97_0x435b2f;return _0x4001a4[_0xc2e5bb(0xf1)]()[_0xc2e5bb(0xe4)](_0x330708);}}function a97_0x5afd(_0x4ce507,_0x47d7b6){const _0x5a1b13=a97_0x5a1b();return a97_0x5afd=function(_0x5afd25,_0x261613){_0x5afd25=_0x5afd25-0xd2;let _0x420549=_0x5a1b13[_0x5afd25];return _0x420549;},a97_0x5afd(_0x4ce507,_0x47d7b6);}module[a97_0x435b2f(0xf0)]=TestFramework;function a97_0x5a1b(){const _0x56d64c=['../instances/trackedContext','../instances/testFrameworkInstance','testFrameworkVersions','hasState','__bstack_test_framework_instances__','44kQyCrJ','registerObserver','has','notifyObserver','getState','setState','4281lVJZpz','getTestFrameworksVersions','2116488FDTFfA','1254qcaYMT','24CrRGNk','5952821PboWxA',';\x20hookState=','../../../helpers/classLogger','exports','getAllData','3736956MSqcSs','trackEvent','getCurrentInstanceName','269817fWCnSQ','setCurrentHookState','testFrameworks','12770fqEOQE','TestFramework','../eventDispatcher','instances','binSessionId','set','createContext','getHookRegistryKey','getId','get','55045LWJRia','trackEvent:\x20testFrameworkState=','getTrackedInstance','1728bwtlne','runHooks','../state/hookState','8aUBKRc'];a97_0x5a1b=function(){return _0x56d64c;};return a97_0x5a1b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a98_0x43e34b=a98_0x1496;(function(_0x11acf7,_0x10562b){const _0x2cf71f=a98_0x1496,_0x1b173f=_0x11acf7();while(!![]){try{const _0x30e0ca=-parseInt(_0x2cf71f(0x1ed))/0x1+-parseInt(_0x2cf71f(0x217))/0x2+-parseInt(_0x2cf71f(0x1f0))/0x3+-parseInt(_0x2cf71f(0x213))/0x4+parseInt(_0x2cf71f(0x1f3))/0x5*(parseInt(_0x2cf71f(0x218))/0x6)+parseInt(_0x2cf71f(0x219))/0x7+parseInt(_0x2cf71f(0x208))/0x8;if(_0x30e0ca===_0x10562b)break;else _0x1b173f['push'](_0x1b173f['shift']());}catch(_0x37f365){_0x1b173f['push'](_0x1b173f['shift']());}}}(a98_0xda13,0x82e11));function a98_0x1496(_0x23e344,_0x4e04){const _0xda139a=a98_0xda13();return a98_0x1496=function(_0x1496ae,_0x3331d4){_0x1496ae=_0x1496ae-0x1e6;let _0xf48da0=_0xda139a[_0x1496ae];return _0xf48da0;},a98_0x1496(_0x23e344,_0x4e04);}function a98_0xda13(){const _0x331c4c=['acTRv','get','SVnYW','\x20→\x20','slice','2226048dumKcB','isInteger','instance','exports','1012420JtGjMV','642GcepdO','5530014IzLPFW','\x22\x20platformIndex=','QJaDd','getTrackedInstance','trackEvent:\x20no\x20instance\x20for\x20state=','NONE','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','parseInt','862320awvPKx','Tghlz','testcafe:','2439669kgOxuX','\x20hookState=','trackEvent','30440ltafCe','iterAllInstances','getAutomationFrameworkVersion','../state/automationFrameworkState.js','set','lastIndexOf','TestCafeAutomationFramework','CREATE','platformIndex','../instances/automationFrameworkInstance.js','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','info','xuZOJ','runHooks','userAgent','getInstanceByUserAgent','removeInstance','jGyxW','entries','debug','delete','14663424hJKLEa','wFuBb','instances','warn','../../../helpers/classLogger.js','resolveInstance'];a98_0xda13=function(){return _0x331c4c;};return a98_0xda13();}const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require(a98_0x43e34b(0x1fc)),AutomationFrameworkState=require(a98_0x43e34b(0x1f6)),TrackedInstance=require('../instances/trackedInstance.js'),{createClassLogger}=require(a98_0x43e34b(0x20c)),logger=createClassLogger(a98_0x43e34b(0x1f9));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x3edaa3,_0x4bdac7){super(_0x3edaa3,_0x4bdac7);}async[a98_0x43e34b(0x1f2)](_0x39fe92,_0x1b55ab,_0x2726d5={}){const _0x41adad=a98_0x43e34b;await super[_0x41adad(0x1f2)](_0x39fe92,_0x1b55ab,_0x2726d5);const _0x5f3913=this[_0x41adad(0x20d)](_0x39fe92,_0x1b55ab,_0x2726d5);if(!_0x5f3913){logger[_0x41adad(0x206)](_0x41adad(0x1e9)+_0x39fe92+_0x41adad(0x1f1)+_0x1b55ab);return;}_0x2726d5[_0x41adad(0x215)]=_0x5f3913,await this[_0x41adad(0x200)](_0x5f3913,_0x39fe92,_0x1b55ab,_0x2726d5);}[a98_0x43e34b(0x20d)](_0xd67a47,_0x22022c,_0x3f7b66={}){const _0x345bd8=a98_0x43e34b,_0x4a5675={};_0x4a5675[_0x345bd8(0x1e7)]=_0x345bd8(0x1fd),_0x4a5675['agneP']=function(_0x379339,_0x157768){return _0x379339===_0x157768;},_0x4a5675[_0x345bd8(0x1ff)]=function(_0x1208a6,_0xbd162b){return _0x1208a6===_0xbd162b;},_0x4a5675[_0x345bd8(0x210)]=function(_0x5f54dd,_0x59d300){return _0x5f54dd||_0x59d300;};const _0x523a3e=_0x4a5675,_0x17a3b6=_0x3f7b66[_0x345bd8(0x201)]||null;if(!_0x17a3b6)return logger[_0x345bd8(0x20b)](_0x523a3e['QJaDd']),AutomationFramework[_0x345bd8(0x1e8)]();const _0x5abc27=Number[_0x345bd8(0x214)](_0x3f7b66[_0x345bd8(0x1fb)])?_0x3f7b66['platformIndex']:0x0,_0x4507a6=_0x345bd8(0x1ef)+_0x17a3b6+'#'+_0x5abc27;let _0x51811b=AutomationFramework[_0x345bd8(0x20a)][_0x345bd8(0x20f)](_0x4507a6);if(!_0x51811b&&(_0x523a3e['agneP'](_0xd67a47,AutomationFrameworkState[_0x345bd8(0x1fa)])||_0x523a3e[_0x345bd8(0x1ff)](_0xd67a47,AutomationFrameworkState[_0x345bd8(0x1ea)]))){const _0x3cb6e7=TrackedInstance['createContext'](_0x4507a6);_0x51811b=new AutomationFrameworkInstance(_0x3cb6e7,this['getAutomationFrameworkName'](),this[_0x345bd8(0x1f5)](),_0xd67a47),AutomationFramework[_0x345bd8(0x20a)][_0x345bd8(0x1f7)](_0x4507a6,_0x51811b),logger[_0x345bd8(0x1fe)](_0x345bd8(0x1eb)+_0x17a3b6+_0x345bd8(0x1e6)+_0x5abc27+_0x345bd8(0x211)+_0x4507a6);}return _0x523a3e[_0x345bd8(0x210)](_0x51811b,null);}static[a98_0x43e34b(0x203)](_0x2f5a85,_0x5c9a04=0x0){const _0x562eb4=a98_0x43e34b,_0x56112f=_0x562eb4(0x1ef)+_0x2f5a85+'#'+_0x5c9a04;return AutomationFramework[_0x562eb4(0x20a)][_0x562eb4(0x207)](_0x56112f);}static[a98_0x43e34b(0x202)](_0x473fa0,_0x287374=0x0){const _0x2010fb=a98_0x43e34b;return AutomationFramework['instances']['get'](_0x2010fb(0x1ef)+_0x473fa0+'#'+_0x287374)||null;}static*[a98_0x43e34b(0x1f4)](){const _0x51f170=a98_0x43e34b,_0x5cd3c7={};_0x5cd3c7[_0x51f170(0x204)]=function(_0x3b7cc2,_0x43dbca){return _0x3b7cc2===_0x43dbca;},_0x5cd3c7[_0x51f170(0x209)]='string',_0x5cd3c7[_0x51f170(0x20e)]=_0x51f170(0x1ef),_0x5cd3c7[_0x51f170(0x1ee)]=function(_0x1233f0,_0x467d69){return _0x1233f0+_0x467d69;};const _0x7b1267=_0x5cd3c7;for(const [_0x4c9f41,_0x49f91e]of AutomationFramework[_0x51f170(0x20a)][_0x51f170(0x205)]()){if(_0x7b1267[_0x51f170(0x204)](typeof _0x4c9f41,_0x7b1267['wFuBb'])&&_0x4c9f41['startsWith'](_0x7b1267[_0x51f170(0x20e)])){const _0x2dac2e=_0x4c9f41[_0x51f170(0x212)](_0x7b1267[_0x51f170(0x20e)]['length']),_0x588a82=_0x2dac2e[_0x51f170(0x1f8)]('#');if(_0x7b1267['jGyxW'](_0x588a82,-0x1)){const _0x133342={};_0x133342[_0x51f170(0x201)]=_0x2dac2e,_0x133342[_0x51f170(0x1fb)]=0x0,_0x133342[_0x51f170(0x215)]=_0x49f91e,yield _0x133342;}else{const _0xa77018=_0x2dac2e[_0x51f170(0x212)](0x0,_0x588a82),_0x15b7e0=Number[_0x51f170(0x1ec)](_0x2dac2e[_0x51f170(0x212)](_0x7b1267[_0x51f170(0x1ee)](_0x588a82,0x1)),0xa)||0x0,_0x56d562={};_0x56d562[_0x51f170(0x201)]=_0xa77018,_0x56d562['platformIndex']=_0x15b7e0,_0x56d562[_0x51f170(0x215)]=_0x49f91e,yield _0x56d562;}}}}}module[a98_0x43e34b(0x216)]=TestCafeAutomationFramework;
|