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

pull/52785/head
weilirs 2023-12-27 10:13:43 -05:00 committed by GitHub
parent d8db4b27a9
commit 1407dcbda5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

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