mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Add remarks from code review about comments
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user