@@ -169,11 +169,11 @@ public void iCanSeeModalWhereIAmAbleToSeeDetailedDataAboutMyPurchase() throws Th
169169
170170 Assert .assertEquals (productDetailsPage .popupPaneFinalProductTotalPrice .getText ()
171171 .replaceAll ("[^$0-9.]" , "" ),
172- $decimalFormat .format (contextInjection .finalProductTotalPrice ). replace ( "," , "." ) , VALUE_ERROR );
172+ $decimalFormat .format (contextInjection .finalProductTotalPrice ), VALUE_ERROR );
173173
174174 Assert .assertEquals (productDetailsPage .popupPaneFinalOrderTotalPrice .getText ()
175175 .replaceAll ("[^$0-9.]" , "" ),
176- $decimalFormat .format (contextInjection .finalOrderTotalPrice ). replace ( "," , "." ) , VALUE_ERROR );
176+ $decimalFormat .format (contextInjection .finalOrderTotalPrice ), VALUE_ERROR );
177177 }
178178
179179 @ Step ("I click on Proceed To Checkout button \\ (from modal)" )
@@ -208,7 +208,7 @@ public void iCanSeeShoppingCartFormWithValidInformation(String shoppingSummaryTa
208208 Assert .assertEquals (Double .parseDouble (shoppingCartSummaryPage .productQuantity .getAttribute
209209 ("value" ).toLowerCase ()), contextInjection .productQuantity , VALUE_ERROR );
210210 Assert .assertEquals (shoppingCartSummaryPage .productTotalPrice .getText ()
211- .replaceAll ("[^$0-9.]" , "" ). replace ( "." , "," ) ,
211+ .replaceAll ("[^$0-9.]" , "" ),
212212 $decimalFormat .format (contextInjection .finalProductTotalPrice ), VALUE_ERROR );
213213 //TODO - how tax is calculated in america?
214214 //Assert.assertEquals(shoppingCartSummaryPage.productTotalOrderPriceTAX.getText()
0 commit comments