mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
c3f450cc5a
no issue - Ember will not output the application template wrapper div in the future but it's possible to optionally enable that feature now - fixes test harness render so that all elements are constrained to the application wrapper rather than breaking out with `position: fixed` and covering the test results
51 lines
1.5 KiB
HTML
51 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>Ghost Tests</title>
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
{{content-for "head"}}
|
|
{{content-for "test-head"}}
|
|
|
|
<link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
|
|
<link rel="stylesheet" href="{{rootURL}}assets/ghost.css">
|
|
<link rel="stylesheet" href="{{rootURL}}assets/test-support.css">
|
|
|
|
{{content-for "head-footer"}}
|
|
{{content-for "test-head-footer"}}
|
|
|
|
<style>
|
|
/* fix to ensure we use full viewport height when testing */
|
|
#ember-testing {
|
|
height: 100%;
|
|
}
|
|
#ember-testing .gh-app {
|
|
position: relative;
|
|
}
|
|
/* fix firefox not supporting `zoom: 50%` */
|
|
_::-moz-range-track, body:last-child #ember-testing {
|
|
-moz-transform-origin: 0 0;
|
|
-moz-transform: scale(0.5);
|
|
width: 200%;
|
|
height: 200%;
|
|
}
|
|
</style>
|
|
</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/ghost.js"></script>
|
|
<script src="{{rootURL}}assets/tests.js"></script>
|
|
|
|
{{content-for "body-footer"}}
|
|
{{content-for "test-body-footer"}}
|
|
</body>
|
|
</html>
|