Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scenario 'currently used transport mode cannot be re-selected' do
- expect(page).to have_css("h2.summary")
- expect(find('h2.summary').text).to eq("Single event")
- expect(page).to have_content("Change journey")
- page.click_link("Change journey")
- expect(find('#travel-times-preview').visible?).to be_truthy # FAILS here because of previous step not working
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement