Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use the correct spanish translation #12934

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions spec/system/admin/unit_price_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,14 @@
it "creating a new variant with a comma separated decimal price" do
product = create(:simple_product, variant_unit: "weight", variant_unit_scale: "1")
login_as_admin

visit spree.admin_dashboard_path(locale: 'es')
visit spree.admin_product_variants_path product
click_link 'Nueva Variante'

tomselect_select "Peso (g)", from: "Unit scale"
click_on "Unit" # activate popout
fill_in "Unit value", with: "1"
click_on "Unidad" # activate popout
fill_in "Valor unidad", with: "1"
fill_in 'Precio', with: '1,5'

expect(find_field("Precio por unidad", disabled: true).value).to eq '1.500,00 $ / kg'
Expand Down
Loading