Displaying 1 result from an estimated 1 matches for "otherid".
Did you mean:
otheridx
2011 Apr 16
11
added new cool matcher into my framework WatirSplash - #in
...browser. If you''re not familiar with it then here is a short
example how you had to test ajax-heavy application before:
browser.link(:id => "someid").click
# let''s wait up to 5 seconds for div to become visible
browser.wait_until(5) {browser.div(:id => "otherid").visible?}
It was quite cumbersome and i thought about adding and #in matcher to
all matchers so i can do something like this instead:
# clicking the link changed div''s text from "before" to "after" in a
maximum of 2 seconds
expect {
link.click
}.to c...