1
0
mirror of synced 2026-08-05 15:06:54 +00:00

fix: remove remaining JUnit Option getter (#1493)

This commit is contained in:
Jean-François Greffier
2024-02-15 02:20:30 +01:00
committed by GitHub
parent bd97c96707
commit 99ab89917f
2 changed files with 1 additions and 5 deletions
@@ -18,10 +18,6 @@ public class Options {
public APIRequest.NewContextOptions apiRequestOptions;
public Playwright.CreateOptions playwrightCreateOptions;
public Playwright.CreateOptions getPlaywrightCreateOptions() {
return playwrightCreateOptions;
}
public Options setPlaywrightCreateOptions(Playwright.CreateOptions playwrightCreateOptions) {
this.playwrightCreateOptions = playwrightCreateOptions;
return this;
@@ -37,7 +37,7 @@ public class PlaywrightExtension implements ParameterResolver, AfterAllCallback
}
Options options = OptionsExtension.getOptions(extensionContext);
playwright = Playwright.create(options.getPlaywrightCreateOptions());
playwright = Playwright.create(options.playwrightCreateOptions);
threadLocalPlaywright.set(playwright);
setTestIdAttribute(playwright, options);
return playwright;