RESOLVED FIXED 178759
Test fast/writing-mode/english-bt-text-with-spelling-marker.html should wait for editing commands to complete
https://bugs.webkit.org/show_bug.cgi?id=178759
Summary Test fast/writing-mode/english-bt-text-with-spelling-marker.html should wait ...
Daniel Bates
Reported 2017-10-24 16:17:36 PDT
The test fast/writing-mode/english-bt-text-with-spelling-marker.html (added in bug #223845) should wait for editing commands to complete to ensure the spellcheck is triggered.
Attachments
Layout test (2.66 KB, patch)
2017-10-24 16:22 PDT, Daniel Bates
rniwa: review+
Daniel Bates
Comment 1 2017-10-24 16:22:50 PDT
Created attachment 324747 [details] Layout test
Daniel Bates
Comment 2 2017-10-24 16:24:42 PDT
(In reply to Daniel Bates from comment #0) > The test fast/writing-mode/english-bt-text-with-spelling-marker.html (added > in bug #223845) should wait for editing commands to complete to ensure the > spellcheck is triggered. *bug #178671
Ryosuke Niwa
Comment 3 2017-10-24 16:25:44 PDT
Comment on attachment 324747 [details] Layout test View in context: https://bugs.webkit.org/attachment.cgi?id=324747&action=review > LayoutTests/ChangeLog:9 > + character is typed before proceeding to type the next character. Should mention that we're inserting a delay instead of saying they're typed. > LayoutTests/fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:32 > + for (var c of text) Use const? > LayoutTests/fast/writing-mode/english-bt-text-with-spelling-marker.html:36 > + for (var c of text) Ditto.
Daniel Bates
Comment 4 2017-10-24 16:31:31 PDT
(In reply to Ryosuke Niwa from comment #3) > Comment on attachment 324747 [details] > Layout test > > View in context: > https://bugs.webkit.org/attachment.cgi?id=324747&action=review > > > LayoutTests/ChangeLog:9 > > + character is typed before proceeding to type the next character. > > Should mention that we're inserting a delay instead of saying they're typed. > Will change the text in the ChangeLog to read: Make use of typeCharacterCommand() from (LayoutTests/editing/editing.js) to type each character with a delay and delay test completion until all characters have been typed. > > LayoutTests/fast/writing-mode/english-bt-text-with-spelling-marker-expected.html:32 > > + for (var c of text) > > Use const? > Will fix before landing. > > LayoutTests/fast/writing-mode/english-bt-text-with-spelling-marker.html:36 > > + for (var c of text) > > Ditto. Will fix before landing.
Daniel Bates
Comment 5 2017-10-24 16:33:12 PDT
Daniel Bates
Comment 6 2017-10-24 16:34:36 PDT
For completeness, the test fast/writing-mode/english-bt-text-with-spelling-marker.html was seen as flaky on the Apple Sierra Release WK1 (Tests) bot: https://build.webkit.org/results/Apple%20Sierra%20Release%20WK1%20(Tests)/r223917%20(5549)/results.html https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK1%20(Tests)/builds/5549
Daniel Bates
Comment 7 2017-10-25 10:28:04 PDT
Daniel Bates
Comment 8 2017-10-25 10:28:21 PDT
(In reply to Daniel Bates from comment #7) > The test is still flaky :( > > Apple El Capitan Release WK1 (Tests): > https://build.webkit.org/results/ > Apple%20El%20Capitan%20Release%20WK1%20(Tests)/r223952%20(5724)/results.html Committed attempt to fix the flakiness in <https://trac.webkit.org/changeset/223959>.
Radar WebKit Bug Importer
Comment 9 2017-11-15 12:48:30 PST
Note You need to log in before you can comment on or make changes to this bug.