Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/calendar/tests/behat/calendar.feature

    r136 r1331  
    88    Given the following "users" exist:
    99      | username | firstname | lastname | email |
    10       | student1 | Student | 1 | student1@asd.com |
    11       | student2 | Student | 2 | student2@asd.com |
     10      | student1 | Student | 1 | student1@example.com |
     11      | student2 | Student | 2 | student2@example.com |
     12      | student3 | Student | 3 | student3@example.com |
    1213    And the following "courses" exist:
    1314      | fullname | shortname | format |
     
    1617      | user | course | role |
    1718      | student1 | C1 | student |
     19      | student3 | C1 | student |
     20    And the following "groups" exist:
     21      | name | course | idnumber |
     22      | Group 1 | C1 | G1 |
     23    And the following "group members" exist:
     24      | user | group |
     25      | student1 | G1 |
    1826    When I log in as "admin"
     27    And I am on site homepage
    1928    And I follow "Course 1"
    2029    And I turn editing mode on
     
    2837    And I log out
    2938    And I log in as "student1"
     39    And I am on site homepage
    3040    And I follow "Course 1"
    3141    And I follow "This month"
     
    4353    And I log out
    4454    And I log in as "student1"
     55    And I am on site homepage
    4556    And I follow "Course 1"
    4657    And I follow "This month"
     
    4859    And I log out
    4960    And I log in as "student2"
     61    And I follow "This month"
     62    And I should not see "Really awesome event!"
     63
     64  Scenario: Create a group event
     65    And I create a calendar event with form data:
     66      | Type of event | group |
     67      | Group | Group 1 |
     68      | Event title | Really awesome event! |
     69      | Description | Come join this awesome event |
     70    And I log out
     71    And I log in as "student1"
     72    And I am on site homepage
     73    And I follow "Course 1"
     74    And I follow "This month"
     75    And I follow "Really awesome event!"
     76    And "Group 1" "text" should exist in the ".eventlist" "css_element"
     77    And I log out
     78    And I log in as "student3"
    5079    And I follow "This month"
    5180    And I should not see "Really awesome event!"
     
    5887    And I log out
    5988    And I log in as "student1"
     89    And I am on site homepage
    6090    And I follow "Course 1"
    6191    And I follow "This month"
Note: See TracChangeset for help on using the changeset viewer.