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:
parent
05f776837c
commit
d17f455275
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue