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

Replace help text spec now that it only shows the dashboard

Oliver Günther135285003256
diff --git a/spec/features/projects/attribute_help_texts_spec.rb b/spec/features/projects/attribute_help_texts_spec.rb
index ca358777568..2393985ec82 100644
--- a/spec/features/projects/attribute_help_texts_spec.rb
+++ b/spec/features/projects/attribute_help_texts_spec.rb
@@ -73,28 +73,8 @@ RSpec.describe "Project attribute help texts", :js do
end
shared_examples "allows to view help texts" do |show_edit:|
- it "shows help text links" do
- visit project_path(project)
-
- within "#menu-sidebar" do
- click_link_or_button "Project home"
- end
-
- wait_for_network_idle
- expect(page).to have_css("#{test_selector('op-widget-box--header')} .help-text--entry", wait: 10, count: 2)
- end
-
it "shows help text modal on clicking help text link" do
- visit project_path(project)
-
- within "#menu-sidebar" do
- click_link_or_button "Project home"
- end
- wait_for_network_idle
-
- within_test_selector "overview-tabs" do
- click_on "Dashboard"
- end
+ visit dashboard_project_overview_path(project)
wait_for_network_idle
expect(page).to have_css("#{test_selector('op-widget-box--header')} .help-text--entry", wait: 10)