mirror of
https://github.com/discourse/discourse.git
synced 2025-05-04 20:44:36 +08:00
22 lines
494 B
JavaScript
22 lines
494 B
JavaScript
integration("Static");
|
|
|
|
test("Static Pages", function() {
|
|
expect(4);
|
|
visit("/faq");
|
|
andThen(function() {
|
|
ok(exists(".body-page"), "The content is present");
|
|
});
|
|
visit("/guidelines");
|
|
andThen(function() {
|
|
ok(exists(".body-page"), "The content is present");
|
|
});
|
|
visit("/tos");
|
|
andThen(function() {
|
|
ok(exists(".body-page"), "The content is present");
|
|
});
|
|
visit("/privacy");
|
|
andThen(function() {
|
|
ok(exists(".body-page"), "The content is present");
|
|
});
|
|
});
|