File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
playwright/src/test/java/com/microsoft/playwright Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,9 @@ public class TestClick extends TestBase {
3333
3434 @ Test
3535 void shouldClickTheButton () {
36- page .onLoad (e -> System .out .println ("LOADED" ));
37- System .out .println ("DONE" );
36+ page .navigate (server .PREFIX + "/input/button.html" );
37+ page .click ("button" );
38+ assertEquals ("Clicked" , page .evaluate ("result" ));
3839 }
3940
4041 @ Test
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ void launchBrowser() {
4343
4444 @ BeforeAll
4545 void launchBrowser (@ TempDir Path tempDir ) {
46- System .out .println ("new launchBrowser(" );
4746 BrowserType .LaunchOptions options = createLaunchOptions ();
4847 options .setTracesDir (tempDir .resolve ("trace-dir" ));
4948 launchBrowser (options );
You can’t perform that action at this time.
0 commit comments