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

Update spec/features/admin/project_custom_fields/edit_spec.rb

jjabari-op9cf5af6fc959
diff --git a/spec/features/admin/project_custom_fields/edit_spec.rb b/spec/features/admin/project_custom_fields/edit_spec.rb
index 397797d58a1..3d6349874bb 100644
--- a/spec/features/admin/project_custom_fields/edit_spec.rb
+++ b/spec/features/admin/project_custom_fields/edit_spec.rb
@@ -84,7 +84,7 @@ RSpec.describe 'Edit project custom fields', :js do
fill_in('custom_field_name', with: '')
click_on('Save')
- # no server side validation shown, html5 validation is used
+ expect(page).to have_field 'custom_field_name', validation_message: 'Please fill in this field.'
expect(page).to have_no_text('Successful update')