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
|
## method: SoftAssertions.expectLocator
|
||||||
* since: v1.38
|
* since: v1.38
|
||||||
* langs:
|
* langs:
|
||||||
- alias-java: assertThat(locator)
|
- alias-java: assertThat
|
||||||
- returns: <[LocatorAssertions]>
|
- returns: <[LocatorAssertions]>
|
||||||
|
|
||||||
Creates a [LocatorAssertions] object for the given [Locator].
|
Creates a [LocatorAssertions] object for the given [Locator].
|
||||||
|
|
@ -58,7 +58,7 @@ softly.assertThat(locator).isVisible();
|
||||||
## method: SoftAssertions.expectPage
|
## method: SoftAssertions.expectPage
|
||||||
* since: v1.38
|
* since: v1.38
|
||||||
* langs:
|
* langs:
|
||||||
- alias-java: assertThat(page)
|
- alias-java: assertThat
|
||||||
- returns: <[PageAssertions]>
|
- returns: <[PageAssertions]>
|
||||||
|
|
||||||
Creates a [PageAssertions] object for the given [Page].
|
Creates a [PageAssertions] object for the given [Page].
|
||||||
|
|
@ -80,7 +80,7 @@ softly.assertThat(page).hasTitle("News");
|
||||||
## method: SoftAssertions.expectAPIResponse
|
## method: SoftAssertions.expectAPIResponse
|
||||||
* since: v1.38
|
* since: v1.38
|
||||||
* langs:
|
* langs:
|
||||||
- alias-java: assertThat(response)
|
- alias-java: assertThat
|
||||||
|
|
||||||
- returns: <[APIResponseAssertions]>
|
- returns: <[APIResponseAssertions]>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue