@@ -38,7 +38,7 @@ public ShoppingLoggedUserSteps(ContextInjection contextInjection) {
38
38
this .contextInjection = contextInjection ;
39
39
}
40
40
41
- @ Step ("I click on {0} button from sub menu" )
41
+ @ Step ("I click on * {0}* button from sub menu" )
42
42
@ And ("I click on {string} button from sub menu" )
43
43
public void iClickOnButtonFromSubMenu (String category ) throws Throwable {
44
44
//ACT//
@@ -65,7 +65,7 @@ public void iClickOnButtonFromSubMenu(String category) throws Throwable {
65
65
("\\ s+" , "" ).toLowerCase (), category .toLowerCase (), VALUE_ERROR );
66
66
}
67
67
68
- @ Step ("I click on following product {0}" )
68
+ @ Step ("I click on following product * {0}* " )
69
69
@ And ("I click on following product {string}" )
70
70
public void iClickOnFollowingProduct (String productName ) throws Throwable {
71
71
//ARRANGE//
@@ -176,13 +176,13 @@ public void iCanSeeModalWhereIAmAbleToSeeDetailedDataAboutMyPurchase() throws Th
176
176
$decimalFormat .format (contextInjection .finalOrderTotalPrice ), VALUE_ERROR );
177
177
}
178
178
179
- @ Step ("I click on Proceed To Checkout button \\ (from modal)" )
179
+ @ Step ("I click on Proceed To Checkout button (from modal)" )
180
180
@ And ("I click on Proceed To Checkout button \\ (from modal)" )
181
181
public void iClickOnProceedToCheckoutButtonFromModal () throws Throwable {
182
182
productDetailsPage .proceedToCheckoutButton .click ();
183
183
}
184
184
185
- @ Step ("I can see Shopping-Cart {0} form with valid information" )
185
+ @ Step ("I can see Shopping-Cart * {0}* form with valid information" )
186
186
@ And ("I can see Shopping-Cart {string} form with valid information" )
187
187
public void iCanSeeShoppingCartFormWithValidInformation (String shoppingSummaryTab ) throws Throwable {
188
188
//ARRANGE//
@@ -270,7 +270,7 @@ public void iCanSeeShoppingCartFormWithValidInformation(String shoppingSummaryTa
270
270
}
271
271
}
272
272
273
- @ Step ("I click on Proceed To Checkout button \\ (from shopping-cart)" )
273
+ @ Step ("I click on Proceed To Checkout button (from shopping-cart)" )
274
274
@ And ("I click on Proceed To Checkout button \\ (from shopping-cart)" )
275
275
public void iClickOnProceedToCheckoutButtonFromShoppingCart () throws Throwable {
276
276
shoppingCartSummaryPage .proceedToCheckoutButton .click ();
@@ -290,7 +290,7 @@ public void iWriteCommentAboutMyOrder() throws Throwable {
290
290
Assert .assertEquals (shoppingCartSummaryPage .orderComment .getAttribute ("value" ).toLowerCase (), orderComment .toLowerCase (), VALUE_ERROR );
291
291
}
292
292
293
- @ Step ("I choose shipping option{0}" )
293
+ @ Step ("I choose shipping option * {0}* " )
294
294
@ And ("I choose shipping option {string}" )
295
295
public void iChooseShippingOption (String shippingOption ) throws Throwable {
296
296
//ACT//
0 commit comments