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

Feature: Test Bare-metal discovery

    Scenario: Enable Bare-metal discovery
        Given I am authorized as "admin" with password "<PASSWORD>"
          And I follow "Admin"
          And I follow "SUSE Manager Configuration" in the left menu
         When I follow "Bare-metal systems" in the content area
         Then I should see a "Allows SUSE Manager to automatically add bare-metal systems capable of PXE booting to an organization." text
          And I should see a "Enable adding to this organization" button
         When I click on "Enable adding to this organization"
         Then I should see a "Automatic bare-metal system discovery has been successfully enabled" text
          And the pxe-default-profile should be enabled

    Scenario: Register a client
        Given I am root
         When I register using "1-spacewalk-bootstrap-activation-key" key
         Then I should see this client in spacewalk

    Scenario: check registration values
        Given I am on the Systems overview page of this client
         Then I should see a "System Info" text
          And I should see a "Edit These Properties" link
          And I should not see a "[Monitoring]" text
          And I should not see a "[Provisioning]" text
          And I should not see a "[Management]" 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 the content area
          And I should not see a "Software" link in the content area
          And I should not see a "Configuration" link in the content area
          And I should see a "Provisioning" link in the content area
          And I should not see a "Groups" link in the content area
          And I should not see a "Events" link in the content area
          And I should see a "Overview" link in the content area
          And I should see a "Properties" link in the content area
          And I should not see a "Remote Command" link in the content area
          And I should not see a "Reactivation" link in the content area
          And I should see a "Hardware" link in the content area
          And I should see a "Migrate" link in the content area
          And I should see a "Notes" link in the content area
          And I should not see a "Custom Info" link in the content area

    Scenario: check tab links "Provisioning"
        Given I am on the Systems overview page of this client
         When I follow "Provisioning" in the content area
         Then I should see a "Kickstart" link in the content area
          And I should not see a "Snapshots" link in the content area<commit_msg>Bare metal system list: smoke test added<commit_after># Copyright (c) 2010-2013 Novell, Inc.
# Licensed under the terms of the MIT license.

Feature: Test Bare-metal discovery

    Scenario: Enable Bare-metal discovery
        Given I am authorized as "admin" with password "<PASSWORD>"
          And I follow "Admin"
          And I follow "SUSE Manager Configuration" in the left menu
         When I follow "Bare-metal systems" in the content area
         Then I should see a "Allows SUSE Manager to automatically add bare-metal systems capable of PXE booting to an organization." text
          And I should see a "Enable adding to this organization" button
         When I click on "Enable adding to this organization"
         Then I should see a "Automatic bare-metal system discovery has been successfully enabled" text
          And the pxe-default-profile should be enabled

    Scenario: Register a client
        Given I am root
         When I register using "1-spacewalk-bootstrap-activation-key" key
         Then I should see this client in spacewalk

    Scenario: check registration values
        Given I am on the Systems overview page of this client
         Then I should see a "System Info" text
          And I should see a "Edit These Properties" link
          And I should not see a "[Monitoring]" text
          And I should not see a "[Provisioning]" text
          And I should not see a "[Management]" text

    Scenario: see the client in Bare metal specific system list
        Given I am on the Systems page
          And I follow "Systems" in the left menu
          And I follow "Bare Metal Systems" in the left menu
         Then I should see a "Bare Metal Systems" text
          And I should see a "Detected on" text
          And I should see a "Number of CPUs" text
          And I should see a "1" text
          And I should see a "Clock frquency" text
          And I should see a "1 GHz" text
          And I should see a "RAM" text
          And I should see a "989 MB" text
          And I should see a "Number of disks" text
          And I should see a "1" text
          And I should see a "MAC Address(es)" text
          And I should see a "de:ad:be:ff:19:44" 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 the content area
          And I should not see a "Software" link in the content area
          And I should not see a "Configuration" link in the content area
          And I should see a "Provisioning" link in the content area
          And I should not see a "Groups" link in the content area
          And I should not see a "Events" link in the content area
          And I should see a "Overview" link in the content area
          And I should see a "Properties" link in the content area
          And I should not see a "Remote Command" link in the content area
          And I should not see a "Reactivation" link in the content area
          And I should see a "Hardware" link in the content area
          And I should see a "Migrate" link in the content area
          And I should see a "Notes" link in the content area
          And I should not see a "Custom Info" link in the content area

    Scenario: check tab links "Provisioning"
        Given I am on the Systems overview page of this client
         When I follow "Provisioning" in the content area
         Then I should see a "Kickstart" link in the content area
          And I should not see a "Snapshots" link in the content area
{'fraction_non_alphanumeric': 0.03873456790123457, 'fraction_numerical': 0.004320987654320987, 'mean_word_length': 2.2948652770716826, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '949910', 'n_tokens_mistral': 1624, 'n_tokens_neox': 1564, 'n_words': 993}