# Copyright (c) 2015 SUSE LLC.
# Licensed under the terms of the MIT license.

Feature: Verify the minion registration
  In order to validate the completeness of minion registration
  I want to see minion details and installed packages

  Scenario: Check for the Salt entitlement
    Given I am on the Systems overview page of this client
    Then I should see a "[Salt]" text

  Scenario: Check installed packages are visible
    Given I am on the Systems overview page of this client
    When I follow "Software"
    And I follow "List / Remove"
    Then I should see a "aaa_base" text
    And I should see a "aaa_base-extras" text

# Copyright (c) 2015 SUSE LLC.
# Licensed under the terms of the MIT license.

Feature: Verify the minion registration
  In order to validate the completeness of minion registration
  I want to see minion details and installed packages

  Scenario: Check for the Salt entitlement
    Given I am on the Systems overview page of this client
    Then I should see a "[Salt]" text

  Scenario: Check if package list has been refreshed
    Given I am on the Systems overview page of this client
    And I wait for "10" seconds
    When I follow "Events"
    And I follow "History"
    Then I should see a "Package List Refresh scheduled by (none)" text

  Scenario: Check installed packages are visible
    Given I am on the Systems overview page of this client
    When I follow "Software"
    And I follow "List / Remove"
    Then I should see a "aaa_base" text
    And I should see a "aaa_base-extras" text

Check package list is refreshed for accepted minion
Check package list is refreshed for accepted minion
