about summary refs log tree commit diff stats
path: root/sandbox/008-sandbox-edit.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-06-09 11:29:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-06-09 11:29:15 -0700
commit6d12a8c4ebe25527c92a934702e2628ce8c4bd4c (patch)
tree051825d9664a06fc3bc7085031fe62dfeb94c417 /sandbox/008-sandbox-edit.mu
parentf53746f80145a184b5e4a6974175e2f92f49dcba (diff)
downloadmu-6d12a8c4ebe25527c92a934702e2628ce8c4bd4c.tar.gz
3902 - drop redundant redraw of recipe side on F4
This change is interesting because I only updated one test to gain confidence
that F4 will never redraw the recipe side. (Most of the changes are to
explicitly render-all before each scenario.)
Diffstat (limited to 'sandbox/008-sandbox-edit.mu')
-rw-r--r--sandbox/008-sandbox-edit.mu3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox/008-sandbox-edit.mu b/sandbox/008-sandbox-edit.mu
index ec4fd578..aef61619 100644
--- a/sandbox/008-sandbox-edit.mu
+++ b/sandbox/008-sandbox-edit.mu
@@ -8,6 +8,7 @@ scenario clicking-on-sandbox-edit-button-moves-it-to-editor [
   assume-resources [
   ]
   env:&:environment <- new-programming-environment resources, screen, [add 2, 2]
+  render-all screen, env, render
   # run it
   assume-console [
     press F4
@@ -60,6 +61,7 @@ scenario clicking-on-sandbox-edit-button-moves-it-to-editor-2 [
   assume-resources [
   ]
   env:&:environment <- new-programming-environment resources, screen, [add 2, 2]
+  render-all screen, env, render
   # run it
   assume-console [
     press F4
@@ -162,6 +164,7 @@ scenario sandbox-with-print-can-be-edited [
   ]
   # right editor contains a print instruction
   env:&:environment <- new-programming-environment resources, screen, [print screen, 4]
+  render-all screen, env, render
   # run the sandbox
   assume-console [
     press F4