This commit is contained in:
2026-07-18 15:21:20 -04:00
parent 6062d5b60c
commit 74f065e0f5
51 changed files with 634 additions and 285 deletions
+11 -6
View File
@@ -21,14 +21,18 @@ public class SyndicatesPage : BasePage
public async Task WaitForInteractiveAsync()
{
await Page.WaitForLoadStateAsync(LoadState.DOMContentLoaded);
try {
try
{
await Page.WaitForSelectorAsync(".pairing-card", new PageWaitForSelectorOptions { Timeout = 15_000 });
} catch (System.Exception) {
}
catch (Exception)
{
var content = await Page.ContentAsync();
var title = await Page.TitleAsync();
var url = Page.Url;
System.Console.WriteLine($"[DEBUG_LOG] FAILED to find .pairing-card. URL: {url}, Title: {title}");
System.Console.WriteLine("[DEBUG_LOG] Page Content snippet: " + (content.Length > 2000 ? content.Substring(0, 2000) : content));
Console.WriteLine($"[DEBUG_LOG] FAILED to find .pairing-card. URL: {url}, Title: {title}");
Console.WriteLine("[DEBUG_LOG] Page Content snippet: " +
(content.Length > 2000 ? content.Substring(0, 2000) : content));
throw;
}
}
@@ -41,6 +45,7 @@ public class SyndicatesPage : BasePage
public async Task CloseDialogAsync()
{
await DialogCloseButton.ClickAsync();
await Page.WaitForSelectorAsync(".card-detail", new PageWaitForSelectorOptions { State = WaitForSelectorState.Hidden });
await Page.WaitForSelectorAsync(".card-detail",
new PageWaitForSelectorOptions { State = WaitForSelectorState.Hidden });
}
}
}