Skip to content

Commit e5470c7

Browse files
committed
spec: syllabus: check if wiki sidebar present
refs: CNVS-11193 Change-Id: Ic50a44d5c0d84cb1ced3f05e4ac056f52c0d2e6a Reviewed-on: https://gerrit.instructure.com/31526 Tested-by: Jenkins <jenkins@instructure.com> Reviewed-by: Hannah Bottalla <hannah@instructure.com> Product-Review: Hannah Bottalla <hannah@instructure.com> QA-Review: Hannah Bottalla <hannah@instructure.com> Tested-by: Hannah Bottalla <hannah@instructure.com>
1 parent cc51023 commit e5470c7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

spec/selenium/teacher_syllabus_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def add_assignment(title, points)
4040
it "should edit the description" do
4141
new_description = "new syllabus description"
4242
f('.edit_syllabus_link').click
43+
# check that the wiki sidebar is visible
44+
f('#editor_tabs .wiki-sidebar-header').should include_text("Insert Content into the Page")
4345
edit_form = f('#edit_course_syllabus_form')
4446
wait_for_tiny(keep_trying_until { f('#edit_course_syllabus_form') })
4547
type_in_tiny('#course_syllabus_body', new_description)
@@ -54,4 +56,4 @@ def add_assignment(title, points)
5456
f('.mini_month .today').should have_attribute('id', "mini_day_#{Time.now.strftime('%Y_%m_%d')}")
5557
end
5658
end
57-
end
59+
end

0 commit comments

Comments
 (0)