@@ -231,14 +231,14 @@ test.describe('CurrencyInput', () => {
231231 await page . goto ( '/' ) ;
232232
233233 // Pressing `.` when the decimal point is `,` gets converted to `,`
234- const colonFormattedInput = page . locator ( '.currencyInput__formatted[name="formatted-colon "]' ) ;
235- const colonUnformattedInput = page . locator ( '.currencyInput__unformatted[name=colon ]' ) ;
236- await colonFormattedInput . focus ( ) ;
234+ const euroFormattedInput = page . locator ( '.currencyInput__formatted[name="formatted-euro "]' ) ;
235+ const euroUnformattedInput = page . locator ( '.currencyInput__unformatted[name=euro ]' ) ;
236+ await euroFormattedInput . focus ( ) ;
237237 await selectAll ( page ) ;
238238 await page . keyboard . press ( 'Backspace' ) ;
239- await page . keyboard . type ( '-69.42 ' ) ;
240- await expect ( colonFormattedInput ) . toHaveValue ( '-₡69,42 ' ) ;
241- await expect ( colonUnformattedInput ) . toHaveValue ( '-69.42 ' ) ;
239+ await page . keyboard . type ( '-42069.69 ' ) ;
240+ await expect ( euroFormattedInput ) . toHaveValue ( '-42.069,69 € ' ) ;
241+ await expect ( euroUnformattedInput ) . toHaveValue ( '-42069.69 ' ) ;
242242
243243 // Pressing `,` when the decimal point is `.` gets converted to `.`
244244 const bitcoinUnformattedInput = page . locator ( '.currencyInput__unformatted[name=bitcoin]' ) ;
@@ -248,9 +248,9 @@ test.describe('CurrencyInput', () => {
248248 await bitcoinFormattedInput . focus ( ) ;
249249 await selectAll ( page ) ;
250250 await page . keyboard . press ( 'Backspace' ) ;
251- await page . keyboard . type ( '69,42 ' ) ;
252- await expect ( bitcoinFormattedInput ) . toHaveValue ( '฿69.42 ' ) ;
253- await expect ( bitcoinUnformattedInput ) . toHaveValue ( '69.42 ' ) ;
251+ await page . keyboard . type ( '42069,69 ' ) ;
252+ await expect ( bitcoinFormattedInput ) . toHaveValue ( '฿42,069.69 ' ) ;
253+ await expect ( bitcoinUnformattedInput ) . toHaveValue ( '42069.69 ' ) ;
254254 } ) ;
255255
256256 test . skip ( 'Updating chained inputs have the correct behavior' , async ( ) => {
0 commit comments