-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add Writing Flow tests (#49352)
* test: Multi-line Quote should render expected markup * test: Multi-line Pullquote should render expected markup * test: Multi-line Verse should render expected markup * test: Multi-line Preformatted should render expected markup * test: Rename Preformatted block tests The "Preformatted" description feels more appropriate and mirrors other block tests. I am uncertain as to why this was named differently originally. * test: Add note to expand multi-line test coverage Our helpers do not support typing multiple lines of text into Rich Text inputs. Ideally, we could add this feature to improve our test coverage. * test: Paragraph should left/center/right align text * test: Paragraph should bold/italicize/strikethrough text * test: Paragraph should preserve alignment when split * test: Paragraph should link text with selection * test: Paragraph should link text without selection * test: Paragraph should link text with clipboard contents * test: Await bottom sheet navigation events to avoid act warnings * test: Paragraph should not remove whitespace when formatting * test: Expand native test matcher to include top-level test directory This allows placing integration tests that target high-level features that span across multiple areas of the product, e.g. editor undo/redo history. * test: Editor History should remove and add blocks * test: Editor History should remove and add text * test: Editor History should remove and add text formatting * test: Separate top-level and nested test directory matcher The previous matcher caused fixture files to be run as tests. Also, splitting the regex likely improves the comprehensibility of the expression. * refactor: Use existing getBlock test helper * test: Avoid stale comment reference
- Loading branch information
Showing
8 changed files
with
776 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.