-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-runner.html
54 lines (54 loc) · 1.7 KB
/
test-runner.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en-gb" dir="ltr">
<head>
<meta charset="utf-8">
<title>Styleguide</title>
<link rel="stylesheet" href="test-runner.css">
<style type="text/css">
html {
font-family: sans-serif;
font-size: 16px;
}
</style>
</head>
<body>
<test-runner>
<header>
<runner-name>test-runner</runner-name>
<state-indicator state="in-progress"></state-indicator>
<runner-state>in-progress</runner-state>
<duration>duration: </duration>
</header>
<tom-container>
<test-el>
<state-indicator state="ignored"></state-indicator>
<test-name>Main tests</test-name>
</test-el>
<test-el style="transform: translateX(1em)">
<state-indicator state="pass"></state-indicator>
<test-name>Should do that thing we expect</test-name>
<details data-has-data="true">
<summary>Data</summary>
<pre><code>Some data to display here</code></pre>
</details>
</test-el>
<test-el style="transform: translateX(1em)">
<state-indicator state="fail"></state-indicator>
<test-name>Should fail as expected</test-name>
<details>
<summary>Data</summary>
<pre><code></code></pre>
</details>
</test-el>
<test-el style="transform: translateX(1em)">
<state-indicator state="in-progress"></state-indicator>
<test-name>Another thing in-progress</test-name>
<details>
<summary>Data</summary>
<pre><code></code></pre>
</details>
</test-el>
</tom-container>
</test-runner>
</body>
</html>