diff options
author | fvogel <fvogelnew1@free.fr> | 2022-07-03 19:55:05 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-07-03 19:55:05 (GMT) |
commit | c8649c4e2b28fe4394d8ee7cb71df7f0febbe724 (patch) | |
tree | 40379947983d79cf30975489491efabdc91c27cc /tests/unixEmbed.test | |
parent | 53f8ed5cae78f96ceb617674bc224d02ca5dfdbb (diff) | |
download | tk-c8649c4e2b28fe4394d8ee7cb71df7f0febbe724.zip tk-c8649c4e2b28fe4394d8ee7cb71df7f0febbe724.tar.gz tk-c8649c4e2b28fe4394d8ee7cb71df7f0febbe724.tar.bz2 |
Further stabilize unixEmbed-11.2 because it still failed once at GitHub Actions in branch unstable_tests on macOS with clang (mem, --enable-aqua). [ef554a85] revealed that the .embed toplevel does not exist (even after waiting until the timeout), which may be due to an unmapped .main.f window being used in the -use option. Wait for .main.f to be mapped before creating the .embed toplevel.
Diffstat (limited to 'tests/unixEmbed.test')
-rw-r--r-- | tests/unixEmbed.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unixEmbed.test b/tests/unixEmbed.test index 30c00e3..3a0bc9f 100644 --- a/tests/unixEmbed.test +++ b/tests/unixEmbed.test @@ -1301,7 +1301,8 @@ test unixEmbed-11.2 {mouse coordinates in embedded toplevels} -constraints { pack [button .main.b -text "Main Button" \ -command {lappend result "pushed .main.b"}] -padx 30 -pady 30 pack [frame .main.f -container 1 -width 200 -height 200] -fill both - updateWidgets + update + waitForMap .main.f toplevel .embed -use [winfo id .main.f] -bg green update waitForMap .embed |