spec: add settings cog | view grading history spec

Change-Id: Ia75968cd767699f553cc58a95be3497f06865be4
164218: View Grading History - Link
Reviewed-on: https://gerrit.instructure.com/78574
Tested-by: Jenkins
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Gentry Beckmann <gbeckmann@instructure.com>
Product-Review: Gentry Beckmann <gbeckmann@instructure.com>
This commit is contained in:
KC Naegle 2016-04-21 14:44:03 -06:00 committed by Gentry Beckmann
parent 7108dadfd7
commit 4261cf6d70
1 changed files with 8 additions and 0 deletions

View File

@ -114,6 +114,14 @@ describe "gradebook2" do
expect(f('.gradebook_dropdown')).to be_displayed
end
it "View Grading History menu item redirects to grading history page", priority: "2", test_id: 164218 do
get "/courses/#{@course.id}/gradebook2"
f('#gradebook_settings').click
fj('.ui-menu-item a:contains("View Grading History")').click
expect(driver.current_url).to include("/courses/#{@course.id}/gradebook/history")
end
it "should validate assignment details", priority: "1", test_id: 210048 do
submissions_count = @second_assignment.submissions.count.to_s + ' submissions'