cucumber feature for accepting a contact request.
This commit is contained in:
parent
9041a81fea
commit
2949dd8796
2 changed files with 4 additions and 5 deletions
|
|
@ -9,7 +9,7 @@ Feature: managing contact requests
|
||||||
When I am on the home page
|
When I am on the home page
|
||||||
Then I should see "Manage (1)" in the header
|
Then I should see "Manage (1)" in the header
|
||||||
|
|
||||||
@javascript @wip
|
@javascript
|
||||||
Scenario: accepting a contact request
|
Scenario: accepting a contact request
|
||||||
When I am on the home page
|
When I am on the home page
|
||||||
And I follow "Manage (1)"
|
And I follow "Manage (1)"
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,5 @@ When /^I wait for the aspects page to load$/ do
|
||||||
end
|
end
|
||||||
|
|
||||||
When /^I wait for the ajax to finish$/ do
|
When /^I wait for the ajax to finish$/ do
|
||||||
pending
|
wait_until { evaluate_script("$.active") == 0 }
|
||||||
# wait_until { ??? }
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue