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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#66093] Project list spec: check absence of error
Tobias Dillmann59e92b26c172
diff --git a/spec/features/projects/lists/columns_spec.rb b/spec/features/projects/lists/columns_spec.rbindex 8f11a4dd791..53f80724530 100644--- a/spec/features/projects/lists/columns_spec.rb+++ b/spec/features/projects/lists/columns_spec.rb@@ -459,12 +459,16 @@ RSpec.describe "Projects lists columns", :js, with_settings: { login_required?:endit "displays the error in the value cell" do- projects_page.set_columns("Name", division_by_zero_calculated_value.name)+ projects_page.set_columns("Name", division_by_zero_calculated_value.name, static_int_calculated_value.name)projects_page.within_row(project) doexpect(page).to have_css(".name", text: project.name)+ # No error for that field:+ expect(page).to have_no_test_selector("calculated-value-error-btn-#{static_int_calculated_value.id}")++ # But there is one here:error_button = page.find_test_selector("calculated-value-error-btn-#{division_by_zero_calculated_value.id}")expect(error_button).to be_presenterror_button.click