1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/e2e/tests/doc_inner_html_all_d.fql
2018-11-12 14:53:36 -05:00

12 lines
335 B
Plaintext

LET url = @dynamic
LET doc = DOCUMENT(url, true)
WAIT_ELEMENT(doc, "#layout")
LET expected = [
'<h1>Welcome to Ferret E2E test page!</h1>',
'<p class="lead">It has several pages for testing different possibilities of the library</p>'
]
LET actual = INNER_HTML_ALL(doc, '#root > div > main > div > *')
RETURN EXPECT(expected, actual)