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
Copy file name to clipboardExpand all lines: features/export.feature
+21-18Lines changed: 21 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Feature: Export content.
40
40
"""
41
41
And the return code should be 1
42
42
43
-
@require-wp-5.2
43
+
@require-wp-5.2@require-mysql
44
44
Scenario: Export with post_type and post_status argument
45
45
Given a WP install
46
46
@@ -79,7 +79,7 @@ Feature: Export content.
79
79
10
80
80
"""
81
81
82
-
@require-wp-5.2
82
+
@require-wp-5.2@require-mysql
83
83
Scenario: Export a comma-separated list of post types
84
84
Given a WP install
85
85
@@ -132,7 +132,7 @@ Feature: Export content.
132
132
10
133
133
"""
134
134
135
-
@require-wp-5.2
135
+
@require-wp-5.2@require-mysql
136
136
Scenario: Export only one post
137
137
Given a WP install
138
138
@@ -204,7 +204,7 @@ Feature: Export content.
204
204
2
205
205
"""
206
206
207
-
@require-wp-5.2
207
+
@require-wp-5.2@require-mysql
208
208
Scenario: Export multiple posts, separated by spaces
209
209
Given a WP install
210
210
@@ -237,7 +237,7 @@ Feature: Export content.
237
237
2
238
238
"""
239
239
240
-
@require-wp-5.2
240
+
@require-wp-5.2@require-mysql
241
241
Scenario: Export multiple posts, separated by comma
242
242
Given a WP install
243
243
@@ -270,7 +270,7 @@ Feature: Export content.
270
270
2
271
271
"""
272
272
273
-
@require-wp-5.2
273
+
@require-wp-5.2@require-mysql
274
274
Scenario: Export posts within a given date range
275
275
Given a WP install
276
276
@@ -311,7 +311,7 @@ Feature: Export content.
311
311
10
312
312
"""
313
313
314
-
@require-wp-5.2
314
+
@require-wp-5.2@require-mysql
315
315
Scenario: Export posts from a given category
316
316
Given a WP install
317
317
And I run `wp site empty --yes`
@@ -393,7 +393,7 @@ Feature: Export content.
393
393
Apple Post
394
394
"""
395
395
396
-
@require-wp-5.2
396
+
@require-wp-5.2@require-mysql
397
397
Scenario: Export posts from a given author
398
398
Given a WP install
399
399
And I run `wp site empty --yes`
@@ -476,7 +476,7 @@ Feature: Export content.
476
476
john.doe@example.com
477
477
"""
478
478
479
-
@require-wp-5.2
479
+
@require-wp-5.2@require-mysql
480
480
Scenario: Export posts should include user information
481
481
Given a WP install
482
482
And I run `wp plugin install wordpress-importer --activate`
@@ -503,7 +503,7 @@ Feature: Export content.
503
503
Test User
504
504
"""
505
505
506
-
@require-wp-5.2
506
+
@require-wp-5.2@require-mysql
507
507
Scenario: Export posts from a given starting post ID
508
508
Given a WP install
509
509
@@ -542,7 +542,7 @@ Feature: Export content.
542
542
5
543
543
"""
544
544
545
-
@require-wp-5.2
545
+
@require-wp-5.2@require-mysql
546
546
Scenario: Exclude a specific post type from export
547
547
Given a WP install
548
548
And I run `wp site empty --yes`
@@ -605,6 +605,7 @@ Feature: Export content.
605
605
0
606
606
"""
607
607
608
+
@require-mysql
608
609
Scenario: Export posts using --max_num_posts
609
610
Given a WP install
610
611
And I run `wp site empty --yes`
@@ -648,7 +649,7 @@ Feature: Export content.
648
649
000.xml
649
650
"""
650
651
651
-
@require-wp-5.2
652
+
@require-wp-5.2@require-mysql
652
653
Scenario: Export a site and skip the comments
653
654
Given a WP install
654
655
And I run `wp comment generate --post_id=1 --count=2`
@@ -787,6 +788,7 @@ Feature: Export content.
787
788
<wp:tag>
788
789
"""
789
790
791
+
@require-mysql
790
792
Scenario: Export without splitting the dump
791
793
Given a WP install
792
794
# Make export file > 15MB so will split by default. Need to split into 4 * 4MB to stay below 10% of default redo log size of 48MB, otherwise get MySQL error.
@@ -828,7 +830,7 @@ Feature: Export content.
828
830
"""
829
831
And STDERR should be empty
830
832
831
-
@require-wp-5.2
833
+
@require-wp-5.2@require-mysql
832
834
Scenario: Export a site to stdout
833
835
Given a WP install
834
836
And I run `wp comment generate --post_id=1 --count=1`
@@ -882,7 +884,7 @@ Feature: Export content.
882
884
"""
883
885
And the return code should be 1
884
886
885
-
@require-wp-5.2
887
+
@require-wp-5.2@require-mysql
886
888
Scenario: Export individual post with attachments
887
889
Given a WP install
888
890
And I run `wp plugin install wordpress-importer --activate`
@@ -974,7 +976,7 @@ Feature: Export content.
974
976
white-150-square.jpg";s:
975
977
"""
976
978
977
-
@require-wp-5.2
979
+
@require-wp-5.2@require-mysql
978
980
Scenario: Export categories, tags and terms
979
981
Given a WP install
980
982
And a wp-content/mu-plugins/register-region-taxonomy.php file:
@@ -1139,7 +1141,7 @@ Feature: Export content.
1139
1141
Europe
1140
1142
"""
1141
1143
1142
-
@require-wp-5.2
1144
+
@require-wp-5.2@require-mysql
1143
1145
Scenario: Export posts should not include oembed_cache posts user information
1144
1146
Given a WP install
1145
1147
And I run `wp plugin install wordpress-importer --activate`
@@ -1171,7 +1173,7 @@ Feature: Export content.
1171
1173
Test User
1172
1174
"""
1173
1175
1174
-
@require-wp-5.2
1176
+
@require-wp-5.2@require-mysql
1175
1177
Scenario: Allow export to proceed when orphaned terms are found
1176
1178
Given a WP install
1177
1179
And I run `wp term create category orphan --parent=1`
@@ -1226,6 +1228,7 @@ Feature: Export content.
1226
1228
0
1227
1229
"""
1228
1230
1231
+
@require-mysql
1229
1232
Scenario: Throw exception when orphaned terms are found
1230
1233
Given a WP install
1231
1234
And I run `wp term create category orphan --parent=1`
0 commit comments