Skip to content

Commit

Permalink
fix(vrt): fix flaky funnel-top-to-bottom tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Dec 19, 2024
1 parent df3ea8d commit 674fb01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/scenes/insights/Insights.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 674fb01

Please sign in to comment.