* DEV: Use custom tags rather than handlebars server side These will be skipped if they are ever rendered in a document. The handlebars really messes stuff up. * DEV: Build our own locale file for testing purposes We can't practically proxy everything in test mode, but we can approximate the logic and build our own locale file for testing purposes that works quite well. This allows us to run tests without a proxy. * DEV: Support for testem runner for ember cli tests
50 lines
1.6 KiB
HTML
50 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>Discourse Tests</title>
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta property="og:title" content="Discourse Tests">
|
|
<meta property="og:url" content="{{rootURL}}">
|
|
|
|
{{content-for "head"}}
|
|
{{content-for "test-head"}}
|
|
|
|
<link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
|
|
<link rel="stylesheet" href="{{rootURL}}assets/test-support.css">
|
|
<link rel="stylesheet" href="{{rootURL}}assets/testem.css">
|
|
|
|
{{content-for "head-footer"}}
|
|
{{content-for "test-head-footer"}}
|
|
|
|
<style>
|
|
#ember-testing * {
|
|
-webkit-transition: none !important;
|
|
-moz-transition: none !important;
|
|
-o-transition: none !important;
|
|
transition: none !important;
|
|
}
|
|
</style>
|
|
|
|
<script src="{{rootURL}}assets/test-i18n.js"></script>
|
|
</head>
|
|
<body>
|
|
{{content-for "body"}}
|
|
{{content-for "test-body"}}
|
|
|
|
<script src="/testem.js" integrity=""></script>
|
|
<script src="{{rootURL}}assets/vendor.js"></script>
|
|
<script src="{{rootURL}}assets/test-support.js"></script>
|
|
<script src="{{rootURL}}assets/discourse.js"></script>
|
|
<script src="{{rootURL}}assets/discourse-markdown.js"></script>
|
|
<script src="{{rootURL}}assets/admin.js"></script>
|
|
<script src="{{rootURL}}assets/tests.js"></script>
|
|
<script src="{{rootURL}}assets/scripts/discourse-boot.js"></script>
|
|
|
|
{{content-for "body-footer"}}
|
|
{{content-for "test-body-footer"}}
|
|
</body>
|
|
</html>
|