diff --git a/test-cases/gutenberg/writing-flow/readme.md b/test-cases/gutenberg/writing-flow/readme.md index 0b51a08..1c20c4b 100644 --- a/test-cases/gutenberg/writing-flow/readme.md +++ b/test-cases/gutenberg/writing-flow/readme.md @@ -9,16 +9,7 @@ - [ ] Code block (DEV only) - [ ] Pullquote block #### Rich Text Format -- [ ] [TC001](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc001) - Bold, Italic, strikethrough buttons -- [ ] [TC001](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc001) - Highlight selected text -- [ ] [TC001](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc001) - Highlight text without selection -- [ ] [TC002](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc002) - Alignment buttons -- [ ] [TC003](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc003) - Alignment Split -- [ ] [TC004](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc004) - Link button works without selection -- [ ] [TC005](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc005) - Link button works with a selected word -- [ ] [TC006](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc006) - Adding a link from a copied URL - [ ] [TC007](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc007) - Test format detection under the cursor -- [ ] [TC008](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc008) - Test formatting doesn't remove leading or trailing whitespace - [ ] [TC009](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc009) - Test autocorrection doesn't apply formatting to Heading - [ ] [TC010](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc010) - Test autocorrection doesn't remove formatting from Heading ##### Splitting and merging diff --git a/test-cases/gutenberg/writing-flow/rich-text-formatting.md b/test-cases/gutenberg/writing-flow/rich-text-formatting.md index 6165963..a206019 100644 --- a/test-cases/gutenberg/writing-flow/rich-text-formatting.md +++ b/test-cases/gutenberg/writing-flow/rich-text-formatting.md @@ -5,82 +5,6 @@ Have a rich-text based component with content (Paragraph, Heading, Quote, Media Caption, etc...) -##### TC001 - -**Known Issues** - -- [Text color selection is not preserved when cursor is placed in the middle of text](https://github.com/WordPress/gutenberg/issues/42714) - -**Bold, Italic, strikethrough buttons** - -- Press the Bold button and write a bold word. -- Press the Italic button and write an italic word. -- Press strikethrough button and write strikethrough text. - -**Highlight selected text** - -- Write some text and select it. -- Tap on the Highlight text button (A). -- Select a color. -- Expect to see the text with the selected color. - -**Highlight text without selection** - -- Without selecting any text tap on the highlight text button (A). -- Select a color and write some text. -- Expect to see the newly introduced text with the previously selected color. - - -##### TC002 - -**Alignment buttons** - -- Press Left, Right, Center alignment buttons. -- Check that the text responds accordingly. - - -##### TC003 - -**Alignment Split** - -- Write some lines on a paragraph block. -- Set an alignment on the block. -- Move the caret by the half of the text and press enter to split it. -- Check that the new block has the same alignment. -- Check that the text alignment corresponds to the setting. - - -##### TC004 - -**Link button works without selection** - -- Press the links button -- Fill the options and dismiss to add a link. -- The link formatted word should be added to the block. - - -##### TC005 - -**Link button works with a selected word** - -- Write a word and select it. -- Press the link format button. -- Check that the `Link Text` field is pre-filled with the selected word. -- Add a URL and dismiss. -- The selected word now should be formatted as a link. - - -##### TC006 - -**Adding a link from a copied URL** - -- Go to a browser and copy a URL to the clipboard. -- Back to Gutenberg, select a word on a rich-text based component. -- Press the Link format button. -- Check that the copied URL is pre-filled on the URL field. -- Dismiss the bottom-sheet to see the selected word formatted as a link. - - ##### TC007 **Test format detection under the cursor** @@ -89,16 +13,6 @@ Have a rich-text based component with content (Paragraph, Heading, Quote, Media Move the cursor around - Check that the proper format buttons get selected when the cursor get under a formatted word. - -##### TC008 - -**Test formatting doesn't remove leading or trailing whitespace** - -- Add a text-based block, paragraph for example -- Type some spaces, then write some text, then type some more spaces -- Select the _text_ and apply one format, for example, bold -- Check that the leading and trailing spaces aren't removed - ##### TC009 **Test autocorrection doesn't apply formatting to Heading**