Skip to content

Commit 67df1b7

Browse files
Charankumar HCharankumar H
authored andcommitted
Moved screenshots to target folder for saving artifacts.
1 parent 25a2fa0 commit 67df1b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ tutorial [here](https://code2tutorial.com/tutorial/81c3753d-35c2-41fd-941c-34a1c
126126
| 4 | Firefox | Headless | `mvn clean test -Drunmode=headless -Dbrowser=firefox -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E -Dthreads=3 -Ddataproviderthreadcount=3` |
127127
| 5 | Edge | Local | `mvn clean test -Dbrowser=msedge -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E -Dthreads=3 -Ddataproviderthreadcount=3` |
128128
| 6 | Edge | Headless | `mvn clean test -Drunmode=headless -Dbrowser=msedge -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E -Dthreads=3 -Ddataproviderthreadcount=3` |
129-
| 7 | WebKit | Local | `mvn clean test -Dbrowser=msedge -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E -Dthreads=3 -Ddataproviderthreadcount=3` |
130-
| 8 | WebKit | Headless | `mvn clean test -Drunmode=headless -Dbrowser=msedge -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E -Dthreads=3 -Ddataproviderthreadcount=3` |
129+
| 7 | WebKit | Local | `mvn clean test -Dbrowser=webkit -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E -Dthreads=3 -Ddataproviderthreadcount=3` |
130+
| 8 | WebKit | Headless | `mvn clean test -Drunmode=headless -Dbrowser=webkit -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E -Dthreads=3 -Ddataproviderthreadcount=3` |
131131

132132
**NOTE**: These above commands (no testng.xml required) will run the tests in parallel with the specified thread count
133133
and with the respective groups and thread counts.

src/main/java/io/swaglabs/portal/qa/constants/WebPortalConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ public final class WebPortalConstants {
2121
public static final int SCREEN_WIDTH = 1920;
2222
public static final int SCREEN_HEIGHT = 1080;
2323

24-
public static final String SCREENSHOT_FILE_LOCATION = "./src/test/resources/screenshots/";
24+
public static final String SCREENSHOT_FILE_LOCATION = "./target/screenshots/";
2525
public static final String IMAGE_FORMAT = ".png";
2626
}

0 commit comments

Comments
 (0)