Closed geriux closed 2 months ago
Adds two new visual tests to check the editor doesn't crash when using shorthand hex color codes with the highlight color feature:
should set a shorthand hex highlight color
For this test it sets theme data with a color containing the #000 value.
#000
should render a mark tag with shorthand hex highlight color
This sets the initial content of the editor with a Paragraph block containing a mark tag (highlight formatting) with a #000 color.
mark
This was addressed in Aztec Android https://github.com/wordpress-mobile/AztecEditor-Android/pull/1079 so to prevent future issues these tests were added.
To test all CI checks should pass.
PR submission checklist:
Adds two new visual tests to check the editor doesn't crash when using shorthand hex color codes with the highlight color feature:
should set a shorthand hex highlight color
For this test it sets theme data with a color containing the
#000
value.should render a mark tag with shorthand hex highlight color
This sets the initial content of the editor with a Paragraph block containing a
mark
tag (highlight formatting) with a#000
color.This was addressed in Aztec Android https://github.com/wordpress-mobile/AztecEditor-Android/pull/1079 so to prevent future issues these tests were added.
To test all CI checks should pass.
PR submission checklist: