@revoloo/cypress6
Version:
Cypress.io end to end testing tool
21 lines (19 loc) • 521 B
HTML
<html>
<head>
<meta charset="utf-8">
<title>{{title}}</title>
</head>
<body>
<script type="text/javascript">
document.domain = '{{domain}}';
(function(parent) {
var Cypress = window.Cypress = parent.Cypress;
if (!Cypress) {
throw new Error("Tests cannot run without a reference to Cypress!");
}
return Cypress.onSpecWindow(window, {{scripts | safe}});
})(window.opener || window.parent);
</script>
</body>
</html>