Skip to content

Commit 2e82b0f

Browse files
committed
chore: fix e2e tests
1 parent bc14d4b commit 2e82b0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/specs/upsell.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ test.describe( 'Upsell', () => {
5757
searchParams = new URLSearchParams(href);
5858
expect( searchParams.get('utm_campaign') ).toBe('import-chart');
5959

60-
const wpImportUpsell = page.frameLocator('iframe').locator('#vz-chart-source .visualizer_source_query_wp .only-pro-inner a');
60+
const wpImportUpsell = page.frameLocator('iframe').locator('#vz-chart-source .visualizer_source_query_wp .only-pro-inner a').last();
6161
href = await wpImportUpsell.getAttribute('href');
6262
searchParams = new URLSearchParams(href);
6363
expect( searchParams.get('utm_campaign') ).toBe('import-wp');

0 commit comments

Comments
 (0)