| 1 | efrain | 1 | @core @core_admin @javascript
 | 
        
           |  |  | 2 | Feature: Verify the breadcrumbs in external webservice site administration pages
 | 
        
           |  |  | 3 |   Whenever I navigate to external webservice page in site administration
 | 
        
           |  |  | 4 |   As an admin
 | 
        
           |  |  | 5 |   The breadcrumbs should be visible
 | 
        
           |  |  | 6 |   | 
        
           |  |  | 7 |   Background:
 | 
        
           |  |  | 8 |     Given I log in as "admin"
 | 
        
           |  |  | 9 |   | 
        
           |  |  | 10 |   Scenario: Verify the breadcrumbs in external services page
 | 
        
           |  |  | 11 |     Given I navigate to "Server > Web services > External services" in site administration
 | 
        
           |  |  | 12 |     And "External services" "text" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 13 |     And "Web services" "link" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 14 |     When I click on "Edit" "link"
 | 
        
           |  |  | 15 |     Then "Edit external service" "text" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 16 |     And "External services" "link" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 17 |     And "Web services" "link" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 18 |     And I press "Cancel"
 | 
        
           |  |  | 19 |     And I click on "Add" "link"
 | 
        
           |  |  | 20 |     And I set the field "Name" to "function to test"
 | 
        
           |  |  | 21 |     And "Add external service" "text" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 22 |     And "External services" "link" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 23 |     And "Web services" "link" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 24 |     And I press "Add service"
 | 
        
           |  |  | 25 |     And "Functions" "text" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 26 |     And "External services" "link" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 27 |     And "Web services" "link" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 28 |     And I navigate to "Server > Web services > External services" in site administration
 | 
        
           |  |  | 29 |     And I click on "Delete" "link"
 | 
        
           |  |  | 30 |     And "External services" "text" should exist in the ".breadcrumb" "css_element"
 | 
        
           |  |  | 31 |     And "Web services" "link" should exist in the ".breadcrumb" "css_element"
 |