2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00
discourse/test/javascripts/integration/badges-test.js.es6

15 lines
387 B
Text
Raw Normal View History

integration("Badges");
test("Visit Badge Pages", function() {
visit("/badges");
andThen(function() {
ok(exists('.badges-listing tr'), "has a list of badges");
});
visit("/badges/9/autobiographer");
andThen(function() {
ok(exists('.badges-listing tr'), "has the badge in the listing");
ok(exists('.badge-user'), "has the list of users with that badge");
});
});