This repository has been archived on 2023-03-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
osr-discourse-src/test/javascripts/integration/badges-test.js.es6
T

15 lines
372 B
JavaScript

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