mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
13221 Use have_select2 in rspec to test s2id matcher
This commit is contained in:
@@ -1023,7 +1023,7 @@ RSpec.describe '
|
||||
it "ships the order and shipment email is sent" do
|
||||
expect(page).to have_content "ready"
|
||||
expect(page).not_to have_content "shipped"
|
||||
expect(page).to have_css("#s2id_add_variant_id")
|
||||
expect(page).to have_select2 "add_variant_id"
|
||||
|
||||
click_button 'Ship'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user