@wordpress/e2e-tests 7.22.3 → 7.22.4

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.22.3",
3
+ "version": "7.22.4",
4
4
  "description": "End-To-End (E2E) tests for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -24,11 +24,11 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@wordpress/e2e-test-utils": "^10.22.1",
27
- "@wordpress/interactivity": "^5.0.2",
28
- "@wordpress/interactivity-router": "^1.1.2",
27
+ "@wordpress/interactivity": "^5.0.3",
28
+ "@wordpress/interactivity-router": "^1.1.3",
29
29
  "@wordpress/jest-console": "^7.22.1",
30
30
  "@wordpress/jest-puppeteer-axe": "^6.22.1",
31
- "@wordpress/scripts": "^27.2.3",
31
+ "@wordpress/scripts": "^27.2.4",
32
32
  "@wordpress/url": "^3.52.1",
33
33
  "chalk": "^4.0.0",
34
34
  "expect-puppeteer": "^4.4.0",
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "864c1c553cb284def3bd5c907998da45f5c143ea"
49
+ "gitHead": "4927ea437069f9aed12f696df294a79bd8e12fd5"
50
50
  }
@@ -21,7 +21,6 @@ function gutenberg_test_block_bindings_register_custom_fields() {
21
21
  'default' => 'Value of the text_custom_field',
22
22
  )
23
23
  );
24
- // TODO: Change url.
25
24
  register_meta(
26
25
  'post',
27
26
  'url_custom_field',
@@ -32,5 +31,24 @@ function gutenberg_test_block_bindings_register_custom_fields() {
32
31
  'default' => '#url-custom-field',
33
32
  )
34
33
  );
34
+ register_meta(
35
+ 'post',
36
+ '_protected_field',
37
+ array(
38
+ 'type' => 'string',
39
+ 'single' => true,
40
+ 'default' => 'protected field value',
41
+ )
42
+ );
43
+ register_meta(
44
+ 'post',
45
+ 'show_in_rest_false_field',
46
+ array(
47
+ 'show_in_rest' => false,
48
+ 'type' => 'string',
49
+ 'single' => true,
50
+ 'default' => 'show_in_rest false field value',
51
+ )
52
+ );
35
53
  }
36
54
  add_action( 'init', 'gutenberg_test_block_bindings_register_custom_fields' );