Merge branch 'MDL-74367-master' of https://github.com/vmdef/moodle

This commit is contained in:
Andrew Nicols 2022-03-31 21:42:53 +08:00
commit 80ec9a1c92
2 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,7 @@
<div class="card-deck dashboard-card-deck one-row" data-region="items-list" role="list">
{{#items}}
<a class="card dashboard-card mb-1" href="{{{viewurl}}}">
<a class="card dashboard-card mb-1" href="{{{viewurl}}}" title="{{{name}}}">
<div class="card-body p-2 m-1">
<div class="d-flex text-truncate">
<div class="d-flex align-self-center activityiconcontainer {{purpose}}">

View File

@ -31,7 +31,7 @@ Feature: The recently accessed items block allows users to easily access their m
When I am on the "Test forum name" "forum activity" page
And I follow "Dashboard"
Then I should see "Test forum name" in the "Recently accessed items" "block"
And I should not see "Show/hide more" in the "Recently accessed items" "block"
And I should not see "Show more items" in the "Recently accessed items" "block"
Scenario: User has accessed more than 3 items
Given the following "activities" exist:
@ -42,6 +42,7 @@ Feature: The recently accessed items block allows users to easily access their m
| data | Test database name | Test database description | C1 | data1 |
And I change window size to "large"
And I am on the "Test forum name" "forum activity" page
And I am on the "Test database name" "data activity" page
And I am on the "Test assignment name" "assign activity" page
And I am on the "Test book name" "book activity" page
And I am on the "Test choice name" "choice activity" page