@wordpress/e2e-tests 7.6.3 → 7.6.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
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wordpress/e2e-tests",
|
3
|
-
"version": "7.6.
|
3
|
+
"version": "7.6.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,7 +23,7 @@
|
|
23
23
|
"node": ">=14"
|
24
24
|
},
|
25
25
|
"dependencies": {
|
26
|
-
"@wordpress/e2e-test-utils": "^10.6.
|
26
|
+
"@wordpress/e2e-test-utils": "^10.6.3",
|
27
27
|
"@wordpress/jest-console": "^7.6.1",
|
28
28
|
"@wordpress/jest-puppeteer-axe": "^6.6.1",
|
29
29
|
"@wordpress/scripts": "^26.6.2",
|
@@ -45,5 +45,5 @@
|
|
45
45
|
"publishConfig": {
|
46
46
|
"access": "public"
|
47
47
|
},
|
48
|
-
"gitHead": "
|
48
|
+
"gitHead": "3eeb607ebb76c3bf06cb8acb462f0dc068f340f9"
|
49
49
|
}
|
@@ -90,7 +90,7 @@ describe( 'block editor keyboard shortcuts', () => {
|
|
90
90
|
} );
|
91
91
|
it( 'should prevent deleting multiple selected blocks from inputs', async () => {
|
92
92
|
await clickBlockToolbarButton( 'Options' );
|
93
|
-
await clickMenuItem( 'Create pattern' );
|
93
|
+
await clickMenuItem( 'Create pattern/reusable block' );
|
94
94
|
const reusableBlockNameInputSelector =
|
95
95
|
'.reusable-blocks-menu-items__convert-modal .components-text-control__input';
|
96
96
|
const nameInput = await page.waitForSelector(
|
@@ -113,7 +113,7 @@ describe( 'Reusable blocks', () => {
|
|
113
113
|
await insertReusableBlock( 'Surprised greeting block' );
|
114
114
|
|
115
115
|
// Convert block to a regular block.
|
116
|
-
await clickBlockToolbarButton( '
|
116
|
+
await clickBlockToolbarButton( 'Detach pattern' );
|
117
117
|
|
118
118
|
// Check that we have a paragraph block on the page.
|
119
119
|
const paragraphBlock = await canvas().$(
|
@@ -197,7 +197,7 @@ describe( 'Reusable blocks', () => {
|
|
197
197
|
|
198
198
|
// Convert block to a reusable block.
|
199
199
|
await clickBlockToolbarButton( 'Options' );
|
200
|
-
await clickMenuItem( 'Create pattern' );
|
200
|
+
await clickMenuItem( 'Create pattern/reusable block' );
|
201
201
|
|
202
202
|
// Set title.
|
203
203
|
const nameInput = await page.waitForSelector(
|
@@ -212,7 +212,7 @@ describe( 'Reusable blocks', () => {
|
|
212
212
|
|
213
213
|
// Wait for creation to finish.
|
214
214
|
await page.waitForXPath(
|
215
|
-
'//*[contains(@class, "components-snackbar")]/*[text()
|
215
|
+
'//*[contains(@class, "components-snackbar")]/*[contains(text(),"Pattern created:")]'
|
216
216
|
);
|
217
217
|
|
218
218
|
await clearAllBlocks();
|
@@ -221,7 +221,7 @@ describe( 'Reusable blocks', () => {
|
|
221
221
|
await insertReusableBlock( 'Multi-selection reusable block' );
|
222
222
|
|
223
223
|
// Convert block to a regular block.
|
224
|
-
await clickBlockToolbarButton( '
|
224
|
+
await clickBlockToolbarButton( 'Detach patterns' );
|
225
225
|
|
226
226
|
// Check that we have two paragraph blocks on the page.
|
227
227
|
expect( await getEditedPostContent() ).toMatchSnapshot();
|
@@ -353,7 +353,7 @@ describe( 'Reusable blocks', () => {
|
|
353
353
|
|
354
354
|
// Convert back to regular blocks.
|
355
355
|
await clickBlockToolbarButton( 'Select Pattern' );
|
356
|
-
await clickBlockToolbarButton( '
|
356
|
+
await clickBlockToolbarButton( 'Detach pattern' );
|
357
357
|
await page.waitForXPath( selector, {
|
358
358
|
hidden: true,
|
359
359
|
} );
|
@@ -383,7 +383,7 @@ describe( 'Reusable blocks', () => {
|
|
383
383
|
|
384
384
|
// Convert to reusable.
|
385
385
|
await clickBlockToolbarButton( 'Options' );
|
386
|
-
await clickMenuItem( 'Create pattern' );
|
386
|
+
await clickMenuItem( 'Create pattern/reusable block' );
|
387
387
|
const nameInput = await page.waitForSelector(
|
388
388
|
reusableBlockNameInputSelector
|
389
389
|
);
|