-
·
Given /^a WP( d[^s]+)? install(?:ation)?$/
Installs WordPress. Usage Scenario: My example scenario Given a WP installation … Scenario: My other scenario Given a WP install … Scenario: My version-specific scenario Given a WP 6.4.2 installation … Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in…
-
·
Given /^a WP multisite (subdirectory|subdomain)?s?(install|installation)$/
Installs WordPress MultisiteMultisite Multisite is a WordPress feature which allows users to create a network of sites on a single WordPress installation. Available since WordPress version 3.0, Multisite is a continuation of WPMU or WordPress Multiuser project. WordPress MultiUser project was discontinued and its features were included into WordPress core. Advanced Administration Handbook -> Create…
-
·
Given an empty cache
Clears the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ cache directory. Usage Scenario: My example scenario Given an empty cache … Behat steps documentation is generated from the WP-CLI codebase on every release. To suggest improvements,…
-
·
Given an empty directory
Creates an empty directory. Usage Scenario: My example scenario Given an empty directory … Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ codebase on every release. To suggest improvements, please…
-
·
Given /^an? (empty|non-existent) ([^s]+) directory$/
Creates or deletes a specific directory. Usage Scenario: My example scenario Given an empty foo-plugin directory And a non-existent bar-plugin directory … Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/…
-
·
Given these installed and active plugins:
Installs and activates one or more plugins. Usage Scenario: My example scenario Given a WP installation And these installed and active plugins: “”” akismet wordpress-importer “”” Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project…
-
·
Given /^an? ([^s]+) (file|cache file):$/
Creates a file with the given contents. Usage The file can be created either in the current working directory or in the cache directory. Scenario: My example scenario Given a wp-cli.yml file: “”” @foo: path: foo user: admin “”” Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress,…
-
·
Given wp-config.php
Create a wp-config.php file using wp config create. Usage Scenario: My example scenario Given an empty directory And WP files And wp-config.php Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/…
-
·
Given WP files
Download WordPress files without installing. Usage Scenario: My example scenario Given an empty directory And WP files Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ codebase on every release. To…
-
·
Then /^an email should (be sent|not be sent)$/
Expect an email to be sent (or not). Usage Scenario: My example scenario When I run `wp user reset-password 1` Then an email should be sent Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project…