docs(api): add assertThat aliases for java (#9761)

This commit is contained in:
Yury Semikhatsky 2021-10-25 12:03:24 -07:00 committed by GitHub
parent 2d4db7a6f0
commit ada7f4be23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ By default, the timeout for assertions is set to 5 seconds.
## method: PlaywrightAssertions.assertThatLocator ## method: PlaywrightAssertions.assertThatLocator
* langs: java * langs: java
- alias-java: assertThat
- returns: <[LocatorAssertions]> - returns: <[LocatorAssertions]>
Creates a [LocatorAssertions] object for the given [Locator]. Creates a [LocatorAssertions] object for the given [Locator].
@ -32,6 +33,7 @@ PlaywrightAssertions.assertThat(locator).isVisible();
## method: PlaywrightAssertions.assertThatPage ## method: PlaywrightAssertions.assertThatPage
* langs: java * langs: java
- alias-java: assertThat
- returns: <[PageAssertions]> - returns: <[PageAssertions]>
Creates a [PageAssertions] object for the given [Page]. Creates a [PageAssertions] object for the given [Page].