Sha256: db6c4b6d2dffc91bc80b5a84a1e02757fb4ba9accdd95278052418dad942d52a

Contents?: true

Size: 685 Bytes

Versions: 4

Compression:

Stored size: 685 Bytes

Contents

Feature: Logout the user

  Scenario: Login a new user with a password
    Given I run `conjur user create -p alice@$ns` interactively
    And I type "foobar"
    And I type "foobar"
    And the exit status should be 0
    And I keep the JSON response at "login" as "LOGIN"
    And I run `conjur authn login alice@$ns` interactively
    And I type "foobar"
    And the exit status should be 0
    And I successfully run `conjur authn logout`
    Then the stdout from "conjur authn logout" should contain exactly "Logged out\n"
    And I run `conjur authn whoami`
    And the exit status should be 255
    And the stderr from "conjur authn whoami" should contain "error: Not logged in"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
conjur-cli-4.28.2 acceptance-features/authentication/logout.feature
conjur-cli-4.28.1 acceptance-features/authentication/logout.feature
conjur-cli-4.28.0 acceptance-features/authentication/logout.feature
conjur-cli-4.27.0 acceptance-features/authentication/logout.feature