Antonio Scandurra
ae10429d08
Ensure TextEditorComponent was resized before asserting on its contents
...
Previously, we would wait for the next update promise after resizing the
editor as an indicator of when the resize occurred. Unfortunately,
resize events are unreliable and may not be emitted right away. This
could cause the test code to wait for an update promise that was
unrelated to the resize event (e.g., cursor blinking).
This commit uses a condition-based promise that ensures the rendered
rows have changed as a result of the resize. This seems to fix the issue
locally when introducing artificial timeouts in the resize event.
2019-06-11 16:20:56 +02:00
..
2019-06-01 00:18:46 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:55:45 +02:00
2019-06-06 17:11:01 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2018-07-01 17:18:16 -04:00
2019-05-31 18:33:56 +02:00
2018-03-21 18:07:16 -04:00
2017-01-19 13:30:39 -08:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2017-08-04 14:18:43 -04:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 16:26:18 +02:00
2019-02-25 13:41:59 -05:00
2017-08-04 14:18:43 -04:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-15 12:43:49 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-25 20:53:47 -04:00
2017-01-05 17:12:02 -08:00
2018-08-10 12:33:00 -07:00
2019-05-31 18:33:56 +02:00
2017-08-04 14:18:43 -04:00
2019-05-15 12:43:49 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-06-01 00:19:59 +02:00
2017-11-14 00:13:58 +01:00
2019-05-31 18:33:56 +02:00
2017-04-05 16:50:04 -07:00
2017-12-21 18:30:10 -07:00
2019-05-31 18:33:56 +02:00
2019-05-01 09:05:46 -04:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-06-06 16:48:15 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-04-16 14:25:18 -07:00
2017-08-04 14:18:43 -04:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2016-10-07 10:40:41 +02:00
2019-05-31 18:33:56 +02:00
2016-09-26 20:52:13 +03:00
2019-06-11 16:20:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2016-09-26 20:52:13 +03:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-05-31 18:33:56 +02:00
2019-06-06 14:02:29 +02:00