Add remarks from code review about comments

This commit is contained in:
Klaus Zanders
2026-03-20 13:22:18 +01:00
parent dcdfd90758
commit 974a0ec0f4
2 changed files with 6 additions and 7 deletions
@@ -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
@@ -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)