unify user preferences views

This commit is contained in:
Maja Komel
2018-06-28 22:14:04 +02:00
committed by Sam
parent 55a963252d
commit 3ddfc12307
7 changed files with 91 additions and 82 deletions

View File

@ -125,7 +125,7 @@ QUnit.test("second factor", assert => {
});
fillIn("#password", "secrets");
click(".user-content .btn-primary");
click(".user-preferences .btn-primary");
andThen(() => {
assert.ok(exists("#test-qr"), "shows qr code");
@ -156,7 +156,7 @@ QUnit.test("second factor backup", assert => {
});
fillIn("#second-factor-token", "111111");
click(".second-factor-form .btn-primary");
click(".user-preferences .btn-primary");
andThen(() => {
assert.ok(exists(".backup-codes-area"), "shows backup codes");