PSBT test fix (#3472)

This commit is contained in:
d11n
2022-02-18 02:55:54 +01:00
committed by GitHub
parent a3b748ffe3
commit 9b9540b857
2 changed files with 8 additions and 2 deletions

View File

@@ -563,7 +563,12 @@ namespace BTCPayServer.Tests
{
walletId ??= WalletId;
Driver.Navigate().GoToUrl(new Uri(ServerUri, $"wallets/{walletId}"));
if (navPages != WalletsNavPages.Transactions)
if (navPages == WalletsNavPages.PSBT)
{
Driver.FindElement(By.Id("WalletNav-Send")).Click();
Driver.FindElement(By.Id("PSBT")).Click();
}
else if (navPages != WalletsNavPages.Transactions)
{
Driver.FindElement(By.Id($"WalletNav-{navPages}")).Click();
}