From eb2fe63ef1877a9a4b0c822f74327b9e2a498c7a Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 20 Nov 2018 09:00:44 +0800 Subject: [PATCH] MDL-63817 block_timeline: Fixed behat test and clean template --- .../tests/behat/block_timeline_pagelimit_persistence.feature | 2 +- theme/bootstrapbase/templates/block_timeline/view.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/timeline/tests/behat/block_timeline_pagelimit_persistence.feature b/blocks/timeline/tests/behat/block_timeline_pagelimit_persistence.feature index 76518f52652..c40bbf55b4a 100644 --- a/blocks/timeline/tests/behat/block_timeline_pagelimit_persistence.feature +++ b/blocks/timeline/tests/behat/block_timeline_pagelimit_persistence.feature @@ -56,7 +56,7 @@ Feature: The timeline block allows user persistence of their page limits And I click on "25" "link" And I should see "Test feedback 2" in the "Timeline" "block" And I click on "25" "button" in the "Timeline" "block" - And I click on "5" "link" in the ".dropdown-menu.show" "css_element" + And I click on "5" "link" in the "[data-region='timeline'] [data-region='paging-control-limit-container'] .dropdown-menu" "css_element" Then I should not see "Test feedback 2" in the "Timeline" "block" And I reload the page And I should not see "Test feedback 2" in the "Timeline" "block" diff --git a/theme/bootstrapbase/templates/block_timeline/view.mustache b/theme/bootstrapbase/templates/block_timeline/view.mustache index 352631d8f3c..ebbe3bb4432 100644 --- a/theme/bootstrapbase/templates/block_timeline/view.mustache +++ b/theme/bootstrapbase/templates/block_timeline/view.mustache @@ -47,7 +47,7 @@ }}
-
+
{{> block_timeline/view-dates }}