@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
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 7.2.0 (2023-04-12)
6
+
5
7
  ## 7.1.0 (2023-03-29)
6
8
 
7
9
  ## 7.0.0 (2023-03-15)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/e2e-tests",
3
- "version": "7.1.0",
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.1.0",
27
- "@wordpress/jest-console": "^7.1.0",
28
- "@wordpress/jest-puppeteer-axe": "^6.1.0",
29
- "@wordpress/scripts": "^26.1.0",
30
- "@wordpress/url": "^3.31.0",
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": "d5c28a67b11e91e3e4b8e90346bfcb90909364d6"
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( 'Remove Paragraph' );
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( 'Remove Paragraph' );
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()="Remove Paragraph"]'
247
+ '//button/span[text()="Delete"]'
248
248
  );
249
249
  deleteButton.click();
250
250