mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
unify user preferences views
This commit is contained in:
parent
55a963252d
commit
3ddfc12307
7 changed files with 91 additions and 82 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue