Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@tool @tool_usertours @theme_boost
2
Feature: Reset a tour for Boost
3
  In order to test a tour
4
  As an administrator
5
  I can reset the tour to force it to display again
6
 
7
  Background:
8
    Given I log in as "admin"
9
    And I add a new user tour with:
10
      | Name               | First tour    |
11
      | Description        | My first tour |
12
      | Apply to URL match | FRONTPAGE     |
13
      | Tour is enabled    | 1             |
14
      | Show with backdrop | 1             |
15
    And I add steps to the "First tour" tour:
16
      | targettype                | Title   | id_content    | Content type   |
17
      | Display in middle of page | Welcome | Welcome tour. | Manual         |
18
 
19
  @javascript
20
  Scenario: Reset the tour with desktop view
21
    # Changing the window size to large so we will have the footer button.
22
    Given I change window size to "large"
23
    And I am on site homepage
24
    And I should see "Welcome"
25
    And I press "Got it"
26
    And I should not see "Welcome"
27
    When I click on ".btn-footer-popover" "css_element" in the "#page-footer" "css_element"
28
    Then I should see "Reset user tour on this page"
29
    And I click on "Reset user tour on this page" "link"
30
    And I should see "Welcome"