Skip to content

Commit f25ef51

Browse files
Add test for custom text
1 parent 5de781b commit f25ef51

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/collective/collectionfilter/tests/robot/test_infoportlets.robot

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ Scenario: Combine info templates
6161
and I search for "Event"
6262
Then Should be Info with text: Search for "Event" Subject: Süper/Evänt, with 1 result
6363

64+
Scenario: Info with custom text
65+
Given I've got a site with a collection
66+
and my collection has a collection info Current Filters search_quoted Custom text comma with result_count results
67+
and my collection has a collection search
68+
When I'm viewing the collection
69+
and I search for "Document"
70+
then Should be Info with text: "Document" Custom text, with 1 result
71+
6472
Scenario: Hide on any filter
6573
Given I've got a site with a collection
6674
and my collection has a collection info Current Filters result_count hide_when=any_filter

0 commit comments

Comments
 (0)