mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 16:28:50 +01:00
use size in stead of count to prevent unnecessary querying
This commit is contained in:
parent
caec4f214a
commit
a987ff3727
5 changed files with 13 additions and 8 deletions
|
|
@ -37,6 +37,10 @@ Then /^I should (see|not see) "([^"]*)" in the context container for "([^"]*)"$/
|
|||
check_xpath_visibility(visible, todo_in_context_container_xpath(find_todo(todo_description), find_context(context_name)))
|
||||
end
|
||||
|
||||
Then(/^I should (see|not see) "([^"]*)" in the context container of "([^"]*)"$/) do |visible, todo_description, context_name|
|
||||
step "I should #{visible} \"#{todo_description}\" in the context container for \"#{context_name}\""
|
||||
end
|
||||
|
||||
Then /^I should (see|not see) "([^"]*)" in the container for context "([^"]*)"$/ do |visible, todo_description, context_name|
|
||||
step "I should #{visible} \"#{todo_description}\" in the context container for \"#{context_name}\""
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue