mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(java): Remove hardcoded params from SoftAssertions alias (#26531)
This commit is contained in:
parent
703f590146
commit
e15db7993a
@ -36,7 +36,7 @@ SoftAssertions softly = SoftAssertions.create();
|
||||
## method: SoftAssertions.expectLocator
|
||||
* since: v1.38
|
||||
* langs:
|
||||
- alias-java: assertThat(locator)
|
||||
- alias-java: assertThat
|
||||
- returns: <[LocatorAssertions]>
|
||||
|
||||
Creates a [LocatorAssertions] object for the given [Locator].
|
||||
@ -58,7 +58,7 @@ softly.assertThat(locator).isVisible();
|
||||
## method: SoftAssertions.expectPage
|
||||
* since: v1.38
|
||||
* langs:
|
||||
- alias-java: assertThat(page)
|
||||
- alias-java: assertThat
|
||||
- returns: <[PageAssertions]>
|
||||
|
||||
Creates a [PageAssertions] object for the given [Page].
|
||||
@ -80,7 +80,7 @@ softly.assertThat(page).hasTitle("News");
|
||||
## method: SoftAssertions.expectAPIResponse
|
||||
* since: v1.38
|
||||
* langs:
|
||||
- alias-java: assertThat(response)
|
||||
- alias-java: assertThat
|
||||
|
||||
- returns: <[APIResponseAssertions]>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user