spec: fix brittle spec

this fails at least once on over half of all builds

Change-Id: I18595808e992ba2687a3a1b8d87fe7e899c3a5e9
Reviewed-on: https://gerrit.instructure.com/86921
Tested-by: Jenkins
Reviewed-by: Landon Wilkins <lwilkins@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
QA-Review: Landon Wilkins <lwilkins@instructure.com>
This commit is contained in:
Jon Jensen 2016-08-04 13:32:31 -06:00
parent 00ae5e6186
commit 3895f1981d
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ describe "announcements" do
it "should bulk lock topics", priority: "1", test_id: 220361 do
5.times { |i| @checkboxes[i].click }
scroll_page_to_top # if we only scroll until it's in view, its tooltip can interfere with clicks
move_to_click('label[for=lock]')
wait_for_ajax_requests
#TODO: check the UI to make sure the topics have a locked symbol