Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@core @core_admin @theme_classic
2
Feature: Select a theme in Classic theme
3
  In order to choose a theme
4
  As an admin
5
  I need to preview the theme and make a selection
6
 
7
  Background:
8
    Given I log in as "admin"
9
    And I navigate to "Appearance > Themes" in site administration
10
 
11
  @javascript
12
  Scenario: I am able to preview a theme using a modal window
13
    When I click on "Preview theme 'Classic'" "button"
14
    Then I should see "Classic" in the "Classic" "dialogue"
15
    And I should see "Classic is a highly-customisable theme," in the "Classic" "dialogue"
16
    And I should see "Current theme" in the "Classic" "dialogue"
17
 
18
  @javascript
19
  Scenario: I am able to change the theme using the modal window select button
20
    Given I should see "Current theme" in the "#theme-card-classic" "css_element"
21
    When I click on "Preview theme 'Boost'" "button"
22
    And I click on "Select theme" "button" in the "Boost" "dialogue"
23
    Then I should see "Current theme" in the "#theme-card-boost" "css_element"
24
 
25
  Scenario: I am able to change the theme using the normal select button
26
    Given I should see "Current theme" in the "#theme-card-classic" "css_element"
27
    When I click on "Select theme 'Boost'" "button"
28
    Then I should see "Current theme" in the "#theme-card-boost" "css_element"
29
 
30
  Scenario: I am able to view a theme's settings page
31
    Given I click on "Edit theme settings 'Classic'" "link"
32
    Then I should see "Classic"