Playwright.ReactUI.Controls
1.0.0
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package Playwright.ReactUI.Controls --version 1.0.0
NuGet\Install-Package Playwright.ReactUI.Controls -Version 1.0.0
<PackageReference Include="Playwright.ReactUI.Controls" Version="1.0.0" />
paket add Playwright.ReactUI.Controls --version 1.0.0
#r "nuget: Playwright.ReactUI.Controls, 1.0.0"
// Install Playwright.ReactUI.Controls as a Cake Addin #addin nuget:?package=Playwright.ReactUI.Controls&version=1.0.0 // Install Playwright.ReactUI.Controls as a Cake Tool #tool nuget:?package=Playwright.ReactUI.Controls&version=1.0.0
Playwright.ReactUI.Controls
Библиотека предназначена для взаимодействия с компонентами @skbkontur/react-ui при тестировании с помощью Playwright.NET
Как использовать
В качестве примера взят компонент Input:
<Input data-tid="InputId" />
Инициализация
var input = new Input(page.GetByTestId("InputId"));
Взаимодействие
await input.FillAsync("newValue").ConfigureAwait(false);
Проверка
await input.Expect().ToHaveValueAsync("newValue").ConfigureAwait(false);
Создание своего компонента
public class Header : ControlBase
{
public Header(ILocator context)
: base(context)
{
Input = new Input(context.GetByTestId("InputId"));
}
public Input Input { get; }
}
Минимальные требования
- netstandard2.1 / NET6
- Playwright 1.41.2
- @skbkontur/react-ui 4.15.0 (рекомендуется использовать последние версии)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Playwright (>= 1.41.2)
- System.Linq.Async (>= 6.0.1)
-
net6.0
- Microsoft.Playwright (>= 1.41.2)
- System.Linq.Async (>= 6.0.1)
-
net7.0
- Microsoft.Playwright (>= 1.41.2)
- System.Linq.Async (>= 6.0.1)
-
net8.0
- Microsoft.Playwright (>= 1.41.2)
- System.Linq.Async (>= 6.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Playwright.ReactUI.Controls:
Package | Downloads |
---|---|
Playwright.ReactUI.Controls.Extensions
Extensions for Playwright.ReactUI.Controls |
GitHub repositories
This package is not used by any popular GitHub repositories.