@@ -92,10 +92,6 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
92
92
assert page . has_css? ( '.gem-c-highlight-boxes__title[data-track-category="ServicesHighlightBoxClicked"]' , text : 'Free school meals form' )
93
93
assert page . has_css? ( '.gem-c-highlight-boxes__title[data-track-action="1"]' , text : 'Free school meals form' )
94
94
assert page . has_css? ( '.gem-c-highlight-boxes__title[data-track-label="/government/publications/meals"]' , text : 'Free school meals form' )
95
-
96
- assert page . has_css? ( '.gem-c-document-list__item a[data-track-category="ServicesDocumentListClicked"]' , text : 'Free school meals form' )
97
- assert page . has_css? ( '.gem-c-document-list__item a[data-track-action="1"]' , text : 'Free school meals form' )
98
- assert page . has_css? ( '.gem-c-document-list__item a[data-track-label="/government/publications/meals"]' , text : 'Free school meals form' )
99
95
end
100
96
101
97
test "does not show the Services section if there is no tagged content" do
@@ -216,10 +212,6 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
216
212
assert page . has_css? ( '.gem-c-image-card__title-link[data-track-category="newsAndCommunicationsImageCardClicked"]' , text : 'Free school meals form' )
217
213
assert page . has_css? ( '.gem-c-image-card__title-link[data-track-action="1"]' , text : 'Free school meals form' )
218
214
assert page . has_css? ( '.gem-c-image-card__title-link[data-track-label="/government/publications/meals"]' , text : 'Free school meals form' )
219
-
220
- assert page . has_css? ( '.gem-c-document-list__item a[data-track-category="newsAndCommunicationsDocumentListClicked"]' , text : 'Free school meals form' )
221
- assert page . has_css? ( '.gem-c-document-list__item a[data-track-action="1"]' , text : 'Free school meals form' )
222
- assert page . has_css? ( '.gem-c-document-list__item a[data-track-label="/government/publications/meals"]' , text : 'Free school meals form' )
223
215
end
224
216
225
217
test "does not show the News and comms section if there is no tagged content" do
0 commit comments