@javascript @ajax
Feature:
  As a provider
  I want to manage all not published CMS changes on one place

  Background:
    Given a provider "foo.example.com"
    And I am logged in as provider "foo.example.com" on its admin domain

  Scenario: Changes
    Given I have changed CMS page "page"
      And I have changed CMS partial "partial"
      And I go to the CMS changes
     Then I should see 2 CMS changes

  Scenario: Revert page
    Given I have changed CMS page "page"
     When I go to the CMS changes
      And I follow "Revert"
    Then the CMS page "page" should be reverted
