Skip to content

feat: configure JUnit context default timeout - #1998

Open
Karthik H (thekarthikh) wants to merge 1 commit into
microsoft:mainfrom
thekarthikh:codex/hacktoberfest-junit-timeout
Open

Karthik H (thekarthikh) wants to merge 1 commit into
microsoft:mainfrom
thekarthikh:codex/hacktoberfest-junit-timeout

Conversation

@thekarthikh

Copy link
Copy Markdown

Fixes #1809.

Add Options.setDefaultTimeout(Double) for the JUnit extension and apply it to each BrowserContext created for a test. This lets users configure a central default timeout without calling setDefaultTimeout on every injected context or page.

Validation: mvn -pl playwright -am -DskipTests compile --no-transfer-progress
Validation: mvn -pl playwright -am -DskipTests test-compile --no-transfer-progress

This branch has not been deployed

No deployments
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]: Java / JUnit - add possibility to configure default timeout

1 participant