Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Danny Froberg
Polylang Cli
Commits
22cc7a56
Commit
22cc7a56
authored
Jun 10, 2017
by
Peter J. Herrel
Committed by
GitHub
Jun 10, 2017
Browse files
Merge pull request #81 from diggy/remove-behat-featurecontext-customization
remove behat featurecontext customization, closes #80
parents
4363953d
46877e35
Changes
13
Hide whitespace changes
Inline
Side-by-side
features/api.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Inspect the Polylang API
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
Scenario
:
List Polylang API functions
...
...
features/bootstrap/FeatureContext.php
View file @
22cc7a56
...
...
@@ -422,10 +422,5 @@ class FeatureContext extends BehatContext implements ClosuredContextInterface {
);
$this
->
proc
(
'wp core install'
,
$install_args
,
$subdir
)
->
run_check
();
$this
->
proc
(
'wp plugin install polylang'
,
array
(),
$subdir
)
->
run_check
();
$this
->
proc
(
'wp plugin activate polylang'
,
array
(),
$subdir
)
->
run_check
();
$this
->
proc
(
'wp pll lang create Dutch nl nl_NL'
,
array
(),
$subdir
)
->
run_check
();
$this
->
proc
(
'wp pll doctor translate'
,
array
(),
$subdir
)
->
run_check
();
}
}
features/cache.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Manage Polylang cache
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
Scenario
:
Clear Polylang cache
...
...
features/doctor.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Troubleshoot Polylang
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
Scenario
:
Use doctor functionality
...
...
features/flag.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Manage Polylang flags
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
Scenario
:
Set flag for language
...
...
features/lang.feature
View file @
22cc7a56
...
...
@@ -6,6 +6,10 @@ Feature: Manage Polylang languages
And
an empty cache
And
I run `wp core version`
And
save STDOUT as {WP_VERSION}
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
@core-language
Scenario
:
Language CRUD commands
...
...
features/menu.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Manage WordPress nav menus
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
And
I run `wp theme install twentysixteen --activate`
And
I run `wp pll lang create Deutsch de de_DE`
...
...
features/option.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Manage Polylang settings
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
Scenario
:
Get the default language code (slug)
...
...
features/plugin.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Manage the Polylang plugin
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
Scenario
:
Uninstall the Polylang plugin
...
...
features/post-type.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Inspect and manage post type translation status
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
Scenario
:
List post types with their translation status
...
...
features/post.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Manage posts and their translations
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
Scenario
:
Create posts and their translations
...
...
features/taxonomy.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Manage Polylang taxonomies
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
Scenario
:
Manage Polylang taxonomies
...
...
features/term.feature
View file @
22cc7a56
...
...
@@ -3,6 +3,10 @@ Feature: Manage WordPress taxonomy terms and their translations.
Background
:
Given
a WP install
And
I run `wp plugin install polylang`
And
I run `wp plugin activate polylang`
And
I run `wp pll lang create Dutch nl nl_NL`
And
I run `wp pll doctor translate`
Scenario
:
Delete a term and its translations
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment