9 references to TagLineState
Aspire.Dashboard.Playwright.Tests (9)
Integration\Playwright\TracesLayoutTests.cs (9)
110
var
wide = await WaitForTagLineAsync(tagLine, state => state.Count is not null);
115
var
narrow = await WaitForTagLineAsync(tagLine, state => state.Width < wide.Width - 1 && state.Count is not null && state.Hidden.Count(h => h) > wide.Hidden.Count(h => h));
134
var
initial = await WaitForTagLineAsync(tagLine, state => state.Tags.Length == 1);
141
var
grown = await WaitForTagLineAsync(tagLine, state => state.Tags.Length == resourceNames.Count && state.Count is not null);
176
private static void AssertOverflowingTagLine(
TagLineState
state, IEnumerable<string> resourceNames)
188
private static async Task<
TagLineState
> WaitForTagLineAsync(ILocator tagLine, Func<
TagLineState
, bool> isReady)
190
TagLineState
? state = null;
193
state = await tagLine.EvaluateAsync<
TagLineState
>("""