mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-26 02:36:11 +01:00
add check that will wait for elements to load before asserting presence
This commit is contained in:
parent
dea8734498
commit
a3d3537da7
3 changed files with 5 additions and 1 deletions
|
|
@ -272,6 +272,8 @@ end
|
|||
|
||||
Then /^I should (see|not see) the default project settings$/ do |visible|
|
||||
default_settings = "This project is active with no default context and with no default tags"
|
||||
|
||||
page.should have_css("div.project_settings")
|
||||
elem = page.find("div.project_settings")
|
||||
|
||||
if visible == "see"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue