fix failing conversations cuke
This commit is contained in:
parent
9cbfee9408
commit
653f7566df
1 changed files with 2 additions and 6 deletions
|
|
@ -42,14 +42,10 @@ Then /^I should see the participants popover$/ do
|
||||||
end
|
end
|
||||||
|
|
||||||
Then /^I should see "([^"]*)" as part of the participants popover$/ do |name|
|
Then /^I should see "([^"]*)" as part of the participants popover$/ do |name|
|
||||||
within(".conversation_participants_popover") do
|
find(".conversation_participants_popover img.avatar[title^='#{name}']").should_not be_nil
|
||||||
find("img.avatar[title^='#{name}']").should_not be_nil
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
Then /^I close the participants popover$/ do
|
Then /^I close the participants popover$/ do
|
||||||
within('.popover-title') do
|
find('.popover-title .close').click
|
||||||
find('.close').click
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue