* fix scheduled_session helper

This commit is contained in:
Seth Call 2014-06-23 23:03:04 -05:00
parent 6d84241cae
commit bd53601b56
2 changed files with 5 additions and 1 deletions

View File

@ -219,6 +219,8 @@ describe "Create Session Flow", :js => true, :type => :feature, :capybara_featur
in_client(user1) do
visit "/client#/createSession"
find('li[create-type="start-scheduled"] ins').trigger(:click)
find('.btn-next').trigger(:click)
find('.btn-next').trigger(:click)

View File

@ -332,7 +332,9 @@ def schedule_session(options = {})
find('.btn-next', text: 'PUBLISH SESSION').trigger(:click)
find('div[type="createSession"]')
find('h2', text: 'create session')
sleep 1 # to get rid of this, we need to verify that the URL is /client#/home.. otherwise intermittent fails
end
end