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

Fix test: percentageDone is no longer editable

Christophe Bliarda7deaceaf165
diff --git a/spec/features/work_packages/share/access_spec.rb b/spec/features/work_packages/share/access_spec.rb
index a93e3c727fe..05e035ec6d0 100644
--- a/spec/features/work_packages/share/access_spec.rb
+++ b/spec/features/work_packages/share/access_spec.rb
@@ -100,7 +100,7 @@ RSpec.describe "Shared Work Package Access",
%i[type subject description
assignee responsible
estimatedTime remainingTime
- combinedDate percentageDone category version
+ combinedDate category version
overallCosts laborCosts].each do |field|
work_package_page.edit_field(field).expect_read_only
end
@@ -174,7 +174,7 @@ RSpec.describe "Shared Work Package Access",
%i[type subject description
assignee responsible
estimatedTime remainingTime
- combinedDate percentageDone category version
+ combinedDate category version
overallCosts laborCosts].each do |field|
work_package_page.edit_field(field).expect_read_only
end
@@ -253,7 +253,7 @@ RSpec.describe "Shared Work Package Access",
%i[type subject description
assignee responsible
estimatedTime remainingTime
- combinedDate percentageDone category].each do |field|
+ combinedDate category].each do |field|
expect(work_package_page.edit_field(field))
.to be_editable
end