Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 52... Línea 52...
52
    And I am on the "My courses" page logged in as "user1"
52
    And I am on the "My courses" page logged in as "user1"
53
    Then "Home" "link" should not be visible
53
    Then "Home" "link" should not be visible
54
    And "Side panel" "button" should exist
54
    And "Side panel" "button" should exist
55
    And I click on "Side panel" "button"
55
    And I click on "Side panel" "button"
56
    And I should see "Home" in the "theme_boost-drawers-primary" "region"
56
    And I should see "Home" in the "theme_boost-drawers-primary" "region"
-
 
57
    And I click on "[data-region='site-home-link']" "css_element"
-
 
58
    And I should see "Dashboard" in the "page-header" "region"
Línea 57... Línea 59...
57
 
59
 
58
  @theme_boost
60
  @theme_boost
59
  Scenario: Guest users can only see the Home item in the primary navigation menu
61
  Scenario: Guest users can only see the Home and Calendar items in the primary navigation menu
60
    Given I log in as "guest"
62
    Given I log in as "guest"
61
    When I am on site homepage
63
    When I am on site homepage
-
 
64
    Then I should see "Home" in the ".primary-navigation" "css_element"
62
    Then I should see "Home" in the ".primary-navigation" "css_element"
65
    And I should see "Calendar" in the ".primary-navigation" "css_element"
63
    And I should not see "Dashboard" in the ".primary-navigation" "css_element"
66
    And I should not see "Dashboard" in the ".primary-navigation" "css_element"
64
    And I should not see "My courses" in the ".primary-navigation" "css_element"
67
    And I should not see "My courses" in the ".primary-navigation" "css_element"
Línea 65... Línea 68...
65
    And I should not see "Site administration" in the ".primary-navigation" "css_element"
68
    And I should not see "Site administration" in the ".primary-navigation" "css_element"