Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Commit c1445dc

Browse files
committed
Better timeouts in playwright test
1 parent 9c73e43 commit c1445dc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

e2e/roundtrip.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ test.beforeEach(async ({ page }) => {
77
});
88

99
test("rountrip receive and send", async ({ page }) => {
10+
test.slow(); // tell playwright that this test is slow
11+
1012
await loadHome(page);
1113

1214
await page.locator("#fab").click();
@@ -133,6 +135,9 @@ test("rountrip receive and send", async ({ page }) => {
133135

134136
await page.click("text=Confirm");
135137

138+
// wait for the channel to close
139+
await page.waitForTimeout(5000);
140+
136141
await page
137142
.getByText(
138143
"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!"

0 commit comments

Comments
 (0)