mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-17 14:24:26 +01:00
Better timeouts in playwright test
This commit is contained in:
committed by
benthecarman
parent
9c73e431b4
commit
c1445dcdc2
@@ -7,6 +7,8 @@ test.beforeEach(async ({ page }) => {
|
||||
});
|
||||
|
||||
test("rountrip receive and send", async ({ page }) => {
|
||||
test.slow(); // tell playwright that this test is slow
|
||||
|
||||
await loadHome(page);
|
||||
|
||||
await page.locator("#fab").click();
|
||||
@@ -133,6 +135,9 @@ test("rountrip receive and send", async ({ page }) => {
|
||||
|
||||
await page.click("text=Confirm");
|
||||
|
||||
// wait for the channel to close
|
||||
await page.waitForTimeout(5000);
|
||||
|
||||
await page
|
||||
.getByText(
|
||||
"It looks like you don't have any channels yet. To get started, receive some sats over lightning, or swap some on-chain funds into a channel. Get your hands dirty!"
|
||||
|
||||
Reference in New Issue
Block a user