1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00
ferret/e2e/tests/inner_html_all.fql
2018-10-14 15:38:14 -04:00

11 lines
312 B
Plaintext

LET url = @server + '/bootstrap/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)