You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ede5763
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: features/plugin-list-wporg-status.feature
+20-5Lines changed: 20 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,10 @@ Feature: Check the status of plugins on WordPress.org
3
3
@require-wp-5.2
4
4
Scenario: Install plugins and check the status on wp.org.
5
5
Given a WP install
6
-
And I run `wp plugin install wordpress-importer --version=0.5 --force`
6
+
And these installed plugins:
7
+
"""
8
+
wordpress-importer --version=0.5 --force
9
+
"""
7
10
And I run `wp plugin install https://downloads.wordpress.org/plugin/no-longer-in-directory.1.0.62.zip`
8
11
And a wp-content/plugins/never-wporg/never-wporg.php file:
9
12
"""
@@ -114,7 +117,10 @@ Feature: Check the status of plugins on WordPress.org
114
117
@require-wp-5.2
115
118
Scenario: The wp.org last updated date for an active plugin does not depend on a second, rate-limited request
116
119
Given a WP install
117
-
And I run `wp plugin install wordpress-importer --version=0.5 --force`
120
+
And these installed plugins:
121
+
"""
122
+
wordpress-importer --version=0.5 --force
123
+
"""
118
124
And that HTTP requests to https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request%5Blocale%5D=en_US&request%5Bslug%5D=wordpress-importer will respond with:
119
125
"""
120
126
HTTP/1.1 200
@@ -146,7 +152,10 @@ Feature: Check the status of plugins on WordPress.org
146
152
@require-wp-5.2
147
153
Scenario: The wp.org last updated date falls back to the trac log when the plugin-info API omits it
148
154
Given a WP install
149
-
And I run `wp plugin install wordpress-importer --version=0.5 --force`
155
+
And these installed plugins:
156
+
"""
157
+
wordpress-importer --version=0.5 --force
158
+
"""
150
159
And that HTTP requests to https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request%5Blocale%5D=en_US&request%5Bslug%5D=wordpress-importer will respond with:
151
160
"""
152
161
HTTP/1.1 200
@@ -180,7 +189,10 @@ Feature: Check the status of plugins on WordPress.org
180
189
@require-wp-5.2
181
190
Scenario: The wp.org last updated date falls back to the trac log when the plugin-info API date can't be parsed
182
191
Given a WP install
183
-
And I run `wp plugin install wordpress-importer --version=0.5 --force`
192
+
And these installed plugins:
193
+
"""
194
+
wordpress-importer --version=0.5 --force
195
+
"""
184
196
And that HTTP requests to https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request%5Blocale%5D=en_US&request%5Bslug%5D=wordpress-importer will respond with:
185
197
"""
186
198
HTTP/1.1 200
@@ -217,7 +229,10 @@ Feature: Check the status of plugins on WordPress.org
217
229
@require-wp-5.2
218
230
Scenario: The wp.org last updated date stays empty when the trac log pubDate can't be parsed
219
231
Given a WP install
220
-
And I run `wp plugin install wordpress-importer --version=0.5 --force`
232
+
And these installed plugins:
233
+
"""
234
+
wordpress-importer --version=0.5 --force
235
+
"""
221
236
And that HTTP requests to https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request%5Blocale%5D=en_US&request%5Bslug%5D=wordpress-importer will respond with:
0 commit comments