Merge pull request #1886 from Kukks/invite-link

Allow admins to invite new users
This commit is contained in:
Nicolas Dorier
2020-09-19 11:15:38 +09:00
committed by GitHub
20 changed files with 531 additions and 300 deletions

View File

@@ -12,6 +12,7 @@ using BTCPayServer.Models;
using BTCPayServer.Services;
using BTCPayServer.Tests.Logging;
using BTCPayServer.Views.Manage;
using BTCPayServer.Views.Server;
using BTCPayServer.Views.Stores;
using BTCPayServer.Views.Wallets;
using NBitcoin;
@@ -383,6 +384,16 @@ namespace BTCPayServer.Tests
Driver.FindElement(By.Id($"Wallet{navPages}")).Click();
}
}
public void GoToServer(ServerNavPages navPages = ServerNavPages.Index)
{
Driver.FindElement(By.Id("ServerSettings")).Click();
if (navPages != ServerNavPages.Index)
{
Driver.FindElement(By.Id($"Server-{navPages}")).Click();
}
}
public void GoToInvoice(string id)
{