mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
PSBT test fix (#3472)
This commit is contained in:
@@ -21,8 +21,9 @@ namespace BTCPayServer.Tests
|
||||
public PSBTTests(ITestOutputHelper helper) : base(helper)
|
||||
{
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[Trait("Integration", "Integration")]
|
||||
[Trait("Selenium", "Selenium")]
|
||||
public async Task CanPlayWithPSBT()
|
||||
{
|
||||
using var s = CreateSeleniumTester(newDb: true);
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user