Spec: Check a teacher can get to /user_notes page.

Test plan:
- run spec

Change-Id: I04cbdd04e4de3cacc112f90a55637d224efb2f93
Reviewed-on: https://gerrit.instructure.com/65973
Tested-by: Jenkins
Reviewed-by: Derek Hansen <dhansen@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
This commit is contained in:
Adrian Russell 2015-10-28 09:55:31 -06:00 committed by Derek Hansen
parent 05f776837c
commit d17f455275
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ describe "conversations new" do
include_context "in-process server selenium tests"
let(:account) { Account.default }
let(:account_settings_url) { "/accounts/#{account.id}/settings" }
let(:user_notes_url) { "/courses/#{@course.id}/user_notes"}
before do
conversation_setup
@ -33,6 +34,11 @@ describe "conversations new" do
get_conversations
end
it "should go to the user_notes page", priority: "1", test_id: 133090 do
get user_notes_url
expect(f('#breadcrumbs')).to include_text('Faculty Journal')
end
it "should be allowed on new private conversations with students", priority: "1", test_id: 207094 do
compose course: @course, to: [@s1, @s2], body: 'hallo!', send: false