File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
browser/extensions/newtab/test/browser Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -52,29 +52,5 @@ test_newtab({
5252 pocketHeader && ! pocketHeader . style . visibility ,
5353 "Pocket header should be visible"
5454 ) ;
55-
56- // Highlights (Recent activity) section.
57- await ContentTaskUtils . waitForCondition (
58- ( ) =>
59- content . document . querySelector ( "section[data-section-id='highlights']" ) ,
60- "Wait for the highlights section to load"
61- ) ;
62- let highlightsSection = content . document . querySelector (
63- "section[data-section-id='topstories']"
64- ) ;
65- let isHighlightsSectionCollapsed =
66- highlightsSection . className . includes ( "collapsed" ) ;
67- ok (
68- ! isHighlightsSectionCollapsed ,
69- "Highlights section should not be collapsed on load"
70- ) ;
71-
72- let highlightsHeader = content . document . querySelector (
73- "section[data-section-id='highlights'] .section-title"
74- ) ;
75- ok (
76- highlightsHeader && ! highlightsHeader . style . visibility ,
77- "Highlights header should be visible"
78- ) ;
7955 } ,
8056} ) ;
You can’t perform that action at this time.
0 commit comments