Feature: Blacklist Manager
  In order for client managers to avoid releasing unsuitable content
  As an OA user
  I want to create a blacklist

  @frontend_blacklist_manager
  @ows_blacklist_manager
  Scenario: Add word to blacklist
    Given I am on the BlacklistManager::BlacklistManagerPage
    When I add a valid word to the blacklist
    And I search for the word in the blacklist
    Then I see the word listed in the blacklist

  @frontend_blacklist_manager
  @ows_blacklist_manager
  Scenario: Delete a word from blacklist
    Given I have a new blacklist word
    And I am on the BlacklistManager::BlacklistManagerPage
    And I search for the word in the blacklist
    When I delete a word from the blacklist
    And I search for the word in the blacklist
    Then I don't see the word listed in the blacklist

  @frontend_blacklist_manager
  @ows_blacklist_manager
  Scenario: Edit a word in the blacklist
    Given I have a new blacklist word
    And I am on the BlacklistManager::BlacklistManagerPage
    And I search for the word in the blacklist
    When I edit a word in the blacklist
    And I search for the new word in the blacklist
    Then I see the new word listed in the blacklist
