mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
12 lines
335 B
Plaintext
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)
|