<commit_before># Copyright (c) 2010-2011 Novell, Inc.
# Licensed under the terms of the MIT license.

Feature: Check client registration
  In Order check the registration of a client to the spacewalk server
  As the testing
  I want to see the system in the spacewalk server

  Scenario: check registration values
    Given I update the profile of this client
      And I am on the Systems page
      And I follow "Systems" in the left menu
    When I follow this client link
    Then I should see a "System Status" text
     And I should see a "Software Updates Available" text
     And I should see a "Critical:" link
     And I should see a "Non-Critical:" link
     And I should see a "Packages:" link
     And I should see a "Edit These Properties" link
     And I should see a "[Monitoring]" text
     And I should see a "[Provisioning]" text
     And I should see a "[Management]" text
     And I should see a "add to ssm" link
     And I should see a "delete system" link
     And I should see a "Initial Registration Parameters:" text
     And I should see a "OS: sles-release" text
     And I should see a "Release: 11.1" text
     #And I should see a "[Virtualization]" text

  Scenario: check tab links "Details"
    Given I am on the Systems page
      And I follow "Systems" in the left menu
    When I follow this client link
    Then I should see a "Details" link in element "content-nav"
     And I should see a "Software" link in element "content-nav"
     And I should see a "Configuration" link in element "content-nav"
     And I should see a "Provisioning" link in element "content-nav"
     And I should see a "Groups" link in element "content-nav"
     And I should see a "Events" link in element "content-nav"
     And I should see a "Overview" link in element "contentnav-row2"
     And I should see a "Properties" link in element "contentnav-row2"
     And I should see a "Remote Command" link in element "contentnav-row2"
     And I should see a "Reactivation" link in element "contentnav-row2"
     And I should see a "Hardware" link in element "contentnav-row2"
     And I should see a "Migrate" link in element "contentnav-row2"
     And I should see a "Notes" link in element "contentnav-row2"
     And I should see a "Custom Info" link in element "contentnav-row2"
     #And I should see a "Virtualization" link in element "content-nav"

  Scenario: check tab links "Software"
    Given I am on the Systems overview page of this client
    When I follow "Software" in class "content-nav"
    Then I should see a "Details" link in element "content-nav"
     And I should see a "Software" link in element "content-nav"
     And I should see a "Configuration" link in element "content-nav"
     And I should see a "Provisioning" link in element "content-nav"
     And I should see a "Groups" link in element "content-nav"
     And I should see a "Events" link in element "content-nav"
     And I should see a "Errata" link in element "contentnav-row2"
     And I should see a "Packages" link in element "contentnav-row2"
     And I should see a "Software Channels" link in element "contentnav-row2"
     And I should see a "List / Remove" link
     And I should see a "Upgrade" link
     And I should see a "Install" link
     And I should see a "Verify" link
     And I should see a "Profiles" link
     And I should see a "List / Remove Installed Packages" link
     And I should see a "Verify Files and Packages" link
     And I should see a "Upgrade Packages" link
     And I should see a "Install New Packages" link
     And I should see a "Compare Package Profiles / Manage Package Profiles" link
     And I should see a "Update Package List" button
     #And I should see a "Virtualization" link in element "content-nav"

  Scenario: check tab links "Configuration"
    Given I am on the Systems overview page of this client
    When I follow "Configuration" in class "content-nav"
    Then I should see a "Details" link in element "content-nav"
     And I should see a "Software" link in element "content-nav"
     And I should see a "Configuration" link in element "content-nav"
     And I should see a "Provisioning" link in element "content-nav"
     And I should see a "Groups" link in element "content-nav"
     And I should see a "Events" link in element "content-nav"
     And I should see a "Overview" link in element "contentnav-row2"
     And I should see a "View/Modify Files" link in element "contentnav-row2"
     And I should see a "Add Files" link in element "contentnav-row2"
     And I should see a "Deploy Files" link in element "contentnav-row2"
     And I should see a "Compare Files" link in element "contentnav-row2"
     And I should see a "Manage Configuration Channels" link in element "contentnav-row2"
     And I should see a "Deploy all managed config files" link
     And I should see a "Deploy selected config files" link
     And I should see a "Compare all managed files to system" link
     And I should see a "Compare selected managed files to system" link
     And I should see a "Create a new config file or dir" link
     And I should see a "Upload config files" link
     And I should see a "Import all managed files from system" link
     And I should see a "Import selected files from system" link
     And I should see a "Schedule Deploy Action" link
     And I should see a "Schedule System Comparison" link
     #And I should see a "Virtualization" link in element "content-nav"

  Scenario: check tab links "Provisioning"
    Given I am on the Systems overview page of this client
    When I follow "Provisioning" in class "content-nav"
    Then I should see a "Details" link in element "content-nav"
     And I should see a "Software" link in element "content-nav"
     And I should see a "Configuration" link in element "content-nav"
     And I should see a "Provisioning" link in element "content-nav"
     And I should see a "Groups" link in element "content-nav"
     And I should see a "Events" link in element "content-nav"
     And I should see a "Kickstart" link in element "contentnav-row2"
     And I should see a "Snapshots" link in element "contentnav-row2"
     And I should see a "Snapshot Tags" link in element "contentnav-row2"
     And I should see a "Schedule" link in element "content-nav"
     #And I should see a "Virtualization" link in element "content-nav"

# if cobbler test was running there is a profile
#     And I should see a "No profiles found that are compatible with this System. Either you haven't created any Kickstart Profiles or this system does not have a Base Channel." text<commit_msg>remove check of two links which were removed in 1.7<commit_after># Copyright (c) 2010-2011 Novell, Inc.
# Licensed under the terms of the MIT license.

