Skip to content

Commit 08b7d17

Browse files
committed
Start here
1 parent 9a52116 commit 08b7d17

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/test/java/com/serenitydojo/playwright/ASimplePlaywrightTest.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@ public class ASimplePlaywrightTest {
1010

1111
@Test
1212
void shouldShowThePageTitle() {
13-
Playwright playwright = Playwright.create();
14-
Browser browser = playwright.chromium().launch();
15-
Page page = browser.newPage();
16-
17-
page.navigate("https://practicesoftwaretesting.com");
18-
String title = page.title();
19-
20-
Assertions.assertTrue(title.contains("Practice Software Testing"));
21-
22-
browser.close();
23-
playwright.close();
13+
// TODO: Write your first playwright test here
2414
}
2515
}

0 commit comments

Comments
 (0)