From b02e22a365926a8d951093c07df69145fcc2fa54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20N=C3=A9meth?= Date: Tue, 22 Feb 2022 18:49:14 +0100 Subject: [PATCH 1/2] Shorten name due to 70 character limit in title --- Lombiq.Tests.UI.Samples/Helpers/SetupHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.Tests.UI.Samples/Helpers/SetupHelpers.cs b/Lombiq.Tests.UI.Samples/Helpers/SetupHelpers.cs index 4f34019f4..d51d4b5e3 100644 --- a/Lombiq.Tests.UI.Samples/Helpers/SetupHelpers.cs +++ b/Lombiq.Tests.UI.Samples/Helpers/SetupHelpers.cs @@ -25,7 +25,7 @@ public static async Task RunSetupAsync(UITestContext context) var homepageUri = await context.GoToSetupPageAndSetupOrchardCoreAsync( new OrchardCoreSetupParameters(context) { - SiteName = "Lombiq's Open-Source Orchard Core Extensions - UI Testing", + SiteName = "Lombiq's OSOCE - UI Testing", RecipeId = RecipeId, // A table prefix is not really needed but this way we also check whether we've written any SQL // that doesn't support prefixes. From 975ce9f467a1130bb5bd5297fc19531ce6a9910f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20N=C3=A9meth?= Date: Mon, 28 Feb 2022 11:01:33 +0100 Subject: [PATCH 2/2] Should check new site name --- Lombiq.Tests.UI.Samples/Tests/AzureBlobStorageTests.cs | 2 +- Lombiq.Tests.UI.Samples/Tests/BasicTests.cs | 2 +- Lombiq.Tests.UI.Samples/Tests/SqlServerTests.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Lombiq.Tests.UI.Samples/Tests/AzureBlobStorageTests.cs b/Lombiq.Tests.UI.Samples/Tests/AzureBlobStorageTests.cs index b40f836ae..66ffa795c 100644 --- a/Lombiq.Tests.UI.Samples/Tests/AzureBlobStorageTests.cs +++ b/Lombiq.Tests.UI.Samples/Tests/AzureBlobStorageTests.cs @@ -28,7 +28,7 @@ public Task AnonymousHomePageShouldExistWithAzureBlobStorage(Browser browser) => context => context .Get(By.ClassName("navbar-brand")) .Text - .ShouldBe("Lombiq's Open-Source Orchard Core Extensions - UI Testing"), + .ShouldBe("Lombiq's OSOCE - UI Testing"), browser, // Note the configuration! We could also set this globally in UITestBase. // You'll need an accessible Azure Blob Storage account. For testing we recommend the Azurite emulator diff --git a/Lombiq.Tests.UI.Samples/Tests/BasicTests.cs b/Lombiq.Tests.UI.Samples/Tests/BasicTests.cs index aa0ffc0f9..8932fabec 100644 --- a/Lombiq.Tests.UI.Samples/Tests/BasicTests.cs +++ b/Lombiq.Tests.UI.Samples/Tests/BasicTests.cs @@ -32,7 +32,7 @@ public Task AnonymousHomePageShouldExist(Browser browser) => context .Get(By.ClassName("navbar-brand")) .Text - .ShouldBe("Lombiq's Open-Source Orchard Core Extensions - UI Testing"); + .ShouldBe("Lombiq's OSOCE - UI Testing"); // Are we logged out? (await context.GetCurrentUserNameAsync()).ShouldBeNullOrEmpty(); diff --git a/Lombiq.Tests.UI.Samples/Tests/SqlServerTests.cs b/Lombiq.Tests.UI.Samples/Tests/SqlServerTests.cs index 246bebb43..88e25dab8 100644 --- a/Lombiq.Tests.UI.Samples/Tests/SqlServerTests.cs +++ b/Lombiq.Tests.UI.Samples/Tests/SqlServerTests.cs @@ -30,7 +30,7 @@ public Task AnonymousHomePageShouldExistWithSqlServer(Browser browser) => context => context .Get(By.ClassName("navbar-brand")) .Text - .ShouldBe("Lombiq's Open-Source Orchard Core Extensions - UI Testing"), + .ShouldBe("Lombiq's OSOCE - UI Testing"), browser, // Note the configuration! We could also set this globally in UITestBase. configuration => configuration.UseSqlServer = true);