You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're selecting a word using a double click. However, the test fails sometimes when styles such as font family, font size or the element's width change, since the double click takes place in the middle of the element and it's possible that the middle of the element contains a space between two words, meaning no word would be selected.
Current behavior
The tests select a random word in the middle of the element; the random word might actually be a space instead of a word
Expected behavior
The tests are consistent and we control which text is selected
Notes
On some machines, without these changes, the failure in the "Create" test can be reproduced by changing the $base-font-size variable to 2rem or changing the default font family to Roboto
This failure shows a usability/accessibility issue: adding annotations is hard, particularly when using a touchscreen or a keyboard (see issue Can't add annotations with the keyboard #4831)
The text was updated successfully, but these errors were encountered:
References
Background
We're selecting a word using a double click. However, the test fails sometimes when styles such as font family, font size or the element's width change, since the double click takes place in the middle of the element and it's possible that the middle of the element contains a space between two words, meaning no word would be selected.
Current behavior
The tests select a random word in the middle of the element; the random word might actually be a space instead of a word
Expected behavior
The tests are consistent and we control which text is selected
Notes
$base-font-size
variable to2rem
or changing the default font family to RobotoThe text was updated successfully, but these errors were encountered: