Skip to content

Commit 2ffd5f6

Browse files
authored
Merge pull request #16181 from Microsoft/improve-style-of-browser-tests
Improve the look and usability of browser tests
2 parents b62e1b5 + bc16831 commit 2ffd5f6

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

tests/webTestResults.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1-
<html>
1+
<!DOCTYPE html>
2+
<html>
23
<head>
34
<meta charset="utf-8">
45
<title>Mocha Tests</title>
56
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
67
<link rel="icon" href="./webhost/favicon-32x32.png"/>
8+
<style>
9+
.btn {
10+
color: #ffffff;
11+
background: #3498db;
12+
border-radius: 30px;
13+
font-size: 50px;
14+
}
15+
.btn:hover { background: #50c7ff; }
16+
.btn:focus { background: #50c7ff; }
17+
</style>
718
</head>
819
<body>
920
<div id='setup'>
10-
<div>
11-
<button id='selectCompilerBtn' onclick='location.href="http://localhost:8888/tests/webTestResults.html?grep=compiler"'>Select Compiler Tests</button>
12-
<button id='selectFourslashBtn' onclick='location.href="http://localhost:8888/tests/webTestResults.html?grep=fourslash"'>Select Fourslash Tests</button>
13-
</div>
14-
<button id='runTestBtn' onclick='runTests()'>Run Tests</button>
21+
<button id='runTestBtn' onclick='runTests()' type="button" class="btn">Run Tests</button>
1522
</div>
16-
1723
<div id="mocha"></div>
18-
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.0.js"></script>
1924
<script src="../node_modules/mocha/mocha.js"></script>
2025
<script>mocha.setup('bdd')</script>
2126
<script src="../built/local/bundle.js"></script>

0 commit comments

Comments
 (0)