From 674fb01bdda274359155c279485c24459a4dc3b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Obermu=CC=88ller?= Date: Thu, 19 Dec 2024 18:01:22 +0100 Subject: [PATCH] fix(vrt): fix flaky funnel-top-to-bottom tests --- frontend/src/scenes/insights/Insights.stories.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/scenes/insights/Insights.stories.tsx b/frontend/src/scenes/insights/Insights.stories.tsx index c97f692eb5bd0..db3f3f11e459c 100644 --- a/frontend/src/scenes/insights/Insights.stories.tsx +++ b/frontend/src/scenes/insights/Insights.stories.tsx @@ -278,28 +278,28 @@ export const FunnelTopToBottom: Story = createInsightStory( require('../../mocks/fixtures/api/projects/team_id/insights/funnelTopToBottom.json') ) FunnelTopToBottom.parameters = { - testOptions: { waitForSelector: ['[data-attr=funnel-bar-horizontal] .funnel-bar', '.PayGateMini'] }, + testOptions: { waitForSelector: ['[data-attr=funnel-bar-horizontal] .funnel-bar.only', '.PayGateMini'] }, } export const FunnelTopToBottomEdit: Story = createInsightStory( require('../../mocks/fixtures/api/projects/team_id/insights/funnelTopToBottom.json'), 'edit' ) FunnelTopToBottomEdit.parameters = { - testOptions: { waitForSelector: ['[data-attr=funnel-bar-horizontal] .funnel-bar', '.PayGateMini'] }, + testOptions: { waitForSelector: ['[data-attr=funnel-bar-horizontal] .funnel-bar.only', '.PayGateMini'] }, } export const FunnelTopToBottomBreakdown: Story = createInsightStory( require('../../mocks/fixtures/api/projects/team_id/insights/funnelTopToBottomBreakdown.json') ) FunnelTopToBottomBreakdown.parameters = { - testOptions: { waitForSelector: ['[data-attr=funnel-bar-horizontal] .funnel-bar', '.PayGateMini'] }, + testOptions: { waitForSelector: ['[data-attr=funnel-bar-horizontal] .funnel-bar.only', '.PayGateMini'] }, } export const FunnelTopToBottomBreakdownEdit: Story = createInsightStory( require('../../mocks/fixtures/api/projects/team_id/insights/funnelTopToBottomBreakdown.json'), 'edit' ) FunnelTopToBottomBreakdownEdit.parameters = { - testOptions: { waitForSelector: ['[data-attr=funnel-bar-horizontal] .funnel-bar', '.PayGateMini'] }, + testOptions: { waitForSelector: ['[data-attr=funnel-bar-horizontal] .funnel-bar.only', '.PayGateMini'] }, } export const FunnelHistoricalTrends: Story = createInsightStory(