Feature: Menu of the Account screen
  In order to edit my account details
  As a provider
  I want to see the menu

  Background:
    Given a provider "foo.example.com"
      And the provider has "branding" switch allowed
      And current domain is the admin domain of provider "foo.example.com"
      And I log in as provider "foo.example.com"

  Scenario: Account menu structure
    When I go to the provider account page
    Then I should see "foo.example.com"
    And I should see menu items
    | Overview                  |
    | Export                    |
    | Logo                      |
    | 3scale Invoices           |
    | Credit Card Details       |
    | Users                     |


  Scenario: Personal menu structure
    When I go to the provider personal page
    Then I should see "foo.example.com"
    And I should see menu items
    | Personal Details          |
    | Notification Preferences  |

  Scenario: Navigate to export to csv
    When I go to the provider account page
    And I follow "Export"
    Then I should see the form to export data to csv
