mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-02 07:18:49 +01:00
small improvement
This commit is contained in:
parent
bb6269f81c
commit
e1af252f23
1 changed files with 4 additions and 1 deletions
|
|
@ -219,8 +219,11 @@ end
|
|||
Then /^the container for the context "([^"]*)" should not be visible$/ do |context_name|
|
||||
context = @current_user.contexts.find_by_name(context_name)
|
||||
context.should_not be_nil
|
||||
|
||||
wait_for_ajax
|
||||
|
||||
xpath = "xpath=//div[@id=\"c#{context.id}\"]"
|
||||
wait_for_ajax selenium.is_element_present(xpath).should be_false
|
||||
selenium.is_element_present(xpath).should be_false
|
||||
end
|
||||
|
||||
Then /^a confirmation for adding a new context "([^"]*)" should be asked$/ do |context_name|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue