failsafe with selenium

This commit is contained in:
Kukks
2019-12-16 12:10:03 +01:00
parent 1aef7f7ea6
commit 7cfe5f0421

View File

@@ -238,6 +238,11 @@ namespace BTCPayServer.Tests
{
element.Click();
}
if (value != element.Selected)
{
SetCheckbox(element, value);
}
}
public void SetCheckbox(SeleniumTester s, string inputName, bool value)