Commit 9fb01c8
gh-69134: Wait until mapped in SimpleDialog keyboard tests
The SimpleDialog tests generate key events after focus_force(). On
Windows these are only delivered once the toplevel is mapped, so they
could be dropped and the test fail intermittently (seen on the Windows10
buildbot as test_return_no_default). Unlike the query dialogs,
SimpleDialog only waits for its window in go(), which these tests bypass,
so wait until it is mapped in the create() helper, as GH-152599 did for
the other keyboard tests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 38df997 commit 9fb01c8
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
0 commit comments