1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/e2e/tests/dynamic/element/press/press_multi.fql
Tim Voronov 5119d62838
Feature/#478 keyboard events (#618)
* Added support of pressin special keys

* Linting
2021-04-23 10:42:31 -04:00

13 lines
223 B
Plaintext

LET url = @lab.cdn.dynamic + "/#/events"
LET page = DOCUMENT(url, true)
LET input = ELEMENT(page, "#press-input")
FOCUS(input)
INPUT(input, "foo")
PRESS(page, "Backspace", 3) // Clear
T::EQ(input.value, "")
RETURN NONE