1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/e2e/tests/el_value_d.fql
Tim Voronov dc3de71554
Bug/#194 empty value (#195)
* Fixes

* Fixed path to HTMLElement.value
2018-11-28 07:39:12 -05:00

12 lines
612 B
Plaintext

LET url = @static + '/value.html'
LET doc = DOCUMENT(url, true)
LET expected = ["068728","068728","816410","52024413","698690","210583","049700","826394","354369","135911","700285","557242","278832","357701","313034","959368","703500","842750","777175","378061","072489","383005","843393","59912263","464535","229710","230550","767964","758862","944384","025449","010245","844935","038760","013450","124139","211145","758761","448667","488966"]
LET actual = (
FOR tr IN ELEMENTS(doc, '#listings_table > tbody > tr')
LET elem = ELEMENT(tr, 'td > input')
RETURN elem.value
)
RETURN EXPECT(actual, expected)