File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,15 +64,15 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
64
64
setup_sidebar_variant_a
65
65
66
66
setup_and_visit_content_from_publishing_app ( publishing_app : 'publisher' )
67
- assert page . has_css? ( '.gem-c-related-navigation__main-heading' , text : 'Related content ')
67
+ assert page . has_css? ( '.gem-c-contextual-sidebar ' )
68
68
end
69
69
70
70
test "ContentPagesNav variant B hides sidebar" do
71
71
stub_rummager
72
72
setup_sidebar_variant_b
73
73
74
74
setup_and_visit_content_from_publishing_app ( publishing_app : 'whitehall' )
75
- refute page . has_css? ( '.gem-c-related-navigation__main-heading' , text : 'Related content ')
75
+ refute page . has_css? ( '.gem-c-contextual-sidebar ' )
76
76
end
77
77
78
78
test "shows the Services section title and documents with tracking" do
You can’t perform that action at this time.
0 commit comments