File tree Expand file tree Collapse file tree
OrchardCore.Commerce.Tests.UI/Tests/LocalizedProductTests
OrchardCore.Commerce.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ await context.SelectFromBootstrapDropdownReliablyAsync(
5858 await context . ClickReliablyOnAsync ( By . CssSelector ( "form[action='/shoppingcart/AddItem'] button.btn-primary" ) ) ;
5959 context . ErrorMessageShouldNotExist ( ) ;
6060 context . Get ( By . ClassName ( "cart-product-name" ) ) . Text . Trim ( ) . ShouldBe ( LocalizedTitle ) ;
61- context . Get ( By . ClassName ( "shopping-cart-table-unit-price" ) ) . Text . Trim ( ) . ShouldBe ( "3 500,00 Ft" ) ;
61+ context . Get ( By . ClassName ( "shopping-cart-table-unit-price" ) ) . Text . Trim ( ) . ShouldBe ( "3 500 Ft" ) ;
6262 } ,
6363 browser ) ;
6464
Original file line number Diff line number Diff line change @@ -178,14 +178,14 @@ public async Task ProductAttributeServiceCanFindAttributesOnProducts()
178178 var product = new ContentItem { ContentType = "Product" } ;
179179 var productPart1 = new ContentPart ( ) ;
180180 var boolProductAttribute = new BooleanProductAttributeField ( ) ;
181+ product . Weld ( "ProductPart1" , productPart1 ) ;
181182 productPart1 . Weld ( "foobool" , boolProductAttribute ) ;
182183 productPart1 . Weld ( "barbool" , new BooleanField ( ) ) ;
183- product . Weld ( "ProductPart1" , productPart1 ) ;
184184 var productPart2 = new ContentPart ( ) ;
185185 var textProductAttribute = new TextProductAttributeField ( ) ;
186+ product . Weld ( "ProductPart2" , productPart2 ) ;
186187 productPart2 . Weld ( "footext" , textProductAttribute ) ;
187188 productPart2 . Weld ( "bartext" , new TextField ( ) ) ;
188- product . Weld ( "ProductPart2" , productPart2 ) ;
189189
190190 var productAttributeFields = ( await productAttributeService . GetProductAttributeFieldsAsync ( product ) ) . ToArray ( ) ;
191191
You can’t perform that action at this time.
0 commit comments