Skip to content

Commit

Permalink
spec: fix flaky quizzes teacher specs
Browse files Browse the repository at this point in the history
test plan: passes Jenkins

Change-Id: Iaae6b345b8e8cd3ff46cd33dee94b1bcc1c73e67
Reviewed-on: https://gerrit.instructure.com/142649
Tested-by: Jenkins
Reviewed-by: Gentry Beckmann <[email protected]>
Product-Review: Robert Lamb <[email protected]>
QA-Review: Robert Lamb <[email protected]>
  • Loading branch information
Robert Lamb committed Mar 6, 2018
1 parent 034dd55 commit 3737c57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/selenium/quizzes/quizzes_teacher_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def add_question_to_group
expect(pick_count_field).to have_attribute(:value, "1")

click_new_question_button # 1 total, ok
wait_for_ajaximations
group_form.find_element(:css, '.edit_group_link').click
pick_count.call('999') # 1000 total, ok

Expand Down
1 change: 1 addition & 0 deletions spec/selenium/quizzes/rcs/quizzes_teacher_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def add_question_to_group
expect(pick_count_field).to have_attribute(:value, "1")

click_new_question_button # 1 total, ok
wait_for_ajaximations
group_form.find_element(:css, '.edit_group_link').click
pick_count.call('999') # 1000 total, ok

Expand Down

0 comments on commit 3737c57

Please sign in to comment.