diff --git a/BTCPayServer.Tests/SeleniumTests.cs b/BTCPayServer.Tests/SeleniumTests.cs index c25afbff8..818a638e8 100644 --- a/BTCPayServer.Tests/SeleniumTests.cs +++ b/BTCPayServer.Tests/SeleniumTests.cs @@ -382,11 +382,14 @@ namespace BTCPayServer.Tests s.Driver.FindElement(By.Id("SetupGuide-Store")).Click(); Assert.Contains("/stores/create", s.Driver.Url); - s.CreateNewStore(); + (_, string storeId) = s.CreateNewStore(); + + // should redirect to store s.GoToUrl("/"); + Assert.Contains($"/stores/{storeId}", s.Driver.Url); Assert.True(s.Driver.PageSource.Contains("id=\"StoreSelectorDropdown\""), "Store selector dropdown should be present"); - Assert.False(s.Driver.PageSource.Contains("id=\"SetupGuide\""), "Setup guide should not be present"); + Assert.True(s.Driver.PageSource.Contains("id=\"SetupGuide\""), "Store setup guide should be present"); } [Fact(Timeout = TestTimeout)] diff --git a/BTCPayServer/Components/MainNav/Default.cshtml b/BTCPayServer/Components/MainNav/Default.cshtml index 9219590a7..f1f5022a3 100644 --- a/BTCPayServer/Components/MainNav/Default.cshtml +++ b/BTCPayServer/Components/MainNav/Default.cshtml @@ -43,13 +43,13 @@ -
-