From ba2a32be8fc7038befff5ed2f58f5b902226a433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Leh=C3=B3czky?= Date: Tue, 9 Jul 2024 22:09:04 +0200 Subject: [PATCH] Moving AssertAppLogsWithIdleCheckAsync() to the UI test instead of relying on the consumer to do it --- .../Extensions/TestCaseUITestContextExtensions.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lombiq.Hosting.Tenants.IdleTenantManagement.Tests.UI/Extensions/TestCaseUITestContextExtensions.cs b/Lombiq.Hosting.Tenants.IdleTenantManagement.Tests.UI/Extensions/TestCaseUITestContextExtensions.cs index 3a6708b4..3e28d961 100644 --- a/Lombiq.Hosting.Tenants.IdleTenantManagement.Tests.UI/Extensions/TestCaseUITestContextExtensions.cs +++ b/Lombiq.Hosting.Tenants.IdleTenantManagement.Tests.UI/Extensions/TestCaseUITestContextExtensions.cs @@ -36,5 +36,8 @@ await context.GoToSetupPageAndSetupOrchardCoreAsync( // working as intended. await context.SignInDirectlyAsync(); await context.GoToDashboardAsync(); + + // Make sure the shutdown message is in the logs. + await context.Application.AssertAppLogsWithIdleCheckAsync(); } }