13221 Use have_select2 in rspec to test s2id matcher

This commit is contained in:
Ashish Gaur
2025-04-24 12:32:15 +05:30
parent 58b6a97d3e
commit e122fe3d2d

View File

@@ -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'