FEATURE: rebuild user preferences page to use tabs

This commit is contained in:
Neil Lalonde
2017-04-26 16:18:16 -04:00
parent f5f4c36795
commit 2503241ce5
35 changed files with 1039 additions and 689 deletions

View File

@ -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');