Skip to content

Commit

Permalink
Updated playwright examples
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Jan 23, 2024
1 parent 4abf7e7 commit 7e4096a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ private List<String> extractJiraIssueTags(List<Tag> cucumberTags) {
for (Tag tag : cucumberTags) {
if (tag.getName().startsWith("@issue:")) {
String tagIssueValue = tag.getName().substring("@issue:".length());
issues.add(tagIssueValue);
issues.addAll(Arrays.asList(tagIssueValue.split(",")));
}
if (tag.getName().startsWith("@issues:")) {
String tagIssuesValues = tag.getName().substring("@issues:".length());
Expand Down
2 changes: 1 addition & 1 deletion serenity-screenplay-playwright/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<name>Serenity Screenplay Playwright Integration</name>

<properties>
<playwright.version>1.40.0</playwright.version>
<playwright.version>1.41.0</playwright.version>
</properties>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class InteractingWithKeyboardTest {
@Test
public void pressKeyboardButton() {
will.attemptsTo(
Open.url("https://todomvc.com/examples/angularjs/#/"),
Open.url("https://todomvc.com/examples/angular/dist/browser/#/all"),
Enter.theValue("Feed the cat").into(".new-todo"),
Press.keys("Enter")
);
Expand All @@ -25,7 +25,7 @@ public void pressKeyboardButton() {
@Test
public void pressKeyboardButtonUsingATarget() {
will.attemptsTo(
Open.url("https://todomvc.com/examples/angularjs/#/"),
Open.url("https://todomvc.com/examples/angular/dist/browser/#/all"),
Enter.theValue("Feed the cat").into(TODO_FIELD),
Press.keys("Enter")
);
Expand Down

0 comments on commit 7e4096a

Please sign in to comment.