mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
FEATURE: rebuild user preferences page to use tabs
This commit is contained in:
@ -6,10 +6,12 @@ test("update some fields", () => {
|
||||
|
||||
andThen(() => {
|
||||
ok($('body.user-preferences-page').length, "has the body class");
|
||||
equal(currentURL(), '/u/eviltrout/preferences', "it doesn't redirect");
|
||||
equal(currentURL(), '/u/eviltrout/preferences/account', "defaults to account tab");
|
||||
ok(exists('.user-preferences'), 'it shows the preferences');
|
||||
});
|
||||
|
||||
click(".preferences-nav .nav-profile a");
|
||||
|
||||
fillIn("#edit-location", "Westeros");
|
||||
|
||||
click('.save-user');
|
||||
|
Reference in New Issue
Block a user