add smoke test for visiting categories
This commit is contained in:
parent
62d245dde3
commit
8491f8c48b
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue