-
-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathTests.Playwright_Library_Has_No_API_Changes.DotNet10_0.verified.txt
More file actions
86 lines (86 loc) · 3.04 KB
/
Tests.Playwright_Library_Has_No_API_Changes.DotNet10_0.verified.txt
File metadata and controls
86 lines (86 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[assembly: .(".NETCoreApp,Version=v10.0", FrameworkDisplayName=".NET 10.0")]
namespace
{
public class BrowserTest : .PlaywrightTest
{
public BrowserTest() { }
public BrowserTest(.BrowserTypeLaunchOptions options) { }
public .IBrowser Browser { get; }
[.Before(., "", 0)]
public . BrowserSetup() { }
[.After(., "", 0)]
public . BrowserTearDown(.TestContext testContext) { }
public .<.IBrowserContext> NewContext(.BrowserNewContextOptions options) { }
}
public class ContextTest : .BrowserTest
{
public ContextTest() { }
public .IBrowserContext Context { get; }
public virtual .BrowserNewContextOptions ContextOptions(.TestContext testContext) { }
[.Before(., "", 0)]
public . ContextSetup(.TestContext testContext) { }
}
public sealed class DefaultPlaywrightParallelLimiter : .
{
public DefaultPlaywrightParallelLimiter() { }
public int Limit { get; }
}
public interface IWorkerService
{
. DisposeAsync();
. ResetAsync();
}
public class PageTest : .ContextTest
{
public PageTest() { }
public .IPage Page { get; }
[.Before(., "", 0)]
public . PageSetup() { }
}
public class PlaywrightSkipAttribute : .SkipAttribute
{
public PlaywrightSkipAttribute(params .[] combinations) { }
public .TestContext? TestContext { get; set; }
public override .<bool> ShouldSkip(.TestRegisteredContext context) { }
[]
public enum Targets : short
{
Windows = 1,
Linux = 2,
OSX = 4,
Chromium = 8,
Firefox = 16,
Webkit = 32,
}
}
public class PlaywrightTest : .WorkerAwareTest
{
public PlaywrightTest() { }
public virtual string BrowserName { get; }
public .IBrowserType BrowserType { get; }
public static .IPlaywright Playwright { get; }
public .IAPIResponseAssertions Expect(.IAPIResponse response) { }
public .ILocatorAssertions Expect(.ILocator locator) { }
public .IPageAssertions Expect(.IPage page) { }
[.After(., "", 0)]
public static void PlaywrightCleanup() { }
[.Before(., "", 0)]
public static . PlaywrightSetup() { }
public static void SetDefaultExpectTimeout(float timeout) { }
}
public class WorkerAwareTest : ., .
{
public WorkerAwareTest() { }
public virtual bool UseDefaultParallelLimiter { get; }
public int WorkerIndex { get; }
[.("Type comes from runtime objects that cannot be annotated")]
public . OnTestRegistered(.TestRegisteredContext context) { }
public .<T> RegisterService<T>(string name, <.<T>> factory)
where T : class, .IWorkerService { }
protected bool TestOk(.TestContext testContext) { }
[.Before(., "", 0)]
public void WorkerSetup() { }
[.After(., "", 0)]
public . WorkerTeardown(.TestContext testContext) { }
}
}