@wordpress/e2e-tests 8.15.0 → 8.16.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 +2 -0
- package/README.md +1 -1
- package/package.json +9 -9
- package/plugins/cpt-locking.php +1 -1
- package/plugins/delete-installed-fonts.php +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
@@ -78,7 +78,7 @@ Debugging in a Chrome browser can be replaced with `vscode`'s debugger by adding
|
|
78
78
|
}
|
79
79
|
```
|
80
80
|
|
81
|
-
This will run jest,
|
81
|
+
This will run jest, targeting the spec file currently open in the editor. `vscode`'s debugger can now be used to add breakpoints and inspect tests as you would in Chrome DevTools.
|
82
82
|
|
83
83
|
**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions.
|
84
84
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wordpress/e2e-tests",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.16.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",
|
@@ -24,13 +24,13 @@
|
|
24
24
|
"npm": ">=8.19.2"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@wordpress/e2e-test-utils": "^11.
|
28
|
-
"@wordpress/interactivity": "^6.
|
29
|
-
"@wordpress/interactivity-router": "^2.
|
30
|
-
"@wordpress/jest-console": "^8.
|
31
|
-
"@wordpress/jest-puppeteer-axe": "^7.
|
32
|
-
"@wordpress/scripts": "^30.
|
33
|
-
"@wordpress/url": "^4.
|
27
|
+
"@wordpress/e2e-test-utils": "^11.16.0",
|
28
|
+
"@wordpress/interactivity": "^6.16.0",
|
29
|
+
"@wordpress/interactivity-router": "^2.16.0",
|
30
|
+
"@wordpress/jest-console": "^8.16.0",
|
31
|
+
"@wordpress/jest-puppeteer-axe": "^7.16.0",
|
32
|
+
"@wordpress/scripts": "^30.9.0",
|
33
|
+
"@wordpress/url": "^4.16.0",
|
34
34
|
"chalk": "^4.0.0",
|
35
35
|
"expect-puppeteer": "^4.4.0",
|
36
36
|
"filenamify": "^4.2.0",
|
@@ -47,5 +47,5 @@
|
|
47
47
|
"publishConfig": {
|
48
48
|
"access": "public"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "f48b9f56629e400891abb5ae491504de475237ff"
|
51
51
|
}
|
package/plugins/cpt-locking.php
CHANGED
@@ -32,7 +32,7 @@ add_filter( 'font_dir', 'gutenberg_filter_e2e_font_dir' );
|
|
32
32
|
|
33
33
|
/**
|
34
34
|
* Deletes all user installed fonts, associated font files, the fonts directory, and user global styles typography
|
35
|
-
*
|
35
|
+
* settings for the current theme so that we can test uploading/installing fonts in a clean environment.
|
36
36
|
*/
|
37
37
|
function gutenberg_delete_installed_fonts() {
|
38
38
|
$font_family_ids = new WP_Query(
|