Skip to content

Commit c41649c

Browse files
authored
Merge pull request #1454 from explorable-viz/problem/1453-internal-parser-error
problem/1453 internal parser error
2 parents 14e84b4 + ec3a042 commit c41649c

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

test/Util/Puppeteer.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ show' :: T.Selector -> String
7474
show' (T.Selector sel) = sel
7575

7676
timeout :: Int
77-
timeout = 240000
77+
timeout = 60000
7878

7979
-- Should these be Effect (Promise Unit) for better JS integration?
8080
-- Currently can't really chain JS test conditions that need to wait on each other

website/literate-execution/matrix-multiply/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ <h4>Matrix convolution</h4>
8989

9090
<script type="module">
9191
import { loadFigureSrc, loadCode } from "/shared/load-figure.js"
92-
const src = document.getElementById("my-code").textContent.trim();
92+
const src = document.getElementById("my-code").textContent.trim()
9393
const spec = {
9494
"fluidSrcPath": ["../fluid"],
9595
"inputs": [ "a", "b", "c" ],
9696
"query": true,
9797
"linking": false
9898
}
99-
loadFigureSrc(spec)(src)()
99+
loadFigureSrc(spec)("fig")(src)()
100100
</script>
101101
</body>
102102
</html>
Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
import { runTests, testURL, waitFor } from "./shared/webtest-lib.js"
22

33
export const main = async () => {
4-
await runTests(testURL("ar6-wg1/spm/figure4b")([
5-
page => waitFor("#fig-output > svg:nth-of-type(1)")(page),
6-
page => waitFor("#fig-output > svg:nth-of-type(2)")(page),
7-
]))()
8-
await runTests(testURL("ar6-wg1/spm/table1")([
9-
page => waitFor("#fig-output > div:nth-of-type(1).para-text")(page),
10-
page => waitFor("#fig-output > div:nth-of-type(2).para-text")(page)
11-
]))()
12-
console.log("Success!")
4+
await runTests(testURL("ar6-wg1/spm/figure4b")([
5+
page => waitFor("#fig-output > svg:nth-of-type(1)")(page),
6+
page => waitFor("#fig-output > svg:nth-of-type(2)")(page),
7+
]))()
8+
await runTests(testURL("ar6-wg1/spm/table1")([
9+
page => waitFor("#fig-output > div:nth-of-type(1).para-text")(page),
10+
page => waitFor("#fig-output > div:nth-of-type(2).para-text")(page)
11+
]))()
12+
await runTests(testURL("matrix-multiply")([
13+
page => waitFor("#fig-output > svg:nth-of-type(1)")(page),
14+
page => waitFor("#fig-output > svg:nth-of-type(2)")(page),
15+
]))()
16+
console.log("Success!")
1317
}

0 commit comments

Comments
 (0)