File tree Expand file tree Collapse file tree 3 files changed +16
-12
lines changed
website/literate-execution Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ show' :: T.Selector -> String
7474show' (T.Selector sel) = sel
7575
7676timeout :: 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
Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change 11import { runTests , testURL , waitFor } from "./shared/webtest-lib.js"
22
33export 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}
You can’t perform that action at this time.
0 commit comments