Skip to content

Added test fixture for Browser.NewContextOptions #1788

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

uchagani
Copy link
Contributor

@uchagani uchagani commented May 7, 2025

Resolves #1781


@Override
public boolean supportsParameter(ParameterContext parameterContext, ExtensionContext extensionContext) throws ParameterResolutionException {
return isParameterSupported(parameterContext, extensionContext, Browser.NewContextOptions.class);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should support this for Browser.NewPageOptions too as browser.newPage() is essentially a shortcut for newContext followed by newPage.

@yury-s
Copy link
Member

yury-s commented May 7, 2025

Looks like the new tests are failing.

@uchagani
Copy link
Contributor Author

uchagani commented May 7, 2025

yea i need to figure out what's going. they pass locally for me

@uchagani
Copy link
Contributor Author

uchagani commented May 7, 2025

@yury-s can we re-run? looks like they're mostly failing to connect to the test server

@yury-s
Copy link
Member

yury-s commented May 7, 2025

Restarted the jobs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: JUnit5: Page and BrowserContext fixture support in BeforeAll/AfterAll methods
2 participants