@wordpress/e2e-tests 4.6.0 → 4.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +8 -8
  2. package/package.json +7 -7
  3. package/plugins/cpt-locking.php +28 -4
  4. package/specs/editor/blocks/__snapshots__/quote.test.js.snap +37 -131
  5. package/specs/editor/blocks/gallery.test.js +1 -1
  6. package/specs/editor/blocks/navigation.test.js +3 -38
  7. package/specs/editor/blocks/quote.test.js +42 -91
  8. package/specs/editor/plugins/__snapshots__/cpt-locking.test.js.snap +24 -8
  9. package/specs/editor/plugins/__snapshots__/inner-blocks-render-appender.test.js.snap +6 -2
  10. package/specs/editor/plugins/__snapshots__/templates.test.js.snap +6 -2
  11. package/specs/editor/plugins/block-variations.test.js +2 -0
  12. package/specs/editor/plugins/cpt-locking.test.js +3 -3
  13. package/specs/editor/plugins/inner-blocks-render-appender.test.js +3 -0
  14. package/specs/editor/plugins/meta-boxes.test.js +1 -1
  15. package/specs/editor/various/__snapshots__/multi-block-selection.test.js.snap +0 -16
  16. package/specs/editor/various/__snapshots__/rich-text.test.js.snap +12 -0
  17. package/specs/editor/various/__snapshots__/writing-flow.test.js.snap +3 -3
  18. package/specs/editor/various/block-editor-keyboard-shortcuts.test.js +1 -1
  19. package/specs/editor/various/block-switcher.test.js +1 -3
  20. package/specs/editor/various/compatibility-classic-editor.test.js +1 -1
  21. package/specs/editor/various/links.test.js +3 -3
  22. package/specs/editor/various/multi-block-selection.test.js +2 -29
  23. package/specs/editor/various/post-visibility.test.js +4 -4
  24. package/specs/editor/various/reusable-blocks.test.js +4 -2
  25. package/specs/editor/various/rich-text.test.js +17 -0
  26. package/specs/editor/various/scheduling.test.js +2 -2
  27. package/specs/editor/various/{sidebar-permalink-panel.test.js → sidebar-permalink.test.js} +9 -19
  28. package/specs/editor/various/typewriter.test.js +2 -2
  29. package/specs/editor/various/writing-flow.test.js +74 -1
  30. package/specs/site-editor/multi-entity-saving.test.js +3 -3
  31. package/specs/editor/blocks/__snapshots__/group.test.js.snap +0 -21
  32. package/specs/editor/blocks/__snapshots__/list.test.js.snap +0 -337
  33. package/specs/editor/blocks/comments.test.js +0 -131
  34. package/specs/editor/blocks/group.test.js +0 -43
  35. package/specs/editor/blocks/list.test.js +0 -542
  36. package/specs/editor/blocks/missing.test.js +0 -44
  37. package/specs/editor/plugins/__snapshots__/deprecated-node-matcher.test.js.snap +0 -13
  38. package/specs/editor/plugins/__snapshots__/format-api.test.js.snap +0 -7
  39. package/specs/editor/plugins/__snapshots__/hooks-api.test.js.snap +0 -3
  40. package/specs/editor/plugins/deprecated-node-matcher.test.js +0 -44
  41. package/specs/editor/plugins/format-api.test.js +0 -36
  42. package/specs/editor/plugins/hooks-api.test.js +0 -44
  43. package/specs/editor/various/__snapshots__/convert-block-type.test.js.snap +0 -13
  44. package/specs/editor/various/block-mover.test.js +0 -42
  45. package/specs/editor/various/convert-block-type.test.js +0 -32
