From 34b7bf5cadb53e82516f712e98a0d7635b27b812 Mon Sep 17 00:00:00 2001 From: Veljko Date: Fri, 31 Mar 2023 15:29:27 +0200 Subject: [PATCH] Update expected in newsletter listing test --- mailpoet/tests/performance/tests/newsletter-listing.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mailpoet/tests/performance/tests/newsletter-listing.js b/mailpoet/tests/performance/tests/newsletter-listing.js index 45af22aaad..dbe1e9266c 100644 --- a/mailpoet/tests/performance/tests/newsletter-listing.js +++ b/mailpoet/tests/performance/tests/newsletter-listing.js @@ -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; }); });