From 4dfbb08db3eb27341a5f5dbe7529b54572c3f772 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Thu, 3 Mar 2022 14:48:16 +0100 Subject: [PATCH] Try test fix --- BTCPayServer.Tests/ApiKeysTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BTCPayServer.Tests/ApiKeysTests.cs b/BTCPayServer.Tests/ApiKeysTests.cs index 746f84cb6..e4e6a61fe 100644 --- a/BTCPayServer.Tests/ApiKeysTests.cs +++ b/BTCPayServer.Tests/ApiKeysTests.cs @@ -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");