1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-18 23:47:48 +02:00
ferret/e2e/tests/doc_inner_html_all.fql
2018-11-12 14:53:36 -05:00

11 lines
302 B
Plaintext

LET url = @static + '/overview.html'
LET doc = DOCUMENT(url)
LET expected = [
'<a href="#containers">Containers</a>',
'<a href="#responsive-breakpoints">Responsive breakpoints</a>',
'<a href="#z-index">Z-index</a>'
]
LET actual = INNER_HTML_ALL(doc, '.section-nav li')
RETURN EXPECT(expected, actual)