diff --git a/features/import.feature b/features/import.feature index a18082d2..a585457b 100644 --- a/features/import.feature +++ b/features/import.feature @@ -157,9 +157,11 @@ Feature: Import content. And I run `mkdir export` # NOTE: The Hello World page ID is 2. - When I run `wp menu create "My Menu"` - And I run `wp menu item add-post my-menu 2` - And I run `wp menu item list my-menu --format=count` + And these setup commands: + | command | + | wp menu create "My Menu" | + | wp menu item add-post my-menu 2 | + When I run `wp menu item list my-menu --format=count` Then STDOUT should be: """ 1 @@ -234,9 +236,11 @@ Feature: Import content. And I run `mkdir export` # NOTE: The Hello World page ID is 2. - When I run `wp menu create "My Menu"` - And I run `wp menu item add-post my-menu 2` - And I run `wp menu item list my-menu --format=count` + And these setup commands: + | command | + | wp menu create "My Menu" | + | wp menu item add-post my-menu 2 | + When I run `wp menu item list my-menu --format=count` Then STDOUT should be: """ 1