Sha256: a30ba13dad246748912757de3c72ae1f859168e9bc4ab8e7c424e1cf7c9a9259
Contents?: true
Size: 484 Bytes
Versions: 44
Compression:
Stored size: 484 Bytes
Contents
require 'rails_helper' feature 'Deleting contact' do let(:email) { 'test_email@q.com' } scenario 'Visitor deletes contact' do login using_wait_time 10 do create_contact(email) expect(page).to have_css('.contacts td', text: email) find('.contacts .contact-email', text: email) .find(:xpath, 'ancestor::tr[@class="contact"]') .find('.delete-button').click expect(page).not_to have_css('.contacts td', text: email) end end end
Version data entries
44 entries across 22 versions & 1 rubygems