HEX
Server: nginx/1.28.0
System: Linux w3c-2 6.8.0-78-generic #78-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 11:34:18 UTC 2025 x86_64
User: inpa_co_1 (1082)
PHP: 8.3.29
Disabled: NONE
Upload Files
File: //opt/wp-cli/wp-cli-login-command/features/login-toggle.feature
Feature: It can control the activation of its companion plugin

  Scenario: It can activate the companion plugin after it is installed.
    Given a WP install
    And the login plugin is installed

    When I run `wp login toggle on`
    Then STDOUT should contain:
      """
      Plugin 'wp-cli-login-server' activated.
      """
    And I run `wp login toggle off`
    Then STDOUT should contain:
      """
      Plugin 'wp-cli-login-server' deactivated.
      """
    And I run `wp login toggle`
    Then STDOUT should contain:
      """
      Plugin 'wp-cli-login-server' activated.
      """