Vibe Google Analytics
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using Microsoft.Playwright;
|
||||
using Microsoft.Playwright.NUnit;
|
||||
|
||||
@@ -13,8 +14,8 @@ public class PlaywrightTests : PageTest
|
||||
public async Task HomePage_ShouldLoad()
|
||||
{
|
||||
await Page.GotoAsync(BaseUrl);
|
||||
await Expect(Page).ToHaveTitleAsync(new System.Text.RegularExpressions.Regex("Chrono CCG"));
|
||||
|
||||
await Expect(Page).ToHaveTitleAsync(new Regex("Chrono CCG"));
|
||||
|
||||
// Check for some content that should be on the home page
|
||||
var heading = Page.Locator("h1");
|
||||
await Expect(heading).ToBeVisibleAsync();
|
||||
|
||||
Reference in New Issue
Block a user