Skip to content

Commit f070e6a

Browse files
authored
Merge pull request #26 from SephVin/update-pw
Update pw
2 parents 5d8d697 + 78bf908 commit f070e6a

27 files changed

+124
-84
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public class RootByTextAttribute : Attribute, IRootLocatorAttribute
147147
# Минимальные требования
148148

149149
+ netstandard2.0 / NET6
150-
+ Playwright 1.51.0
150+
+ Playwright 1.52.0
151151
+ @skbkontur/react-ui 4.25.2 (рекомендуется использовать последние версии)
152152

153153
# Запуск Storybook

readme/README-Controls.Extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,5 @@ public class RootByTextAttribute : Attribute, IRootLocatorAttribute
9393
# Минимальные требования
9494

9595
+ netstandard2.0 / NET6
96-
+ Playwright 1.51.0
96+
+ Playwright 1.52.0
9797
+ @skbkontur/react-ui 4.25.2 (рекомендуется использовать последние версии)

readme/README-Controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ public new HeaderAssertions ExpectV2() => new(this);
5656
# Минимальные требования
5757

5858
+ netstandard2.0 / NET6
59-
+ Playwright 1.51.0
59+
+ Playwright 1.52.0
6060
+ @skbkontur/react-ui 4.25.2 (рекомендуется использовать последние версии)

src/Controls.Extensions/DropdownMenuExtensions.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,4 @@ public static async Task WaitToContainItemsAsync(
7070
int timeoutInMilliseconds = 10000
7171
) => await dropdownMenu.ExpectV2().ToContainItemsAsync(expectedItemsText, timeoutInMilliseconds)
7272
.ConfigureAwait(false);
73-
74-
public static async Task WaitToBeFocusedAsync(
75-
this DropdownMenu dropdownMenu,
76-
LocatorAssertionsToBeFocusedOptions? options = default
77-
) => await dropdownMenu.ExpectV2().ToBeFocusedAsync(options).ConfigureAwait(false);
78-
79-
public static async Task WaitNotToBeFocusedAsync(
80-
this DropdownMenu dropdownMenu,
81-
LocatorAssertionsToBeFocusedOptions? options = default
82-
) => await dropdownMenu.ExpectV2().NotToBeFocusedAsync(options).ConfigureAwait(false);
8373
}

