Improve another test to avoid false positives

This commit is contained in:
Veljko
2024-04-08 12:12:42 +02:00
committed by Veljko V
parent a0d64793aa
commit ddd88cd0bd

View File

@ -46,6 +46,12 @@ export async function newsletterPostNotification() {
});
// Click to add a new post notification email and set frequency
await page
.locator('[data-automation-id="newsletter_interval_type"]')
.waitFor({ state: 'visible' });
await page
.locator('[data-automation-id="newsletter_interval_type"]')
.click();
await page.selectOption(
'[data-automation-id="newsletter_interval_type"]',
'immediately',