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 stabilize flickering spec

ulferts5c06bc12ed4c
diff --git a/modules/documents/spec/features/attachment_upload_spec.rb b/modules/documents/spec/features/attachment_upload_spec.rb
index 15abc91dcce..197283b41ad 100644
--- a/modules/documents/spec/features/attachment_upload_spec.rb
+++ b/modules/documents/spec/features/attachment_upload_spec.rb
@@ -52,6 +52,9 @@ describe 'Upload attachment to documents', js: true do
it 'can upload an image' do
visit project_documents_path(project)
+ expect(page)
+ .to have_content I18n.t(:no_results_title_text)
+
within '.toolbar-items' do
click_on 'Document'
end