test(e2e,playwright): unsubscribe page improvement(added test for the flash) (#52505)

This commit is contained in:
weilirs
2023-12-27 10:13:43 -05:00
committed by GitHub
parent d8db4b27a9
commit 1407dcbda5

View File

@@ -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();
});
});