Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix flickering spec

ulferts42688f42c484
diff --git a/modules/backlogs/spec/features/stories_in_backlog_spec.rb b/modules/backlogs/spec/features/stories_in_backlog_spec.rb
index 90b8b1104ae..0c7668bba09 100644
--- a/modules/backlogs/spec/features/stories_in_backlog_spec.rb
+++ b/modules/backlogs/spec/features/stories_in_backlog_spec.rb
@@ -126,10 +126,6 @@ describe 'Stories in backlog',
it 'displays stories which are editable' do
backlogs_page.visit!
- # Velocity is calculated by summing up all story points in a sprint
- backlogs_page
- .expect_velocity(sprint_story1, 30)
-
# All stories are visible in their sprint/backlog
# but non stories are not displayed
backlogs_page
@@ -150,6 +146,10 @@ describe 'Stories in backlog',
backlogs_page
.expect_stories_in_order(sprint, sprint_story1, sprint_story2)
+ # Velocity is calculated by summing up all story points in a sprint
+ backlogs_page
+ .expect_velocity(sprint_story1, 30)
+
# Creating a story
backlogs_page.click_in_backlog_menu(sprint, 'New Story')