mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 23:35:58 +08:00
22 lines
640 B
JavaScript
22 lines
640 B
JavaScript
integration("User");
|
|
|
|
test("Activity Streams", function() {
|
|
expect(14);
|
|
|
|
var streamTest = function(url) {
|
|
visit(url).then(function() {
|
|
ok(exists(".user-main"), "The main content is rendered");
|
|
ok(exists(".user-navigation"), "The navigation is rendered");
|
|
});
|
|
};
|
|
|
|
streamTest("/users/eviltrout");
|
|
streamTest("/users/eviltrout/activity/topics");
|
|
streamTest("/users/eviltrout/activity/posts");
|
|
streamTest("/users/eviltrout/activity/replies");
|
|
streamTest("/users/eviltrout/activity/likes-given");
|
|
streamTest("/users/eviltrout/activity/likes-received");
|
|
streamTest("/users/eviltrout/activity/edits");
|
|
|
|
});
|