I'm having a hard time finding any information on creating a basic HTML page from which I can start my Cypress tests. I want to create a simple page with a few options/buttons for running different Cypress tests I have developed. Has someone did this before or have any info about it?
The HTML I have so far is:
<!DOCTYPE html>
<html>
<head>
<title>Cypress Runner</title>
</head>
<body>
<p>Test 1</p>
<button onclick="runner()">Run</button>
<script>
function runner()
{
// execute command "npx cypress run";
}
</script>
</body>
</html>
<!DOCTYPE html> <html> <head> <title>Cypress Runner</title> </head> <body> <p>Test 1</p> <button onclick="runner()">Run</button> <script> function runner() { // execute command "npx cypress run"; } </script> </body> </html>