-
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.
Add E2E tests for creating, editing and removing links
- Loading branch information
1 parent
335627e
commit 06c8f1a
Showing
2 changed files
with
194 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Managing links Creating a link by selecting text and clicking the Link UI 1`] = ` | ||
"<!-- wp:paragraph --> | ||
<p>This is <a href=\\"https://wordpress.org/gutenberg\\">Gutenberg</a></p> | ||
<!-- /wp:paragraph -->" | ||
`; | ||
exports[`Managing links Creating a link by selecting text and using keyboard shortcuts 1`] = ` | ||
"<!-- wp:paragraph --> | ||
<p>This is <a href=\\"https://wordpress.org/gutenberg\\">Gutenberg</a></p> | ||
<!-- /wp:paragraph -->" | ||
`; | ||
exports[`Managing links Creating a link without any text selected 1`] = ` | ||
"<!-- wp:paragraph --> | ||
<p>This is Gutenberg: <a href=\\"https://wordpress.org/gutenberg\\">https://wordpress.org/gutenberg</a></p> | ||
<!-- /wp:paragraph -->" | ||
`; | ||
exports[`Managing links Editing a link 1`] = ` | ||
"<!-- wp:paragraph --> | ||
<p>This is <a href=\\"https://wordpress.org/gutenberg/handbook\\">Gutenberg</a></p> | ||
<!-- /wp:paragraph -->" | ||
`; | ||
exports[`Managing links Removing a link 1`] = ` | ||
"<!-- wp:paragraph --> | ||
<p>This is Gutenberg</p> | ||
<!-- /wp:paragraph -->" | ||
`; |
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