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

9 lines
270 B
Plaintext

LET url = @dynamic + "?redirect=/forms"
LET doc = DOCUMENT(url, true)
WAIT_ELEMENT(doc, "form")
LET output = ELEMENT(doc, "#select_output")
LET result = SELECT(doc, "#select_input", ["4"])
RETURN EXPECT(output.innerText, "4") + EXPECT(JSON_STRINGIFY(result), '["4"]')