mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: subcategory list style: boxes with featured topics
This commit is contained in:
@@ -36,4 +36,11 @@ test("Visit Discovery Pages", () => {
|
||||
ok(exists(".topic-list"), "The list of topics was rendered");
|
||||
ok(exists(".category-boxes"), "The list of subcategories were rendered with box style");
|
||||
});
|
||||
|
||||
visit("/c/dev");
|
||||
andThen(() => {
|
||||
ok(exists(".topic-list"), "The list of topics was rendered");
|
||||
ok(exists(".category-boxes-with-topics"), "The list of subcategories were rendered with box-with-featured-topics style");
|
||||
ok(exists(".category-boxes-with-topics .featured-topics"), "The featured topics are there too");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user