@@ -207,15 +207,15 @@ describe( 'Multi-entity save flow', () => {
207
207
  await page.keyboard.type( '...' );
208
208
 
209
209
  await insertBlock( 'Site Tagline' );
210
- // Ensure tagline is retrieved before typing.
210
+ // Wait for the placeholder.
211
211
  await page.waitForXPath(
212
- '//p[contains(text(), "Just another WordPress site")]'
212
+ '//span[@data-rich-text-placeholder="Write site tagline…"]'
213
213
  );
214
214
  const editableSiteTagLineSelector =
215
215
  '.wp-block-site-tagline[contenteditable="true"]';
216
216
  await page.waitForSelector( editableSiteTagLineSelector );
217
217
  await page.focus( editableSiteTagLineSelector );
218
- await page.keyboard.type( '...' );
218
+ await page.keyboard.type( 'Just another WordPress site' );
219
219
 
220
220
  await clickButton( 'Publish' );
221
221
  await page.waitForSelector( savePanelSelector );
@@ -1,21 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Group can be created using the block inserter 1`] = `
4
- "<!-- wp:group -->
5
- <div class=\\"wp-block-group\\"></div>
6
- <!-- /wp:group -->"
7
- `;
8
-
9
- exports[`Group can be created using the slash inserter 1`] = `
10
- "<!-- wp:group -->
11
- <div class=\\"wp-block-group\\"></div>
12
- <!-- /wp:group -->"
13
- `;
14
-
15
- exports[`Group can have other blocks appended to it using the button appender 1`] = `
16
- "<!-- wp:group -->
17
- <div class=\\"wp-block-group\\"><!-- wp:paragraph -->
18
- <p>Group Block with a Paragraph</p>
19
- <!-- /wp:paragraph --></div>
20
- <!-- /wp:group -->"
21
- `;
@@ -1,337 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`List can be converted to a quote 1`] = `
4
- "<!-- wp:quote -->
5
- <blockquote class=\\"wp-block-quote\\"><p>one</p><p>two</p></blockquote>
6
- <!-- /wp:quote -->"
7
- `;
8
-
9
- exports[`List can be converted to paragraphs 1`] = `
10
- "<!-- wp:paragraph -->
11
- <p>one</p>
12
- <!-- /wp:paragraph -->
13
-
14
- <!-- wp:paragraph -->
15
- <p>two</p>
16
- <!-- /wp:paragraph -->"
17
- `;
18
-
19
- exports[`List can be converted when nested to paragraphs 1`] = `
20
- "<!-- wp:paragraph -->
21
- <p>one</p>
22
- <!-- /wp:paragraph -->
23
-
24
- <!-- wp:paragraph -->
25
- <p>two</p>
26
- <!-- /wp:paragraph -->"
27
- `;
28
-
29
- exports[`List can be created by converting a paragraph 1`] = `
30
- "<!-- wp:list -->
31
- <ul><li>test</li></ul>
32
- <!-- /wp:list -->"
33
- `;
34
-
35
- exports[`List can be created by converting a paragraph with line breaks 1`] = `
36
- "<!-- wp:list -->
37
- <ul><li>one</li><li>two</li></ul>
38
- <!-- /wp:list -->"
39
- `;
40
-
41
- exports[`List can be created by converting a quote 1`] = `
42
- "<!-- wp:list -->
43
- <ul><li>one</li><li>two</li></ul>
44
- <!-- /wp:list -->"
45
- `;
46
-
47
- exports[`List can be created by converting multiple paragraphs 1`] = `
48
- "<!-- wp:list -->
49
- <ul><li>one</li><li>two</li></ul>
50
- <!-- /wp:list -->"
51
- `;
52
-
53
- exports[`List can be created by typing "/list" 1`] = `
54
- "<!-- wp:list -->
55
- <ul><li>I’m a list</li></ul>
56
- <!-- /wp:list -->"
57
- `;
58
-
59
- exports[`List can be created by typing an asterisk in front of text of a paragraph block 1`] = `
60
- "<!-- wp:list -->
61
- <ul><li>test</li></ul>
62
- <!-- /wp:list -->"
63
- `;
64
-
65
- exports[`List can be created by using a number at the start of a paragraph block 1`] = `
66
- "<!-- wp:list {\\"ordered\\":true} -->
67
- <ol><li>A list item</li></ol>
68
- <!-- /wp:list -->"
69
- `;
70
-
71
- exports[`List can be created by using an asterisk at the start of a paragraph block 1`] = `
72
- "<!-- wp:list -->
73
- <ul><li>A list item</li><li>Another list item</li></ul>
74
- <!-- /wp:list -->"
75
- `;
76
-
77
- exports[`List can undo asterisk transform 1`] = `
78
- "<!-- wp:paragraph -->
79
- <p>1. </p>
80
- <!-- /wp:paragraph -->"
81
- `;
82
-
83
- exports[`List first empty list item is graciously removed 1`] = `
84
- "<!-- wp:list -->
85
- <ul><li>2</li></ul>
86
- <!-- /wp:list -->"
87
- `;
88
-
89
- exports[`List should be immeadiately saved on indentation 1`] = `
90
- "<!-- wp:list -->
91
- <ul><li>one<ul><li></li></ul></li></ul>
92
- <!-- /wp:list -->"
93
- `;
94
-
95
- exports[`List should change the base list type 1`] = `
96
- "<!-- wp:list {\\"ordered\\":true} -->
97
- <ol><li></li></ol>
98
- <!-- /wp:list -->"
99
- `;
100
-
101
- exports[`List should change the indented list type 1`] = `
102
- "<!-- wp:list -->
103
- <ul><li>a<ol><li>1</li></ol></li></ul>
104
- <!-- /wp:list -->"
105
- `;
106
-
107
- exports[`List should create and remove indented list with keyboard only 1`] = `
108
- "<!-- wp:list -->
109
- <ul><li>1<ul><li>a<ul><li>i</li></ul></li></ul></li></ul>
110
- <!-- /wp:list -->"
111
- `;
112
-
113
- exports[`List should create and remove indented list with keyboard only 2`] = `
114
- "<!-- wp:list -->
115
- <ul><li>1<ul><li>a</li><li></li></ul></li></ul>
116
- <!-- /wp:list -->"
117
- `;
118
-
119
- exports[`List should create and remove indented list with keyboard only 3`] = `
120
- "<!-- wp:list -->
121
- <ul><li>1<ul><li>a</li></ul></li><li></li></ul>
122
- <!-- /wp:list -->"
123
- `;
124
-
125
- exports[`List should create and remove indented list with keyboard only 4`] = `
126
- "<!-- wp:list -->
127
- <ul><li>1<ul><li>a</li></ul></li></ul>
128
- <!-- /wp:list -->"
129
- `;
130
-
131
- exports[`List should create and remove indented list with keyboard only 5`] = `
132
- "<!-- wp:list -->
133
- <ul><li>1</li><li></li></ul>
134
- <!-- /wp:list -->"
135
- `;
136
-
137
- exports[`List should create and remove indented list with keyboard only 6`] = `
138
- "<!-- wp:list -->
139
- <ul><li>1</li></ul>
140
- <!-- /wp:list -->"
141
- `;
142
-
143
- exports[`List should create and remove indented list with keyboard only 7`] = `""`;
144
-
145
- exports[`List should create paragraph on split at end and merge back with content 1`] = `
146
- "<!-- wp:list -->
147
- <ul><li>one</li></ul>
148
- <!-- /wp:list -->
149
-
150
- <!-- wp:paragraph -->
151
- <p></p>
152
- <!-- /wp:paragraph -->"
153
- `;
154
-
155
- exports[`List should create paragraph on split at end and merge back with content 2`] = `
156
- "<!-- wp:list -->
157
- <ul><li>one</li><li>two</li></ul>
158
- <!-- /wp:list -->"
159
- `;
160
-
161
- exports[`List should indent and outdent level 1 1`] = `
162
- "<!-- wp:list -->
163
- <ul><li>a<ul><li>1</li></ul></li></ul>
164
- <!-- /wp:list -->"
165
- `;
166
-
167
- exports[`List should indent and outdent level 1 2`] = `
168
- "<!-- wp:list -->
169
- <ul><li>a</li><li>1</li></ul>
170
- <!-- /wp:list -->"
171
- `;
172
-
173
- exports[`List should indent and outdent level 2 1`] = `
174
- "<!-- wp:list -->
175
- <ul><li>a<ul><li>1<ul><li>i</li></ul></li></ul></li></ul>
176
- <!-- /wp:list -->"
177
- `;
178
-
179
- exports[`List should indent and outdent level 2 2`] = `
180
- "<!-- wp:list -->
181
- <ul><li>a<ul><li>1</li><li>i</li></ul></li></ul>
182
- <!-- /wp:list -->"
183
- `;
184
-
185
- exports[`List should indent and outdent level 2 3`] = `
186
- "<!-- wp:list -->
187
- <ul><li>a<ul><li>1</li></ul></li><li>i</li></ul>
188
- <!-- /wp:list -->"
189
- `;
190
-
191
- exports[`List should insert a line break on shift+enter 1`] = `
192
- "<!-- wp:list -->
193
- <ul><li>a<br></li></ul>
194
- <!-- /wp:list -->"
195
- `;
196
-
197
- exports[`List should insert a line break on shift+enter in a non trailing list item 1`] = `
198
- "<!-- wp:list -->
199
- <ul><li>a</li><li>b<br></li><li>c</li></ul>
200
- <!-- /wp:list -->"
201
- `;
202
-
203
- exports[`List should not change the contents when you change the list type to Unordered 1`] = `"<li>a</li><li>b</li><li>c</li>"`;
204
-
205
- exports[`List should not change the contents when you change the list type to Ordered 1`] = `"<li>1</li><li>2</li><li>3</li>"`;
206
-
207
- exports[`List should not indent list on space with modifier 1`] = `
208
- "<!-- wp:list -->
209
- <ul><li>1</li><li> </li></ul>
210
- <!-- /wp:list -->"
211
- `;
212
-
213
- exports[`List should not transform lines in block when transforming multiple blocks 1`] = `
214
- "<!-- wp:list -->
215
- <ul><li>one<br>...</li><li>two</li></ul>
216
- <!-- /wp:list -->"
217
- `;
218
-
219
- exports[`List should not undo asterisk transform with backspace after selection change 1`] = `""`;
220
-
221
- exports[`List should not undo asterisk transform with backspace after typing 1`] = `""`;
222
-
223
- exports[`List should only convert to list when shortcut ends with space 1`] = `
224
- "<!-- wp:paragraph -->
225
- <p>* </p>
226
- <!-- /wp:paragraph -->"
227
- `;
228
-
229
- exports[`List should outdent with children 1`] = `
230
- "<!-- wp:list -->
231
- <ul><li>a<ul><li>b<ul><li>c</li></ul></li></ul></li></ul>
232
- <!-- /wp:list -->"
233
- `;
234
-
235
- exports[`List should outdent with children 2`] = `
236
- "<!-- wp:list -->
237
- <ul><li>a</li><li>b<ul><li>c</li></ul></li></ul>
238
- <!-- /wp:list -->"
239
- `;
240
-
241
- exports[`List should place the caret in the right place with nested list 1`] = `
242
- "<!-- wp:list -->
243
- <ul><li>1</li><li>2<ul><li>a</li></ul></li></ul>
244
- <!-- /wp:list -->"
245
- `;
246
-
247
- exports[`List should preserve indentation after merging backward and forward 1`] = `
248
- "<!-- wp:list -->
249
- <ul><li>1<ul><li>2</li><li>3</li></ul></li><li></li></ul>
250
- <!-- /wp:list -->"
251
- `;
252
-
253
- exports[`List should preserve indentation after merging backward and forward 2`] = `
254
- "<!-- wp:list -->
255
- <ul><li>1<ul><li>2</li><li>3</li></ul></li></ul>
256
- <!-- /wp:list -->"
257
- `;
258
-
259
- exports[`List should split indented list item 1`] = `
260
- "<!-- wp:list -->
261
- <ul><li>one<ul><li>two</li><li>three</li></ul></li></ul>
262
- <!-- /wp:list -->"
263
- `;
264
-
265
- exports[`List should split into two ordered lists with paragraph 1`] = `
266
- "<!-- wp:list {\\"ordered\\":true} -->
267
- <ol><li>one</li></ol>
268
- <!-- /wp:list -->
269
-
270
- <!-- wp:paragraph -->
271
- <p></p>
272
- <!-- /wp:paragraph -->
273
-
274
- <!-- wp:list {\\"ordered\\":true} -->
275
- <ol><li>two</li></ol>
276
- <!-- /wp:list -->"
277
- `;
278
-
279
- exports[`List should split into two with paragraph and merge lists 1`] = `
280
- "<!-- wp:list -->
281
- <ul><li>one</li><li></li><li>two</li></ul>
282
- <!-- /wp:list -->"
283
- `;
284
-
285
- exports[`List should split into two with paragraph and merge lists 2`] = `
286
- "<!-- wp:list -->
287
- <ul><li>one</li></ul>
288
- <!-- /wp:list -->
289
-
290
- <!-- wp:paragraph -->
291
- <p></p>
292
- <!-- /wp:paragraph -->
293
-
294
- <!-- wp:list -->
295
- <ul><li>two</li></ul>
296
- <!-- /wp:list -->"
297
- `;
298
-
299
- exports[`List should split into two with paragraph and merge lists 3`] = `
300
- "<!-- wp:list -->
301
- <ul><li>one</li><li></li></ul>
302
- <!-- /wp:list -->
303
-
304
- <!-- wp:list -->
305
- <ul><li>two</li></ul>
306
- <!-- /wp:list -->"
307
- `;
308
-
309
- exports[`List should undo asterisk transform with backspace 1`] = `
310
- "<!-- wp:paragraph -->
311
- <p>* </p>
312
- <!-- /wp:paragraph -->"
313
- `;
314
-
315
- exports[`List should undo asterisk transform with backspace after selection changes 1`] = `
316
- "<!-- wp:paragraph -->
317
- <p>* </p>
318
- <!-- /wp:paragraph -->"
319
- `;
320
-
321
- exports[`List should undo asterisk transform with backspace after selection changes without requestIdleCallback 1`] = `
322
- "<!-- wp:paragraph -->
323
- <p>* </p>
324
- <!-- /wp:paragraph -->"
325
- `;
326
-
327
- exports[`List should undo asterisk transform with backspace setting isTyping state 1`] = `
328
- "<!-- wp:paragraph -->
329
- <p>* </p>
330
- <!-- /wp:paragraph -->"
331
- `;
332
-
333
- exports[`List should undo asterisk transform with escape 1`] = `
334
- "<!-- wp:paragraph -->
335
- <p>* </p>
336
- <!-- /wp:paragraph -->"
337
- `;
@@ -1,131 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import {
5
- activateTheme,
6
- createNewPost,
7
- insertBlock,
8
- pressKeyTimes,
9
- publishPost,
10
- setOption,
11
- trashAllComments,
12
- } from '@wordpress/e2e-test-utils';
13
-
14
- describe( 'Comments', () => {
15
- let previousPageComments,
16
- previousCommentsPerPage,
17
- previousDefaultCommentsPage;
18
- beforeAll( async () => {
19
- await activateTheme( 'emptytheme' );
20
- previousPageComments = await setOption( 'page_comments', '1' );
21
- previousCommentsPerPage = await setOption( 'comments_per_page', '1' );
22
- previousDefaultCommentsPage = await setOption(
23
- 'default_comments_page',
24
- 'newest'
25
- );
26
- } );
27
- it( 'We show no results message if there are no comments', async () => {
28
- await trashAllComments();
29
- await createNewPost();
30
- await insertBlock( 'Comments' );
31
- await page.waitForXPath( '//p[contains(text(), "No results found.")]' );
32
- } );
33
- it( 'Pagination links are working as expected', async () => {
34
- await createNewPost();
35
- await insertBlock( 'Comments' );
36
- await publishPost();
37
- // Visit the post that was just published.
38
- await page.click(
39
- '.post-publish-panel__postpublish-buttons .is-primary'
40
- );
41
-
42
- // TODO: We can extract this into a util once we find we need it elsewhere.
43
- // Create three comments for that post.
44
- for ( let i = 0; i < 3; i++ ) {
45
- await page.waitForSelector( 'textarea#comment' );
46
- await page.click( 'textarea#comment' );
47
- await page.type(
48
- `textarea#comment`,
49
- `This is an automated comment - ${ i }`
50
- );
51
- await pressKeyTimes( 'Tab', 1 );
52
- await Promise.all( [
53
- page.keyboard.press( 'Enter' ),
54
- page.waitForNavigation( { waitUntil: 'networkidle0' } ),
55
- ] );
56
- }
57
-
58
- // We check that there is a previous comments page link.
59
- expect(
60
- await page.$( '.wp-block-comments-pagination-previous' )
61
- ).not.toBeNull();
62
- expect(
63
- await page.$( '.wp-block-comments-pagination-next' )
64
- ).toBeNull();
65
-
66
- await Promise.all( [
67
- page.click( '.wp-block-comments-pagination-previous' ),
68
- page.waitForNavigation( { waitUntil: 'networkidle0' } ),
69
- ] );
70
-
71
- // We check that there are a previous and a next link.
72
- expect(
73
- await page.$( '.wp-block-comments-pagination-previous' )
74
- ).not.toBeNull();
75
- expect(
76
- await page.$( '.wp-block-comments-pagination-next' )
77
- ).not.toBeNull();
78
-
79
- await Promise.all( [
80
- page.click( '.wp-block-comments-pagination-previous' ),
81
- page.waitForNavigation( { waitUntil: 'networkidle0' } ),
82
- ] );
83
-
84
- // We check that there is only have a next link
85
- expect(
86
- await page.$( '.wp-block-comments-pagination-previous' )
87
- ).toBeNull();
88
- expect(
89
- await page.$( '.wp-block-comments-pagination-next' )
90
- ).not.toBeNull();
91
- } );
92
- it( 'Pagination links are not appearing if break comments is not enabled', async () => {
93
- await setOption( 'page_comments', '0' );
94
- await createNewPost();
95
- await insertBlock( 'Comments' );
96
- await publishPost();
97
- // Visit the post that was just published.
98
- await page.click(
99
- '.post-publish-panel__postpublish-buttons .is-primary'
100
- );
101
-
102
- // Create three comments for that post.
103
- for ( let i = 0; i < 3; i++ ) {
104
- await page.waitForSelector( 'textarea#comment' );
105
- await page.click( 'textarea#comment' );
106
- await page.type(
107
- `textarea#comment`,
108
- `This is an automated comment - ${ i }`
109
- );
110
- await pressKeyTimes( 'Tab', 1 );
111
- await Promise.all( [
112
- page.keyboard.press( 'Enter' ),
113
- page.waitForNavigation( { waitUntil: 'networkidle0' } ),
114
- ] );
115
- }
116
- // We check that there are no comments page link.
117
- expect(
118
- await page.$( '.wp-block-comments-pagination-previous' )
119
- ).toBeNull();
120
- expect(
121
- await page.$( '.wp-block-comments-pagination-next' )
122
- ).toBeNull();
123
- } );
124
- afterAll( async () => {
125
- await trashAllComments();
126
- await activateTheme( 'twentytwentyone' );
127
- await setOption( 'page_comments', previousPageComments );
128
- await setOption( 'comments_per_page', previousCommentsPerPage );
129
- await setOption( 'default_comments_page', previousDefaultCommentsPage );
130
- } );
131
- } );
@@ -1,43 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import {
5
- clickBlockAppender,
6
- searchForBlock,
7
- getEditedPostContent,
8
- createNewPost,
9
- } from '@wordpress/e2e-test-utils';
10
-
11
- describe( 'Group', () => {
12
- beforeEach( async () => {
13
- await createNewPost();
14
- } );
15
-
16
- it( 'can be created using the block inserter', async () => {
17
- await searchForBlock( 'Group' );
18
- await page.click( '.editor-block-list-item-group' );
19
-
20
- expect( await getEditedPostContent() ).toMatchSnapshot();
21
- } );
22
-
23
- it( 'can be created using the slash inserter', async () => {
24
- await clickBlockAppender();
25
- await page.keyboard.type( '/group' );
26
- await page.waitForXPath(
27
- `//*[contains(@class, "components-autocomplete__result") and contains(@class, "is-selected") and contains(text(), 'Group')]`
28
- );
29
- await page.keyboard.press( 'Enter' );
30
-
31
- expect( await getEditedPostContent() ).toMatchSnapshot();
32
- } );
33
-
34
- it( 'can have other blocks appended to it using the button appender', async () => {
35
- await searchForBlock( 'Group' );
36
- await page.click( '.editor-block-list-item-group' );
37
- await page.click( '.block-editor-button-block-appender' );
38
- await page.click( '.editor-block-list-item-paragraph' );
39
- await page.keyboard.type( 'Group Block with a Paragraph' );
40
-
41
- expect( await getEditedPostContent() ).toMatchSnapshot();
42
- } );
43
- } );