add more waiting time in finish

parent 397333e9
......@@ -95,7 +95,7 @@
<span class="skw">type</span>(<span class="str">"w"</span>,KeyModifier.CTRL)
<span class="kw">assert</span>(exists(<img src="SavechangePopup.png" />))
<span class="skw">click</span>(Pattern(<img src="SavechangePopup.png" />).targetOffset(-<span class="dig">170</span>,<span class="dig">56</span>))
waitVanish(Pattern(<img src="SavechangePopup.png" />).targetOffset(-<span class="dig">170</span>,<span class="dig">56</span>))
waitVanish(Pattern(<img src="SavechangePopup.png" />).targetOffset(-<span class="dig">170</span>,<span class="dig">56</span>),<span class="dig">3</span>)
<span class="kw">def</span> tearDown(self):
App.close(self.terminal)
......
......@@ -23,7 +23,7 @@ def test_createSimpleScenarioAndRun(self):
type("w",KeyModifier.CTRL)
assert(exists("SavechangePopup.png"))
click(Pattern("SavechangePopup.png").targetOffset(-170,56))
waitVanish(Pattern("SavechangePopup.png").targetOffset(-170,56))
waitVanish(Pattern("SavechangePopup.png").targetOffset(-170,56),3)
def tearDown(self):
App.close(self.terminal)
......
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