Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Sep 24, 2024
1 parent 05917a6 commit 322ac69
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.Playwright.MSTest;
using System.Text.RegularExpressions;
using Microsoft.Playwright.MSTest;

namespace Boilerplate.Tests;

Expand All @@ -17,6 +18,6 @@ await server.Build(services =>

await Page.GotoAsync(new Uri(server.GetServerAddress(), Urls.ProfilePage).ToString());

await Expect(Page).ToHaveTitleAsync(AppStrings.SignIn);
await Expect(Page).ToHaveURLAsync(new Regex(@".*sign-in\?return-url=profile"));
}
}

0 comments on commit 322ac69

Please sign in to comment.