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