Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit b7d2d6d

Browse files
committed
[[ Bug 22843 ]] Add test for subwindow without waiting
This patch adds test for the subwindow without waiting clause.
1 parent 9823d70 commit b7d2d6d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/lcs/core/interface/subwindow.livecodescript

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,13 @@ on TestSubwindowPropagatesErrors
2525
end try
2626
TestAssert "Error during subwindow propagates to caller", tError is "red"
2727
end TestSubwindowPropagatesErrors
28+
29+
on TestSubwindowWithoutWaiting
30+
local tName
31+
put "Test" && uuid() into tName
32+
create stack tName
33+
set the script of stack tName to format("on openStack; send \"close this stack\" to me in 0;end openStack")
34+
modal tName without waiting
35+
TestAssert "Subwindow without waiting does not wait for close", tName is among the lines of the openStacks
36+
delete stack tName
37+
end TestSubwindowWithoutWaiting

0 commit comments

Comments
 (0)