nits
This commit is contained in:
parent
31f54d52b4
commit
865add57de
|
|
@ -53,11 +53,12 @@ using Microsoft.Playwright.MSTest;
|
||||||
namespace PlaywrightTests;
|
namespace PlaywrightTests;
|
||||||
|
|
||||||
[TestClass]
|
[TestClass]
|
||||||
public class ExampleTest : PageTest
|
public class ExampleTests : PageTest
|
||||||
{
|
{
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public async Task StatusBecomesSubmitted()
|
public async Task StatusBecomesSubmitted()
|
||||||
{
|
{
|
||||||
|
// ...
|
||||||
await Page.GetByRole(AriaRole.Button, new() { Name = "Sign In" }).ClickAsync();
|
await Page.GetByRole(AriaRole.Button, new() { Name = "Sign In" }).ClickAsync();
|
||||||
await Expect(Page.Locator(".status")).ToHaveTextAsync("Submitted");
|
await Expect(Page.Locator(".status")).ToHaveTextAsync("Submitted");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ using Microsoft.Playwright.MSTest;
|
||||||
namespace PlaywrightTests;
|
namespace PlaywrightTests;
|
||||||
|
|
||||||
[TestClass]
|
[TestClass]
|
||||||
public class ExampleTest : PageTest
|
public class ExampleTests : PageTest
|
||||||
{
|
{
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public async Task NavigatetoLoginPage()
|
public async Task NavigatetoLoginPage()
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ using Microsoft.Playwright.MSTest;
|
||||||
namespace PlaywrightTests;
|
namespace PlaywrightTests;
|
||||||
|
|
||||||
[TestClass]
|
[TestClass]
|
||||||
public class ExampleTest : PageTest
|
public class ExampleTests : PageTest
|
||||||
{
|
{
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public async Task StatusBecomesSubmitted()
|
public async Task StatusBecomesSubmitted()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue