Commit 611c07b5 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

api_test.lua: leave Canon overlays disabled at the end of the test

--HG--
branch : lua_fix
parent f88dc3732ea6
......@@ -1135,7 +1135,7 @@ function test_lv()
console.hide(); assert(not console.visible)
local old_gdr = menu.get("Overlay", "Global Draw")
for i=1,10 do
for i=1,16 do
key.press(KEY.INFO)
sleep(0.2); print_overlays_status()
sleep(1)
......@@ -1151,6 +1151,7 @@ function test_lv()
sleep(0.2); print_overlays_status()
assert(lv.overlays == false)
sleep(1)
if i > 8 then break end
end
end
-- restore original Global Draw setting
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment