mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 19:41:18 +08:00
ES6: Tests
This commit is contained in:
21
test/javascripts/integration/static-test.js.es6
Normal file
21
test/javascripts/integration/static-test.js.es6
Normal file
@ -0,0 +1,21 @@
|
||||
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");
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user