summaryrefslogtreecommitdiff
path: root/tests/autocomp.ur
diff options
context:
space:
mode:
authorGravatar Artyom Shalkhakov <artyom.shalkhakov@gmail.com>2018-05-08 16:03:24 +0600
committerGravatar Artyom Shalkhakov <artyom.shalkhakov@gmail.com>2018-05-08 16:03:24 +0600
commitc293746d4c34ccb7abb8af41f7d05940aa7e4076 (patch)
tree052e8bf308ba2e2f8de626ec1426f9a3841728a3 /tests/autocomp.ur
parente1ae0ce918c234cbb0b5a6ee72e0443bd04d4127 (diff)
Adding Selenium-based checking to tests.
Diffstat (limited to 'tests/autocomp.ur')
-rw-r--r--tests/autocomp.ur8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/autocomp.ur b/tests/autocomp.ur
index d4e6a287..753318f7 100644
--- a/tests/autocomp.ur
+++ b/tests/autocomp.ur
@@ -2,10 +2,10 @@ fun main () : transaction page =
a <- source "";
b <- source "";
return <xml><body>
- <form>
- <textbox{#A} source={a}/>
- <button onclick={x <- get a; set b x}/>
+ <ctextbox source={a}/>
+ <button onclick={fn _ => x <- get a; set b x}>click me</button>
+ <div>
<dyn signal={v <- signal a; return <xml>{[v]}</xml>}/>
/ <dyn signal={v <- signal b; return <xml>{[v]}</xml>}/>
- </form>
+ </div>
</body></xml>