diff --git a/BTCPayServer.Tests/SeleniumTests.cs b/BTCPayServer.Tests/SeleniumTests.cs index 2a60c490b..f28620e55 100644 --- a/BTCPayServer.Tests/SeleniumTests.cs +++ b/BTCPayServer.Tests/SeleniumTests.cs @@ -1583,8 +1583,8 @@ namespace BTCPayServer.Tests // to make it works. private void SudoForceSaveLightningSettingsRightNowAndFast(SeleniumTester s, string cryptoCode) { -retry: int maxAttempts = 5; +retry: s.Driver.WaitForAndClick(By.Id("save")); try {