* try to fix test again
This commit is contained in:
parent
2fc6edf579
commit
d901c3a498
|
|
@ -146,7 +146,10 @@ describe "Create Session", :js => true, :type => :feature, :capybara_feature =>
|
|||
find('li[create-type="start-scheduled"] ins').trigger(:click)
|
||||
find('.btn-next').trigger(:click)
|
||||
find('.btn-next').trigger(:click)
|
||||
find('#btn-alert-ok').trigger(:click) # accept the 'If you start this session now, the scheduled start time...'
|
||||
|
||||
btn = first('#btn-alert-ok')# accept the 'If you start this session now, the scheduled start time...'
|
||||
btn.trigger(:click) if btn
|
||||
|
||||
expect(page).to have_selector('h2', text: 'my tracks')
|
||||
find('#session-screen .session-mytracks .session-track')
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue