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
WIP: Add time_entry_activity_spec
Mir Bhatiaf011ed99c361
diff --git a/spec/features/activities/time_entry_activity_spec.rb b/spec/features/activities/time_entry_activity_spec.rbindex 182824cfbdc..b9c3dbac04e 100644--- a/spec/features/activities/time_entry_activity_spec.rb+++ b/spec/features/activities/time_entry_activity_spec.rb@@ -65,8 +65,6 @@ describe 'TimeEntry activities' douser:,comments: 'lorem ipsum')end- # let(:wiki) { project.wiki }- # let(:editor) { Components::WysiwygEditor.new }before dologin_as user@@ -81,15 +79,16 @@ describe 'TimeEntry activities' douncheck 'Work packages'click_button 'Apply'- binding.prywithin("li.op-activity-list--item", match: :first) do- expect(page).to have_link("#{project.types.first} ##{work_package.id}: #{work_package.subject}") # follow link?+ expect(page).to have_link("#{project.types.first} ##{work_package.id}: #{work_package.subject}")expect(page).to have_selector('li', text: "Spent time: #{time_entry.hours.to_i} hours")expect(page).to have_link('Details')-click_link('Details')- expect(find_field('Work Package Value').value).to eq("#{work_package.id}")end++ expect(find_field('work_package_id_arg_1_val').value).to eq("#{work_package.id}")++endend