diff --git a/backend/spec/features/admin/promotion_adjustments_spec.rb b/backend/spec/features/admin/promotion_adjustments_spec.rb index c165ad1dd5d..f62f51da8fb 100644 --- a/backend/spec/features/admin/promotion_adjustments_spec.rb +++ b/backend/spec/features/admin/promotion_adjustments_spec.rb @@ -272,7 +272,7 @@ def self.description select "Create per-line-item adjustment", from: "Add action of type" within('#action_fields') do click_button "Add" - select "Complex Calculator", from: "Base Calculator" + select "Complex Calculator", from: I18n.t('spree.admin.promotions.actions.calculator_label') end within('#actions_container') { click_button "Update" } expect(page).to have_text 'successfully updated'