From 117f3f12986bc36c93a180f185eb2b3804495ebb Mon Sep 17 00:00:00 2001 From: AlexKomanov <52656401+AlexKomanov@users.noreply.github.com> Date: Thu, 12 Oct 2023 09:30:40 +0300 Subject: [PATCH] docs: Fixing a release version of a method toHaveAttribute (#27559) There is a mistake in the release version of the `toHaveAttribute` method. It was released in the 1.39 version and not in the 1.40 like was mentioned in the documentation. --- docs/src/api/class-locatorassertions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/api/class-locatorassertions.md b/docs/src/api/class-locatorassertions.md index 43c99a4a5e..077e418eb5 100644 --- a/docs/src/api/class-locatorassertions.md +++ b/docs/src/api/class-locatorassertions.md @@ -1152,7 +1152,7 @@ Expected attribute value. * since: v1.18 ## async method: LocatorAssertions.toHaveAttribute#2 -* since: v1.40 +* since: v1.39 * langs: js Ensures the [Locator] points to an element with given attribute. The method will assert attribute @@ -1166,13 +1166,13 @@ await expect(locator).not.toHaveAttribute('open'); ``` ### param: LocatorAssertions.toHaveAttribute#2.name -* since: v1.40 +* since: v1.39 - `name` <[string]> Attribute name. ### option: LocatorAssertions.toHaveAttribute#2.timeout = %%-js-assertions-timeout-%% -* since: v1.40 +* since: v1.39 ## async method: LocatorAssertions.toHaveClass * since: v1.20