Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@core @core_admin
2
Feature: Use the search areas admin screen
3
  In order to control search indexing
4
  As an admin
5
  I need to use the search areas admin screen
6
 
7
  Background:
8
    Given I log in as "admin"
9
    And I navigate to "Plugins > Search > Search areas" in site administration
10
 
11
  Scenario: Disable and enable a search area
12
    When I click on "Disable" "link" in the "Book - resource information" "table_row"
13
    Then I should see "Search area disabled" in the ".alert-success" "css_element"
14
    And I should see "Search area disabled" in the "Book - resource information" "table_row"
15
 
16
    When I click on "Enable" "link" in the "Book - resource information" "table_row"
17
    Then I should see "Search area enabled" in the ".alert-success" "css_element"
18
    And I should not see "Search area disabled" in the "Book - resource information" "table_row"
19
 
20
  # Note: Other scenarios are not currently easy to implement in Behat because there is no mock
21
  # search engine - we could add testing once Moodle has an internal database search engine.