summaryrefslogtreecommitdiffstats
path: root/tests/unixEmbed.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-04-10 20:18:16 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-04-10 20:18:16 (GMT)
commitddce0e07988e4106eae786fe38c3452f18c3dc21 (patch)
treef1910bcc1601c37cb54eb77e37d38a066542c59a /tests/unixEmbed.test
parentd2e56779f7f55e9ab87632524ad5c2389e177273 (diff)
downloadtk-ddce0e07988e4106eae786fe38c3452f18c3dc21.zip
tk-ddce0e07988e4106eae786fe38c3452f18c3dc21.tar.gz
tk-ddce0e07988e4106eae786fe38c3452f18c3dc21.tar.bz2
Stabilize unixEmbed-11.2. This test was observed failing several times at GitHub Actions, on macOS (this is anyway a macOS-only test due to the 'pressbutton' constraint), with clang (mem, --enable-aqua). See [e4a05184e9].
Diffstat (limited to 'tests/unixEmbed.test')
-rw-r--r--tests/unixEmbed.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unixEmbed.test b/tests/unixEmbed.test
index a66d54e..9cd54c8 100644
--- a/tests/unixEmbed.test
+++ b/tests/unixEmbed.test
@@ -1290,6 +1290,7 @@ test unixEmbed-11.2 {mouse coordinates in embedded toplevels} -constraints {
deleteWindows
} -body {
toplevel .main
+ wm geometry .main 200x400+100+100
set result {}
pack [button .main.b -text "Main Button" \
-command {lappend result ".main.b"}] -padx 30 -pady 30
@@ -1298,8 +1299,8 @@ test unixEmbed-11.2 {mouse coordinates in embedded toplevels} -constraints {
toplevel .embed -use [winfo id .main.f] -bg green
pack [button .embed.b -text "Emb Button" \
-command {lappend result ".embed.b"}] -padx 30 -pady 30
- wm geometry .main 200x400+100+100
updateWidgets
+ update
focus -force .main
after 100
set x [expr {[winfo x .main ] + [winfo x .main.b] + 40}]