Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@mod @mod_lti
2
Feature: Navigate existing LTI tool types using pagination
3
  In order to manage reusable activities for teachers
4
  As an admin
5
  I need to view existing tools
6
 
7
  Background:
8
    Given 100 "mod_lti > tool types" exist with the following data:
9
      |name        |Test tool [count]                  |
10
      |description |Example description [count]        |
11
      |baseurl     |https://www.example.com/tool[count]|
12
    And I log in as "admin"
13
    And I navigate to "Plugins > Activity modules > External tool > Manage tools" in site administration
14
 
15
  @javascript
16
  Scenario: View first page of tool types.
17
    Then I should see "Test tool 30"
18
    And "Test tool 70" "text" should not be visible
19
 
20
  @javascript
21
  Scenario: View second page of tool types using page 2 button.
22
    When I click on "2" "link"
23
    Then I should see "Test tool 70"
24
    And "Test tool 30" "text" should not be visible
25
 
26
  @javascript
27
  Scenario: View last page of tool types using page 2 button.
28
    When I click on "Last" "link"
29
    Then I should see "Test tool 70"
30
    And "Test tool 30" "text" should not be visible