Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 6aaed53

Browse files
committed
docs: Remove automated Rich Text cases
These were automated in WordPress/gutenberg#49352.
1 parent 51d96a0 commit 6aaed53

File tree

2 files changed

+0
-95
lines changed

2 files changed

+0
-95
lines changed

test-cases/gutenberg/writing-flow/readme.md

-9
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,7 @@
99
- [ ] Code block (DEV only)
1010
- [ ] Pullquote block
1111
#### Rich Text Format
12-
- [ ] [TC001](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc001) - Bold, Italic, strikethrough buttons
13-
- [ ] [TC001](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc001) - Highlight selected text
14-
- [ ] [TC001](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc001) - Highlight text without selection
15-
- [ ] [TC002](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc002) - Alignment buttons
16-
- [ ] [TC003](https://github.com/wordpress-mobile/test-cases/blob/trunk/test-cases/gutenberg/writing-flow/rich-text-formatting.md#tc003) - Alignment Split
17-
- [ ] [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
18-
- [ ] [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
19-
- [ ] [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
2012
- [ ] [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
21-
- [ ] [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
2213
- [ ] [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
2314
- [ ] [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
2415
##### Splitting and merging

test-cases/gutenberg/writing-flow/rich-text-formatting.md

-86
Original file line numberDiff line numberDiff line change
@@ -5,82 +5,6 @@
55

66
Have a rich-text based component with content (Paragraph, Heading, Quote, Media Caption, etc...)
77

8-
##### TC001
9-
10-
**Known Issues**
11-
12-
- [Text color selection is not preserved when cursor is placed in the middle of text](https://github.com/WordPress/gutenberg/issues/42714)
13-
14-
**Bold, Italic, strikethrough buttons**
15-
16-
- Press the Bold button and write a bold word.
17-
- Press the Italic button and write an italic word.
18-
- Press strikethrough button and write strikethrough text.
19-
20-
**Highlight selected text**
21-
22-
- Write some text and select it.
23-
- Tap on the Highlight text button (A).
24-
- Select a color.
25-
- Expect to see the text with the selected color.
26-
27-
**Highlight text without selection**
28-
29-
- Without selecting any text tap on the highlight text button (A).
30-
- Select a color and write some text.
31-
- Expect to see the newly introduced text with the previously selected color.
32-
33-
34-
##### TC002
35-
36-
**Alignment buttons**
37-
38-
- Press Left, Right, Center alignment buttons.
39-
- Check that the text responds accordingly.
40-
41-
42-
##### TC003
43-
44-
**Alignment Split**
45-
46-
- Write some lines on a paragraph block.
47-
- Set an alignment on the block.
48-
- Move the caret by the half of the text and press enter to split it.
49-
- Check that the new block has the same alignment.
50-
- Check that the text alignment corresponds to the setting.
51-
52-
53-
##### TC004
54-
55-
**Link button works without selection**
56-
57-
- Press the links button
58-
- Fill the options and dismiss to add a link.
59-
- The link formatted word should be added to the block.
60-
61-
62-
##### TC005
63-
64-
**Link button works with a selected word**
65-
66-
- Write a word and select it.
67-
- Press the link format button.
68-
- Check that the `Link Text` field is pre-filled with the selected word.
69-
- Add a URL and dismiss.
70-
- The selected word now should be formatted as a link.
71-
72-
73-
##### TC006
74-
75-
**Adding a link from a copied URL**
76-
77-
- Go to a browser and copy a URL to the clipboard.
78-
- Back to Gutenberg, select a word on a rich-text based component.
79-
- Press the Link format button.
80-
- Check that the copied URL is pre-filled on the URL field.
81-
- Dismiss the bottom-sheet to see the selected word formatted as a link.
82-
83-
848
##### TC007
859

8610
**Test format detection under the cursor**
@@ -89,16 +13,6 @@ Have a rich-text based component with content (Paragraph, Heading, Quote, Media
8913
Move the cursor around
9014
- Check that the proper format buttons get selected when the cursor get under a formatted word.
9115

92-
93-
##### TC008
94-
95-
**Test formatting doesn't remove leading or trailing whitespace**
96-
97-
- Add a text-based block, paragraph for example
98-
- Type some spaces, then write some text, then type some more spaces
99-
- Select the _text_ and apply one format, for example, bold
100-
- Check that the leading and trailing spaces aren't removed
101-
10216
##### TC009
10317

10418
**Test autocorrection doesn't apply formatting to Heading**

0 commit comments

Comments
 (0)