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
Fix the my spent time widget spec by waiting for the calendar to be displayed.
Dombi Attila7d8a9a6562f0
diff --git a/modules/my_page/spec/features/my/my_spent_time_widget_with_a_negative_time_zone_spec.rb b/modules/my_page/spec/features/my/my_spent_time_widget_with_a_negative_time_zone_spec.rbindex 02117ee5c7a..e83329dafc0 100644--- a/modules/my_page/spec/features/my/my_spent_time_widget_with_a_negative_time_zone_spec.rb+++ b/modules/my_page/spec/features/my/my_spent_time_widget_with_a_negative_time_zone_spec.rb@@ -86,6 +86,7 @@ RSpec.describe 'My spent time widget with a negative time zone', :js,my_page.expect_and_dismiss_toaster message: I18n.t(:notice_successful_update)aggregate_failures("non-working days are displayed properly") do+ expect(page).to have_button('Today', disabled: true)expect(page).to have_no_css('.fc-day-mon.fc-non-working-day', wait: 0)expect(page).to have_css('.fc-day-tue.fc-non-working-day', wait: 0)expect(page).to have_no_css('.fc-day-wed.fc-non-working-day', wait: 0)