Skip to content

Commit 79b49a3

Browse files
Cleanup
1 parent ac19857 commit 79b49a3

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

BTCPayServer.Plugins.IntegrationTests/Monero/MoneroPluginUITest.cs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public async Task EnableMoneroPluginSuccessfully()
3333
kraken.ExchangeRates.Add(new PairRate(CurrencyPair.Parse("XMR_BTC"), new BidAsk(0.1m)));
3434
rateProviderFactory.Providers.Add("kraken", kraken);
3535
}
36+
3637
await s.RegisterNewUser(true);
3738
await s.CreateNewStore(preferredExchange: "Kraken");
3839
await s.Page.Locator("a.nav-link[href*='monerolike/XMR']").ClickAsync();
@@ -53,20 +54,20 @@ public async Task EnableMoneroPluginSuccessfully()
5354
await s.Page.Locator("a.nav-link[href*='invoices']").ClickAsync();
5455
await s.Page.Locator("#page-primary").ClickAsync();
5556
await s.Page.FillAsync("#Amount", "4.20");
56-
await s.Page.FillAsync("#BuyerEmail", "monero@monero.com");
57+
await s.Page.FillAsync("#BuyerEmail", "monero@monero.com");
5758
await s.Page.Locator("#page-primary").ClickAsync();
58-
59+
5960
// View the invoice
6061
await s.Page.Locator("a.invoice-checkout-link").ClickAsync();
6162
await s.Page.ClickAsync("#DetailsToggle");
62-
63+
6364
// Verify the total fiat amount is $4.20
6465
var totalFiat = await s.Page.Locator("#PaymentDetails-TotalFiat dd.clipboard-button").InnerTextAsync();
6566
Assert.Equal("$4.20", totalFiat);
66-
67+
6768
await s.Page.GoBackAsync();
6869
await s.Page.Locator("a.nav-link[href*='monerolike/XMR']").ClickAsync();
69-
70+
7071
// Create a new account label
7172
await s.Page.FillAsync("#NewAccountLabel", "tst-account");
7273
await s.Page.ClickAsync("button[name='command'][value='add-account']");
@@ -75,7 +76,7 @@ public async Task EnableMoneroPluginSuccessfully()
7576
await s.Page.Locator("a.nav-link[href*='monerolike/XMR']").ClickAsync();
7677
await s.Page.SelectOptionAsync("#AccountIndex", "1");
7778
await s.Page.ClickAsync("#SaveButton");
78-
79+
7980
// Verify selected account index
8081
await s.Page.Locator("a.nav-link[href*='monerolike/XMR']").ClickAsync();
8182
var selectedValue = await s.Page.Locator("#AccountIndex").InputValueAsync();
@@ -84,7 +85,5 @@ public async Task EnableMoneroPluginSuccessfully()
8485
// Select confirmation time to 0
8586
await s.Page.SelectOptionAsync("#SettlementConfirmationThresholdChoice", "3");
8687
await s.Page.ClickAsync("#SaveButton");
87-
88-
8988
}
9089
}

0 commit comments

Comments
 (0)