-
Notifications
You must be signed in to change notification settings - Fork 57
Include UI tests for blocks through Sample App #745
Copy link
Copy link
Closed
Labels
TestingAnything related to automated testsAnything related to automated tests[Type] EnhancementImproves a current area of the editorImproves a current area of the editor
Milestone
Description
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
- UI testing framework selection Include UI tests for blocks with Appium #676
- UI tests set to run in CI on PRs Include UI tests for blocks with Appium #676
Paragraph block
- Create a short post with a single Paragraph block Include UI tests for blocks with Appium #676
- Create a long post with multiple Paragraph blocks Add paragraph block writing flow tests #821
- Have a paragraph block with a word in it. Place the cursor in the middle of the work and tap "Enter". Verify that the block split into two paragraph blocks, each with the respective half word. Add paragraph block writing flow tests #821
- Have two paragraph blocks with some content in each. Place the cursor at the beginning of the second and tap "Backspace". Verify that the blocks merged. Add paragraph block writing flow tests #821
Image block
- Create a post with a captioned Image block Add image block tests #1060
- Create a post with a captioned Image block followed by multiple paragraph blocks Add image block tests #1060
Heading block
- Create a post with a heading and multiple paragraph blocks Add heading block test #1069
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
TestingAnything related to automated testsAnything related to automated tests[Type] EnhancementImproves a current area of the editorImproves a current area of the editor