From c32c3e89efe33002b244c53f4100e09061901d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20D=C3=A9niz?= Date: Wed, 30 Mar 2022 10:59:26 +0100 Subject: [PATCH] MDL-74367 recentlyaccesseditems: full name in item card tooltip --- .../recentlyaccesseditems/templates/view-cards.mustache | 2 +- .../behat/block_recentlyaccesseditems_dashboard.feature | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/blocks/recentlyaccesseditems/templates/view-cards.mustache b/blocks/recentlyaccesseditems/templates/view-cards.mustache index 5e11b2e3e9e..61481f414aa 100644 --- a/blocks/recentlyaccesseditems/templates/view-cards.mustache +++ b/blocks/recentlyaccesseditems/templates/view-cards.mustache @@ -42,7 +42,7 @@
{{#items}} - +
diff --git a/blocks/recentlyaccesseditems/tests/behat/block_recentlyaccesseditems_dashboard.feature b/blocks/recentlyaccesseditems/tests/behat/block_recentlyaccesseditems_dashboard.feature index 147fa5a30f4..3d14c3e92a2 100644 --- a/blocks/recentlyaccesseditems/tests/behat/block_recentlyaccesseditems_dashboard.feature +++ b/blocks/recentlyaccesseditems/tests/behat/block_recentlyaccesseditems_dashboard.feature @@ -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,13 +42,14 @@ 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 When I follow "Dashboard" - Then I should see "Show more" in the "Recently accessed items" "block" + Then I should see "Show more items" in the "Recently accessed items" "block" And I should not see "Test forum name" in the "Recently accessed items" "block" - And I follow "Show more..." + And I click on "Show more items" "button" And I should see "Test forum name" in the "Recently accessed items" "block" And I turn editing mode on And I configure the "Recently accessed items" block @@ -56,4 +57,4 @@ Feature: The recently accessed items block allows users to easily access their m | Region | content | And I press "Save changes" And I turn editing mode off - And I should not see "Show more" in the "Recently accessed items" "block" + And I should not see "Show more items" in the "Recently accessed items" "block"