diff --git a/modules/meeting/spec/features/presentation/meeting_presentation_mode_spec.rb b/modules/meeting/spec/features/presentation/meeting_presentation_mode_spec.rb index f4a59757771..017a233a79f 100644 --- a/modules/meeting/spec/features/presentation/meeting_presentation_mode_spec.rb +++ b/modules/meeting/spec/features/presentation/meeting_presentation_mode_spec.rb @@ -173,9 +173,10 @@ RSpec.describe "Meeting Presentation Mode", :js do # 2. Edit an agenda item (add notes) item = MeetingAgendaItem.find(first_agenda_item.id) - # Find and click the edit action for notes + # Find and click the edit action for notes and add a body (was empty before) show_page.select_action(item, "Edit") editor.set_markdown "# Hello there" + show_page.in_edit_form(item) do click_link_or_button "Save" end diff --git a/modules/overviews/spec/features/managing_dashboard_page_spec.rb b/modules/overviews/spec/features/managing_dashboard_page_spec.rb index 12a780c0079..8910061f404 100644 --- a/modules/overviews/spec/features/managing_dashboard_page_spec.rb +++ b/modules/overviews/spec/features/managing_dashboard_page_spec.rb @@ -139,12 +139,10 @@ RSpec.describe "Dashboard page managing", :js do # Resizing leads to the table area now spanning a larger area table_area.expect_to_span(4, 1, 5, 3) - - expect(page) - .to have_content(created_work_package.subject) - expect(page) - .to have_content(assigned_work_package.subject) - + expect(page) + .to have_content(created_work_package.subject) + expect(page) + .to have_content(assigned_work_package.subject) sleep(0.1)