summaryrefslogtreecommitdiffstats
path: root/tests/panedwindow.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-06-20 19:14:07 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-06-20 19:14:07 (GMT)
commit9293dfab6ff51ecca1ff680db992a93709519b43 (patch)
tree00d0536f53542ea42b9746360f247d238f997776 /tests/panedwindow.test
parent25c43cd6a37ec36d3140b22c8cace2a94a630b34 (diff)
downloadtk-9293dfab6ff51ecca1ff680db992a93709519b43.zip
tk-9293dfab6ff51ecca1ff680db992a93709519b43.tar.gz
tk-9293dfab6ff51ecca1ff680db992a93709519b43.tar.bz2
Further ruggedize panedwindow-23.30 since [fe28ce65] was just plain wrong and the test failed once at GitHub Actions in branch unstable_tests on macOS with clang (no, --enable-aqua).
Diffstat (limited to 'tests/panedwindow.test')
-rw-r--r--tests/panedwindow.test7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/panedwindow.test b/tests/panedwindow.test
index eb8a29a..f02858d 100644
--- a/tests/panedwindow.test
+++ b/tests/panedwindow.test
@@ -4940,11 +4940,8 @@ test panedwindow-23.30 {ConfigurePanes, -hide works} -setup {
frame .f4 -width 40 -bg green
.p add .f1 .f2 .f3 .f4
pack .p
- updateWidgets
- # On macOS, the above updateWidgets does the job of mapping .p and its children
- # but then getting the correct mapping state (0) of .f4 needs further
- # updateWidgets because .f4 does not fit in the width of .p
- waitForMap .f4
+ waitForMap .f3
+ waitForUnmap .f4
set result [list]
lappend result [winfo ismapped .f1] [winfo ismapped .f2] \
[winfo ismapped .f3] [winfo ismapped .f4]