src/Controls/Assertions/ButtonAssertions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ public async Task ToBeInViewportAsync(LocatorAssertionsToBeInViewportOptions? op
4848
public async Task ToBeVisibleAsync(LocatorAssertionsToBeVisibleOptions? options = default)
4949
=> await buttonLocator.ToBeVisibleAsync(options).ConfigureAwait(false);
5050

51+
public Task ToContainClassAsync(string expected, LocatorAssertionsToContainClassOptions? options = null)
52+
=> throw new System.NotImplementedException();
53+
54+
public Task ToContainClassAsync(IEnumerable<string> expected, LocatorAssertionsToContainClassOptions? options = null)
55+
=> throw new System.NotImplementedException();
56+
5157
public async Task ToContainTextAsync(string expected, LocatorAssertionsToContainTextOptions? options = default)
5258
=> await buttonLocator.ToContainTextAsync(expected, options).ConfigureAwait(false);
5359

src/Controls/Assertions/CheckboxAssertions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ public async Task ToBeInViewportAsync(LocatorAssertionsToBeInViewportOptions? op
4646
public async Task ToBeVisibleAsync(LocatorAssertionsToBeVisibleOptions? options = default)
4747
=> await rootLocatorAssertions.ToBeVisibleAsync(options).ConfigureAwait(false);
4848

49+
public Task ToContainClassAsync(string expected, LocatorAssertionsToContainClassOptions? options = null)
50+
=> throw new System.NotImplementedException();
51+
52+
public Task ToContainClassAsync(IEnumerable<string> expected, LocatorAssertionsToContainClassOptions? options = null)
53+
=> throw new System.NotImplementedException();
54+
4955
public async Task ToContainTextAsync(string expected, LocatorAssertionsToContainTextOptions? options = default)
5056
=> await rootLocatorAssertions.ToContainTextAsync(expected, options).ConfigureAwait(false);
5157

src/Controls/Assertions/ComboboxAssertions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ public async Task ToBeInViewportAsync(LocatorAssertionsToBeInViewportOptions? op
6363
public async Task ToBeVisibleAsync(LocatorAssertionsToBeVisibleOptions? options = default)
6464
=> await rootLocatorAssertions.ToBeVisibleAsync(options).ConfigureAwait(false);
6565

66+
public Task ToContainClassAsync(string expected, LocatorAssertionsToContainClassOptions? options = null)
67+
=> throw new System.NotImplementedException();
68+
69+
public Task ToContainClassAsync(IEnumerable<string> expected, LocatorAssertionsToContainClassOptions? options = null)
70+
=> throw new System.NotImplementedException();
71+
6672
public async Task ToContainTextAsync(string expected, LocatorAssertionsToContainTextOptions? options = default)
6773
=> await rootLocatorAssertions.ToContainTextAsync(expected, options).ConfigureAwait(false);
6874

src/Controls/Assertions/ControlListAssertions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ public async Task ToBeInViewportAsync(LocatorAssertionsToBeInViewportOptions? op
5151
public async Task ToBeVisibleAsync(LocatorAssertionsToBeVisibleOptions? options = default)
5252
=> await firstItemLocatorAssertions.ToBeVisibleAsync(options).ConfigureAwait(false);
5353

54+
public Task ToContainClassAsync(string expected, LocatorAssertionsToContainClassOptions? options = null)
55+
=> throw new System.NotImplementedException();
56+
57+
public Task ToContainClassAsync(IEnumerable<string> expected, LocatorAssertionsToContainClassOptions? options = null)
58+
=> throw new System.NotImplementedException();
59+
5460
public async Task ToContainTextAsync(string expected, LocatorAssertionsToContainTextOptions? options = default)
5561
=> await rootLocatorAssertions.ToContainTextAsync(expected, options).ConfigureAwait(false);
5662

src/Controls/Assertions/DateInputAssertions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ public async Task ToBeInViewportAsync(LocatorAssertionsToBeInViewportOptions? op
4848
public async Task ToBeVisibleAsync(LocatorAssertionsToBeVisibleOptions? options = default)
4949
=> await rootLocatorAssertions.ToBeVisibleAsync(options).ConfigureAwait(false);
5050

51+
public Task ToContainClassAsync(string expected, LocatorAssertionsToContainClassOptions? options = null)
52+
=> throw new System.NotImplementedException();
53+
54+
public Task ToContainClassAsync(IEnumerable<string> expected, LocatorAssertionsToContainClassOptions? options = null)
55+
=> throw new System.NotImplementedException();
56+
5157
public async Task ToContainTextAsync(string expected, LocatorAssertionsToContainTextOptions? options = default)
5258
=> await rootLocatorAssertions.ToContainTextAsync(expected, options).ConfigureAwait(false);
5359

src/Controls/Assertions/DatePickerAssertions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ public async Task ToBeInViewportAsync(LocatorAssertionsToBeInViewportOptions? op
5151
public async Task ToBeVisibleAsync(LocatorAssertionsToBeVisibleOptions? options = default)
5252
=> await rootLocatorAssertions.ToBeVisibleAsync(options).ConfigureAwait(false);
5353

54+
public Task ToContainClassAsync(string expected, LocatorAssertionsToContainClassOptions? options = null)
55+
=> throw new System.NotImplementedException();
56+
57+
public Task ToContainClassAsync(IEnumerable<string> expected, LocatorAssertionsToContainClassOptions? options = null)
58+
=> throw new System.NotImplementedException();
59+
5460
public async Task ToContainTextAsync(string expected, LocatorAssertionsToContainTextOptions? options = default)
5561
=> await rootLocatorAssertions.ToContainTextAsync(expected, options).ConfigureAwait(false);
5662

0 commit comments

Comments
 (0)