Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
wp
/
vendor
/
wp-cli
/
extension-command
/
features
📤 Upload
📝 New File
📁 New Folder
Close
Editing: plugin-install-github-latest.feature
Feature: Install WordPress plugins from GitHub Scenario: Verify that providing a plugin releases/latest GitHub URL will get the latest ZIP Given a WP install When I run `wp plugin install https://github.com/danielbachhuber/one-time-login/releases/latest` Then STDOUT should contain: """ Latest release resolved to Version """ And STDOUT should contain: """ package from https://api.github.com/repos/danielbachhuber/one-time-login/zipball/ """ And STDOUT should contain: """ Plugin installed successfully. Success: Installed 1 of 1 plugins. """
Save
Cancel