Try test fix

This commit is contained in:
Dennis Reimann 2022-03-03 14:48:16 +01:00 committed by Andrew Camilleri
parent ead1dffd98
commit 4dfbb08db3

View File

@ -204,7 +204,10 @@ namespace BTCPayServer.Tests
s.Driver.ScrollTo(checkbox);
checkbox.Click();
}
s.Driver.FindElement(By.Id("Generate")).Click();
var generate = s.Driver.FindElement(By.Id("Generate"));
s.Driver.ScrollTo(generate);
generate.Click();
var allAPIKey = s.FindAlertMessage().FindElement(By.TagName("code")).Text;
TestLogs.LogInformation("Checking API key permissions");