File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
src/test/java/com/serenitydojo/playwright/toolshop/contact Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 44import com .microsoft .playwright .Page ;
55import com .microsoft .playwright .options .AriaRole ;
66import com .microsoft .playwright .options .WaitForSelectorState ;
7+ import com .serenitydojo .playwright .toolshop .fixtures .ScreenshotManager ;
78
89import java .nio .file .Path ;
910
@@ -53,6 +54,7 @@ public void setAttachment(Path fileToUpload) {
5354 }
5455
5556 public void submitForm () {
57+ ScreenshotManager .takeScreenshot (page ,"Submit contact form" );
5658 sendButton .click ();
5759 }
5860
Original file line number Diff line number Diff line change 55import com .microsoft .playwright .options .AriaRole ;
66import com .serenitydojo .playwright .toolshop .catalog .pageobjects .NavBar ;
77import com .serenitydojo .playwright .toolshop .fixtures .ChromeHeadlessOptions ;
8+ import com .serenitydojo .playwright .toolshop .fixtures .ScreenshotManager ;
89import com .serenitydojo .playwright .toolshop .fixtures .TakesFinalScreenshot ;
910import io .qameta .allure .Feature ;
1011import io .qameta .allure .Story ;
You can’t perform that action at this time.
0 commit comments