test: remove a raw 3-second wait from test utils
This commit is contained in:
@@ -368,12 +368,9 @@ export async function waitForRegistrationStatusToSettle(page: Page): Promise<voi
|
||||
page.locator("#sectionUsageLimits").getByText("Checking")
|
||||
).toBeHidden({ timeout: 15000 });
|
||||
|
||||
// Additional wait to ensure the async registration check has time to complete
|
||||
// and update the database with the correct registration status
|
||||
await page.waitForTimeout(3000);
|
||||
|
||||
// Instead of navigating to invite-one, we'll trigger a registration check
|
||||
// Before navigating back to the page, we'll trigger a registration check
|
||||
// by navigating to home and waiting for the registration process to complete
|
||||
|
||||
const currentUrl = page.url();
|
||||
|
||||
// Navigate to home to trigger the registration check
|
||||
|
||||
Reference in New Issue
Block a user