Correzioni dopo la revisione: eccezione rara nella coda degli scaricamenti, attese più lunghe nelle prove d'interfaccia; decisioni e stato aggiornati
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
5 files changed
+62
-4
No files matched your search
@@ -202,7 +202,7 @@ internal sealed class UiBrowser : IAsyncDisposable
|
||||
/// Polls until a condition of the page holds (an expression, or a promise of one; errors while the page changes
|
||||
/// count as «not yet»).
|
||||
/// </summary>
|
||||
public async Task WaitAsync(string condition, string what, int milliseconds = 10_000)
|
||||
public async Task WaitAsync(string condition, string what, int milliseconds = 30_000)
|
||||
{
|
||||
var deadline = DateTime.UtcNow + TimeSpan.FromMilliseconds(milliseconds);
|
||||
string? last = null;
|
||||
@@ -227,7 +227,7 @@ internal sealed class UiBrowser : IAsyncDisposable
|
||||
}
|
||||
|
||||
/// <summary>Polls a condition of the test (the server side) while the page works.</summary>
|
||||
public async Task WaitForAsync(Func<bool> condition, string what, int milliseconds = 10_000)
|
||||
public async Task WaitForAsync(Func<bool> condition, string what, int milliseconds = 30_000)
|
||||
{
|
||||
var deadline = DateTime.UtcNow + TimeSpan.FromMilliseconds(milliseconds);
|
||||
while (DateTime.UtcNow < deadline)
|
||||
|
||||
Reference in new issue
Block a user