mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-18 13:28:12 -04:00
Update BrowserExtensionPlaywrightTest.cs (#1404)
This commit is contained in:
@@ -75,7 +75,7 @@ public class BrowserExtensionPlaywrightTest : ClientPlaywrightTest
|
||||
try
|
||||
{
|
||||
// Try to find an element that's only visible when logged in
|
||||
await extensionPopup.WaitForSelectorAsync("text=Credentials", new() { Timeout = 500 });
|
||||
await extensionPopup.WaitForSelectorAsync("text=Vault", new() { Timeout = 500 });
|
||||
|
||||
// If we get here, we're already logged in
|
||||
return extensionPopup;
|
||||
@@ -108,7 +108,7 @@ public class BrowserExtensionPlaywrightTest : ClientPlaywrightTest
|
||||
// Wait for login to complete by waiting for expected text.
|
||||
if (waitForLogin)
|
||||
{
|
||||
await extensionPopup.WaitForSelectorAsync("text=Credentials");
|
||||
await extensionPopup.WaitForSelectorAsync("text=Vault");
|
||||
}
|
||||
|
||||
return extensionPopup;
|
||||
|
||||
Reference in New Issue
Block a user