Details
-
Type: New Feature
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: 2.4
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
I've got a machine which outputs messages. I've found three different ways of expressing that in steps:
Then the machine should tell me that $message
Then the machine should tell me to $message
Then the machine should say "$message"
I'd like to be able to put more than one alias on a step.
(@Aliases ?)
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Duplicate [ 3 ] |
Hi,
Maybe I don't understand right this request, but I'm thinking that @Aliases is already working...
@Given("the dropdown $label has been selected with $value")
{ "dropdown $label was changed to $value", "the value $value was choosed in dropdown $label" }@Aliases(values =
)
public void ensureDropDownWasSelectedWithValue(
@Named("label") String pIdOrLabel, @Named("value") String pValue) {}
regards.
Cristiano