mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
10 lines
517 B
Plaintext
10 lines
517 B
Plaintext
// LET url = @server + '/bootstrap/overview.html'
|
|
// LET doc = DOCUMENT(url, true)
|
|
// LET selector = '.section-nav'
|
|
|
|
// 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, selector)
|
|
|
|
// RETURN EXPECT(REGEXP_REPLACE(expected, '\s', ''), REGEXP_REPLACE(TRIM(actual), '(\n|\s)', ''))
|
|
|
|
RETURN "" |