Update expected in newsletter listing test

This commit is contained in:
Veljko
2023-03-31 15:29:27 +02:00
committed by Veljko V
parent 902e275c47
commit 34b7bf5cad

View File

@ -47,12 +47,11 @@ export async function newsletterListing() {
});
// Check if there is element present and visible
page.waitForSelector('[data-automation-id="listing_filter_segment"]');
page.waitForSelector('[data-automation-id="filters_all"]');
page.waitForLoadState('networkidle');
describe(emailsPageTitle, () => {
describe('should be able to see Lists Filter', () => {
expect(page.locator('[data-automation-id="listing_filter_segment"]')).to
.exist;
describe('should be able to see All Filter', () => {
expect(page.locator('[data-automation-id="filters_all"]')).to.exist;
});
});