mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
test(e2e,playwright): unsubscribe page improvement(added test for the flash) (#52505)
This commit is contained in:
@@ -82,5 +82,10 @@ test.describe('The unsubscribed page with unsubscribeId', () => {
|
||||
await resubscribeButton.click();
|
||||
|
||||
await expect(page).toHaveURL(`${encoded_url_text}`);
|
||||
await expect(
|
||||
page.getByText(
|
||||
"We've successfully updated your email preferences. Thank you for resubscribing."
|
||||
)
|
||||
).toBeVisible();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user