@cypress/core-desktop-gui
Version:
Desktop GUI for managing Cypress projects.
33 lines (28 loc) • 672 B
HTML
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Cypress</title>
<link rel="stylesheet" href="app.css" />
</head>
<body>
<div id="app"></div>
<script src="vendor.js"></script>
<script src="app.js"></script>
<script>
if (!!window.Cypress) {
window.env = 'test'
} else {
window.env = 'production'
}
if (window.env === 'development') {
// this allows React DevTools to work in an iframe
// (if we're in Cypress running our app)
__REACT_DEVTOOLS_GLOBAL_HOOK__ = parent.__REACT_DEVTOOLS_GLOBAL_HOOK__
}
if (!window.Cypress) {
App.start()
}
</script>
</body>
</html>