Skip to content

Commit 03866e6

Browse files
Connection test page (#382)
This is temporary - we have this page live now and don't want it to go away when we deploy to live. A better integrated option would be nice-to-have for the future. The second part of this test isn't really relevant once we use the new simx approach. But leaving as it is for now.
1 parent 630270e commit 03866e6

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

public/test.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset='utf-8'>
6+
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
7+
<title>Connectivity test page</title>
8+
<meta name='viewport' content='width=device-width, initial-scale=1'>
9+
<style>
10+
body {
11+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
12+
padding: 0.5em;
13+
}
14+
15+
.row {
16+
display: flex;
17+
flex-direction: column;
18+
}
19+
@media screen and (min-width: 600px) {
20+
.row {
21+
flex-direction: row;
22+
gap: 2em;
23+
}
24+
}
25+
section {
26+
flex: 1;
27+
}
28+
</style>
29+
</head>
30+
31+
<body>
32+
<h1>Connectivity test page</h1>
33+
<p>Please check that the two websites embedded below load correctly.</p>
34+
<div class="row">
35+
<section>
36+
<h2>
37+
1. Microsoft MakeCode
38+
</h2>
39+
<p>You should see "on start" and "forever" code blocks in the section below:</p>
40+
<iframe src="https://makecode.microbit.org" width="100%" height="300px"></iframe>
41+
<p>This requires <a href="https://support.microbit.org/support/solutions/articles/19000030385-firewall-requirements-for-micro-bit-editors-and-websites">these domains to be accessible</a>.</p>
42+
</section>
43+
<section>
44+
<h2>2. ML simulator</h2>
45+
<p>You should see the text "ML event" and a drop-down list containing "unknown"</p>
46+
<iframe src="https://microbit-foundation.github.io/makecode-microbit-ml-simulator/?parentOrigin=&language=en" width="100%" height="300px"></iframe>
47+
<p>This requires microbit-foundation.github.io to be accessible.</p>
48+
</section>
49+
</div>
50+
</body>
51+
52+
</html>

0 commit comments

Comments
 (0)