This repository has been archived on 2025-05-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
discourse/test/javascripts/integration/topic-test.js.es6

17 lines
426 B
Text
Raw Normal View History

integration("View Topic");
test("Enter a Topic", () => {
2014-07-30 13:27:14 -04:00
visit("/t/internationalization-localization/280");
andThen(() => {
ok(exists("#topic"), "The topic was rendered");
ok(exists("#topic .post-cloak"), "The topic has cloaked posts");
});
});
test("Enter without an id", () => {
visit("/t/internationalization-localization");
andThen(() => {
ok(exists("#topic"), "The topic was rendered");
});
});