crowbar/crowbar-core

View on GitHub
crowbar_framework/features/navigation.feature

Summary

Maintainability
Test Coverage
Feature: Crowbar, Check Core Navigation
  In order use the system
  The system operator, Oscar
  wants to be able to navigate around
  
  Scenario: Translation Check
    When I go to the home page
    Then there should be no translation errors
    
  Scenario: Home Page Nav
    When I go to the home page
    Then I should see a menu for "Nodes"
      And I should see a menu for "Barclamps"
      And I should see a menu for "Utilities"
      And I should see a menu for "Help"
      And I should see "CloudEdge Solutions Team"
      And I should not see "Error"
      And there should be no translation errors

  Scenario: Nodes Nav
    Given I am on the home page
    When I click on the "Nodes" menu item
    Then I should see a menu for "Dashboard"
      And I should see a menu for "Bulk&Edit"
      And I should see "nodes available in the system"
      And I should see "admin"
      And there should be no translation errors

  Scenario: Dashboard Nav
    Given I am on the home page
    When I click on the "Dashboard" menu item
    Then I should see "nodes available in the system"
      And there should be no translation errors

  Scenario: Barclamps Nav
    Given I am on the home page
    When I click on the "Barclamps" menu item
    Then I should see "Barclamps"  
      And I should see "crowbar"
      And I should see "deployer"
      And I should see "provisioner"
      And I should see "dns"
      And I should see "ntp"
      And there should be no translation errors

  Scenario: All Barclamps Nav
    Given I am on the home page
    When I click on the "All Barclamps" menu item
    Then I should see "All Barclamps"  
      And I should see "crowbar"
      And I should see "deployer"
      And I should see "provisioner"
      And I should see "dns"
      And I should see "ntp"
      And there should be no translation errors

  Scenario: Crowbar Barclamps Nav
    Given I am on the home page
    When I click on the "Crowbar" menu item
    Then I should see "Crowbar Members"  
      And I should see "crowbar"
      And I should see "deployer"
      And I should see "provisioner"
      And I should see "dns"
      And I should see "ntp"
      And I should not see "Nova"
      And I should not see "Hadoop"
      And there should be no translation errors

  Scenario: Help Users Guide 
    Given I am on the home page
    When I click on the "Crowbar Users" menu item
    Then I should download a PDF
    
  Scenario: %Help Deployment Guide
    Given I am on the home page
    When I click on the "Deployment" menu item
    Then I should download a PDF