1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-23 01:24:30 +02:00
ferret/e2e/tests/dynamic/element/input/input_by_selector.fql

12 lines
253 B
Plaintext
Raw Normal View History

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