-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rich text editor | Update testing strategy in markdown-serializer (#1633
) # Pull Request ## 🤨 Rationale Testing strategy in the markdown serializer need to be updated as it is generating a mock editor currently to test the behavior instead of implementing actual editor. So, it needs to be updated with actual editor to test the production configuration. Issue link: #1533 ## 👩💻 Implementation - Removed the mock editor and constructed the actual editor `nimble-rich-text-editor` to get the editor document. - Removed all the html as input and updated it with `setMarkdown()` method as in production flow only there will be markdown interaction with the editor and not with the html. ## 🧪 Testing - Manually ran the test and verified. ## ✅ Checklist <!--- Review the list and put an x in the boxes that apply or ~~strike through~~ around items that don't (along with an explanation). --> - [x] I have updated the project documentation to reflect my changes or determined no changes are needed.
- Loading branch information
Showing
5 changed files
with
390 additions
and
440 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@ni-nimble-components-81243789-c09a-42e2-a4e8-bd0ae9f69b2f.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "none", | ||
"comment": "Update rich text component serializer test cases", | ||
"packageName": "@ni/nimble-components", | ||
"email": "[email protected]", | ||
"dependentChangeType": "none" | ||
} |
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
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.