Skip to content

Commit

Permalink
docs(java): Remove hardcoded params from SoftAssertions alias (#26531)
Browse files Browse the repository at this point in the history
  • Loading branch information
uchagani authored Aug 18, 2023
1 parent 703f590 commit e15db79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/api/class-softassertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand All @@ -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].
Expand All @@ -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]>

Expand Down

0 comments on commit e15db79

Please sign in to comment.