mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +02:00
376ad77404
* Added support for parsed styles * Added stdlib function. * Added e2e tests * Added e2e tests for STYLE_* functions
11 lines
299 B
Plaintext
11 lines
299 B
Plaintext
LET url = @dynamic + "?redirect=/events"
|
|
LET doc = DOCUMENT(url, true)
|
|
LET pageSelector = "#page-events"
|
|
LET elemSelector = "#wait-no-style-content"
|
|
|
|
WAIT_ELEMENT(doc, pageSelector)
|
|
|
|
LET el = ELEMENT(doc, elemSelector)
|
|
LET attrs = ATTR_GET(el, "style")
|
|
|
|
RETURN EXPECT("display: block;", attrs.style) |