Files
cypress/packages/runner/static/index.html
Brian Mann 88950a42f6 Issue 1436 (#1437)
* driver: add eslint cypress plugin

* server, driver, runner: add __Cypress__ global to runner, add Jira rule to rewrite function to return correct window
2018-03-09 14:58:56 -05:00

25 lines
748 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{projectName}}</title>
<link href="/__cypress/static/favicon.ico" rel="icon">
<link rel="stylesheet" href="/__cypress/runner/cypress_runner.css">
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="/__cypress/runner/cypress_runner.js"></script>
<script type="text/javascript">
// set a global so we know the 'top' window
window.__Cypress__ = true
setTimeout(function(){
Runner.start(document.getElementById('app'), {{{config}}})
}, 0)
</script>
</body>
</html>