@wordpress/e2e-tests 8.17.0 → 8.18.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": "8.
|
3
|
+
"version": "8.18.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.18.0",
|
28
|
+
"@wordpress/interactivity": "^6.18.0",
|
29
|
+
"@wordpress/interactivity-router": "^2.18.0",
|
30
|
+
"@wordpress/jest-console": "^8.18.0",
|
31
|
+
"@wordpress/jest-puppeteer-axe": "^7.18.0",
|
32
|
+
"@wordpress/scripts": "^30.11.0",
|
33
|
+
"@wordpress/url": "^4.18.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": "afe4fb333177642180ac020f1030c5685eab7183"
|
51
51
|
}
|
@@ -7,6 +7,17 @@
|
|
7
7
|
* @phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
|
8
8
|
*/
|
9
9
|
|
10
|
+
add_action(
|
11
|
+
'wp_enqueue_scripts',
|
12
|
+
function () {
|
13
|
+
wp_enqueue_style(
|
14
|
+
'wrapper-styles-from-link',
|
15
|
+
plugin_dir_url( __FILE__ ) . 'style-from-link.css',
|
16
|
+
array()
|
17
|
+
);
|
18
|
+
}
|
19
|
+
);
|
20
|
+
|
10
21
|
$wrapper_attributes = get_block_wrapper_attributes();
|
11
22
|
?>
|
12
23
|
<div <?php echo $wrapper_attributes; ?>>
|
@@ -38,6 +49,12 @@ $wrapper_attributes = get_block_wrapper_attributes();
|
|
38
49
|
<p data-testid="all-from-inline" class="red-from-inline green-from-inline blue-from-inline">All</p>
|
39
50
|
</fieldset>
|
40
51
|
|
52
|
+
<!-- This one should remain green after navigation. -->
|
53
|
+
<fieldset>
|
54
|
+
<legend>Rule order checker</legend>
|
55
|
+
<p data-testid="order-checker" class="order-checker">I should remain green</p>
|
56
|
+
</fieldset>
|
57
|
+
|
41
58
|
<!-- Links to pages with different blocks combination. -->
|
42
59
|
<nav data-wp-interactive="test/router-styles">
|
43
60
|
<?php foreach ( $attributes['links'] as $label => $link ) : ?>
|