Skip to content

Commit

Permalink
Better timeouts in playwright test
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Jul 1, 2024
1 parent 9c73e43 commit c1445dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2e/roundtrip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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!"
Expand Down

0 comments on commit c1445dc

Please sign in to comment.