Skip to content

Commit 61c0b8c

Browse files
authored
Release/2.2.2 (#23)
* Main (#21) * Release/v2.1 (#17) * get main in sync with develop (#10) (#11) * Update to v2 (#13) * Simplify parameter resolvers and add APIRequestContext * Add tests for APITestContext. add ability to declare rest config at parameter level * Store APIContext after creating * Update readme * update pom to 2.0 * Bump to 2.1-SNAPSHOT * Don't save APIRequestContext in store so multiple ones can be used to… (#16) * Don't save APIRequestContext in store so multiple ones can be used to test different APIs together * Update docs * Bump version * Release/2.2.1 (#20) * Release/v2.1 (#17) (#18) * get main in sync with develop (#10) (#11) * Update to v2 (#13) * Simplify parameter resolvers and add APIRequestContext * Add tests for APITestContext. add ability to declare rest config at parameter level * Store APIContext after creating * Update readme * update pom to 2.0 * Bump to 2.1-SNAPSHOT * Don't save APIRequestContext in store so multiple ones can be used to… (#16) * Don't save APIRequestContext in store so multiple ones can be used to test different APIs together * Update docs * Bump version * Bump version * Make parameter context for api request context optional (#19) * Make parameter context for api request context optional * remove useless checks for annotation * bump version to 2.2.1 * bump version to 2.2.2-SNAPSHOT (#22) * Update README.md * expose config methods * bump version to 2.2.2
1 parent 46da02c commit 61c0b8c

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ the wiki for v1 docs. It is recommended to upgrade to v2.0. Migration help can
1616
<dependency>
1717
<groupId>io.github.uchagani</groupId>
1818
<artifactId>junit-playwright</artifactId>
19-
<version>2.0</version>
19+
<version>2.2.1</version>
2020
</dependency>
2121
```
2222

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.uchagani</groupId>
88
<artifactId>junit-playwright</artifactId>
9-
<version>2.2.1</version>
9+
<version>2.2.2</version>
1010

1111
<name>junit-playwright</name>
1212
<description>junit-playwright allows you to easily run Playwright-Java tests in parallel</description>

src/main/java/io/github/uchagani/jp/BrowserConfig.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class BrowserConfig {
2323
private boolean saveTraceOnlyOnFailure = false;
2424
private Path outputDirectory = Paths.get("test-results");
2525

26-
Path getOutputDirectory() {
26+
public Path getOutputDirectory() {
2727
return outputDirectory;
2828
}
2929

@@ -32,11 +32,11 @@ public BrowserConfig setOutputDirectory(Path outputDirectory) {
3232
return this;
3333
}
3434

35-
boolean getEnableTracing() {
35+
public boolean getEnableTracing() {
3636
return enableTracing;
3737
}
3838

39-
boolean getSaveTraceOnlyOnFailure() {
39+
public boolean getSaveTraceOnlyOnFailure() {
4040
return saveTraceOnlyOnFailure;
4141
}
4242

@@ -55,11 +55,11 @@ public BrowserConfig setNewContextOptions(Browser.NewContextOptions options) {
5555
return this;
5656
}
5757

58-
Browser.NewContextOptions getNewContextOptions() {
58+
public Browser.NewContextOptions getNewContextOptions() {
5959
return newContextOptions;
6060
}
6161

62-
Playwright.CreateOptions getPlaywrightCreateOptions() {
62+
public Playwright.CreateOptions getPlaywrightCreateOptions() {
6363
return playwrightCreateOptions;
6464
}
6565

@@ -68,7 +68,7 @@ public BrowserConfig setPlaywrightCreateOptions(Playwright.CreateOptions playwri
6868
return this;
6969
}
7070

71-
BrowserChoice getBrowser() {
71+
public BrowserChoice getBrowser() {
7272
return browser;
7373
}
7474

@@ -87,15 +87,15 @@ public BrowserConfig webkit() {
8787
return this;
8888
}
8989

90-
BrowserCreateMethod getCreateMethod() {
90+
public BrowserCreateMethod getCreateMethod() {
9191
return createMethod;
9292
}
9393

94-
String getEndpointUrl() {
94+
public String getEndpointUrl() {
9595
return endpointUrl;
9696
}
9797

98-
BrowserType.ConnectOverCDPOptions getConnectOverCDPOptions() {
98+
public BrowserType.ConnectOverCDPOptions getConnectOverCDPOptions() {
9999
return connectOverCDPOptions;
100100
}
101101

@@ -111,11 +111,11 @@ public BrowserConfig connectOverCDP(String endpointUrl) {
111111
return this;
112112
}
113113

114-
String getWsEndpoint() {
114+
public String getWsEndpoint() {
115115
return wsEndpoint;
116116
}
117117

118-
BrowserType.ConnectOptions getConnectOptions() {
118+
public BrowserType.ConnectOptions getConnectOptions() {
119119
return connectOptions;
120120
}
121121

@@ -131,7 +131,7 @@ public BrowserConfig connect(String wsEndpoint) {
131131
return this;
132132
}
133133

134-
BrowserType.LaunchOptions getLaunchOptions() {
134+
public BrowserType.LaunchOptions getLaunchOptions() {
135135
return launchOptions;
136136
}
137137

@@ -146,11 +146,11 @@ public BrowserConfig launch() {
146146
return this;
147147
}
148148

149-
Path getUserDataDir() {
149+
public Path getUserDataDir() {
150150
return userDataDir;
151151
}
152152

153-
BrowserType.LaunchPersistentContextOptions getLaunchPersistentContextOptions() {
153+
public BrowserType.LaunchPersistentContextOptions getLaunchPersistentContextOptions() {
154154
return launchPersistentContextOptions;
155155
}
156156

src/main/java/io/github/uchagani/jp/RestConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
public class RestConfig {
66
private APIRequest.NewContextOptions apiRequestContextOptions;
77

8-
APIRequest.NewContextOptions getAPIRequestContextOptions() {
8+
public APIRequest.NewContextOptions getAPIRequestContextOptions() {
99
return apiRequestContextOptions;
1010
}
1111

0 commit comments

Comments
 (0)