Skip to content

Include UI tests for blocks through Sample App #745

@JavonDavis

Description

@JavonDavis

We'll need to include an on-device testing solution to help check that everything's good to go as we make changes and include new blocks. I think once we have the following in place we'll be at a good place to start.

CI/CD

Paragraph block

Image block

Heading block

Inserting new blocks

  • Have a post with more than a few blocks. Focus the title block and insert a new block via the Inserter. Verify that the block was added at the end of the post and the view scrolled to it.(This does not happen if the post contains a heading block) Add block insertion tests  #1139
  • Create a post with a few blocks. Focus on the first block and insert a new block via the inserter. Verify that the block appears in its correct position in the post Add block insertion tests  #1139

I think if we can check off all of these we'll be in a good place to start here.


Additional coverage currently includes

  • Copy/paste on plain and rich text content in a paragraph block
  • Rotating device while adding/removing blocks

Metadata

Metadata

Assignees

Labels

TestingAnything related to automated tests[Type] EnhancementImproves a current area of the editor

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions