@@ -11,12 +11,12 @@ Feature: Promo render
1111 Scenario : CivicTheme page content type page can be viewed by anonymous with Promo light with vertical spacing without background
1212 Given I am an anonymous user
1313 And "field_c_n_components" in "civictheme_page" "node" with "title" of "[TEST] Page Promo test 1" has "civictheme_promo" paragraph:
14- | field_c_p_title | [TEST ] Promo title |
15- | field_c_p_theme | light |
16- | field_c_p_content :value | [TEST ] Content text |
17- | field_c_p_content :format | civictheme_rich_text |
18- | field_c_p_vertical_spacing | both |
19- | field_c_p_link | 0 : [TEST ] link 1 - 1 : https ://example .com /link1 |
14+ | field_c_p_title | [TEST ] Promo title |
15+ | field_c_p_theme | light |
16+ | field_c_p_content :value | [TEST ] Content text |
17+ | field_c_p_content :format | civictheme_rich_text |
18+ | field_c_p_vertical_spacing | both |
19+ | field_c_p_link | 0 : [TEST ] link 1 PromoTest - 1 : https ://example .com /link1 |
2020
2121 When I visit "civictheme_page" "[TEST] Page Promo test 1"
2222 And I should see an ".ct-promo" element
@@ -28,19 +28,20 @@ Feature: Promo render
2828 And I should see an ".ct-promo__title" element
2929 And I should see an ".ct-promo__content" element
3030 And the response should contain "[TEST] link 1"
31+ And the response should contain "PromoTest"
3132 And the response should contain "https://example.com/link1"
3233
3334 @api
3435 Scenario : CivicTheme page content type page can be viewed by anonymous with promo dark without vertical space with background
3536 Given I am an anonymous user
3637 And "field_c_n_components" in "civictheme_page" "node" with "title" of "[TEST] Page Promo test 2" has "civictheme_promo" paragraph:
37- | field_c_p_title | [TEST ] Promo title |
38- | field_c_p_theme | dark |
39- | field_c_p_content :value | [TEST ] Content text |
40- | field_c_p_content :format | civictheme_rich_text |
41- | field_c_p_vertical_spacing | 0 |
42- | field_c_p_background | 1 |
43- | field_c_p_link | 0 : [TEST ] link 2 - 1 : https ://example .com /link2 |
38+ | field_c_p_title | [TEST ] Promo title |
39+ | field_c_p_theme | dark |
40+ | field_c_p_content :value | [TEST ] Content text |
41+ | field_c_p_content :format | civictheme_rich_text |
42+ | field_c_p_vertical_spacing | 0 |
43+ | field_c_p_background | 1 |
44+ | field_c_p_link | 0 : [TEST ] link 2 PromoTest - 1 : https ://example .com /link2 |
4445
4546 When I visit "civictheme_page" "[TEST] Page Promo test 2"
4647 And I should see an ".ct-promo" element
@@ -53,4 +54,5 @@ Feature: Promo render
5354 And I should see an ".ct-promo__title" element
5455 And I should see an ".ct-promo__content" element
5556 And the response should contain "[TEST] link 2"
57+ And the response should contain "PromoTest"
5658 And the response should contain "https://example.com/link2"
0 commit comments