I made a boo boo
This commit is contained in:
parent
b5a53c03d7
commit
9c2c135731
1 changed files with 2 additions and 2 deletions
|
|
@ -194,9 +194,9 @@ Then /^the "([^"]*)" checkbox(?: within "([^"]*)")? should not be checked$/ do |
|
|||
end
|
||||
|
||||
Then /^(?:|I )should be on (.+)$/ do |page_name|
|
||||
current_path = URI.parse(current_url).path
|
||||
wait_until(3) do
|
||||
current_path = path_to(page_name)
|
||||
current_path = URI.parse(current_url).path
|
||||
current_path == path_to(page_name)
|
||||
end
|
||||
|
||||
if current_path.respond_to? :should
|
||||
|
|
|
|||
Loading…
Reference in a new issue