@wordpress/e2e-tests 6.3.3 → 6.3.5
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.
- package/package.json +4 -4
- package/specs/editor/various/__snapshots__/links.test.js.snap +1 -1
- package/specs/editor/various/links.test.js +4 -4
- package/specs/performance/site-editor.test.js +1 -2
- package/specs/site-editor/multi-entity-saving.test.js +0 -2
- package/specs/site-editor/settings-sidebar.test.js +0 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wordpress/e2e-tests",
|
3
|
-
"version": "6.3.
|
3
|
+
"version": "6.3.5",
|
4
4
|
"description": "End-To-End (E2E) tests for WordPress.",
|
5
5
|
"author": "The WordPress Contributors",
|
6
6
|
"license": "GPL-2.0-or-later",
|
@@ -23,10 +23,10 @@
|
|
23
23
|
"node": ">=14"
|
24
24
|
},
|
25
25
|
"dependencies": {
|
26
|
-
"@wordpress/e2e-test-utils": "^9.3.
|
26
|
+
"@wordpress/e2e-test-utils": "^9.3.3",
|
27
27
|
"@wordpress/jest-console": "^6.9.1",
|
28
28
|
"@wordpress/jest-puppeteer-axe": "^5.9.1",
|
29
|
-
"@wordpress/scripts": "^25.3.
|
29
|
+
"@wordpress/scripts": "^25.3.4",
|
30
30
|
"@wordpress/url": "^3.27.1",
|
31
31
|
"chalk": "^4.0.0",
|
32
32
|
"expect-puppeteer": "^4.4.0",
|
@@ -46,5 +46,5 @@
|
|
46
46
|
"publishConfig": {
|
47
47
|
"access": "public"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "35f10c183655e9196d4ea12b8fa499a8ecbb7b6a"
|
50
50
|
}
|
@@ -68,6 +68,6 @@ exports[`Links should contain a label when it should open in a new tab 1`] = `
|
|
68
68
|
|
69
69
|
exports[`Links should contain a label when it should open in a new tab 2`] = `
|
70
70
|
"<!-- wp:paragraph -->
|
71
|
-
<p>This is <a href=\\"http://wordpress.org\\"
|
71
|
+
<p>This is <a href=\\"http://wordpress.org\\">WordPress</a></p>
|
72
72
|
<!-- /wp:paragraph -->"
|
73
73
|
`;
|
@@ -121,6 +121,7 @@ describe( 'Links', () => {
|
|
121
121
|
|
122
122
|
// Navigate to and toggle the "Open in new tab" checkbox.
|
123
123
|
await page.keyboard.press( 'Tab' );
|
124
|
+
await page.keyboard.press( 'Tab' );
|
124
125
|
await page.keyboard.press( 'Space' );
|
125
126
|
|
126
127
|
// Toggle should still have focus and be checked.
|
@@ -133,7 +134,7 @@ describe( 'Links', () => {
|
|
133
134
|
expect( await getEditedPostContent() ).toMatchSnapshot();
|
134
135
|
|
135
136
|
// Tab back to the Submit and apply the link.
|
136
|
-
await
|
137
|
+
await pressKeyWithModifier( 'shift', 'Tab' );
|
137
138
|
await page.keyboard.press( 'Enter' );
|
138
139
|
|
139
140
|
// The link should have been inserted.
|
@@ -526,6 +527,7 @@ describe( 'Links', () => {
|
|
526
527
|
|
527
528
|
// Navigate to and toggle the "Open in new tab" checkbox.
|
528
529
|
await page.keyboard.press( 'Tab' );
|
530
|
+
await page.keyboard.press( 'Tab' );
|
529
531
|
await page.keyboard.press( 'Space' );
|
530
532
|
|
531
533
|
// Confirm that focus was not prematurely returned to the paragraph on
|
@@ -534,8 +536,7 @@ describe( 'Links', () => {
|
|
534
536
|
|
535
537
|
// Close dialog. Expect that "Open in new tab" would have been applied
|
536
538
|
// immediately.
|
537
|
-
|
538
|
-
await pressKeyWithModifier( 'shift', 'Tab' );
|
539
|
+
await page.keyboard.press( 'Tab' );
|
539
540
|
await page.keyboard.press( 'Enter' );
|
540
541
|
|
541
542
|
// Wait for Gutenberg to finish the job.
|
@@ -765,7 +766,6 @@ describe( 'Links', () => {
|
|
765
766
|
await page.keyboard.press( 'Tab' );
|
766
767
|
await page.keyboard.press( 'Tab' );
|
767
768
|
await page.keyboard.press( 'Tab' );
|
768
|
-
await page.keyboard.press( 'Tab' );
|
769
769
|
|
770
770
|
// Make a selection within the RichText.
|
771
771
|
await pressKeyWithModifier( 'shift', 'ArrowRight' );
|
@@ -87,7 +87,6 @@ describe( 'Site Editor Performance', () => {
|
|
87
87
|
await visitSiteEditor( {
|
88
88
|
postId: id,
|
89
89
|
postType: 'page',
|
90
|
-
path: '/navigation/single',
|
91
90
|
} );
|
92
91
|
|
93
92
|
let i = 3;
|
@@ -121,7 +120,7 @@ describe( 'Site Editor Performance', () => {
|
|
121
120
|
'[data-type="core/post-content"] [data-type="core/paragraph"]'
|
122
121
|
);
|
123
122
|
await enterEditMode();
|
124
|
-
await canvas().
|
123
|
+
await canvas().focus(
|
125
124
|
'[data-type="core/post-content"] [data-type="core/paragraph"]'
|
126
125
|
);
|
127
126
|
await insertBlock( 'Paragraph' );
|
@@ -265,7 +265,6 @@ describe( 'Multi-entity save flow', () => {
|
|
265
265
|
await visitSiteEditor( {
|
266
266
|
postId: 'emptytheme//index',
|
267
267
|
postType: 'wp_template',
|
268
|
-
path: '/templates/single',
|
269
268
|
} );
|
270
269
|
|
271
270
|
await enterEditMode();
|
@@ -305,7 +304,6 @@ describe( 'Multi-entity save flow', () => {
|
|
305
304
|
await visitSiteEditor( {
|
306
305
|
postId: 'emptytheme//index',
|
307
306
|
postType: 'wp_template',
|
308
|
-
path: '/templates/single',
|
309
307
|
} );
|
310
308
|
|
311
309
|
await enterEditMode();
|