AutorÃa | Ultima modificación | Ver Log |
@block @block_calendar_monthFeature: View a site event on the dashboardIn order to view a site eventAs a studentI can view the event in the calendarBackground:Given the following "users" exist:| username | firstname | lastname | email | idnumber || student1 | Student | 1 | student1@example.com | S1 |And I log in as "admin"And I create a calendar event with form data:| id_eventtype | Site || id_name | Site Event |And I log out@javascriptScenario: View a site event in the calendar block on the dashboardGiven I log in as "student1"When I hover over today in the mini-calendar blockThen I should see "Site Event"@javascriptScenario: The calendar block on the dashboard should be responsiveGiven I log in as "student1"When I change viewport size to "1200x1000"Then I should see "Site Event"And I change viewport size to "600x1000"# We need to give the browser a couple seconds to re-render the page after the screen has been resized.And I wait "1" secondsAnd I should not see "Site Event"When I hover over today in the mini-calendar block responsive viewAnd I should see "Site Event"