Fix CredentialTest, replace wait text after breadcrumb change (#161)

This commit is contained in:
Leendert de Borst
2024-08-07 23:55:47 +02:00
parent fa1573ee13
commit 5faf93d6be

View File

@@ -113,7 +113,7 @@ public class CredentialTest : ClientPlaywrightTest
var submitButton = Page.Locator("text=Save Credentials").First;
await submitButton.ClickAsync();
await WaitForUrlAsync("credentials/**", "View credentials entry");
await WaitForUrlAsync("credentials/**", "Delete credentials entry");
pageContent = await Page.TextContentAsync("body");
Assert.That(pageContent, Does.Contain("Credentials updated"), "Credential update confirmation message not shown.");