Improve views; fix tests

This commit is contained in:
Dennis Reimann
2022-06-20 15:43:24 +02:00
committed by Andrew Camilleri
parent 2f1df3be7d
commit 27c5b16957
4 changed files with 72 additions and 71 deletions

View File

@@ -362,6 +362,10 @@ namespace BTCPayServer.Tests
public void Logout()
{
if (!Driver.PageSource.Contains("id=\"Nav-Logout\""))
{
Driver.Navigate().GoToUrl(ServerUri);
}
Driver.FindElement(By.Id("Nav-Account")).Click();
Driver.FindElement(By.Id("Nav-Logout")).Click();
}