|
50 | 50 | # uncheck all contact type options |
51 | 51 | select_all_el.click |
52 | 52 | within ".ts-dropdown-content" do |
53 | | - expect(page).not_to have_css(".form-check-input--checked") |
54 | 53 | expect(page).to have_css(".form-check-input--unchecked", count: 3) |
| 54 | + expect(page).not_to have_css(".form-check-input--checked") |
55 | 55 | end |
56 | 56 | # check all contact type options |
57 | 57 | select_all_el.click |
58 | 58 | within ".ts-dropdown-content" do |
59 | | - expect(page).not_to have_css("input.form-check-input--unchecked") |
60 | 59 | expect(page).to have_css("input.form-check-input--checked", count: 3) |
| 60 | + expect(page).not_to have_css("input.form-check-input--unchecked") |
61 | 61 | end |
62 | 62 |
|
63 | 63 | # unselect contact_type from dropdown |
|
247 | 247 | # uncheck all contact type options |
248 | 248 | select_all_el.click |
249 | 249 | within ".ts-dropdown-content" do |
250 | | - expect(page).not_to have_css(".form-check-input--checked") |
251 | 250 | expect(page).to have_css(".form-check-input--unchecked", count: 2) |
| 251 | + expect(page).not_to have_css(".form-check-input--checked") |
252 | 252 | end |
253 | 253 | # check all contact type options |
254 | 254 | select_all_el.click |
255 | 255 | within ".ts-dropdown-content" do |
256 | | - expect(page).not_to have_css("input.form-check-input--unchecked") |
257 | 256 | expect(page).to have_css("input.form-check-input--checked", count: 2) |
| 257 | + expect(page).not_to have_css("input.form-check-input--unchecked") |
258 | 258 | end |
259 | 259 | # since all contact type options checked, don't need to select one |
260 | 260 | within ".top-page-actions" do |
|
0 commit comments