Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Keyboard expectations when splitting and merging blocks. #158

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions test-cases/gutenberg/writing-flow/splitting-merging.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ Start from an empty post.

**Merge after writing**
- Follow the initial steps.
- Expect the keyboard to not hide and show while splitting the blocks, it should be always visible.
- Write some more text where the caret is placed (beginning of new block).
- Delete all new text using the delete button until the blocks are merged again.
- Check that the blocks were merged.

- Expect the keyboard to not hide and show while merging the blocks, it should be always visible.

##### TC002

Expand All @@ -36,12 +37,13 @@ Start from an empty post.

**Merge after selection**
- Follow the initial steps.
- Expect the keyboard to not hide and show while splitting the blocks, it should be always visible.
- Write some more text where the caret is placed (beginning of new block)
- Select all the newly written text,
- Press delete to remove all selected text.
- Press delete once again to merge the blocks.
- Check that the blocks were merged.

- Expect the keyboard to not hide and show while merging the blocks, it should be always visible.

##### TC003

Expand All @@ -51,10 +53,11 @@ Start from an empty post.

**Merge after deleting text**
- Follow the initial steps.
- Expect the keyboard to not hide and show while splitting the blocks, it should be always visible.
- Move the caret a few words.
- Delete all those words until the blocks merge.
- Check that the blocks were merged.

- Expect the keyboard to not hide and show while merging the blocks, it should be always visible.

##### TC004

Expand All @@ -63,15 +66,19 @@ Start from an empty post.

**Merge after deleting all**
- Follow the initial steps.
- Expect the keyboard to not hide and show while splitting the blocks, it should be always visible.
- Select and remove all content of the new block
- Press delete to remove the empty block.
- Check that the previous block was selected.

- Expect the keyboard to not hide and show while deleting and merging with the previous block, it should be always visible.

##### TC005

**Merge multiple blocks**
- Follow the initial steps.
- Press enter two times to create an empty block in between
- Press enter two times to create an empty block in between.
- Expect the keyboard to not hide and show while splitting the blocks, it should be always visible.
- Press back two times to merge everything again.
- Check that the blocks were merged.
- Expect the keyboard to not hide and show while merging the blocks, it should be always visible.