mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
12 lines
606 B
Plaintext
12 lines
606 B
Plaintext
|
LET url = @static + '/value.html'
|
||
|
LET doc = DOCUMENT(url)
|
||
|
|
||
|
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)
|