discourse/test/javascripts/integration/topic-test.js.es6

12 lines
278 B
JavaScript

integration("View Topic");
test("Enter a Topic", function() {
expect(2);
visit("/t/internationalization-localization/280");
andThen(function() {
ok(exists("#topic"), "The was rendered");
ok(exists("#topic .post-cloak"), "The topic has cloaked posts");
});
});