Skip to content

Commit

Permalink
fix: step message of SelectByValue performables (#3394)
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-becker authored Feb 5, 2024
1 parent b33b558 commit 762c257
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public SelectByValueFromBy(List<String> values, By... locators) {
this.values = values;
}

@Step("{0} selects #value in #locators")
@Step("{0} selects #values in #locators")
public <T extends Actor> void performAs(T theUser) {
values.forEach(
value -> BrowseTheWeb.as(theUser).find(locators).selectByValue(value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public SelectByValueFromElement(WebElementFacade element, String... values) {
this.values = values;
}

@Step("{0} selects #value in #element")
@Step("{0} selects #values in #element")
public <T extends Actor> void performAs(T theUser) {
for(String value : values) {
element.selectByValue(value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public SelectByValueFromTarget(Target target, String... values) {
this.values = values;
}

@Step("{0} selects #value in #target")
@Step("{0} selects #values in #target")
public <T extends Actor> void performAs(T theUser) {
for(String value : values) {
target.resolveFor(theUser).selectByValue(value);
Expand Down

0 comments on commit 762c257

Please sign in to comment.