Feature: Check client registration
  In Order check the registration of a client to the spacewalk server
  As the testing
  I want to see the system in the spacewalk server

  Scenario: check registration values
    Given I update the profile of this client
      And I am on the Systems page
      And I follow "Systems" in the left menu
    When I follow this client link
    Then I should see a "System Status" text
     And I should see a "Software Updates Available" text
     And I should see a "Critical:" link
     And I should see a "Non-Critical:" link
     And I should see a "Packages:" link
     And I should see a "Edit These Properties" link
     And I should see a "[Monitoring]" text
     And I should see a "[Provisioning]" text
     And I should see a "[Management]" text
     And I should see a "add to ssm" link
     And I should see a "delete system" link
     And I should see a "Initial Registration Parameters:" text
     And I should see a "OS: sles-release" text
     And I should see a "Release: 11.1" text
     #And I should see a "[Virtualization]" text

  Scenario: check tab links "Details"
    Given I am on the Systems page
      And I follow "Systems" in the left menu
    When I follow this client link
    Then I should see a "Details" link in element "content-nav"
     And I should see a "Software" link in element "content-nav"
     And I should see a "Configuration" link in element "content-nav"
     And I should see a "Provisioning" link in element "content-nav"
     And I should see a "Groups" link in element "content-nav"
     And I should see a "Events" link in element "content-nav"
     And I should see a "Overview" link in element "contentnav-row2"
     And I should see a "Properties" link in element "contentnav-row2"
     And I should see a "Remote Command" link in element "contentnav-row2"
     And I should see a "Reactivation" link in element "contentnav-row2"
     And I should see a "Hardware" link in element "contentnav-row2"
     And I should see a "Migrate" link in element "contentnav-row2"
     And I should see a "Notes" link in element "contentnav-row2"
     And I should see a "Custom Info" link in element "contentnav-row2"
     #And I should see a "Virtualization" link in element "content-nav"

  Scenario: check tab links "Software"
    Given I am on the Systems overview page of this client
    When I follow "Software" in class "content-nav"
    Then I should see a "Details" link in element "content-nav"
     And I should see a "Software" link in element "content-nav"
     And I should see a "Configuration" link in element "content-nav"
     And I should see a "Provisioning" link in element "content-nav"
     And I should see a "Groups" link in element "content-nav"
     And I should see a "Events" link in element "content-nav"
     And I should see a "Errata" link in element "contentnav-row2"
     And I should see a "Packages" link in element "contentnav-row2"
     And I should see a "Software Channels" link in element "contentnav-row2"
     And I should see a "List / Remove" link
     And I should see a "Upgrade" link
     And I should see a "Install" link
     And I should see a "Verify" link
     And I should see a "Profiles" link
     And I should see a "List / Remove Installed Packages" link
     And I should see a "Verify Files and Packages" link
     And I should see a "Upgrade Packages" link
     And I should see a "Install New Packages" link
     And I should see a "Compare Package Profiles / Manage Package Profiles" link
     And I should see a "Update Package List" button
     #And I should see a "Virtualization" link in element "content-nav"

  Scenario: check tab links "Configuration"
    Given I am on the Systems overview page of this client
    When I follow "Configuration" in class "content-nav"
    Then I should see a "Details" link in element "content-nav"
     And I should see a "Software" link in element "content-nav"
     And I should see a "Configuration" link in element "content-nav"
     And I should see a "Provisioning" link in element "content-nav"
     And I should see a "Groups" link in element "content-nav"
     And I should see a "Events" link in element "content-nav"
     And I should see a "Overview" link in element "contentnav-row2"
     And I should see a "View/Modify Files" link in element "contentnav-row2"
     And I should see a "Add Files" link in element "contentnav-row2"
     And I should see a "Deploy Files" link in element "contentnav-row2"
     And I should see a "Compare Files" link in element "contentnav-row2"
     And I should see a "Manage Configuration Channels" link in element "contentnav-row2"
     And I should see a "Deploy all managed config files" link
     And I should see a "Deploy selected config files" link
     And I should see a "Compare all managed files to system" link
     And I should see a "Compare selected managed files to system" link
     And I should see a "Create a new config file or dir" link
     And I should see a "Upload config files" link
     And I should see a "Import all managed files from system" link
     And I should see a "Import selected files from system" link
     #And I should see a "Virtualization" link in element "content-nav"

  Scenario: check tab links "Provisioning"
    Given I am on the Systems overview page of this client
    When I follow "Provisioning" in class "content-nav"
    Then I should see a "Details" link in element "content-nav"
     And I should see a "Software" link in element "content-nav"
     And I should see a "Configuration" link in element "content-nav"
     And I should see a "Provisioning" link in element "content-nav"
     And I should see a "Groups" link in element "content-nav"
     And I should see a "Events" link in element "content-nav"
     And I should see a "Kickstart" link in element "contentnav-row2"
     And I should see a "Snapshots" link in element "contentnav-row2"
     And I should see a "Snapshot Tags" link in element "contentnav-row2"
     And I should see a "Schedule" link in element "content-nav"
     #And I should see a "Virtualization" link in element "content-nav"

# if cobbler test was running there is a profile
#     And I should see a "No profiles found that are compatible with this System. Either you haven't created any Kickstart Profiles or this system does not have a Base Channel." text
{'fraction_non_alphanumeric': 0.05973215644498554, 'fraction_numerical': 0.004869882818444681, 'mean_word_length': 3.1187715449702287, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1668935', 'n_tokens_mistral': 3657, 'n_tokens_neox': 3584, 'n_words': 2050}