Add spec to test enabling profile pics

sshepherd,panda,1

Test Plan:
  - run specs

Change-Id: I09f42c132bec13cddcb1e0fc8b2c8ee39267576d
Reviewed-on: https://gerrit.instructure.com/60305
Reviewed-by: Derek Hansen <dhansen@instructure.com>
Tested-by: Jenkins
Product-Review: Steven Shepherd <sshepherd@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
This commit is contained in:
Steven Shepherd 2015-08-07 14:40:41 -06:00
parent 8fcf7bf863
commit 1863926c8c
1 changed files with 9 additions and 0 deletions

View File

@ -256,6 +256,15 @@ describe "profile" do
local_storage!
end
it "should save admin profile pics setting", priority: "1", test_id: 68933 do
site_admin_logged_in
get "/accounts/#{Account.default.id}/settings"
f('#account_services_avatars').click
f('.btn.btn-primary[type="submit"]').click
wait_for_ajaximations
expect(is_checked('#account_services_avatars')).to be_truthy
end
it "should successfully upload profile pictures" do
skip("intermittently fails")
course_with_teacher_logged_in