@wordpress/e2e-tests 7.1.0 → 7.2.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.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wordpress/e2e-tests",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.2.0",
|
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,11 +23,11 @@
|
|
23
23
|
"node": ">=14"
|
24
24
|
},
|
25
25
|
"dependencies": {
|
26
|
-
"@wordpress/e2e-test-utils": "^10.
|
27
|
-
"@wordpress/jest-console": "^7.
|
28
|
-
"@wordpress/jest-puppeteer-axe": "^6.
|
29
|
-
"@wordpress/scripts": "^26.
|
30
|
-
"@wordpress/url": "^3.
|
26
|
+
"@wordpress/e2e-test-utils": "^10.2.0",
|
27
|
+
"@wordpress/jest-console": "^7.2.0",
|
28
|
+
"@wordpress/jest-puppeteer-axe": "^6.2.0",
|
29
|
+
"@wordpress/scripts": "^26.2.0",
|
30
|
+
"@wordpress/url": "^3.32.0",
|
31
31
|
"chalk": "^4.0.0",
|
32
32
|
"expect-puppeteer": "^4.4.0",
|
33
33
|
"filenamify": "^4.2.0",
|
@@ -45,5 +45,5 @@
|
|
45
45
|
"publishConfig": {
|
46
46
|
"access": "public"
|
47
47
|
},
|
48
|
-
"gitHead": "
|
48
|
+
"gitHead": "d61700b9f1c72ba0b030fc815ef1685b4f4031ec"
|
49
49
|
}
|
@@ -41,9 +41,7 @@ describe( 'cpt locking', () => {
|
|
41
41
|
);
|
42
42
|
await clickBlockToolbarButton( 'Options' );
|
43
43
|
expect(
|
44
|
-
await page.$x(
|
45
|
-
'//button/span[contains(text(), "Remove Paragraph")]'
|
46
|
-
)
|
44
|
+
await page.$x( '//button/span[contains(text(), "Delete")]' )
|
47
45
|
).toHaveLength( 0 );
|
48
46
|
};
|
49
47
|
|
@@ -180,7 +178,7 @@ describe( 'cpt locking', () => {
|
|
180
178
|
'p1'
|
181
179
|
);
|
182
180
|
await clickBlockToolbarButton( 'Options' );
|
183
|
-
await clickMenuItem( '
|
181
|
+
await clickMenuItem( 'Delete' );
|
184
182
|
expect( await getEditedPostContent() ).toMatchSnapshot();
|
185
183
|
} );
|
186
184
|
|
@@ -200,7 +198,7 @@ describe( 'cpt locking', () => {
|
|
200
198
|
'p1'
|
201
199
|
);
|
202
200
|
await clickBlockToolbarButton( 'Options' );
|
203
|
-
await clickMenuItem( '
|
201
|
+
await clickMenuItem( 'Delete' );
|
204
202
|
|
205
203
|
expect( await getEditedPostContent() ).toMatchSnapshot();
|
206
204
|
} );
|
@@ -244,7 +244,7 @@ describe( 'Reusable blocks', () => {
|
|
244
244
|
// Delete the block, leaving the reusable block empty.
|
245
245
|
await clickBlockToolbarButton( 'Options' );
|
246
246
|
const deleteButton = await page.waitForXPath(
|
247
|
-
'//button/span[text()="
|
247
|
+
'//button/span[text()="Delete"]'
|
248
248
|
);
|
249
249
|
deleteButton.click();
|
250
250
|
|