mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +02:00
7 lines
448 B
Plaintext
7 lines
448 B
Plaintext
LET url = @static + '/overview.html'
|
|
LET doc = DOCUMENT(url)
|
|
|
|
LET expected = '<li class="toc-entry toc-h2"><a href="#containers">Containers</a></li><li class="toc-entry toc-h2"><a href="#responsive-breakpoints">Responsive breakpoints</a></li><li class="toc-entry toc-h2"><a href="#z-index">Z-index</a></li>'
|
|
LET actual = INNER_HTML(doc, '.section-nav')
|
|
|
|
RETURN EXPECT(REGEXP_REPLACE(expected, '\s', ''), REGEXP_REPLACE(TRIM(actual), '(\n|\s)', '')) |