Skip to content

Commit 0a911a9

Browse files
committed
fix: e2e test failing
1 parent 9fcba74 commit 0a911a9

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/e2e/specs/upsell.spec.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,7 @@ test.describe( 'Upsell', () => {
3535

3636
const filterByKeywordAlert = await filtersTab.locator('.upgrade-alert').first();
3737
let upgradeLink = new URL( await filterByKeywordAlert.locator('a').first().getAttribute('href') );
38-
expect( upgradeLink.searchParams.get( 'utm_campaign' ) ).toBe('filter-keyword');
39-
40-
const excludeItemsAlert = await filtersTab.locator('.upgrade-alert').nth(1);
41-
upgradeLink = new URL( await excludeItemsAlert.locator('a').first().getAttribute('href') );
42-
expect( upgradeLink.searchParams.get( 'utm_campaign' ) ).toBe('exclude-items');
43-
44-
const filterByTimeRangeAlert = await filtersTab.locator('.upgrade-alert').nth(2);
45-
upgradeLink = new URL( await filterByTimeRangeAlert.locator('a').first().getAttribute('href') );
46-
expect( upgradeLink.searchParams.get( 'utm_campaign' ) ).toBe('filter-time-range');
38+
expect( upgradeLink.searchParams.get( 'utm_campaign' ) ).toBe('filters');
4739
} );
4840

4941
test( 'map content', async({ editor, page }) => {

0 commit comments

Comments
 (0)