1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-23 21:54:45 +02:00
Files
ferret/e2e/tests/dynamic/element/input/input_by_selector.fql

12 lines
260 B
Plaintext
Raw Normal View History

LET url = @lab.cdn.dynamic + "?redirect=/forms"
2018-11-12 14:53:36 -05:00
LET doc = DOCUMENT(url, true)
WAIT_ELEMENT(doc, "form")
LET form = ELEMENT(doc, "#page-form")
INPUT(form, "#text_input", "foo")
2018-11-12 14:53:36 -05:00
LET output = ELEMENT(doc, "#text_output")
2018-11-12 14:53:36 -05:00
RETURN T::EQ(output.innerText, "foo")