Skip to content

Commit

Permalink
chore: more reliable save post for e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
abaicus committed Feb 3, 2025
1 parent f19e2b0 commit 5abeed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const savePost = async (page: Page) => {
await expect(saveButton).toBeVisible();
await expect(saveButton).toBeEnabled();
await saveButton.click();
await page.waitForTimeout(2000);
await page.waitForSelector('.components-snackbar');
};

/**
Expand Down

0 comments on commit 5abeed7

Please sign in to comment.