mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
add smoke test for visiting categories
This commit is contained in:
@ -143,6 +143,14 @@ var runTests = function() {
|
||||
return $(".topic-list tbody tr").length;
|
||||
});
|
||||
|
||||
execAsync("go to categories page", 500, function(){
|
||||
window.location = "/categories";
|
||||
});
|
||||
|
||||
test("can see categories on the page", function() {
|
||||
return $('.category-list').length;
|
||||
});
|
||||
|
||||
execAsync("navigate to 1st topic", 500, function() {
|
||||
$(".main-link a.title:first").click();
|
||||
});
|
||||
|
Reference in New Issue
Block a user