docs: remove line from test
This commit is contained in:
parent
4f3016a0a9
commit
b3f04fc898
|
|
@ -121,9 +121,6 @@ public class ExampleTest : PageTest
|
||||||
// Click the get started link.
|
// Click the get started link.
|
||||||
await Page.GetByRole(AriaRole.Link, new() { Name = "Get started" }).ClickAsync();
|
await Page.GetByRole(AriaRole.Link, new() { Name = "Get started" }).ClickAsync();
|
||||||
|
|
||||||
// Expects the URL to contain intro.
|
|
||||||
await Expect(Page).ToHaveURLAsync(new Regex(".*intro"));
|
|
||||||
|
|
||||||
// Expects page to have a heading with the name of Installation.
|
// Expects page to have a heading with the name of Installation.
|
||||||
await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Installation" })).ToBeVisibleAsync();
|
await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Installation" })).ToBeVisibleAsync();
|
||||||
}
|
}
|
||||||
|
|
@ -162,9 +159,6 @@ public class ExampleTest : PageTest
|
||||||
// Click the get started link.
|
// Click the get started link.
|
||||||
await Page.GetByRole(AriaRole.Link, new() { Name = "Get started" }).ClickAsync();
|
await Page.GetByRole(AriaRole.Link, new() { Name = "Get started" }).ClickAsync();
|
||||||
|
|
||||||
// Expects the URL to contain intro.
|
|
||||||
await Expect(Page).ToHaveURLAsync(new Regex(".*intro"));
|
|
||||||
|
|
||||||
// Expects page to have a heading with the name of Installation.
|
// Expects page to have a heading with the name of Installation.
|
||||||
await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Installation" })).ToBeVisibleAsync();
|
await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Installation" })).ToBeVisibleAsync();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -73,9 +73,6 @@ public class ExampleTest : PageTest
|
||||||
// Click the get started link.
|
// Click the get started link.
|
||||||
await Page.GetByRole(AriaRole.Link, new() { Name = "Get started" }).ClickAsync();
|
await Page.GetByRole(AriaRole.Link, new() { Name = "Get started" }).ClickAsync();
|
||||||
|
|
||||||
// Expects the URL to contain intro.
|
|
||||||
await Expect(Page).ToHaveURLAsync(new Regex(".*intro"));
|
|
||||||
|
|
||||||
// Expects page to have a heading with the name of Installation.
|
// Expects page to have a heading with the name of Installation.
|
||||||
await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Installation" })).ToBeVisibleAsync();
|
await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Installation" })).ToBeVisibleAsync();
|
||||||
}
|
}
|
||||||
|
|
@ -114,9 +111,6 @@ public class ExampleTest : PageTest
|
||||||
// Click the get started link.
|
// Click the get started link.
|
||||||
await Page.GetByRole(AriaRole.Link, new() { Name = "Get started" }).ClickAsync();
|
await Page.GetByRole(AriaRole.Link, new() { Name = "Get started" }).ClickAsync();
|
||||||
|
|
||||||
// Expects the URL to contain intro.
|
|
||||||
await Expect(Page).ToHaveURLAsync(new Regex(".*intro"));
|
|
||||||
|
|
||||||
// Expects page to have a heading with the name of Installation.
|
// Expects page to have a heading with the name of Installation.
|
||||||
await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Installation" })).ToBeVisibleAsync();
|
await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = "Installation" })).ToBeVisibleAsync();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue