From b85eaeb7647d7d1a4997812bcb62a775a0dffc82 Mon Sep 17 00:00:00 2001 From: Playwright Service <89237858+playwrightmachine@users.noreply.github.com> Date: Mon, 5 Sep 2022 03:05:46 -0700 Subject: [PATCH] feat(roll): roll to ToT Playwright (05-09-22) (#758) Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- dotnet/docs/test-assertions.mdx | 4 ++-- java/docs/test-assertions.mdx | 4 ++-- nodejs/docs/test-assertions.mdx | 4 ++-- python/docs/test-assertions.mdx | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dotnet/docs/test-assertions.mdx b/dotnet/docs/test-assertions.mdx index 92a09e62d2666..69d87fe77ff5a 100644 --- a/dotnet/docs/test-assertions.mdx +++ b/dotnet/docs/test-assertions.mdx @@ -167,7 +167,7 @@ await Expect(locator).ToBeFocusedAsync(); - `Timeout`# - returns:# -Ensures the [Locator] points to a hidden DOM node, which is the opposite of [visible](./actionability.mdx#visible). +Ensures that [Locator] either does not resolve to any DOM node, or resolves to a [non-visible](./actionability.mdx#visible) one. ```csharp var locator = Page.Locator(".my-element"); @@ -182,7 +182,7 @@ await Expect(locator).ToBeHiddenAsync(); - `Timeout`# - returns:# -Ensures the [Locator] points to a [visible](./actionability.mdx#visible) DOM node. +Ensures that [Locator] points to an [attached](./actionability.mdx#visible) and [visible](./actionability.mdx#visible) DOM node. ```csharp var locator = Page.Locator(".my-element"); diff --git a/java/docs/test-assertions.mdx b/java/docs/test-assertions.mdx index 2c7d89a5d211d..9fc8bbfbf3087 100644 --- a/java/docs/test-assertions.mdx +++ b/java/docs/test-assertions.mdx @@ -159,7 +159,7 @@ assertThat(page.locator("input")).isFocused(); - `setTimeout`# - returns:# -Ensures the [Locator] points to a hidden DOM node, which is the opposite of [visible](./actionability.mdx#visible). +Ensures that [Locator] either does not resolve to any DOM node, or resolves to a [non-visible](./actionability.mdx#visible) one. ```java assertThat(page.locator(".my-element")).isHidden(); @@ -173,7 +173,7 @@ assertThat(page.locator(".my-element")).isHidden(); - `setTimeout`# - returns:# -Ensures the [Locator] points to a [visible](./actionability.mdx#visible) DOM node. +Ensures that [Locator] points to an [attached](./actionability.mdx#visible) and [visible](./actionability.mdx#visible) DOM node. ```java assertThat(page.locator(".my-element")).isVisible(); diff --git a/nodejs/docs/test-assertions.mdx b/nodejs/docs/test-assertions.mdx index ac46790233ebf..be64cb7dc11f2 100644 --- a/nodejs/docs/test-assertions.mdx +++ b/nodejs/docs/test-assertions.mdx @@ -265,7 +265,7 @@ await expect(locator).toBeFocused(); - `timeout?`# - returns:# -Ensures the [Locator] points to a hidden DOM node, which is the opposite of [visible](./actionability.mdx#visible). +Ensures that [Locator] either does not resolve to any DOM node, or resolves to a [non-visible](./actionability.mdx#visible) one. ```js const locator = page.locator('.my-element'); @@ -280,7 +280,7 @@ await expect(locator).toBeHidden(); - `timeout?`# - returns:# -Ensures the [Locator] points to a [visible](./actionability.mdx#visible) DOM node. +Ensures that [Locator] points to an [attached](./actionability.mdx#visible) and [visible](./actionability.mdx#visible) DOM node. ```js const locator = page.locator('.my-element'); diff --git a/python/docs/test-assertions.mdx b/python/docs/test-assertions.mdx index dc55b224cc306..9caa2fe56013c 100644 --- a/python/docs/test-assertions.mdx +++ b/python/docs/test-assertions.mdx @@ -511,7 +511,7 @@ await expect(locator).to_be_focused() - `timeout`# - returns:# -Ensures the [Locator] points to a hidden DOM node, which is the opposite of [visible](./actionability.mdx#visible). +Ensures that [Locator] either does not resolve to any DOM node, or resolves to a [non-visible](./actionability.mdx#visible) one.