docs(java): Remove hardcoded params from SoftAssertions alias (#26531)

This commit is contained in:
uchagani 2023-08-17 20:55:33 -04:00 committed by GitHub
parent 703f590146
commit e15db7993a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]>