What this transform does:
find(...).last() ===> findAll(...).slice(-1)[0]
Ideally one would use array[array.length - 1], but I didn't want to start adding variables to people's tests. Luckily, the slice method is about 10x faster than $(...).last()
Adds a last() transform for Acceptance and Integration
What this transform does:
find(...).last() ===> findAll(...).slice(-1)[0]
Ideally one would use
array[array.length - 1]
, but I didn't want to start adding variables to people's tests. Luckily, theslice
method is about 10x faster than$(...).last()
last()
transform for Acceptance and Integrationlast
transform