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

attempt to fix flickering spec

ulfertsf13eb753fa95
diff --git a/modules/dashboards/spec/features/work_package_graph_spec.rb b/modules/dashboards/spec/features/work_package_graph_spec.rb
index 26a126505da..8735aaf2d3d 100644
--- a/modules/dashboards/spec/features/work_package_graph_spec.rb
+++ b/modules/dashboards/spec/features/work_package_graph_spec.rb
@@ -100,6 +100,9 @@ RSpec.describe "Arbitrary WorkPackage query graph widget dashboard",
context "with the permission to save queries" do
it "can add the widget and see the work packages of the filtered for types" do
+ # Displayed by default as the dashboard is created on first visiting the page.
+ dashboard_page.expect_and_dismiss_toaster(message: "Successful update.")
+
expect(page)
.to have_content(type_work_package.subject)