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

Remove unnecessary expectation from sidebar interaction in index_spec

Aaron Contreras02c5bc47ac3d
diff --git a/modules/team_planner/spec/features/team_planner_index_spec.rb b/modules/team_planner/spec/features/team_planner_index_spec.rb
index 31b958fd062..c1441e46974 100644
--- a/modules/team_planner/spec/features/team_planner_index_spec.rb
+++ b/modules/team_planner/spec/features/team_planner_index_spec.rb
@@ -53,11 +53,6 @@ RSpec.describe 'Team planner index', :js, :with_cuprite, with_ee: %i[team_planne
it 'can create an action through the sidebar' do
find('[data-qa-selector="team-planner--create-button"]').click
- team_planner.expect_title
-
- # Also works from the frontend
- find('[data-qa-selector="team-planner--create-button"]').click
-
team_planner.expect_no_toaster
team_planner.expect_title
end