Use WaitForEventAt() in Grid::ReorderedColumnsCellClick test too
This test also sporadically fails on AppVeyor.
This commit is contained in:
parent
acf113f3f9
commit
268b2b98e0
1 changed files with 4 additions and 2 deletions
|
|
@ -534,8 +534,10 @@ TEST_CASE_METHOD(GridTestCase, "Grid::ReorderedColumnsCellClick", "[grid]")
|
|||
wxYield();
|
||||
|
||||
sim.MouseClick();
|
||||
wxYield();
|
||||
|
||||
if ( !WaitForEventAt(point, "mouse click to be processed", [&]() {
|
||||
return click.GetCount() != 0;
|
||||
}) )
|
||||
return;
|
||||
CHECK(click.GetCount() == 1);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue