mirror of
https://github.com/discourse/discourse.git
synced 2025-06-24 20:51:32 +08:00
Remove more view classes
This commit is contained in:
@ -19,17 +19,23 @@ test("update some fields", () => {
|
||||
});
|
||||
});
|
||||
|
||||
test("about me", () => {
|
||||
test("username", () => {
|
||||
visit("/users/eviltrout/preferences/username");
|
||||
andThen(() => {
|
||||
ok(exists("#change_username"), "it has the input element for the bio");
|
||||
ok(exists("#change_username"), "it has the input element");
|
||||
});
|
||||
});
|
||||
|
||||
test("username", () => {
|
||||
test("about me", () => {
|
||||
visit("/users/eviltrout/preferences/about-me");
|
||||
andThen(() => {
|
||||
ok(exists(".raw-bio"), "it has the input element for the bio");
|
||||
ok(exists(".raw-bio"), "it has the input element");
|
||||
});
|
||||
});
|
||||
|
||||
test("email", () => {
|
||||
visit("/users/eviltrout/preferences/email");
|
||||
andThen(() => {
|
||||
ok(exists("#change_email"), "it has the input element");
|
||||
});
|
||||
});
|
||||
|
@ -18,6 +18,7 @@ test("Visit Discovery Pages", () => {
|
||||
|
||||
visit("/categories");
|
||||
andThen(() => {
|
||||
ok($('body.navigation-categories').length, "has the body class");
|
||||
ok($('body.category-bug').length === 0, "removes the custom category class");
|
||||
ok(exists('.category'), "has a list of categories");
|
||||
ok($('body.categories-list').length, "has a custom class to indicate categories");
|
||||
|
Reference in New Issue
Block a user