diff --git a/backend/spec/features/admin/orders/new_order_spec.rb b/backend/spec/features/admin/orders/new_order_spec.rb index ac3dd7b573b..f2c6a3806b8 100644 --- a/backend/spec/features/admin/orders/new_order_spec.rb +++ b/backend/spec/features/admin/orders/new_order_spec.rb @@ -53,7 +53,7 @@ click_icon "capture" click_on "Shipments" - click_on "ship" + click_on "Ship" within '.carton-state' do expect(page).to have_content('shipped') diff --git a/backend/spec/features/admin/stock_transfer_spec.rb b/backend/spec/features/admin/stock_transfer_spec.rb index 9fa8604ee06..57f9f9eaaf4 100644 --- a/backend/spec/features/admin/stock_transfer_spec.rb +++ b/backend/spec/features/admin/stock_transfer_spec.rb @@ -85,7 +85,7 @@ describe 'with enough stock' do it 'ships stock transfer' do visit spree.tracking_info_admin_stock_transfer_path(stock_transfer) - click_on 'ship' + click_on 'Ship' expect(page).to have_current_path(spree.admin_stock_transfers_path) expect(stock_transfer.reload.shipped_at).to_not be_nil @@ -102,7 +102,7 @@ it 'does not ship stock transfer' do visit spree.tracking_info_admin_stock_transfer_path(stock_transfer) - click_on 'ship' + click_on 'Ship' expect(page).to have_current_path(spree.tracking_info_admin_stock_transfer_path(stock_transfer)) expect(stock_transfer.reload.shipped_at).to be_nil diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml index ea8925ebb77..8f737410815 100644 --- a/core/config/locales/en.yml +++ b/core/config/locales/en.yml @@ -688,7 +688,7 @@ en: list: List listing: Listing new: New - receive: Receive + receive: Receive refund: Refund remove: Remove save: Save