You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tests/behat/features/paragraph.civictheme_automated_list.render.feature
+20
Original file line number
Diff line number
Diff line change
@@ -323,3 +323,23 @@ Feature: Automated list render
323
323
And I should see an ".ct-group-filter__filters .ct-form-element--topic" element
324
324
And I should not see an ".ct-group-filter__filters .ct-form-element--type" element
325
325
And I should see an ".ct-group-filter__filters .ct-form-element--title" element
326
+
327
+
@api
328
+
Scenario: Automated list, is not self referenced
329
+
Given "civictheme_page" content:
330
+
| title | status | moderation_state |
331
+
| Testpagecontentinlist | 1 | published |
332
+
| TestpagewithAutomatedlistnonselfreferenced | 1 | published |
333
+
334
+
And "field_c_n_components" in "civictheme_page""node" with "title" of "Test page with Automated list non self referenced" has "civictheme_automated_list" paragraph:
335
+
| field_c_p_title | [TEST] Automatedlisttitle |
336
+
| field_c_p_list_limit_type | unlimited |
337
+
| field_c_p_list_limit | 0 |
338
+
339
+
And I am an anonymous user
340
+
When I visit "civictheme_page""Test page with Automated list non self referenced"
341
+
Then I should see a ".ct-list" element
342
+
And I should see a ".ct-list.ct-theme-light" element
343
+
And the response should contain "ct-automated-list-"
344
+
And the ".ct-list .ct-promo-card__title__link" element should contain "Test page content in list"
345
+
And the ".ct-list .ct-promo-card__title__link" element should not contain "Test page with Automated list non self referenced"
0 commit comments