diff --git a/ZB.MOM.WW.Secrets/Directory.Packages.props b/ZB.MOM.WW.Secrets/Directory.Packages.props index 5ab76d6..17eb20a 100644 --- a/ZB.MOM.WW.Secrets/Directory.Packages.props +++ b/ZB.MOM.WW.Secrets/Directory.Packages.props @@ -72,7 +72,7 @@ - + diff --git a/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/Components/RevealButton.razor b/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/Components/RevealButton.razor index 0a26908..cc8397a 100644 --- a/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/Components/RevealButton.razor +++ b/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/Components/RevealButton.razor @@ -1,46 +1,66 @@ @namespace ZB.MOM.WW.Secrets.Ui.Components @implements IDisposable +@using Microsoft.JSInterop +@using Microsoft.Extensions.Logging @inject ISecretStore Store @inject ISecretCipher Cipher @inject IAuditWriter Audit @inject IServiceProvider Services -@using Microsoft.Extensions.Logging -@* Components/RevealButton.razor — a policy-gated, audited reveal. The plaintext is loaded and - shown only AFTER the click, straight from the store+cipher (a human reveal shows the CURRENT - value, distinct from any cached machine resolve). The value never enters an audit field. *@ +@inject IJSRuntime JS +@* Values are read only on an authorized request and disclosed only after successful audit. + The stable control/status never contains plaintext; target changes cancel obsolete work. *@ -@if (!_revealed) -{ - -} -else -{ -
- @if (_value is not null) - { - @_value - } - else - { - @(_error ?? "Unavailable.") - } - -
-} +@{ long renderedGeneration = _generation; bool renderedHide = _revealed; } +
+ + @(_revealed ? "Hide" : "Reveal") + +

@_status

+ @if (_revealed) + { +
+ @if (_value is not null) + { +
+ @_value +
+

Visible until Hide or leaving this row or page.

+ } + else + { + @(_error ?? "Unavailable.") + } +
+ } +
@code { private readonly CancellationTokenSource _cts = new(); + private CancellationTokenSource? _operationCts; + private readonly string _id = $"secret-reveal-{Guid.NewGuid():N}"; + private string ControlId => $"{_id}-control"; + private string StatusId => $"{_id}-status"; + private string ErrorId => $"{_id}-error"; + private string ControlDescriptionIds => _revealed && !string.IsNullOrEmpty(_error) ? $"{StatusId} {ErrorId}" : StatusId; + private string PanelId => $"{_id}-panel"; + private ElementReference _root; + private SecretName? _identity; + private long _generation; + private bool _disposed; private bool _revealed; private string? _value; private string? _error; + private string _status = ""; private bool _busy; + private bool _focusControl; /// The secret whose plaintext this button reveals. [Parameter] public SecretName Name { get; set; } @@ -48,110 +68,157 @@ else /// The cascading authentication state, used as the fallback source of the audit actor. [CascadingParameter] private Task? AuthState { get; set; } - // Fail CLOSED on audit (Secrets-015): the plaintext is shown only after its secret.reveal - // Success audit has been written. Reveal is the most privileged operation here and the audit is - // the only record that a human saw the value; if the sink is down (or made to fail), nothing is - // shown and the failure is logged (actor + name, never the value). Unlike add/rotate/delete - // (scadaproj#34), nothing has happened yet that a failed audit would misreport — withholding the - // value costs only a retry. + private bool IsCurrent(long generation) => !_disposed && generation == _generation; + + /// + protected override void OnParametersSet() + { + if (_disposed || _identity == Name) return; + _identity = Name; + ++_generation; + _operationCts?.Cancel(); + _operationCts?.Dispose(); + _operationCts = null; + _value = null; + _error = null; + _status = ""; + _busy = false; + _revealed = false; + _focusControl = false; + } + + /// + protected override async Task OnAfterRenderAsync(bool firstRender) + { + if (!_focusControl || _busy || _disposed) return; + _focusControl = false; + long generation = _generation; + try + { + // Only a DOM control reference crosses interop, never a value or status payload. + await using IJSObjectReference module = await JS.InvokeAsync("import", "./_content/ZB.MOM.WW.Secrets.Ui/js/secrets-reveal.js"); + if (IsCurrent(generation)) await module.InvokeVoidAsync("focusIfUnclaimed", _root); + } + catch (JSDisconnectedException) { } // The browser no longer has a focus destination. + } + + private Task ActivateAsync(long generation, bool hide) + { + // A delayed click from a previous target/mode cannot become a reveal of a new target. + if (!IsCurrent(generation) || _busy) return Task.CompletedTask; + if (hide) { Hide(); return Task.CompletedTask; } + return RevealAsync(); + } + private async Task RevealAsync() { - if (!await SecretsComponentAuthorization.IsAuthorizedAsync(Services, AuthState, SecretsAuthorization.RevealPolicy)) - { - _value = null; - _error = "You are not authorized to reveal secrets."; - _revealed = true; - return; - } - + if (_disposed || _busy) return; + long generation = _generation; + SecretName name = Name; + Task? authState = AuthState; + ILogger? logger = Services.GetService>(); + var readCts = CancellationTokenSource.CreateLinkedTokenSource(_cts.Token); + _operationCts = readCts; + CancellationToken ct = readCts.Token; _busy = true; - // Captured now: if the component is disposed mid-reveal, reading _cts.Token later would throw - // ObjectDisposedException; a captured token just reports cancellation, which fails closed. - CancellationToken ct = _cts.Token; + _value = null; + _error = null; + _status = "Revealing value…"; string? plaintext = null; - AuditOutcome outcome; - string? error; try { - StoredSecret? row = await Store.GetAsync(Name, ct); - if (row is null) + if (!await SecretsComponentAuthorization.IsAuthorizedAsync(Services, authState, SecretsAuthorization.RevealPolicy)) { - error = "Secret not found."; - outcome = AuditOutcome.Failure; + if (IsCurrent(generation)) SetOutcome(null, "You are not authorized to reveal secrets."); + return; } - else + if (!IsCurrent(generation) || ct.IsCancellationRequested) return; + // Resolve optional host actor services before waiting on the store, avoiding late + // resolution through a circuit scope disposed while a non-cooperative read finishes. + string actor = await SecretActorResolver.ResolveAsync(Services, authState); + if (!IsCurrent(generation) || ct.IsCancellationRequested) return; + AuditOutcome outcome; + string? error; + try { - plaintext = Cipher.Decrypt(row); - error = null; - outcome = AuditOutcome.Success; + StoredSecret? row = await Store.GetAsync(name, ct); + if (!IsCurrent(generation) || ct.IsCancellationRequested) return; + if (row is null) { error = "Secret not found."; outcome = AuditOutcome.Failure; } + else { plaintext = Cipher.Decrypt(row); error = null; outcome = AuditOutcome.Success; } } - } - catch (SecretDecryptionException) - { - error = "Unable to decrypt secret."; - outcome = AuditOutcome.Failure; - } - catch (Exception) - { - // Any other unexpected store/cipher fault (e.g. master key unavailable, timeout) must - // still be audited as a Failure and surfaced to the user, not left to tear down the - // circuit. The value is never shown. - error = "Unable to reveal secret."; - outcome = AuditOutcome.Failure; - } + catch (OperationCanceledException) when (ct.IsCancellationRequested) { return; } + catch (SecretDecryptionException) { error = "Unable to decrypt secret."; outcome = AuditOutcome.Failure; } + catch (Exception) { error = "Unable to reveal secret."; outcome = AuditOutcome.Failure; } - string actor = await SecretActorResolver.ResolveAsync(Services, AuthState); - bool audited; - try - { - await Audit.WriteAsync( - new AuditEvent + bool audited; + try + { + await Audit.WriteAsync(new AuditEvent { - EventId = Guid.NewGuid(), - OccurredAtUtc = DateTimeOffset.UtcNow, - Actor = actor, - Action = "secret.reveal", - Outcome = outcome, - Category = "Secrets", - Target = Name.Value, + EventId = Guid.NewGuid(), OccurredAtUtc = DateTimeOffset.UtcNow, + Actor = actor, Action = "secret.reveal", Outcome = outcome, + Category = "Secrets", Target = name.Value, DetailsJson = outcome == AuditOutcome.Failure ? "{\"reason\":\"error\"}" : null, - }, - ct); - audited = true; + }, ct); + audited = true; + } + catch (Exception ex) + { + audited = false; + logger?.LogWarning(ex, + "The secret.reveal audit of {SecretName} by {Actor} could not be written; {Disposition}.", + name.Value, actor, outcome == AuditOutcome.Success ? "the value was NOT shown" : "the reveal had already failed"); + } + if (!IsCurrent(generation) || ct.IsCancellationRequested) return; + if (outcome == AuditOutcome.Success && !audited) + { + plaintext = null; + error = "Reveal is unavailable: the audit record could not be written."; + } + // Fail CLOSED: only now may plaintext enter rendered component state. + SetOutcome(plaintext, error); } - catch (Exception ex) - { - audited = false; - Services.GetService>()?.LogWarning( - ex, - "The secret.reveal audit of {SecretName} by {Actor} could not be written; {Disposition}.", - Name.Value, - actor, - outcome == AuditOutcome.Success ? "the value was NOT shown" : "the reveal had already failed"); - } - - if (outcome == AuditOutcome.Success && !audited) + finally { plaintext = null; - error = "Reveal is unavailable: the audit record could not be written."; + if (IsCurrent(generation)) { _busy = false; _focusControl = true; } + if (ReferenceEquals(_operationCts, readCts)) _operationCts = null; + readCts.Dispose(); } + } - _value = plaintext; + private void SetOutcome(string? value, string? error) + { + _value = value; _error = error; - _busy = false; _revealed = true; + _status = value is not null ? "Value revealed." : "Reveal failed."; } private void Hide() { + bool hadValue = _value is not null; + ++_generation; + _operationCts?.Cancel(); + _operationCts?.Dispose(); + _operationCts = null; _revealed = false; _value = null; _error = null; + _status = hadValue ? "Value hidden." : "Reveal dismissed."; + _focusControl = true; } /// public void Dispose() { + if (_disposed) return; + _disposed = true; + ++_generation; + _operationCts?.Cancel(); + _operationCts?.Dispose(); + _operationCts = null; + _value = null; _cts.Cancel(); _cts.Dispose(); } diff --git a/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/Components/SecretsList.razor b/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/Components/SecretsList.razor index 2c7532a..419e03b 100644 --- a/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/Components/SecretsList.razor +++ b/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/Components/SecretsList.razor @@ -5,6 +5,23 @@ ciphertext. Add/rotate use the in-page SecretEditor; delete uses the in-page ConfirmDeleteModal; reveal is the policy-gated, audited RevealButton. The list reloads after any mutation. *@ + +
@@ -42,56 +59,68 @@ } @if (_secrets is not null) { -
- - - - - - - - - - - - - + var visibleSecrets = VisibleSecrets; + +
+ + Clear filter +
+
+

@visibleSecrets.Count of @_secrets.Count names shown

+
+
NameDescriptionContent typeKEKRevisionUpdated (UTC)Updated by
+ + + + + + + + @if (_secrets.Count == 0) { - - - + + } + else if (visibleSecrets.Count == 0) + { + } else { - @foreach (SecretMetadata secret in _secrets) + @foreach (SecretMetadata secret in visibleSecrets) { - - - - - - - - - + + + + + } } @@ -108,10 +137,32 @@ OnBusyChanged="busy => OnDeleteBusyChanged(deleteGeneration, busy)" OnDeleted="() => OnDeleteCommittedAsync(deleteGeneration)" OnCancelled="() => CloseDelete(deleteGeneration)" /> + @code { private readonly string _id = $"secrets-list-{Guid.NewGuid():N}"; private string HeadingId => $"{_id}-heading"; + private string FilterId => $"{_id}-filter"; + private string FilterHintId => $"{_id}-filter-hint"; + private string ResultsId => $"{_id}-results"; + private string CountId => $"{_id}-count"; + private string _filter = ""; + private ElementReference _filterInput; + private bool _focusFilter; + private IReadOnlyList VisibleSecrets => _secrets?.Where(row => + row.Name.Value.Contains(_filter.Trim(), StringComparison.OrdinalIgnoreCase)).ToArray() ?? []; + + private void ClearFilter() { _filter = ""; _focusFilter = true; } + + /// + protected override async Task OnAfterRenderAsync(bool firstRender) + { + if (_focusFilter && !_disposed) + { + _focusFilter = false; + await _filterInput.FocusAsync(); + } + } private readonly Dictionary _rowIds = new(); private long _deleteGeneration; private bool _deleteBusy; @@ -245,7 +296,7 @@ private string DeleteReturnFocusId() { if (_secrets is null || _deleteTarget is not { } target) return HeadingId; - var rows = _secrets.ToList(); + var rows = VisibleSecrets.ToList(); int index = rows.FindIndex(row => row.Name == target); if (index < 0) return HeadingId; if (index + 1 < rows.Count) return RowActionId(rows[index + 1].Name); diff --git a/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/wwwroot/js/secrets-reveal.js b/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/wwwroot/js/secrets-reveal.js new file mode 100644 index 0000000..29b3784 --- /dev/null +++ b/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/wwwroot/js/secrets-reveal.js @@ -0,0 +1,12 @@ +// Completion can re-enable the stable Reveal/Hide control after the browser dropped focus. +// Restore only when no other control has claimed it; never send plaintext through interop. +export function focusIfUnclaimed(root) { + const control = root?.querySelector('button[data-reveal-control]'); + if (!control?.isConnected || control.matches(':disabled') || !control.getClientRects().length) return; + for (let node = control; node; node = node.parentElement) { + const style = getComputedStyle(node); + if (node.hidden || node.inert || style.display === 'none' || ['hidden', 'collapse'].includes(style.visibility)) return; + } + if ([control, document.body, document.documentElement].includes(document.activeElement)) + control.focus({ preventScroll: true }); +} diff --git a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/ComponentAuthorizationTests.cs b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/ComponentAuthorizationTests.cs index ee2080f..3f66344 100644 --- a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/ComponentAuthorizationTests.cs +++ b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/ComponentAuthorizationTests.cs @@ -19,7 +19,7 @@ namespace ZB.MOM.WW.Secrets.Ui.Tests; /// public class ComponentAuthorizationTests : BunitContext { - public ComponentAuthorizationTests() => DialogInterop.Setup(JSInterop); + public ComponentAuthorizationTests() { DialogInterop.Setup(JSInterop); RevealInterop.Setup(JSInterop); } private const string PlainValue = "the-plaintext-value-42"; diff --git a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/Fakes/RecordingSecretStore.cs b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/Fakes/RecordingSecretStore.cs index 8249d37..19cac3f 100644 --- a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/Fakes/RecordingSecretStore.cs +++ b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/Fakes/RecordingSecretStore.cs @@ -21,6 +21,9 @@ public sealed class RecordingSecretStore : ISecretStore /// Optional controlled read, including fixtures that deliberately ignore cancellation. public Func>? GetOverride { get; set; } + /// Optional delay before a read, without replacing the store's normal row behavior. + public Func? BeforeGetAsync { get; set; } + /// Optional hook awaited before the normal recorded upsert commits. public Func? UpsertOverride { get; set; } @@ -55,12 +58,13 @@ public sealed class RecordingSecretStore : ISecretStore public void Seed(StoredSecret row) => _rows[row.Name.Value] = row; /// - public Task GetAsync(SecretName name, CancellationToken ct) + public async Task GetAsync(SecretName name, CancellationToken ct) { _gets.Enqueue(name); + if (BeforeGetAsync is not null) await BeforeGetAsync(name, ct); return GetOverride is null - ? Task.FromResult(_rows.TryGetValue(name.Value, out StoredSecret? row) ? row : null) - : GetOverride(name, ct); + ? (_rows.TryGetValue(name.Value, out StoredSecret? row) ? row : null) + : await GetOverride(name, ct); } /// diff --git a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/Fakes/RevealInterop.cs b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/Fakes/RevealInterop.cs new file mode 100644 index 0000000..939f572 --- /dev/null +++ b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/Fakes/RevealInterop.cs @@ -0,0 +1,10 @@ +using Bunit; +namespace ZB.MOM.WW.Secrets.Ui.Tests.Fakes; +internal static class RevealInterop +{ + internal static void Setup(BunitJSInterop js) + { + var module = js.SetupModule("./_content/ZB.MOM.WW.Secrets.Ui/js/secrets-reveal.js"); + module.SetupVoid("focusIfUnclaimed", _ => true).SetVoidResult(); + } +} diff --git a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealAuditFailureTests.cs b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealAuditFailureTests.cs index badc104..065161c 100644 --- a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealAuditFailureTests.cs +++ b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealAuditFailureTests.cs @@ -15,6 +15,8 @@ namespace ZB.MOM.WW.Secrets.Ui.Tests; /// public class RevealAuditFailureTests : BunitContext { + public RevealAuditFailureTests() => RevealInterop.Setup(JSInterop); + private const string PlainValue = "the-plaintext-value-42"; private sealed class CapturingLogger : ILogger @@ -57,6 +59,12 @@ public class RevealAuditFailureTests : BunitContext Assert.DoesNotContain(PlainValue, cut.Markup); Assert.Empty(cut.FindAll("[data-testid=revealed-value]")); Assert.Contains("audit", cut.Find("[data-testid=reveal-error]").TextContent); + var status = cut.Find("[data-testid=reveal-status][role=status]"); + Assert.Contains("Reveal failed", status.TextContent); + Assert.DoesNotContain(PlainValue, status.TextContent); + var described = cut.Find("[data-testid=hide-button]").GetAttribute("aria-describedby")!.Split(' '); + Assert.Contains(cut.Find("[data-testid=reveal-error]").Id, described); + Assert.All(described, id => Assert.NotNull(cut.Find($"[id='{id}']"))); (LogLevel level, string message) = Assert.Single(logger.Entries); Assert.Equal(LogLevel.Warning, level); diff --git a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs index 1e9b8bd..b3d07f4 100644 --- a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs +++ b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs @@ -1,5 +1,9 @@ using Bunit; using Bunit.TestDoubles; +using Microsoft.AspNetCore.Components; +using Microsoft.AspNetCore.Components.Authorization; +using Microsoft.AspNetCore.Components.Web; +using System.Security.Claims; using Microsoft.Extensions.DependencyInjection; using ZB.MOM.WW.Audit; using ZB.MOM.WW.Secrets.Abstractions; @@ -10,6 +14,8 @@ namespace ZB.MOM.WW.Secrets.Ui.Tests; public class RevealButtonTests : BunitContext { + public RevealButtonTests() => RevealInterop.Setup(JSInterop); + private const string PlainValue = "the-plaintext-value-42"; private (RecordingSecretStore Store, CapturingAuditWriter Audit, FakeCipher Cipher) RegisterServices() @@ -114,6 +120,180 @@ public class RevealButtonTests : BunitContext AssertNoValueLeak(evt); } + [Fact] + public void RevealOutcome_IsNonSensitiveAndHideClearsTheValueWithStableControlIdentity() + { + var (store, _, _) = RegisterServices(); + AuthorizeReveal(); + var name = new SecretName("app/a"); + store.Seed(Row(name, PlainValue)); + var cut = Render(p => p.Add(x => x.Name, name)); + string? controlId = cut.Find("[data-testid=reveal-button]").Id; + Assert.False(string.IsNullOrWhiteSpace(controlId)); + Assert.Equal("", cut.Find("[data-testid=reveal-status][role=status]").TextContent); + cut.Find("[data-testid=reveal-button]").Click(); + Assert.Equal(PlainValue, cut.Find("[data-testid=revealed-value]").TextContent); + var status = cut.Find("[data-testid=reveal-status][role=status]"); + Assert.Contains("Value revealed", status.TextContent); + Assert.DoesNotContain(PlainValue, status.TextContent); + Assert.DoesNotContain(PlainValue, cut.Find("[data-testid=hide-button]").GetAttribute("aria-label")); + Assert.Equal(controlId, cut.Find("[data-testid=hide-button]").Id); + cut.Find("[data-testid=hide-button]").Click(); + Assert.Empty(cut.FindAll("[data-testid=revealed-value]")); + Assert.DoesNotContain(PlainValue, cut.Markup); + Assert.Contains("hidden", cut.Find("[data-testid=reveal-status]").TextContent); + Assert.Equal(controlId, cut.Find("[data-testid=reveal-button]").Id); + } + + [Fact] + public void ChangingRevealTarget_ClearsEarlierPlaintextAndOutcome() + { + var (store, audit, _) = RegisterServices(); + AuthorizeReveal(); + var a = new SecretName("app/a"); var b = new SecretName("app/b"); + store.Seed(Row(a, "synthetic-a-value")); store.Seed(Row(b, "synthetic-b-value")); + var cut = Render(p => p.Add(x => x.Name, a)); + cut.Find("[data-testid=reveal-button]").Click(); + Assert.Contains("synthetic-a-value", cut.Markup); + cut.Render(p => p.Add(x => x.Name, b)); + Assert.DoesNotContain("synthetic-a-value", cut.Markup); + Assert.Equal("", cut.Find("[data-testid=reveal-status]").TextContent); + Assert.Equal("Reveal app/b", cut.Find("[data-testid=reveal-button]").GetAttribute("aria-label")); + cut.Find("[data-testid=reveal-button]").Click(); + Assert.Equal("synthetic-b-value", cut.Find("[data-testid=revealed-value]").TextContent); + Assert.Equal(new[] { a.Value, b.Value }, audit.Events.Select(x => x.Target)); + } + + [Fact] + public async Task SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget() + { + var (store, audit, _) = RegisterServices(); AuthorizeReveal(); + var a = new SecretName("app/a"); var b = new SecretName("app/b"); + var entered = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + var release = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + CancellationToken aToken = default; + store.GetOverride = (name, ct) => + { + if (name == b) return Task.FromResult(Row(b, "synthetic-b-value")); + aToken = ct; entered.TrySetResult(); return release.Task; + }; + var cut = Render(p => p.Add(x => x.Name, a)); + var pending = cut.Find("[data-testid=reveal-button]").ClickAsync(new MouseEventArgs()); + await entered.Task; + try + { + cut.Render(p => p.Add(x => x.Name, b)); + Assert.True(aToken.IsCancellationRequested); + cut.Find("[data-testid=reveal-button]").Click(); + } + finally { release.TrySetResult(Row(a, "synthetic-a-value")); await pending; } + Assert.DoesNotContain("synthetic-a-value", cut.Markup); + Assert.Equal("synthetic-b-value", cut.Find("[data-testid=revealed-value]").TextContent); + Assert.Equal(b.Value, Assert.Single(audit.Events).Target); + } + + [Fact] + public async Task PendingAuthorization_DisablesDuplicateRevealBeforeTheRead() + { + var (store, audit, _) = RegisterServices(); AuthorizeReveal(); + var name = new SecretName("app/a"); store.Seed(Row(name, PlainValue)); + var auth = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + RenderFragment child = builder => + { + builder.OpenComponent(0); + builder.AddAttribute(1, nameof(RevealButton.Name), (object)name); + builder.CloseComponent(); + }; + var cut = Render>>(p => p.Add(x => x.Value, auth.Task).AddChildContent(child)); + var first = cut.Find("[data-testid=reveal-button]").ClickAsync(new MouseEventArgs()); + var second = cut.Find("[data-testid=reveal-button]").ClickAsync(new MouseEventArgs()); + try + { + Assert.True(cut.Find("[data-testid=reveal-button]").HasAttribute("disabled")); + Assert.Empty(store.Gets); + } + finally + { + auth.TrySetResult(new AuthenticationState(new ClaimsPrincipal(new ClaimsIdentity([new Claim(ClaimTypes.Name, "reviewer")], "fixture")))); + await Task.WhenAll(first, second); + } + Assert.Single(store.Gets); + Assert.Single(audit.Events); + } + + [Fact] + public async Task AuditCompletesAfterTargetChange_NeverPublishesOldPlaintext() + { + var (store, _, _) = RegisterServices(); AuthorizeReveal(); + var audit = new DeferredRevealAudit(); Services.AddSingleton(audit); + var a = new SecretName("app/a"); var b = new SecretName("app/b"); + store.Seed(Row(a, "synthetic-a-value")); + var cut = Render(p => p.Add(x => x.Name, a)); + var pending = cut.Find("[data-testid=reveal-button]").ClickAsync(new MouseEventArgs()); + await audit.Entered.Task; + try { cut.Render(p => p.Add(x => x.Name, b)); } + finally { audit.Release.TrySetResult(); await pending; } + Assert.Equal(a.Value, Assert.Single(audit.Events).Target); + Assert.DoesNotContain("synthetic-a-value", cut.Markup); + Assert.Empty(cut.FindAll("[data-testid=revealed-value]")); + Assert.Equal("", cut.Find("[data-testid=reveal-status]").TextContent); + } + + [Fact] + public async Task RemovedReveal_CancelsAndDoesNotResolveDisposedScopeAfterRead() + { + var (store, audit, _) = RegisterServices(); AuthorizeReveal(); + var provider = new RevealScopeGuard(Services); + var entered = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + var release = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); + CancellationToken token = default; + store.GetOverride = (_, ct) => { token = ct; entered.TrySetResult(); return release.Task; }; + var name = new SecretName("app/a"); + RenderFragment child = builder => { builder.OpenComponent(0); builder.AddAttribute(1, nameof(RevealButton.Name), (object)name); builder.CloseComponent(); }; + var cut = Render>(p => p.Add(x => x.Value, true).AddChildContent(child)); + typeof(RevealButton).GetProperty("Services", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic)! + .SetValue(cut.FindComponent().Instance, provider); + var pending = cut.Find("[data-testid=reveal-button]").ClickAsync(new MouseEventArgs()); + await entered.Task; + Assert.True(provider.Resolutions > 0); + int resolutions = provider.Resolutions; + cut.Render(p => p.Add(x => x.Value, true).AddChildContent((RenderFragment)(_ => { }))); + Assert.True(token.IsCancellationRequested); + provider.Reject = true; + release.SetResult(Row(name, PlainValue)); + await pending; + Assert.Equal(resolutions, provider.Resolutions); + Assert.Empty(audit.Events); + Assert.DoesNotContain(PlainValue, cut.Markup); + } + + private void AuthorizeReveal() + { + var auth = this.AddAuthorization(); auth.SetAuthorized("reviewer"); + auth.SetPolicies(SecretsAuthorization.RevealPolicy); + } + + private sealed class DeferredRevealAudit : IAuditWriter + { + public TaskCompletionSource Entered { get; } = new(TaskCreationOptions.RunContinuationsAsynchronously); + public TaskCompletionSource Release { get; } = new(TaskCreationOptions.RunContinuationsAsynchronously); + public List Events { get; } = []; + public async Task WriteAsync(AuditEvent evt, CancellationToken ct = default) + { Entered.TrySetResult(); await Release.Task; Events.Add(evt); } + } + + private sealed class RevealScopeGuard(IServiceProvider inner) : IServiceProvider + { + public bool Reject { get; set; } + public int Resolutions { get; private set; } + public object? GetService(Type type) + { + ++Resolutions; + if (Reject) throw new ObjectDisposedException("synthetic circuit scope"); + return inner.GetService(type); + } + } + private static void AssertNoValueLeak(AuditEvent evt) { foreach (string? field in new[] { evt.Action, evt.Actor, evt.Category, evt.Target, evt.DetailsJson, evt.ToString() }) diff --git a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs index 79a2253..8bc9d89 100644 --- a/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs +++ b/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs @@ -13,7 +13,12 @@ namespace ZB.MOM.WW.Secrets.Ui.Tests; public class SecretsListTests : BunitContext { - public SecretsListTests() => DialogInterop.Setup(JSInterop); + public SecretsListTests() + { + DialogInterop.Setup(JSInterop); + RevealInterop.Setup(JSInterop); + JSInterop.SetupVoid("Blazor._internal.domWrapper.focus", _ => true).SetVoidResult(); + } private static readonly SecretMetadata SecretOne = new() { @@ -339,7 +344,104 @@ public class SecretsListTests : BunitContext Assert.Empty(cut.FindAll("table")); } - private RecordingSecretStore RegisterEditableStore() + [Fact] + public void NameFilter_CanBeClearedWithoutHidingMetadataPermanently() + { + RegisterStore(SecretOne, SecretTwo); + var auth = this.AddAuthorization(); + auth.SetAuthorized("reviewer"); + auth.SetPolicies(SecretsAuthorization.ManagePolicy); + var cut = Render(); + cut.Find("input[data-testid=secret-filter]").Input("db/primary"); + Assert.Single(cut.FindAll("tbody tr[data-secret-row]")); + cut.Find("[data-testid=clear-secret-filter]").Click(); + Assert.Equal(2, cut.FindAll("tbody tr[data-secret-row]").Count); + } + + [Fact] + public void NameFilter_UsesCaseInsensitiveLoadedNamesWithoutReadingValues() + { + var store = RegisterEditableStore(); + var cut = Render(); + cut.Find("[data-testid=secret-filter]").Input(" DB/PRIMARY "); + Assert.Equal("db/primary", Assert.Single(cut.FindAll("tbody tr[data-secret-row]")).GetAttribute("data-secret-row")); + cut.Find("[data-testid=secret-filter]").Input("External API token"); + Assert.Empty(cut.FindAll("tbody tr[data-secret-row]")); // Description is not the name filter. + cut.Find("[data-testid=secret-filter]").Input("synthetic fixture"); + Assert.Empty(cut.FindAll("tbody tr[data-secret-row]")); + Assert.Empty(store.Gets); + Assert.Equal(1, store.ListCalls); + } + + [Fact] + public void NameFilter_NoMatchesHasClearRecoveryAndPreservesManageActions() + { + RegisterEditableStore(); + var cut = Render(); + cut.Find("[data-testid=secret-filter]").Input("no-such-name"); + Assert.Contains("No names match", cut.Find("[data-testid=filter-empty]").TextContent); + Assert.NotNull(cut.Find("[data-testid=add-secret]")); + Assert.Empty(cut.FindAll("tbody tr[data-secret-row]")); + cut.Find("[data-testid=clear-secret-filter]").Click(); + Assert.Equal(2, cut.FindAll("tbody tr[data-secret-row]").Count); + Assert.Equal("", cut.Find("[data-testid=secret-filter]").GetAttribute("value") ?? ""); + } + + [Fact] + public void RowActionsAndTechnicalMetadata_StayAssociatedWithLongExactNames() + { + var longRow = SecretOne with { Name = new SecretName("app/" + new string('x', 400)) }; + RegisterStore(longRow, SecretTwo); + var auth = this.AddAuthorization(); + auth.SetAuthorized("reviewer"); + auth.SetPolicies(SecretsAuthorization.ManagePolicy, SecretsAuthorization.RevealPolicy); + var cut = Render(); + Assert.Contains(cut.FindAll("thead th[scope=col]"), header => header.TextContent == "Actions"); + foreach (var row in cut.FindAll("tr[data-secret-row]")) + { + string name = row.GetAttribute("data-secret-row")!; + Assert.Equal(name, row.QuerySelector("th[scope=row]")!.TextContent.Trim()); + foreach (string action in new[] { "Reveal", "Rotate", "Delete" }) + Assert.NotNull(row.QuerySelector($"button[aria-label='{action} {name}']")); + Assert.Contains(name, row.QuerySelector("summary")!.GetAttribute("aria-label")); + Assert.NotNull(row.QuerySelector("time[datetime]")); + } + var first = cut.Find($"tr[data-secret-row='{longRow.Name.Value}']"); + Assert.Contains("kek-a", first.TextContent); + Assert.Contains("alice", first.TextContent); + Assert.Contains("ConnectionString", first.TextContent); + Assert.Equal(longRow.UpdatedUtc.ToString("O"), first.QuerySelector("time")!.GetAttribute("datetime")); + } + + [Fact] + public void FilteringRows_CannotReuseAnotherRowsRevealedValue() + { + var store = RegisterEditableStore(reveal: true); + var cipher = new FakeCipher(); + store.Seed(cipher.Encrypt(SecretOne.Name, "synthetic-only-db-value", SecretContentType.Text)); + store.Seed(cipher.Encrypt(SecretTwo.Name, "synthetic-only-api-value", SecretContentType.Text)); + var cut = Render(); + cut.Find(".reveal-secret[data-secret-name='db/primary']").Click(); + Assert.Contains("synthetic-only-db-value", cut.Markup); + cut.Find("[data-testid=secret-filter]").Input("api/token"); + Assert.DoesNotContain("synthetic-only-db-value", cut.Markup); + Assert.Empty(cut.FindAll("[data-testid=revealed-value]")); + Assert.Equal("api/token", cut.Find("[data-testid=reveal-button]").GetAttribute("data-secret-name")); + cut.Find("[data-testid=clear-secret-filter]").Click(); + Assert.Empty(cut.FindAll("[data-testid=revealed-value]")); + } + + [Fact] + public void DeletionFocusFallback_UsesOnlyVisibleMatchingRows() + { + RegisterEditableStore(); + var cut = Render(); + cut.Find("[data-testid=secret-filter]").Input("db/primary"); + cut.Find(".delete-secret").Click(); + Assert.Equal(cut.Find("h2").Id, cut.FindComponent().Instance.ReturnFocusId); + } + + private RecordingSecretStore RegisterEditableStore(bool reveal = false) { var store = new RecordingSecretStore(); var cipher = new FakeCipher(); @@ -350,7 +452,8 @@ public class SecretsListTests : BunitContext Services.AddSingleton(new CapturingAuditWriter()); var auth = this.AddAuthorization(); auth.SetAuthorized("reviewer"); - auth.SetPolicies(SecretsAuthorization.ManagePolicy); + if (reveal) auth.SetPolicies(SecretsAuthorization.ManagePolicy, SecretsAuthorization.RevealPolicy); + else auth.SetPolicies(SecretsAuthorization.ManagePolicy); return store; } diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-after.log b/components/ui-theme/validation/secrets-ui/SEC05-06-after.log new file mode 100644 index 0000000..6894953 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-after.log @@ -0,0 +1,9 @@ + ZB.MOM.WW.Secrets.Abstractions -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/bin/Release/net10.0/ZB.MOM.WW.Secrets.Abstractions.dll + ZB.MOM.WW.Secrets.Ui -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.dll + ZB.MOM.WW.Secrets.Ui.Tests -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.Tests.dll +Test run for /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +WARNING: Overwriting results file: /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/secrets-ui/SEC05-06-after.trx +Results File: /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/secrets-ui/SEC05-06-after.trx + +Passed! - Failed: 0, Passed: 81, Skipped: 0, Total: 81, Duration: 311 ms - ZB.MOM.WW.Secrets.Ui.Tests.dll (net10.0) diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-after.trx b/components/ui-theme/validation/secrets-ui/SEC05-06-after.trx new file mode 100644 index 0000000..5615f68 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-after.trx @@ -0,0 +1,514 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.03] Discovering: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.05] Discovered: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.06] Starting: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.38] Finished: ZB.MOM.WW.Secrets.Ui.Tests + + + + \ No newline at end of file diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-browser-confirmation.log b/components/ui-theme/validation/secrets-ui/SEC05-06-browser-confirmation.log new file mode 100644 index 0000000..74c91df --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-browser-confirmation.log @@ -0,0 +1 @@ +{"checks": 93, "failed": [], "screenshots": 6, "browser": "Chrome/145.0.7632.6"} diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-browser-first.log b/components/ui-theme/validation/secrets-ui/SEC05-06-browser-first.log new file mode 100644 index 0000000..cdba046 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-browser-first.log @@ -0,0 +1 @@ +{"checks": 91, "failed": ["perpage desktop row headers retain data presentation", "perpage mobile row headers retain data presentation", "perpage keyboard table scrolling", "perpage zoom200 row headers retain data presentation", "bootstrap desktop row headers retain data presentation", "bootstrap mobile row headers retain data presentation", "bootstrap keyboard table scrolling", "bootstrap zoom200 row headers retain data presentation"], "screenshots": 6, "browser": "Chrome/145.0.7632.6"} diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-clean.log b/components/ui-theme/validation/secrets-ui/SEC05-06-clean.log new file mode 100644 index 0000000..e69de29 diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-desktop.png b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-desktop.png new file mode 100644 index 0000000..25cae1a Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-desktop.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-mobile.png b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-mobile.png new file mode 100644 index 0000000..b0b6a70 Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-mobile.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-revealed-payload.png b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-revealed-payload.png new file mode 100644 index 0000000..13a823f Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-revealed-payload.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-zoom200.png b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-zoom200.png new file mode 100644 index 0000000..a5fb20f Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/bootstrap-zoom200.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-desktop.png b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-desktop.png new file mode 100644 index 0000000..35933c3 Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-desktop.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-mobile.png b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-mobile.png new file mode 100644 index 0000000..ede5cd2 Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-mobile.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-revealed-payload.png b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-revealed-payload.png new file mode 100644 index 0000000..13a823f Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-revealed-payload.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-zoom200.png b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-zoom200.png new file mode 100644 index 0000000..0e2b8c3 Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/perpage-zoom200.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/results.json b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/results.json new file mode 100644 index 0000000..0f3053f --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-confirmation/results.json @@ -0,0 +1,1580 @@ +{ + "cases": [ + { + "mode": "perpage", + "case": "desktop", + "url": "http://127.0.0.1:57520/admin/secrets", + "innerWidth": 1440, + "innerHeight": 1000, + "scrollY": 0, + "DPR": 1, + "scrollWidth": 1440, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 1361, + "scroll": 1361 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": null, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null, + "value": null + }, + "focus": { + "id": "", + "outline": "rgb(27, 29, 33) none 0px", + "visible": false + }, + "reduced": true + }, + { + "mode": "perpage", + "case": "mobile", + "url": "http://127.0.0.1:57520/admin/secrets", + "innerWidth": 390, + "innerHeight": 844, + "scrollY": 0, + "DPR": 1, + "scrollWidth": 390, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 311, + "scroll": 672 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null, + "value": null + }, + "focus": { + "id": "", + "outline": "rgb(30, 63, 153) solid 2px", + "visible": true + }, + "reduced": true + }, + { + "mode": "perpage", + "case": "zoom200", + "url": "http://127.0.0.1:57520/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "scrollY": 0, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + }, + "error": null, + "value": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + "focus": { + "id": "secret-reveal-79c5524ac5a4499097a5872cb4022a4b-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + }, + { + "mode": "bootstrap", + "case": "desktop", + "url": "http://127.0.0.1:57522/admin/secrets", + "innerWidth": 1440, + "innerHeight": 1000, + "scrollY": 0, + "DPR": 1, + "scrollWidth": 1440, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 1361, + "scroll": 1361 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": null, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null, + "value": null + }, + "focus": { + "id": "", + "outline": "rgb(27, 29, 33) none 0px", + "visible": false + }, + "reduced": true + }, + { + "mode": "bootstrap", + "case": "mobile", + "url": "http://127.0.0.1:57522/admin/secrets", + "innerWidth": 390, + "innerHeight": 844, + "scrollY": 0, + "DPR": 1, + "scrollWidth": 390, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 311, + "scroll": 672 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null, + "value": null + }, + "focus": { + "id": "", + "outline": "rgb(30, 63, 153) solid 2px", + "visible": true + }, + "reduced": true + }, + { + "mode": "bootstrap", + "case": "zoom200", + "url": "http://127.0.0.1:57522/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "scrollY": 0, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + }, + "error": null, + "value": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + "focus": { + "id": "secret-reveal-101c476bbad746208046ce2a2f55bd32-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + } + ], + "checks": [ + { + "name": "perpage name-only case-insensitive filter", + "pass": true + }, + { + "name": "perpage no-match distinct from empty", + "pass": true + }, + { + "name": "perpage filter/clear does not read values or reload", + "pass": true + }, + { + "name": "perpage contextual row actions", + "pass": true + }, + { + "name": "perpage slow reveal is disabled and explained", + "pass": true + }, + { + "name": "perpage completion preserves focus claimed elsewhere", + "pass": true + }, + { + "name": "perpage stable Reveal/Hide control", + "pass": true + }, + { + "name": "perpage plaintext absent from live status/labels/URL/audit", + "pass": true + }, + { + "name": "perpage keyboard Hide clears plaintext", + "pass": true + }, + { + "name": "perpage failed audit withholds value", + "pass": true + }, + { + "name": "perpage failed reveal remains discoverable", + "pass": true + }, + { + "name": "perpage error contrast", + "pass": true, + "detail": { + "color": "rgb(180, 33, 33)", + "background": "rgb(243, 246, 253)" + } + }, + { + "name": "perpage filtered-out pending row does not disclose", + "pass": true + }, + { + "name": "perpage only current row has success audit", + "pass": true + }, + { + "name": "perpage desktop bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:57520/admin/secrets", + "innerWidth": 1440, + "innerHeight": 1000, + "scrollY": 0, + "DPR": 1, + "scrollWidth": 1440, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 1361, + "scroll": 1361 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": null, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null, + "value": null + }, + "focus": { + "id": "", + "outline": "rgb(27, 29, 33) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "perpage desktop row headers retain data presentation", + "pass": true, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + } + }, + { + "name": "perpage desktop self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "perpage desktop filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "perpage desktop label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage desktop count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage desktop summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + } + }, + { + "name": "perpage desktop status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage mobile bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:57520/admin/secrets", + "innerWidth": 390, + "innerHeight": 844, + "scrollY": 0, + "DPR": 1, + "scrollWidth": 390, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 311, + "scroll": 672 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null, + "value": null + }, + "focus": { + "id": "", + "outline": "rgb(30, 63, 153) solid 2px", + "visible": true + }, + "reduced": true + } + }, + { + "name": "perpage mobile row headers retain data presentation", + "pass": true, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + } + }, + { + "name": "perpage mobile self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "perpage mobile long technical values locally contained", + "pass": true, + "detail": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + } + }, + { + "name": "perpage mobile filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "perpage mobile label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage mobile count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage mobile summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + } + }, + { + "name": "perpage mobile status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage keyboard table scrolling", + "pass": true + }, + { + "name": "perpage zoom200 bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:57520/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "scrollY": 0, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + }, + "error": null, + "value": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + "focus": { + "id": "secret-reveal-79c5524ac5a4499097a5872cb4022a4b-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "perpage zoom200 row headers retain data presentation", + "pass": true, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + } + }, + { + "name": "perpage zoom200 self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "perpage zoom200 long technical values locally contained", + "pass": true, + "detail": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + } + }, + { + "name": "perpage zoom200 long plaintext locally contained", + "pass": true, + "detail": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + } + }, + { + "name": "perpage native200% layout/DPR", + "pass": true, + "detail": { + "url": "http://127.0.0.1:57520/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "scrollY": 0, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + }, + "error": null, + "value": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + "focus": { + "id": "secret-reveal-79c5524ac5a4499097a5872cb4022a4b-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "perpage zoom200 filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "perpage zoom200 label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage zoom200 count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage zoom200 summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + } + }, + { + "name": "perpage zoom200 status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + { + "name": "perpage zoom200 value readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + { + "name": "perpage manage does not imply reveal", + "pass": true + }, + { + "name": "perpage denied route", + "pass": true + }, + { + "name": "bootstrap name-only case-insensitive filter", + "pass": true + }, + { + "name": "bootstrap no-match distinct from empty", + "pass": true + }, + { + "name": "bootstrap filter/clear does not read values or reload", + "pass": true + }, + { + "name": "bootstrap contextual row actions", + "pass": true + }, + { + "name": "bootstrap slow reveal is disabled and explained", + "pass": true + }, + { + "name": "bootstrap completion preserves focus claimed elsewhere", + "pass": true + }, + { + "name": "bootstrap stable Reveal/Hide control", + "pass": true + }, + { + "name": "bootstrap plaintext absent from live status/labels/URL/audit", + "pass": true + }, + { + "name": "bootstrap keyboard Hide clears plaintext", + "pass": true + }, + { + "name": "bootstrap failed audit withholds value", + "pass": true + }, + { + "name": "bootstrap failed reveal remains discoverable", + "pass": true + }, + { + "name": "bootstrap error contrast", + "pass": true, + "detail": { + "color": "rgb(180, 33, 33)", + "background": "rgb(243, 246, 253)" + } + }, + { + "name": "bootstrap filtered-out pending row does not disclose", + "pass": true + }, + { + "name": "bootstrap only current row has success audit", + "pass": true + }, + { + "name": "bootstrap desktop bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:57522/admin/secrets", + "innerWidth": 1440, + "innerHeight": 1000, + "scrollY": 0, + "DPR": 1, + "scrollWidth": 1440, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 1361, + "scroll": 1361 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": null, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null, + "value": null + }, + "focus": { + "id": "", + "outline": "rgb(27, 29, 33) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "bootstrap desktop row headers retain data presentation", + "pass": true, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + } + }, + { + "name": "bootstrap desktop self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "bootstrap desktop filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "bootstrap desktop label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap desktop count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap desktop summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + } + }, + { + "name": "bootstrap desktop status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap mobile bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:57522/admin/secrets", + "innerWidth": 390, + "innerHeight": 844, + "scrollY": 0, + "DPR": 1, + "scrollWidth": 390, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 311, + "scroll": 672 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null, + "value": null + }, + "focus": { + "id": "", + "outline": "rgb(30, 63, 153) solid 2px", + "visible": true + }, + "reduced": true + } + }, + { + "name": "bootstrap mobile row headers retain data presentation", + "pass": true, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + } + }, + { + "name": "bootstrap mobile self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "bootstrap mobile long technical values locally contained", + "pass": true, + "detail": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + } + }, + { + "name": "bootstrap mobile filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "bootstrap mobile label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap mobile count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap mobile summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + } + }, + { + "name": "bootstrap mobile status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap keyboard table scrolling", + "pass": true + }, + { + "name": "bootstrap zoom200 bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:57522/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "scrollY": 0, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + }, + "error": null, + "value": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + "focus": { + "id": "secret-reveal-101c476bbad746208046ce2a2f55bd32-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "bootstrap zoom200 row headers retain data presentation", + "pass": true, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + } + }, + { + "name": "bootstrap zoom200 self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "bootstrap zoom200 long technical values locally contained", + "pass": true, + "detail": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + } + }, + { + "name": "bootstrap zoom200 long plaintext locally contained", + "pass": true, + "detail": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + } + }, + { + "name": "bootstrap native200% layout/DPR", + "pass": true, + "detail": { + "url": "http://127.0.0.1:57522/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "scrollY": 0, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "none", + "position": "static", + "color": "rgb(27, 29, 33)", + "fontSize": "13.6px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + }, + "error": null, + "value": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + "focus": { + "id": "secret-reveal-101c476bbad746208046ce2a2f55bd32-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "bootstrap zoom200 filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "bootstrap zoom200 label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap zoom200 count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap zoom200 summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + } + }, + { + "name": "bootstrap zoom200 status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + { + "name": "bootstrap zoom200 value readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + { + "name": "bootstrap manage does not imply reveal", + "pass": true + }, + { + "name": "bootstrap denied route", + "pass": true + }, + { + "name": "No page errors", + "pass": true, + "detail": [] + } + ], + "pageErrors": [], + "theme": "1.0.1.0", + "browser": "Chrome/145.0.7632.6", + "hosts": [ + { + "mode": "perpage", + "origin": "http://127.0.0.1:57520", + "provenance": { + "purpose": "Loopback synthetic Secrets UI acceptance fixture; not a production host", + "theme": "1.0.1.0", + "ui": "0.6.6.0", + "store": "In-memory fake only; no keys, LDAP, SQL, network services or production credentials", + "bootstrap": "/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/wwwroot/lib/bootstrap/css" + } + }, + { + "mode": "bootstrap", + "origin": "http://127.0.0.1:57522", + "provenance": { + "purpose": "Loopback synthetic Secrets UI acceptance fixture; not a production host", + "theme": "1.0.1.0", + "ui": "0.6.6.0", + "store": "In-memory fake only; no keys, LDAP, SQL, network services or production credentials", + "bootstrap": "/Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Host/wwwroot/lib/bootstrap/css" + } + } + ] +} diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-first/bootstrap-desktop.png b/components/ui-theme/validation/secrets-ui/SEC05-06-first/bootstrap-desktop.png new file mode 100644 index 0000000..8758634 Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-first/bootstrap-desktop.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-first/bootstrap-mobile.png b/components/ui-theme/validation/secrets-ui/SEC05-06-first/bootstrap-mobile.png new file mode 100644 index 0000000..f78c943 Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-first/bootstrap-mobile.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-first/bootstrap-zoom200.png b/components/ui-theme/validation/secrets-ui/SEC05-06-first/bootstrap-zoom200.png new file mode 100644 index 0000000..f706de6 Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-first/bootstrap-zoom200.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-first/package-source.json b/components/ui-theme/validation/secrets-ui/SEC05-06-first/package-source.json new file mode 100644 index 0000000..40b9f3e --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-first/package-source.json @@ -0,0 +1,6 @@ +{ + "actualGlobalCandidateSha256": "0c3bc699465c935525a77a01ff05f8c4f332a1b3363f5918af61add339babdab", + "expectedPublishedSha256": "995b117b0245577598c91404ed7957c071ebe3413696c8be48b419c9deb1bd5d", + "candidateSource": "temporary theme100-canary local feed", + "result": "Not accepted: matrix detected stale unpublished candidate assets despite matching assembly version. Confirmation will use task-local official-feed package directory." +} diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-first/perpage-desktop.png b/components/ui-theme/validation/secrets-ui/SEC05-06-first/perpage-desktop.png new file mode 100644 index 0000000..0043221 Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-first/perpage-desktop.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-first/perpage-mobile.png b/components/ui-theme/validation/secrets-ui/SEC05-06-first/perpage-mobile.png new file mode 100644 index 0000000..069dbf2 Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-first/perpage-mobile.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-first/perpage-zoom200.png b/components/ui-theme/validation/secrets-ui/SEC05-06-first/perpage-zoom200.png new file mode 100644 index 0000000..f706de6 Binary files /dev/null and b/components/ui-theme/validation/secrets-ui/SEC05-06-first/perpage-zoom200.png differ diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-first/results.json b/components/ui-theme/validation/secrets-ui/SEC05-06-first/results.json new file mode 100644 index 0000000..8d4d181 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-first/results.json @@ -0,0 +1,1510 @@ +{ + "cases": [ + { + "mode": "perpage", + "case": "desktop", + "url": "http://127.0.0.1:56935/admin/secrets", + "innerWidth": 1440, + "innerHeight": 1000, + "DPR": 1, + "scrollWidth": 1440, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 1361, + "scroll": 1361 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": null, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null + }, + "focus": { + "id": "", + "outline": "rgb(27, 29, 33) none 0px", + "visible": false + }, + "reduced": true + }, + { + "mode": "perpage", + "case": "mobile", + "url": "http://127.0.0.1:56935/admin/secrets", + "innerWidth": 390, + "innerHeight": 844, + "DPR": 1, + "scrollWidth": 390, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 311, + "scroll": 672 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null + }, + "focus": { + "id": "", + "outline": "rgb(30, 63, 153) solid 2px", + "visible": true + }, + "reduced": true + }, + { + "mode": "perpage", + "case": "zoom200", + "url": "http://127.0.0.1:56935/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + }, + "error": null + }, + "focus": { + "id": "secret-reveal-2c62909f4f9646978d4e5a07e422130b-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + }, + { + "mode": "bootstrap", + "case": "desktop", + "url": "http://127.0.0.1:56936/admin/secrets", + "innerWidth": 1440, + "innerHeight": 1000, + "DPR": 1, + "scrollWidth": 1440, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 1361, + "scroll": 1361 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": null, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null + }, + "focus": { + "id": "", + "outline": "rgb(27, 29, 33) none 0px", + "visible": false + }, + "reduced": true + }, + { + "mode": "bootstrap", + "case": "mobile", + "url": "http://127.0.0.1:56936/admin/secrets", + "innerWidth": 390, + "innerHeight": 844, + "DPR": 1, + "scrollWidth": 390, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 311, + "scroll": 672 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null + }, + "focus": { + "id": "", + "outline": "rgb(30, 63, 153) solid 2px", + "visible": true + }, + "reduced": true + }, + { + "mode": "bootstrap", + "case": "zoom200", + "url": "http://127.0.0.1:56936/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgba(243, 246, 253, 0.11)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgba(243, 246, 253, 0.11)", + "contrast": 15.6 + }, + "error": null + }, + "focus": { + "id": "secret-reveal-c3bf5075d5ff421e9e31c54fba247016-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + } + ], + "checks": [ + { + "name": "perpage name-only case-insensitive filter", + "pass": true + }, + { + "name": "perpage no-match distinct from empty", + "pass": true + }, + { + "name": "perpage filter/clear does not read values or reload", + "pass": true + }, + { + "name": "perpage contextual row actions", + "pass": true + }, + { + "name": "perpage slow reveal is disabled and explained", + "pass": true + }, + { + "name": "perpage completion preserves focus claimed elsewhere", + "pass": true + }, + { + "name": "perpage stable Reveal/Hide control", + "pass": true + }, + { + "name": "perpage plaintext absent from live status/labels/URL/audit", + "pass": true + }, + { + "name": "perpage keyboard Hide clears plaintext", + "pass": true + }, + { + "name": "perpage failed audit withholds value", + "pass": true + }, + { + "name": "perpage failed reveal remains discoverable", + "pass": true + }, + { + "name": "perpage error contrast", + "pass": true, + "detail": { + "color": "rgb(180, 33, 33)", + "background": "rgb(243, 246, 253)" + } + }, + { + "name": "perpage filtered-out pending row does not disclose", + "pass": true + }, + { + "name": "perpage only current row has success audit", + "pass": true + }, + { + "name": "perpage desktop bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:56935/admin/secrets", + "innerWidth": 1440, + "innerHeight": 1000, + "DPR": 1, + "scrollWidth": 1440, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 1361, + "scroll": 1361 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": null, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null + }, + "focus": { + "id": "", + "outline": "rgb(27, 29, 33) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "perpage desktop row headers retain data presentation", + "pass": false, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + } + }, + { + "name": "perpage desktop self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "perpage desktop filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "perpage desktop label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage desktop count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage desktop summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + } + }, + { + "name": "perpage desktop status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage mobile bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:56935/admin/secrets", + "innerWidth": 390, + "innerHeight": 844, + "DPR": 1, + "scrollWidth": 390, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 311, + "scroll": 672 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null + }, + "focus": { + "id": "", + "outline": "rgb(30, 63, 153) solid 2px", + "visible": true + }, + "reduced": true + } + }, + { + "name": "perpage mobile row headers retain data presentation", + "pass": false, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + } + }, + { + "name": "perpage mobile self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "perpage mobile long technical values locally contained", + "pass": true, + "detail": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + } + }, + { + "name": "perpage mobile filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "perpage mobile label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage mobile count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage mobile summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + } + }, + { + "name": "perpage mobile status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage keyboard table scrolling", + "pass": false + }, + { + "name": "perpage zoom200 bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:56935/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + }, + "error": null + }, + "focus": { + "id": "secret-reveal-2c62909f4f9646978d4e5a07e422130b-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "perpage zoom200 row headers retain data presentation", + "pass": false, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + } + }, + { + "name": "perpage zoom200 self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "perpage zoom200 long technical values locally contained", + "pass": true, + "detail": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + } + }, + { + "name": "perpage zoom200 long plaintext locally contained", + "pass": true, + "detail": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + } + }, + { + "name": "perpage native200% layout/DPR", + "pass": true, + "detail": { + "url": "http://127.0.0.1:56935/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + }, + "error": null + }, + "focus": { + "id": "secret-reveal-2c62909f4f9646978d4e5a07e422130b-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "perpage zoom200 filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "perpage zoom200 label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage zoom200 count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "perpage zoom200 summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(243, 246, 253)", + "contrast": 5.144 + } + }, + { + "name": "perpage zoom200 status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(243, 246, 253)", + "contrast": 15.6 + } + }, + { + "name": "perpage manage does not imply reveal", + "pass": true + }, + { + "name": "perpage denied route", + "pass": true + }, + { + "name": "bootstrap name-only case-insensitive filter", + "pass": true + }, + { + "name": "bootstrap no-match distinct from empty", + "pass": true + }, + { + "name": "bootstrap filter/clear does not read values or reload", + "pass": true + }, + { + "name": "bootstrap contextual row actions", + "pass": true + }, + { + "name": "bootstrap slow reveal is disabled and explained", + "pass": true + }, + { + "name": "bootstrap completion preserves focus claimed elsewhere", + "pass": true + }, + { + "name": "bootstrap stable Reveal/Hide control", + "pass": true + }, + { + "name": "bootstrap plaintext absent from live status/labels/URL/audit", + "pass": true + }, + { + "name": "bootstrap keyboard Hide clears plaintext", + "pass": true + }, + { + "name": "bootstrap failed audit withholds value", + "pass": true + }, + { + "name": "bootstrap failed reveal remains discoverable", + "pass": true + }, + { + "name": "bootstrap error contrast", + "pass": true, + "detail": { + "color": "rgb(180, 33, 33)", + "background": "rgb(243, 246, 253)" + } + }, + { + "name": "bootstrap filtered-out pending row does not disclose", + "pass": true + }, + { + "name": "bootstrap only current row has success audit", + "pass": true + }, + { + "name": "bootstrap desktop bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:56936/admin/secrets", + "innerWidth": 1440, + "innerHeight": 1000, + "DPR": 1, + "scrollWidth": 1440, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 1361, + "scroll": 1361 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": null, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null + }, + "focus": { + "id": "", + "outline": "rgb(27, 29, 33) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "bootstrap desktop row headers retain data presentation", + "pass": false, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + } + }, + { + "name": "bootstrap desktop self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "bootstrap desktop filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "bootstrap desktop label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap desktop count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap desktop summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + } + }, + { + "name": "bootstrap desktop status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap mobile bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:56936/admin/secrets", + "innerWidth": 390, + "innerHeight": 844, + "DPR": 1, + "scrollWidth": 390, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 311, + "scroll": 672 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": null, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "error": null + }, + "focus": { + "id": "", + "outline": "rgb(30, 63, 153) solid 2px", + "visible": true + }, + "reduced": true + } + }, + { + "name": "bootstrap mobile row headers retain data presentation", + "pass": false, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + } + }, + { + "name": "bootstrap mobile self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "bootstrap mobile long technical values locally contained", + "pass": true, + "detail": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + } + }, + { + "name": "bootstrap mobile filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "bootstrap mobile label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap mobile count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap mobile summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgb(255, 255, 255)", + "contrast": 5.564 + } + }, + { + "name": "bootstrap mobile status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap keyboard table scrolling", + "pass": false + }, + { + "name": "bootstrap zoom200 bounded document", + "pass": true, + "detail": { + "url": "http://127.0.0.1:56936/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgba(243, 246, 253, 0.11)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgba(243, 246, 253, 0.11)", + "contrast": 15.6 + }, + "error": null + }, + "focus": { + "id": "secret-reveal-c3bf5075d5ff421e9e31c54fba247016-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "bootstrap zoom200 row headers retain data presentation", + "pass": false, + "detail": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + } + }, + { + "name": "bootstrap zoom200 self-hosted font and reduced-motion preference", + "pass": true + }, + { + "name": "bootstrap zoom200 long technical values locally contained", + "pass": true, + "detail": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + } + }, + { + "name": "bootstrap zoom200 long plaintext locally contained", + "pass": true, + "detail": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + } + }, + { + "name": "bootstrap native200% layout/DPR", + "pass": true, + "detail": { + "url": "http://127.0.0.1:56936/admin/secrets", + "innerWidth": 720, + "innerHeight": 450, + "DPR": 2, + "scrollWidth": 720, + "font": "\"IBM Plex Sans\", system-ui, -apple-system, \"Segoe UI\", sans-serif", + "fontLoaded": true, + "table": { + "client": 641, + "scroll": 779 + }, + "rowHeader": { + "text": "app/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "transform": "uppercase", + "position": "sticky", + "color": "rgb(98, 105, 112)", + "fontSize": "11.2px" + }, + "technical": { + "client": 136, + "scroll": 136, + "height": 256, + "scrollHeight": 452 + }, + "value": { + "client": 149, + "scroll": 149, + "height": 256, + "scrollHeight": 816 + }, + "colors": { + "filter": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + }, + "label": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "count": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + }, + "summary": { + "color": "rgb(98, 105, 112)", + "background": "rgba(243, 246, 253, 0.11)", + "contrast": 5.144 + }, + "status": { + "color": "rgb(27, 29, 33)", + "background": "rgba(243, 246, 253, 0.11)", + "contrast": 15.6 + }, + "error": null + }, + "focus": { + "id": "secret-reveal-c3bf5075d5ff421e9e31c54fba247016-control", + "outline": "rgb(30, 63, 153) none 0px", + "visible": false + }, + "reduced": true + } + }, + { + "name": "bootstrap zoom200 filter readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(244, 244, 241)", + "contrast": 15.315 + } + }, + { + "name": "bootstrap zoom200 label readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap zoom200 count readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgb(255, 255, 255)", + "contrast": 16.877 + } + }, + { + "name": "bootstrap zoom200 summary readable", + "pass": true, + "detail": { + "color": "rgb(98, 105, 112)", + "background": "rgba(243, 246, 253, 0.11)", + "contrast": 5.144 + } + }, + { + "name": "bootstrap zoom200 status readable", + "pass": true, + "detail": { + "color": "rgb(27, 29, 33)", + "background": "rgba(243, 246, 253, 0.11)", + "contrast": 15.6 + } + }, + { + "name": "bootstrap manage does not imply reveal", + "pass": true + }, + { + "name": "bootstrap denied route", + "pass": true + }, + { + "name": "No page errors", + "pass": true, + "detail": [] + } + ], + "pageErrors": [], + "theme": "1.0.1.0", + "browser": "Chrome/145.0.7632.6", + "hosts": [ + { + "mode": "perpage", + "origin": "http://127.0.0.1:56935", + "provenance": { + "purpose": "Loopback synthetic Secrets UI acceptance fixture; not a production host", + "theme": "1.0.1.0", + "ui": "0.6.6.0", + "store": "In-memory fake only; no keys, LDAP, SQL, network services or production credentials", + "bootstrap": "/Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/wwwroot/lib/bootstrap/css" + } + }, + { + "mode": "bootstrap", + "origin": "http://127.0.0.1:56936", + "provenance": { + "purpose": "Loopback synthetic Secrets UI acceptance fixture; not a production host", + "theme": "1.0.1.0", + "ui": "0.6.6.0", + "store": "In-memory fake only; no keys, LDAP, SQL, network services or production credentials", + "bootstrap": "/Users/dohertj2/Desktop/ScadaBridge/src/ZB.MOM.WW.ScadaBridge.Host/wwwroot/lib/bootstrap/css" + } + } + ] +} diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-official-package.json b/components/ui-theme/validation/secrets-ui/SEC05-06-official-package.json new file mode 100644 index 0000000..31a1f54 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-official-package.json @@ -0,0 +1,6 @@ +{ + "packageSha256": "995b117b0245577598c91404ed7957c071ebe3413696c8be48b419c9deb1bd5d", + "source": "https://gitea.dohertylan.com/api/packages/dohertj2/nuget/index.json", + "packagesDirectory": "/tmp/scada-secrets-theme101-official-packages", + "rowHeaderSelectorPresent": true +} diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-official-restore-initial.log b/components/ui-theme/validation/secrets-ui/SEC05-06-official-restore-initial.log new file mode 100644 index 0000000..e966481 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-official-restore-initial.log @@ -0,0 +1,7 @@ + Determining projects to restore... +/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/ZB.MOM.WW.Secrets.Ui.csproj : error NU1507: Warning As Error: There are 2 package sources defined in your configuration. When using central package management, map your package sources with package source mapping (https://aka.ms/nuget-package-source-mapping) or specify a single package source. The following sources are defined: https://gitea.dohertylan.com/api/packages/dohertj2/nuget/index.json, nuget.org [/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/ZB.MOM.WW.Secrets.Ui.Tests.csproj] +/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/ZB.MOM.WW.Secrets.Abstractions.csproj : warning NU1507: There are 2 package sources defined in your configuration. When using central package management, map your package sources with package source mapping (https://aka.ms/nuget-package-source-mapping) or specify a single package source. The following sources are defined: https://gitea.dohertylan.com/api/packages/dohertj2/nuget/index.json, nuget.org [/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/ZB.MOM.WW.Secrets.Ui.Tests.csproj] +/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/ZB.MOM.WW.Secrets.Ui.Tests.csproj : warning NU1507: There are 2 package sources defined in your configuration. When using central package management, map your package sources with package source mapping (https://aka.ms/nuget-package-source-mapping) or specify a single package source. The following sources are defined: https://gitea.dohertylan.com/api/packages/dohertj2/nuget/index.json, nuget.org + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/ZB.MOM.WW.Secrets.Abstractions.csproj (in 39 ms). + Failed to restore /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/ZB.MOM.WW.Secrets.Ui.csproj (in 575 ms). + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/ZB.MOM.WW.Secrets.Ui.Tests.csproj (in 1.34 sec). diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-official-restore.log b/components/ui-theme/validation/secrets-ui/SEC05-06-official-restore.log new file mode 100644 index 0000000..ebcaf5c --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-official-restore.log @@ -0,0 +1,4 @@ + Determining projects to restore... + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/ZB.MOM.WW.Secrets.Abstractions.csproj (in 42 ms). + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/ZB.MOM.WW.Secrets.Ui.csproj (in 80 ms). + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/ZB.MOM.WW.Secrets.Ui.Tests.csproj (in 85 ms). diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-package-audit.json b/components/ui-theme/validation/secrets-ui/SEC05-06-package-audit.json new file mode 100644 index 0000000..c547db8 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-package-audit.json @@ -0,0 +1,12 @@ +{ + "version": 1, + "parameters": "--vulnerable --include-transitive", + "sources": [ + "https://api.nuget.org/v3/index.json" + ], + "projects": [ + { + "path": "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/ZB.MOM.WW.Secrets.Ui.csproj" + } + ] +} diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-package-graph.json b/components/ui-theme/validation/secrets-ui/SEC05-06-package-graph.json new file mode 100644 index 0000000..30b0de4 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-package-graph.json @@ -0,0 +1,45 @@ +{ + "version": 1, + "parameters": "--include-transitive", + "projects": [ + { + "path": "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/ZB.MOM.WW.Secrets.Ui.csproj", + "frameworks": [ + { + "framework": "net10.0", + "topLevelPackages": [ + { + "id": "ZB.MOM.WW.Audit", + "requestedVersion": "0.1.0", + "resolvedVersion": "0.1.0" + }, + { + "id": "ZB.MOM.WW.Auth.AspNetCore", + "requestedVersion": "0.1.4", + "resolvedVersion": "0.1.4" + }, + { + "id": "ZB.MOM.WW.Theme", + "requestedVersion": "1.0.1", + "resolvedVersion": "1.0.1" + } + ], + "transitivePackages": [ + { + "id": "Novell.Directory.Ldap.NETStandard", + "resolvedVersion": "3.6.0" + }, + { + "id": "ZB.MOM.WW.Auth.Abstractions", + "resolvedVersion": "0.1.4" + }, + { + "id": "ZB.MOM.WW.Auth.Ldap", + "resolvedVersion": "0.1.4" + } + ] + } + ] + } + ] +} diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-served-assets.json b/components/ui-theme/validation/secrets-ui/SEC05-06-served-assets.json new file mode 100644 index 0000000..4b4499a --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-served-assets.json @@ -0,0 +1,68 @@ +{ + "perpage": { + "origin": "http://127.0.0.1:57520", + "assets": { + "Theme/css/theme.css": { + "sha256": "7a6da7aefcf036f971f18816e3ceb129f1abb4a39f6db33d449420b814cfb4a6", + "exactPublishedBytes": true + }, + "Theme/css/layout.css": { + "sha256": "1a4960c5552110f9d1521621816117e6496646b55d919c85f3a815ae98e3a781", + "exactPublishedBytes": true + }, + "Theme/fonts/ibm-plex-sans-400.woff2": { + "sha256": "db71f8a28ad8501544fb4e7668e3c6d0b731760b6f20de3525ebaeba597f1922", + "exactPublishedBytes": true + }, + "Theme/fonts/ibm-plex-sans-600.woff2": { + "sha256": "31535a91ce3f6b8ed3ddedadab1e49957e2220263a640df1a3f14f6fdfe15eb6", + "exactPublishedBytes": true + }, + "Theme/fonts/ibm-plex-mono-500.woff2": { + "sha256": "756026ff72eb76fd971ac4b7504cec55eef62109d2684c2cad8da32170b80b37", + "exactPublishedBytes": true + }, + "Secrets.Ui/js/secrets-dialog.js": { + "sha256": "1c6ff0ebae1d9d1581e88fc8d2a374b35a27713941cf42782548b76e6a988e24", + "exactCurrentSourceBytes": true + }, + "Secrets.Ui/js/secrets-reveal.js": { + "sha256": "7d5dd46f1add9e1c52556d6005d0049db2b4ac049ca94c5ee01966e05cf53246", + "exactCurrentSourceBytes": true + } + } + }, + "bootstrap": { + "origin": "http://127.0.0.1:57522", + "assets": { + "Theme/css/theme.css": { + "sha256": "7a6da7aefcf036f971f18816e3ceb129f1abb4a39f6db33d449420b814cfb4a6", + "exactPublishedBytes": true + }, + "Theme/css/layout.css": { + "sha256": "1a4960c5552110f9d1521621816117e6496646b55d919c85f3a815ae98e3a781", + "exactPublishedBytes": true + }, + "Theme/fonts/ibm-plex-sans-400.woff2": { + "sha256": "db71f8a28ad8501544fb4e7668e3c6d0b731760b6f20de3525ebaeba597f1922", + "exactPublishedBytes": true + }, + "Theme/fonts/ibm-plex-sans-600.woff2": { + "sha256": "31535a91ce3f6b8ed3ddedadab1e49957e2220263a640df1a3f14f6fdfe15eb6", + "exactPublishedBytes": true + }, + "Theme/fonts/ibm-plex-mono-500.woff2": { + "sha256": "756026ff72eb76fd971ac4b7504cec55eef62109d2684c2cad8da32170b80b37", + "exactPublishedBytes": true + }, + "Secrets.Ui/js/secrets-dialog.js": { + "sha256": "1c6ff0ebae1d9d1581e88fc8d2a374b35a27713941cf42782548b76e6a988e24", + "exactCurrentSourceBytes": true + }, + "Secrets.Ui/js/secrets-reveal.js": { + "sha256": "7d5dd46f1add9e1c52556d6005d0049db2b4ac049ca94c5ee01966e05cf53246", + "exactCurrentSourceBytes": true + } + } + } +} diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06-test-identities.json b/components/ui-theme/validation/secrets-ui/SEC05-06-test-identities.json new file mode 100644 index 0000000..443efd7 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06-test-identities.json @@ -0,0 +1,20 @@ +{ + "before": 69, + "after": 81, + "added": [ + "ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.AuditCompletesAfterTargetChange_NeverPublishesOldPlaintext", + "ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.ChangingRevealTarget_ClearsEarlierPlaintextAndOutcome", + "ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.PendingAuthorization_DisablesDuplicateRevealBeforeTheRead", + "ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RemovedReveal_CancelsAndDoesNotResolveDisposedScopeAfterRead", + "ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RevealOutcome_IsNonSensitiveAndHideClearsTheValueWithStableControlIdentity", + "ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget", + "ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.DeletionFocusFallback_UsesOnlyVisibleMatchingRows", + "ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.FilteringRows_CannotReuseAnotherRowsRevealedValue", + "ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_CanBeClearedWithoutHidingMetadataPermanently", + "ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_NoMatchesHasClearRecoveryAndPreservesManageActions", + "ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_UsesCaseInsensitiveLoadedNamesWithoutReadingValues", + "ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.RowActionsAndTechnicalMetadata_StayAssociatedWithLongExactNames" + ], + "removed": [], + "changedOutcomes": {} +} diff --git a/components/ui-theme/validation/secrets-ui/SEC05-06.md b/components/ui-theme/validation/secrets-ui/SEC05-06.md new file mode 100644 index 0000000..0ce0a87 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-06.md @@ -0,0 +1,48 @@ +# SEC-05–06 reviewed source and browser evidence + +Follows accepted SEC-01 `f07bd3c` and SEC-02–04 `510d15d` in the managed worktree. Parent independently reviewed the generation/auth/logger/filter/focus changes without blockers, then authorized the scoped commit after rendered verification. This is source acceptance; UI1.0.0 packaging/publication and older binary compatibility remain SEC-07. + +## Implemented behavior + +**SEC-05:** a visibly associated local name filter searches only already-loaded metadata names, case-insensitively with trimmed search terms. Clear restores the full metadata inventory and returns keyboard focus to the search input. Empty inventory and zero matches are distinct, with count/status and clear recovery. Filtering performs no value reads or list reloads. The table has a caption, column headers, exact-name row headers, labelled keyboard-scrollable region and contextual Reveal/Rotate/Delete button names. Name, description and UTC time are primary; content type, KEK, revision and updated-by remain available in native keyboard-operable details. Long technical metadata uses a bounded labelled scroll region with stacked terms. Exact names key rows, preventing a revealed value from being reused under another row when filtering. Delete focus fallback considers visible matching rows, then the stable inventory heading. + +**SEC-06:** one stable ThemeButton changes Reveal/Hide presentation, preserves its ID, uses BusyText/aria-busy and prevents duplicates before authorization awaits. Rendered callbacks capture their target generation/mode so an obsolete Hide click cannot become another target’s Reveal. A persistent non-sensitive live status owns outcome announcements; detailed failure text is separately associated with the control. Plaintext appears only in the intentional bounded value region, in the Theme’s ink and mono type. It is absent from status, labels, URL, audit fields and focus interop. Values remain visible until Hide, row removal/filtering or navigation; no timer or auto-hide policy was added. + +A reveal captures name/auth/logger and resolves the audit actor before store waits. Per-target cancellation and generations reject stale reads or audit completions. Hide, target changes and disposal clear rendered plaintext. A failed success audit still prevents disclosure, and existing failure logging retains actor/name without value. The narrow `secrets-reveal.js` adapter receives only a DOM root reference, restores the stable control only when body/root has unclaimed focus, and leaves a different focused control alone. Its imported handle is scoped/disposed, with no persistent listeners. Tests use strict exact-module stubs; authorization/audit assertions remain intact. The test fake’s optional before-read delay supports deterministic actual slow browser cases while retaining normal behavior when unset. + +## State matrix + +| State/transition | Observed result | +|---|---| +| Initial | Metadata only, Reveal control, empty stable outcome region | +| Authorizing/read pending | Disabled action with Revealing text; one read/audit despite duplicate activation | +| Authorized read + successful audit | Current-target plaintext only in labelled scroll region; generic Value revealed status | +| Store/cipher failure | No plaintext, failure outcome and error, existing failure audit semantics | +| Success-audit failure | Fail closed, no plaintext, error association and warning without the value | +| Hide | Clear plaintext, stable control/ID, Value hidden outcome | +| Target/row removed during read | Cancel and reject obsolete result, no disclosure under the next row | +| Target changed during audit | Captured original audit target; no stale plaintext/current outcome | +| Circuit provider disposed during read | No late service resolution, no plaintext/audit success after removal | +| Focus moves elsewhere while pending | Completion leaves the claimed focus alone | +| Filter excludes all | Zero-match explanation, Clear recovery; no false empty-store claim | + +## Verification + +- SEC-05 regressions against old source: **6 failed** (`SEC05-red.*`). One initial fixture lacked authorization registration; corrected before retaining the final meaningful six-case red probe. Whole UI then **75 passed** (`SEC05-after.*`). +- SEC-06 six added regressions against old source: **6 failed** (`SEC06-red.*`). They cover non-sensitive outcome/Hide identity, target reset, out-of-order read, duplicate authorization, deferred audit and disposed scope. +- Final clean → forced mapped official restore → whole Release suite: **81 passed, 0 failed, 0 skipped** (`SEC05-06-clean.log`, `SEC05-06-official-restore.log`, `SEC05-06-after.*`). All69 baseline identities/outcomes remain;12 regressions added (`SEC05-06-test-identities.json`). Both synthetic hosts build with zero warnings/errors. Actual graph/audit JSON retained; no audit/skip suppression or framework upgrade. +- Exact shared dependency is published **Theme1.0.1**, nupkg SHA256 `995b117b0245577598c91404ed7957c071ebe3413696c8be48b419c9deb1bd5d`. Task-local package directory `/tmp/scada-secrets-theme101-official-packages`, official source metadata and hash are recorded in `SEC05-06-official-package.json`. `official-NuGet.Config` maps private IDs to official Gitea and public IDs to NuGet; the initial two-unmapped-source NU1507 failure is retained separately and corrected without suppression. +- **93/93** final browser checks, **zero page errors**, Chromium **145.0.7632.6** (`SEC05-06-confirmation/results.json`). Six viewport captures plus two intentional synthetic payload captures were inspected. All selected body/control/status/value text pairs exceed4.5:1; measured minimum **5.144:1**, maximum **16.877:1**. These are measured selectors, not a claim about every external host stylesheet. +- Both real integration modes: exact linked OtOpcUa per-page wrapper with its actual vendored Bootstrap at **http://127.0.0.1:57520**, and global-interactive composition with ScadaBridge’s actual Bootstrap at **http://127.0.0.1:57522**. UI is still source assembly0.6.6.0; no UI1.0.0 package claim. Official CSS/fonts and current source module bytes match exactly at both origins (`SEC05-06-served-assets.json`, seven assets/host). +- Matrix covers1440px,390px and actual **200% native Chromium zoom** via the shared disposable extension helper (`chrome.tabs.setZoom`): effective CSS width720/DPR2, no CSS zoom or page-scale substitute. Zoom uses viewport capture at document top to avoid scrolled/full-page raster cropping; bounded long-value geometry is measured and separately captured at100%. Document width stays bounded; table, technical metadata and800-character synthetic value panes scroll locally. +- Actual keyboard/behavior cases: local case-insensitive filtering without reads; no-match/Clear focus; long404-character name and long KEK/actor; native details; contextual actions; slow reveal busy/disabled; focus claimed elsewhere; stable Reveal/Hide; failed audit withheld; filtering out a pending row; only current-row audit; metadata scrolling; role boundaries/HTTP403; reduced-motion preference and self-hosted font loading. + +## First inspection corrections retained + +`SEC05-06-first` is explicitly **not accepted**. It detected a superseded unpublished1.0.1 candidate in the global NuGet cache despite a matching assembly version. Cached SHA `0c3bc699465c935525a77a01ff05f8c4f332a1b3363f5918af61add339babdab` differed from the official package; its old unscoped header CSS failed six row-header checks. Parent confirmed/remediated that known cache. The preceding accepted Theme1.0.0 cache matched its published SHA, so earlier proof was unaffected. Confirmation uses only the isolated official cache and central1.0.1 row-header rule; there is no local shared header/grid copy. + +Two initial keyboard-scroll measurements sampled immediately at a scroll boundary/before native progress. Confirmation sets a known left origin, sends actual ArrowRight and waits for real scroll movement. Revealed data now explicitly uses shared ink rather than Bootstrap’s code-color default, with measured contrast. All first/confirmation artifacts remain; no further broad polish loop was run. + +## Limits and next gate + +Only synthetic loopback fixtures were exercised; no keys, LDAP, SQL, fleet services, deployments or production secrets were accessed. The earlier no-Bootstrap diagnostic remains in SEC-03 evidence; final styling uses each actual host’s vendored CSS. These fixtures validate exact wrapper/interactive/assets contracts, not every production host route or authentication deployment. SEC-07 must still prove Ui1.0.0 + Abstractions0.6.6 clean-source packages, exact nuspec floors/asset bytes, published Core0.6.2/0.6.3 and replicator compatibility, isolated restore, version collision checks and release review before publication. Core/backend source/global version is unchanged. diff --git a/components/ui-theme/validation/secrets-ui/SEC05-after.log b/components/ui-theme/validation/secrets-ui/SEC05-after.log new file mode 100644 index 0000000..c3a35fb --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-after.log @@ -0,0 +1,11 @@ + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.Secrets.Abstractions -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/bin/Release/net10.0/ZB.MOM.WW.Secrets.Abstractions.dll + ZB.MOM.WW.Secrets.Ui -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.dll + ZB.MOM.WW.Secrets.Ui.Tests -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.Tests.dll +Test run for /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +WARNING: Overwriting results file: /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/secrets-ui/SEC05-after.trx +Results File: /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/secrets-ui/SEC05-after.trx + +Passed! - Failed: 0, Passed: 75, Skipped: 0, Total: 75, Duration: 320 ms - ZB.MOM.WW.Secrets.Ui.Tests.dll (net10.0) diff --git a/components/ui-theme/validation/secrets-ui/SEC05-after.trx b/components/ui-theme/validation/secrets-ui/SEC05-after.trx new file mode 100644 index 0000000..30f132a --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-after.trx @@ -0,0 +1,478 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.03] Discovering: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.06] Discovered: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.07] Starting: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.40] Finished: ZB.MOM.WW.Secrets.Ui.Tests + + + + \ No newline at end of file diff --git a/components/ui-theme/validation/secrets-ui/SEC05-red.log b/components/ui-theme/validation/secrets-ui/SEC05-red.log new file mode 100644 index 0000000..9118522 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-red.log @@ -0,0 +1,70 @@ + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.Secrets.Abstractions -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/bin/Release/net10.0/ZB.MOM.WW.Secrets.Abstractions.dll + ZB.MOM.WW.Secrets.Ui -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.dll + ZB.MOM.WW.Secrets.Ui.Tests -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.Tests.dll +Test run for /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:00.25] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.DeletionFocusFallback_UsesOnlyVisibleMatchingRows [FAIL] +[xUnit.net 00:00:00.25] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_NoMatchesHasClearRecoveryAndPreservesManageActions [FAIL] +[xUnit.net 00:00:00.28] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.FilteringRows_CannotReuseAnotherRowsRevealedValue [FAIL] +[xUnit.net 00:00:00.28] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.RowActionsAndTechnicalMetadata_StayAssociatedWithLongExactNames [FAIL] +[xUnit.net 00:00:00.29] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_UsesCaseInsensitiveLoadedNamesWithoutReadingValues [FAIL] +[xUnit.net 00:00:00.29] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_CanBeClearedWithoutHidingMetadataPermanently [FAIL] + Failed ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.DeletionFocusFallback_UsesOnlyVisibleMatchingRows [161 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.DeletionFocusFallback_UsesOnlyVisibleMatchingRows() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 438 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + Failed ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_NoMatchesHasClearRecoveryAndPreservesManageActions [8 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_NoMatchesHasClearRecoveryAndPreservesManageActions() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 380 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + Failed ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.FilteringRows_CannotReuseAnotherRowsRevealedValue [26 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.FilteringRows_CannotReuseAnotherRowsRevealedValue() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 425 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + Failed ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.RowActionsAndTechnicalMetadata_StayAssociatedWithLongExactNames [4 ms] + Error Message: + Assert.Contains() Failure: Filter not matched in collection +Collection: [] + Stack Trace: + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.RowActionsAndTechnicalMetadata_StayAssociatedWithLongExactNames() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 398 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + Failed ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_UsesCaseInsensitiveLoadedNamesWithoutReadingValues [1 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_UsesCaseInsensitiveLoadedNamesWithoutReadingValues() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 365 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + Failed ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_CanBeClearedWithoutHidingMetadataPermanently [1 ms] + Error Message: + Bunit.ElementNotFoundException : No elements were found that matches the selector 'input[data-testid=secret-filter]' + Stack Trace: + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_CanBeClearedWithoutHidingMetadataPermanently() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 354 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +WARNING: Overwriting results file: /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/secrets-ui/SEC05-red.trx +Results File: /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/secrets-ui/SEC05-red.trx + +Failed! - Failed: 6, Passed: 0, Skipped: 0, Total: 6, Duration: 212 ms - ZB.MOM.WW.Secrets.Ui.Tests.dll (net10.0) diff --git a/components/ui-theme/validation/secrets-ui/SEC05-red.trx b/components/ui-theme/validation/secrets-ui/SEC05-red.trx new file mode 100644 index 0000000..fa56aff --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC05-red.trx @@ -0,0 +1,190 @@ + + + + + + + + + + + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.FilteringRows_CannotReuseAnotherRowsRevealedValue() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 425 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + + + + + + + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_UsesCaseInsensitiveLoadedNamesWithoutReadingValues() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 365 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + + + + + + + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_NoMatchesHasClearRecoveryAndPreservesManageActions() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 380 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + + + + + + + Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.DeletionFocusFallback_UsesOnlyVisibleMatchingRows() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 438 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + + + + + + + Assert.Contains() Failure: Filter not matched in collection +Collection: [] + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.RowActionsAndTechnicalMetadata_StayAssociatedWithLongExactNames() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 398 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + + + + + + + Bunit.ElementNotFoundException : No elements were found that matches the selector 'input[data-testid=secret-filter]' + at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 42 + at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) in /_/src/bunit/Extensions/RenderedComponentExtensions.cs:line 21 + at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_CanBeClearedWithoutHidingMetadataPermanently() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs:line 354 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.03] Discovering: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.06] Discovered: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.07] Starting: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.25] Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' +[xUnit.net 00:00:00.25] Stack Trace: +[xUnit.net 00:00:00.25] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(42,0): at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) +[xUnit.net 00:00:00.25] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(21,0): at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) +[xUnit.net 00:00:00.25] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs(438,0): at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.DeletionFocusFallback_UsesOnlyVisibleMatchingRows() +[xUnit.net 00:00:00.25] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) +[xUnit.net 00:00:00.25] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +[xUnit.net 00:00:00.25] Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' +[xUnit.net 00:00:00.25] Stack Trace: +[xUnit.net 00:00:00.25] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(42,0): at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) +[xUnit.net 00:00:00.25] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(21,0): at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) +[xUnit.net 00:00:00.25] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs(380,0): at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_NoMatchesHasClearRecoveryAndPreservesManageActions() +[xUnit.net 00:00:00.25] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) +[xUnit.net 00:00:00.25] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +[xUnit.net 00:00:00.28] Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' +[xUnit.net 00:00:00.28] Stack Trace: +[xUnit.net 00:00:00.28] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(42,0): at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) +[xUnit.net 00:00:00.28] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(21,0): at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) +[xUnit.net 00:00:00.28] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs(425,0): at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.FilteringRows_CannotReuseAnotherRowsRevealedValue() +[xUnit.net 00:00:00.28] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) +[xUnit.net 00:00:00.28] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +[xUnit.net 00:00:00.28] Assert.Contains() Failure: Filter not matched in collection +[xUnit.net 00:00:00.28] Collection: [] +[xUnit.net 00:00:00.28] Stack Trace: +[xUnit.net 00:00:00.28] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs(398,0): at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.RowActionsAndTechnicalMetadata_StayAssociatedWithLongExactNames() +[xUnit.net 00:00:00.28] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) +[xUnit.net 00:00:00.28] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +[xUnit.net 00:00:00.29] Bunit.ElementNotFoundException : No elements were found that matches the selector '[data-testid=secret-filter]' +[xUnit.net 00:00:00.29] Stack Trace: +[xUnit.net 00:00:00.29] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(42,0): at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) +[xUnit.net 00:00:00.29] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(21,0): at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) +[xUnit.net 00:00:00.29] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs(365,0): at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_UsesCaseInsensitiveLoadedNamesWithoutReadingValues() +[xUnit.net 00:00:00.29] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) +[xUnit.net 00:00:00.29] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +[xUnit.net 00:00:00.29] Bunit.ElementNotFoundException : No elements were found that matches the selector 'input[data-testid=secret-filter]' +[xUnit.net 00:00:00.29] Stack Trace: +[xUnit.net 00:00:00.29] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(42,0): at Bunit.RenderedComponentExtensions.Find[TComponent,TElement](IRenderedComponent`1 renderedComponent, String cssSelector) +[xUnit.net 00:00:00.29] /_/src/bunit/Extensions/RenderedComponentExtensions.cs(21,0): at Bunit.RenderedComponentExtensions.Find[TComponent](IRenderedComponent`1 renderedComponent, String cssSelector) +[xUnit.net 00:00:00.29] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/SecretsListTests.cs(354,0): at ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_CanBeClearedWithoutHidingMetadataPermanently() +[xUnit.net 00:00:00.29] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) +[xUnit.net 00:00:00.29] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +[xUnit.net 00:00:00.29] Finished: ZB.MOM.WW.Secrets.Ui.Tests + + + + + [xUnit.net 00:00:00.25] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.DeletionFocusFallback_UsesOnlyVisibleMatchingRows [FAIL] + + + [xUnit.net 00:00:00.25] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_NoMatchesHasClearRecoveryAndPreservesManageActions [FAIL] + + + [xUnit.net 00:00:00.28] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.FilteringRows_CannotReuseAnotherRowsRevealedValue [FAIL] + + + [xUnit.net 00:00:00.28] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.RowActionsAndTechnicalMetadata_StayAssociatedWithLongExactNames [FAIL] + + + [xUnit.net 00:00:00.29] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_UsesCaseInsensitiveLoadedNamesWithoutReadingValues [FAIL] + + + [xUnit.net 00:00:00.29] ZB.MOM.WW.Secrets.Ui.Tests.SecretsListTests.NameFilter_CanBeClearedWithoutHidingMetadataPermanently [FAIL] + + + + \ No newline at end of file diff --git a/components/ui-theme/validation/secrets-ui/SEC06-red.log b/components/ui-theme/validation/secrets-ui/SEC06-red.log new file mode 100644 index 0000000..505a4cc --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/SEC06-red.log @@ -0,0 +1,70 @@ + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.Secrets.Abstractions -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/bin/Release/net10.0/ZB.MOM.WW.Secrets.Abstractions.dll + ZB.MOM.WW.Secrets.Ui -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.dll + ZB.MOM.WW.Secrets.Ui.Tests -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.Tests.dll +Test run for /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:00.24] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RemovedReveal_CancelsAndDoesNotResolveDisposedScopeAfterRead [FAIL] +[xUnit.net 00:00:00.25] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.PendingAuthorization_DisablesDuplicateRevealBeforeTheRead [FAIL] +[xUnit.net 00:00:00.25] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget [FAIL] +[xUnit.net 00:00:00.26] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.ChangingRevealTarget_ClearsEarlierPlaintextAndOutcome [FAIL] +[xUnit.net 00:00:00.26] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RevealOutcome_IsNonSensitiveAndHideClearsTheValueWithStableControlIdentity [FAIL] +[xUnit.net 00:00:00.26] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.AuditCompletesAfterTargetChange_NeverPublishesOldPlaintext [FAIL] + Failed ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RemovedReveal_CancelsAndDoesNotResolveDisposedScopeAfterRead [160 ms] + Error Message: + Assert.Equal() Failure: Values differ +Expected: 1 +Actual: 2 + Stack Trace: + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RemovedReveal_CancelsAndDoesNotResolveDisposedScopeAfterRead() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 265 +--- End of stack trace from previous location --- + Failed ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.PendingAuthorization_DisablesDuplicateRevealBeforeTheRead [8 ms] + Error Message: + Assert.True() Failure +Expected: True +Actual: False + Stack Trace: + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.PendingAuthorization_DisablesDuplicateRevealBeforeTheRead() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 212 + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.PendingAuthorization_DisablesDuplicateRevealBeforeTheRead() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 218 +--- End of stack trace from previous location --- + Failed ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget [2 ms] + Error Message: + Assert.True() Failure +Expected: True +Actual: False + Stack Trace: + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 186 + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 189 +--- End of stack trace from previous location --- + Failed ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.ChangingRevealTarget_ClearsEarlierPlaintextAndOutcome [1 ms] + Error Message: + Assert.DoesNotContain() Failure: Sub-string found + ↓ (pos 111) +String: ···"id="revealed-value">synthetic-a-valuesynthetic-a-value + + + + + + + + + + Assert.True() Failure +Expected: True +Actual: False + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.PendingAuthorization_DisablesDuplicateRevealBeforeTheRead() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 212 + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.PendingAuthorization_DisablesDuplicateRevealBeforeTheRead() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 218 +--- End of stack trace from previous location --- + + + + + + + Assert.DoesNotContain() Failure: Sub-string found + ↓ (pos 111) +String: ···"id="revealed-value">synthetic-a-value</co"··· +Found: "synthetic-a-value" + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.ChangingRevealTarget_ClearsEarlierPlaintextAndOutcome() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 159 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + + + + + + + Assert.False() Failure +Expected: False +Actual: True + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RevealOutcome_IsNonSensitiveAndHideClearsTheValueWithStableControlIdentity() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 132 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) + + + + + + + Assert.DoesNotContain() Failure: Sub-string found + ↓ (pos 111) +String: ···"id="revealed-value">synthetic-a-value</co"··· +Found: "synthetic-a-value" + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.AuditCompletesAfterTargetChange_NeverPublishesOldPlaintext() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 237 +--- End of stack trace from previous location --- + + + + + + + Assert.Equal() Failure: Values differ +Expected: 1 +Actual: 2 + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RemovedReveal_CancelsAndDoesNotResolveDisposedScopeAfterRead() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 265 +--- End of stack trace from previous location --- + + + + + + + Assert.True() Failure +Expected: True +Actual: False + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 186 + at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget() in /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs:line 189 +--- End of stack trace from previous location --- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.03] Discovering: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.05] Discovered: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.06] Starting: ZB.MOM.WW.Secrets.Ui.Tests +[xUnit.net 00:00:00.24] Assert.Equal() Failure: Values differ +[xUnit.net 00:00:00.24] Expected: 1 +[xUnit.net 00:00:00.24] Actual: 2 +[xUnit.net 00:00:00.24] Stack Trace: +[xUnit.net 00:00:00.24] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs(265,0): at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RemovedReveal_CancelsAndDoesNotResolveDisposedScopeAfterRead() +[xUnit.net 00:00:00.24] --- End of stack trace from previous location --- +[xUnit.net 00:00:00.25] Assert.True() Failure +[xUnit.net 00:00:00.25] Expected: True +[xUnit.net 00:00:00.25] Actual: False +[xUnit.net 00:00:00.25] Stack Trace: +[xUnit.net 00:00:00.25] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs(212,0): at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.PendingAuthorization_DisablesDuplicateRevealBeforeTheRead() +[xUnit.net 00:00:00.25] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs(218,0): at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.PendingAuthorization_DisablesDuplicateRevealBeforeTheRead() +[xUnit.net 00:00:00.25] --- End of stack trace from previous location --- +[xUnit.net 00:00:00.25] Assert.True() Failure +[xUnit.net 00:00:00.25] Expected: True +[xUnit.net 00:00:00.25] Actual: False +[xUnit.net 00:00:00.25] Stack Trace: +[xUnit.net 00:00:00.25] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs(186,0): at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget() +[xUnit.net 00:00:00.25] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs(189,0): at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget() +[xUnit.net 00:00:00.25] --- End of stack trace from previous location --- +[xUnit.net 00:00:00.26] Assert.DoesNotContain() Failure: Sub-string found +[xUnit.net 00:00:00.26] ↓ (pos 111) +[xUnit.net 00:00:00.26] String: ···"id="revealed-value">synthetic-a-value</co"··· +[xUnit.net 00:00:00.26] Found: "synthetic-a-value" +[xUnit.net 00:00:00.26] Stack Trace: +[xUnit.net 00:00:00.26] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs(159,0): at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.ChangingRevealTarget_ClearsEarlierPlaintextAndOutcome() +[xUnit.net 00:00:00.26] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) +[xUnit.net 00:00:00.26] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +[xUnit.net 00:00:00.26] Assert.False() Failure +[xUnit.net 00:00:00.26] Expected: False +[xUnit.net 00:00:00.26] Actual: True +[xUnit.net 00:00:00.26] Stack Trace: +[xUnit.net 00:00:00.26] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs(132,0): at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RevealOutcome_IsNonSensitiveAndHideClearsTheValueWithStableControlIdentity() +[xUnit.net 00:00:00.26] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) +[xUnit.net 00:00:00.26] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) +[xUnit.net 00:00:00.26] Assert.DoesNotContain() Failure: Sub-string found +[xUnit.net 00:00:00.26] ↓ (pos 111) +[xUnit.net 00:00:00.26] String: ···"id="revealed-value">synthetic-a-value</co"··· +[xUnit.net 00:00:00.26] Found: "synthetic-a-value" +[xUnit.net 00:00:00.26] Stack Trace: +[xUnit.net 00:00:00.26] /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/tests/ZB.MOM.WW.Secrets.Ui.Tests/RevealButtonTests.cs(237,0): at ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.AuditCompletesAfterTargetChange_NeverPublishesOldPlaintext() +[xUnit.net 00:00:00.26] --- End of stack trace from previous location --- +[xUnit.net 00:00:00.26] Finished: ZB.MOM.WW.Secrets.Ui.Tests + + + + + [xUnit.net 00:00:00.24] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RemovedReveal_CancelsAndDoesNotResolveDisposedScopeAfterRead [FAIL] + + + [xUnit.net 00:00:00.25] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.PendingAuthorization_DisablesDuplicateRevealBeforeTheRead [FAIL] + + + [xUnit.net 00:00:00.25] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.SupersededRevealRead_IsCancelledAndCannotDiscloseUnderTheNewTarget [FAIL] + + + [xUnit.net 00:00:00.26] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.ChangingRevealTarget_ClearsEarlierPlaintextAndOutcome [FAIL] + + + [xUnit.net 00:00:00.26] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.RevealOutcome_IsNonSensitiveAndHideClearsTheValueWithStableControlIdentity [FAIL] + + + [xUnit.net 00:00:00.26] ZB.MOM.WW.Secrets.Ui.Tests.RevealButtonTests.AuditCompletesAfterTargetChange_NeverPublishesOldPlaintext [FAIL] + + + + \ No newline at end of file diff --git a/components/ui-theme/validation/secrets-ui/host-build-bootstrap.log b/components/ui-theme/validation/secrets-ui/host-build-bootstrap.log index ab5d721..827a235 100644 --- a/components/ui-theme/validation/secrets-ui/host-build-bootstrap.log +++ b/components/ui-theme/validation/secrets-ui/host-build-bootstrap.log @@ -1,5 +1,3 @@ - Determining projects to restore... - All projects are up-to-date for restore. ZB.MOM.WW.Secrets.Abstractions -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/bin/Release/net10.0/ZB.MOM.WW.Secrets.Abstractions.dll ZB.MOM.WW.Secrets.Ui -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.dll SecretsUiFixture -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/secrets-ui/hosts/bootstrap/bin/Release/net10.0/SecretsUiFixture.dll @@ -8,4 +6,4 @@ Build succeeded. 0 Warning(s) 0 Error(s) -Time Elapsed 00:00:00.83 +Time Elapsed 00:00:00.65 diff --git a/components/ui-theme/validation/secrets-ui/host-build-perpage.log b/components/ui-theme/validation/secrets-ui/host-build-perpage.log index 7b8b638..b3e8a83 100644 --- a/components/ui-theme/validation/secrets-ui/host-build-perpage.log +++ b/components/ui-theme/validation/secrets-ui/host-build-perpage.log @@ -1,5 +1,3 @@ - Determining projects to restore... - All projects are up-to-date for restore. ZB.MOM.WW.Secrets.Abstractions -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/bin/Release/net10.0/ZB.MOM.WW.Secrets.Abstractions.dll ZB.MOM.WW.Secrets.Ui -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/bin/Release/net10.0/ZB.MOM.WW.Secrets.Ui.dll SecretsUiFixture -> /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/secrets-ui/hosts/perpage/bin/Release/net10.0/SecretsUiFixture.dll @@ -8,4 +6,4 @@ Build succeeded. 0 Warning(s) 0 Error(s) -Time Elapsed 00:00:00.84 +Time Elapsed 00:00:00.69 diff --git a/components/ui-theme/validation/secrets-ui/host-official-restore-bootstrap.log b/components/ui-theme/validation/secrets-ui/host-official-restore-bootstrap.log new file mode 100644 index 0000000..4e76ef8 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/host-official-restore-bootstrap.log @@ -0,0 +1,4 @@ + Determining projects to restore... + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/ZB.MOM.WW.Secrets.Abstractions.csproj (in 43 ms). + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/ZB.MOM.WW.Secrets.Ui.csproj (in 89 ms). + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/secrets-ui/hosts/bootstrap/SecretsUiFixture.csproj (in 89 ms). diff --git a/components/ui-theme/validation/secrets-ui/host-official-restore-perpage.log b/components/ui-theme/validation/secrets-ui/host-official-restore-perpage.log new file mode 100644 index 0000000..bc22124 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/host-official-restore-perpage.log @@ -0,0 +1,4 @@ + Determining projects to restore... + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Abstractions/ZB.MOM.WW.Secrets.Abstractions.csproj (in 48 ms). + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/ZB.MOM.WW.Secrets/src/ZB.MOM.WW.Secrets.Ui/ZB.MOM.WW.Secrets.Ui.csproj (in 93 ms). + Restored /Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/secrets-ui/hosts/perpage/SecretsUiFixture.csproj (in 390 ms). diff --git a/components/ui-theme/validation/secrets-ui/hosts/bootstrap/SecretsUiFixture.csproj b/components/ui-theme/validation/secrets-ui/hosts/bootstrap/SecretsUiFixture.csproj index 2a1effe..caa834a 100644 --- a/components/ui-theme/validation/secrets-ui/hosts/bootstrap/SecretsUiFixture.csproj +++ b/components/ui-theme/validation/secrets-ui/hosts/bootstrap/SecretsUiFixture.csproj @@ -3,7 +3,7 @@ - + diff --git a/components/ui-theme/validation/secrets-ui/hosts/perpage/Components/App.razor b/components/ui-theme/validation/secrets-ui/hosts/perpage/Components/App.razor index 9f202a6..f492f4f 100644 --- a/components/ui-theme/validation/secrets-ui/hosts/perpage/Components/App.razor +++ b/components/ui-theme/validation/secrets-ui/hosts/perpage/Components/App.razor @@ -1,7 +1,7 @@ -Secrets synthetic acceptance fixture +Secrets synthetic acceptance fixture

Synthetic local fixture · perpage · No production data or services

diff --git a/components/ui-theme/validation/secrets-ui/hosts/perpage/SecretsUiFixture.csproj b/components/ui-theme/validation/secrets-ui/hosts/perpage/SecretsUiFixture.csproj index f5cf278..c54fcc6 100644 --- a/components/ui-theme/validation/secrets-ui/hosts/perpage/SecretsUiFixture.csproj +++ b/components/ui-theme/validation/secrets-ui/hosts/perpage/SecretsUiFixture.csproj @@ -3,7 +3,7 @@ - + diff --git a/components/ui-theme/validation/secrets-ui/hosts/shared/FixtureServices.cs b/components/ui-theme/validation/secrets-ui/hosts/shared/FixtureServices.cs index 80d2cb0..35bc08e 100644 --- a/components/ui-theme/validation/secrets-ui/hosts/shared/FixtureServices.cs +++ b/components/ui-theme/validation/secrets-ui/hosts/shared/FixtureServices.cs @@ -13,7 +13,7 @@ internal sealed class SyntheticAuthentication(NavigationManager navigation) : Au return Task.FromResult(new AuthenticationState(SyntheticIdentity.ForRole(role))); } } -internal sealed record FaultSettings(bool List = false, bool Write = false, bool Audit = false, int DelayMs = 0); +internal sealed record FaultSettings(bool List = false, bool Write = false, bool Audit = false, int DelayMs = 0, int ReadDelayMs = 0); internal static class SyntheticIdentity { diff --git a/components/ui-theme/validation/secrets-ui/hosts/shared/Program.cs b/components/ui-theme/validation/secrets-ui/hosts/shared/Program.cs index 0e4bf0f..6d8b795 100644 --- a/components/ui-theme/validation/secrets-ui/hosts/shared/Program.cs +++ b/components/ui-theme/validation/secrets-ui/hosts/shared/Program.cs @@ -19,9 +19,9 @@ builder.Services.AddScoped var store = new RecordingSecretStore(); var cipher = new FakeCipher(); var audit = new CapturingAuditWriter(); -foreach (string name in new[] { "app/alpha", "app/bravo", "app/" + new string('x', 160) }) - store.Seed(cipher.Encrypt(new SecretName(name), "synthetic-fixture-value", SecretContentType.Text) with - { Description = "Illustrative local metadata", UpdatedBy = "synthetic-reviewer", UpdatedUtc = DateTimeOffset.Parse("2026-11-13T12:00:00Z") }); +foreach (string name in new[] { "app/alpha", "app/bravo", "app/" + new string('x', 400) }) + store.Seed(cipher.Encrypt(new SecretName(name), name.Length > 100 ? new string('s', 800) : "synthetic-fixture-value", SecretContentType.Text) with + { Description = "Illustrative local metadata", KekId = name.Length > 100 ? "synthetic-kek-" + new string('k', 100) : "fake-kek", UpdatedBy = name.Length > 100 ? "synthetic-reviewer-" + new string('u', 100) : "synthetic-reviewer", UpdatedUtc = DateTimeOffset.Parse("2026-11-13T12:00:00Z") }); builder.Services.AddSingleton(store); builder.Services.AddSingleton(cipher); builder.Services.AddSingleton(audit); @@ -39,10 +39,11 @@ app.MapPost("/fixture/faults", (FaultSettings faults) => store.DeleteFault = faults.Write ? new IOException("synthetic delete outage") : null; audit.SuccessFault = faults.Audit ? new IOException("synthetic audit outage") : null; int delay = Math.Clamp(faults.DelayMs, 0, 10000); + store.BeforeGetAsync = (_, ct) => Task.Delay(Math.Clamp(faults.ReadDelayMs, 0, 10000), ct); store.UpsertOverride = (_, ct) => Task.Delay(delay, ct); store.DeleteOverride = (_, _, ct) => Task.Delay(delay, ct); return Results.NoContent(); }); -app.MapGet("/fixture/counts", () => new { lists = store.ListCalls, upserts = store.Upserts.Count, deletes = store.Deletes.Count, audits = audit.Events.Select(e => new { e.Action, e.Target, e.DetailsJson, e.Outcome }) }); +app.MapGet("/fixture/counts", () => new { gets = store.Gets.Count, lists = store.ListCalls, upserts = store.Upserts.Count, deletes = store.Deletes.Count, audits = audit.Events.Select(e => new { e.Action, e.Target, e.DetailsJson, e.Outcome }) }); app.MapRazorComponents().AddInteractiveServerRenderMode(); app.Run(); diff --git a/components/ui-theme/validation/secrets-ui/official-NuGet.Config b/components/ui-theme/validation/secrets-ui/official-NuGet.Config new file mode 100644 index 0000000..9db6fea --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/official-NuGet.Config @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/components/ui-theme/validation/secrets-ui/surface_matrix.py b/components/ui-theme/validation/secrets-ui/surface_matrix.py new file mode 100644 index 0000000..2da54e6 --- /dev/null +++ b/components/ui-theme/validation/secrets-ui/surface_matrix.py @@ -0,0 +1,225 @@ +"""Bounded synthetic Secrets UI checks, including native Chromium 200% zoom. + +Only the two disposable fixture origins are accepted. No production store or credentials. +""" +import argparse +import json +import re +import sys +from pathlib import Path +from urllib.parse import urlsplit +from playwright.sync_api import sync_playwright, expect + +ROOT = Path(__file__).resolve().parents[4] +sys.path.insert(0, str(ROOT / "components/ui-theme/validation/theme-1.0.0/canary")) +from browser_zoom import zoom_browser, set_browser_zoom + +parser = argparse.ArgumentParser() +parser.add_argument("--perpage", required=True) +parser.add_argument("--bootstrap", required=True) +parser.add_argument("--expected-theme", required=True) +parser.add_argument("--out", required=True, type=Path) +args = parser.parse_args() +args.out.mkdir(parents=True, exist_ok=True) +results = {"cases": [], "checks": [], "pageErrors": [], "theme": args.expected_theme} +LONG_NAME = "app/" + "x" * 400 +LONG_VALUE = "s" * 800 + + +def check(name, value, detail=None): + item = {"name": name, "pass": bool(value)} + if detail is not None: + item["detail"] = detail + results["checks"].append(item) + return bool(value) + + +def counts(page, origin): + return page.request.get(origin + "/fixture/counts").json() + + +def faults(page, origin, **data): + response = page.request.post(origin + "/fixture/faults", data=data) + assert response.status == 204, response.status + + +def ready(page, origin): + page.goto(origin + "/admin/secrets") + expect(page.locator("[data-fixture-ready=true]")).to_be_visible() + page.evaluate("document.fonts.ready") + + +def focused(page, selector): + page.wait_for_function("s => document.activeElement === document.querySelector(s)", arg=selector) + + +def state(page): + return page.evaluate("""() => { + const table=document.querySelector('.table-wrap'); + const row=document.querySelector('th[scope=row]'); + const r=row&&getComputedStyle(row); + const technical=document.querySelector('details[open] .zb-secret-tech-scroll'); + const region=document.querySelector('[data-testid=revealed-value]')?.parentElement; + const active=document.activeElement; + const pair=selector=>{const e=document.querySelector(selector);if(!e)return null; + let n=e,bg;while(n){const c=getComputedStyle(n).backgroundColor;if(c!=='rgba(0, 0, 0, 0)'&&c!=='transparent'){bg=c;break;}n=n.parentElement;} + return {color:getComputedStyle(e).color,background:bg||'rgb(255, 255, 255)'};}; + return {url:location.href,innerWidth,innerHeight,scrollY,DPR:devicePixelRatio,scrollWidth:document.documentElement.scrollWidth, + font:getComputedStyle(document.body).fontFamily,fontLoaded:document.fonts.check('14px "IBM Plex Sans"')&&[...document.fonts].some(f=>f.family.includes('IBM Plex Sans')&&f.status==='loaded'), + table:{client:table.clientWidth,scroll:table.scrollWidth}, + rowHeader:row?{text:row.textContent.trim(),transform:r.textTransform,position:r.position,color:r.color,fontSize:r.fontSize}:null, + technical:technical?{client:technical.clientWidth,scroll:technical.scrollWidth,height:technical.clientHeight,scrollHeight:technical.scrollHeight}:null, + value:region?{client:region.clientWidth,scroll:region.scrollWidth,height:region.clientHeight,scrollHeight:region.scrollHeight}:null, + colors:{filter:pair('[data-testid=secret-filter]'),label:pair('label[for]'),count:pair('[data-testid=filter-count]'),summary:pair('summary'),status:pair('[data-testid=reveal-status]'),error:pair('[data-testid=reveal-error]'),value:pair('[data-testid=revealed-value]')}, + focus:{id:active.id,outline:getComputedStyle(active).outline,visible:active.matches(':focus-visible')}, + reduced:matchMedia('(prefers-reduced-motion:reduce)').matches}; + }""") + + +def contrast(pair): + if not pair: + return None + def luminance(value): + channels = [int(x) / 255 for x in re.findall(r"\d+", value)[:3]] + channels = [c / 12.92 if c <= .04045 else ((c + .055) / 1.055) ** 2.4 for c in channels] + return sum(c * w for c, w in zip(channels, [.2126, .7152, .0722])) + a, b = sorted([luminance(pair["color"]), luminance(pair["background"])]) + return round((b + .05) / (a + .05), 3) + + +with sync_playwright() as playwright: + with zoom_browser(playwright) as (context, worker): + page = context.pages[0] + session = context.new_cdp_session(page) + results["browser"] = session.send("Browser.getVersion")["product"] + session.detach() + page.set_default_timeout(7000) + page.on("pageerror", lambda error: results["pageErrors"].append(str(error))) + page.emulate_media(reduced_motion="reduce") + for mode, origin in [("perpage", args.perpage), ("bootstrap", args.bootstrap)]: + parsed = urlsplit(origin) + assert parsed.hostname in {"127.0.0.1", "localhost", "::1"} and not parsed.path.strip("/"), origin + provenance = page.request.get(origin + "/fixture/provenance").json() + assert provenance["purpose"].startswith("Loopback synthetic Secrets UI"), provenance + assert provenance["theme"] == args.expected_theme, provenance + results.setdefault("hosts", []).append({"mode": mode, "origin": origin, "provenance": provenance}) + try: + faults(page, origin) + page.set_viewport_size({"width": 1440, "height": 1000}) + ready(page, origin) + set_browser_zoom(worker, page, 1) + initial = counts(page, origin) + search = page.get_by_test_id("secret-filter") + search.fill(" APP/ALPHA ") + expect(page.locator("tr[data-secret-row]")).to_have_count(1) + check(mode + " name-only case-insensitive filter", page.locator("tr[data-secret-row]").get_attribute("data-secret-row") == "app/alpha") + search.fill("Illustrative local metadata") + expect(page.get_by_test_id("filter-empty")).to_be_visible() + check(mode + " no-match distinct from empty", "No names match" in page.get_by_test_id("filter-empty").inner_text()) + page.get_by_test_id("clear-secret-filter").click() + expect(page.locator("tr[data-secret-row]")).to_have_count(3) + focused(page, "[data-testid=secret-filter]") + filtered = counts(page, origin) + check(mode + " filter/clear does not read values or reload", initial["gets"] == filtered["gets"] and initial["lists"] == filtered["lists"]) + row = page.locator(f"tr[data-secret-row='{LONG_NAME}']") + check(mode + " contextual row actions", all(row.get_by_role("button", name=f"{action} {LONG_NAME}", exact=True).count() == 1 for action in ["Reveal", "Rotate", "Delete"])) + + # A real slow request must not steal focus claimed by another control. + faults(page, origin, readDelayMs=700) + reveal = row.get_by_test_id("reveal-button") + identity = reveal.get_attribute("id") + reveal.focus(); page.keyboard.press("Enter") + expect(reveal).to_have_attribute("aria-busy", "true") + check(mode + " slow reveal is disabled and explained", reveal.is_disabled() and "Revealing" in reveal.inner_text()) + search.focus() + expect(row.get_by_test_id("revealed-value")).to_have_text(LONG_VALUE) + focused(page, "[data-testid=secret-filter]") + check(mode + " completion preserves focus claimed elsewhere", True) + check(mode + " stable Reveal/Hide control", row.get_by_test_id("hide-button").get_attribute("id") == identity) + check(mode + " plaintext absent from live status/labels/URL/audit", all(LONG_VALUE not in text for text in page.locator('[aria-live],[role=status]').all_text_contents()) and LONG_VALUE not in json.dumps(counts(page, origin)["audits"]) and LONG_VALUE not in page.url and LONG_VALUE not in row.get_by_test_id("hide-button").get_attribute("aria-label")) + row.get_by_test_id("reveal-panel").screenshot(path=str(args.out / f"{mode}-revealed-payload.png")) + row.get_by_test_id("hide-button").focus(); page.keyboard.press("Enter") + expect(page.get_by_test_id("revealed-value")).to_have_count(0) + focused(page, "#" + identity) + check(mode + " keyboard Hide clears plaintext", LONG_VALUE not in page.content()) + + # Audit failure remains fail-closed and gives a non-sensitive outcome. + faults(page, origin, audit=True) + row.get_by_test_id("reveal-button").click() + expect(row.get_by_test_id("reveal-error")).to_be_visible() + check(mode + " failed audit withholds value", page.get_by_test_id("revealed-value").count() == 0 and LONG_VALUE not in page.content()) + check(mode + " failed reveal remains discoverable", "Reveal failed" in row.get_by_test_id("reveal-status").inner_text()) + focused(page, "#" + identity) + error_state = state(page) + check(mode + " error contrast", contrast(error_state["colors"]["error"]) >= 4.5, error_state["colors"]["error"]) + row.get_by_test_id("hide-button").click() + + # Removing a pending row cancels that read; another row cannot inherit its value. + faults(page, origin, readDelayMs=700) + before = counts(page, origin) + row.get_by_test_id("reveal-button").click() + expect(row.get_by_test_id("reveal-button")).to_have_attribute("aria-busy", "true") + search.fill("app/bravo") + expect(page.locator("tr[data-secret-row]")).to_have_count(1) + check(mode + " filtered-out pending row does not disclose", page.get_by_test_id("revealed-value").count() == 0) + page.get_by_test_id("reveal-button").click() + expect(page.get_by_test_id("revealed-value")).to_have_text("synthetic-fixture-value") + after = counts(page, origin) + check(mode + " only current row has success audit", len(after["audits"]) == len(before["audits"]) + 1 and after["audits"][-1]["target"] == "app/bravo") + page.get_by_test_id("hide-button").click() + page.get_by_test_id("clear-secret-filter").click() + faults(page, origin) + + # One bounded desktop/mobile/real-zoom inspection round. + for label, width, height, zoom in [("desktop", 1440, 1000, 1), ("mobile", 390, 844, 1), ("zoom200", 1440, 900, 2)]: + page.set_viewport_size({"width": width, "height": height}) + ready(page, origin) + assert set_browser_zoom(worker, page, zoom) == zoom + row = page.locator(f"tr[data-secret-row='{LONG_NAME}']") + if label != "desktop": + row.locator("summary").focus(); page.keyboard.press("Enter") + expect(row.locator("details")).to_have_attribute("open", "") + if label == "zoom200": + row.get_by_test_id("reveal-button").click() + expect(row.get_by_test_id("revealed-value")).to_have_text(LONG_VALUE) + if zoom == 2: + page.evaluate("window.scrollTo(0,0)") # Native zoom viewport capture; avoid scrolled-viewport raster cropping. + data = state(page) + check(mode + " " + label + " bounded document", data["scrollWidth"] <= data["innerWidth"], data) + check(mode + " " + label + " row headers retain data presentation", data["rowHeader"]["transform"] == "none" and data["rowHeader"]["position"] == "static", data["rowHeader"]) + check(mode + " " + label + " self-hosted font and reduced-motion preference", data["fontLoaded"] and data["reduced"]) + if data["technical"]: + check(mode + " " + label + " long technical values locally contained", data["technical"]["scroll"] <= data["technical"]["client"] + 1 and data["technical"]["height"] <= 256, data["technical"]) + if data["value"]: + check(mode + " " + label + " long plaintext locally contained", data["value"]["scroll"] <= data["value"]["client"] + 1 and data["value"]["height"] <= 256, data["value"]) + if zoom == 2: + check(mode + " native200% layout/DPR", data["innerWidth"] == 720 and data["DPR"] == 2, data) + for name, pair in data["colors"].items(): + if pair: + data["colors"][name]["contrast"] = contrast(pair) + check(mode + " " + label + " " + name + " readable", contrast(pair) >= 4.5, pair) + page.screenshot(path=str(args.out / f"{mode}-{label}.png"), full_page=False) + results["cases"].append({"mode": mode, "case": label, **data}) + if label == "mobile": + region = page.get_by_role("region", name="Secret metadata", exact=True) + region.evaluate("n=>n.scrollLeft=0") + region.focus(); page.keyboard.press("ArrowRight") + page.wait_for_function("()=>document.querySelector('.table-wrap').scrollLeft>0") + check(mode + " keyboard table scrolling", region.evaluate("n=>n.scrollLeft") > 0) + if zoom == 2: + row.get_by_test_id("hide-button").click() + set_browser_zoom(worker, page, 1) + page.set_viewport_size({"width": 1440, "height": 900}) + page.goto(origin + "/admin/secrets?role=manage") + expect(page.locator("[data-fixture-ready=true]")).to_be_visible() + check(mode + " manage does not imply reveal", page.get_by_test_id("reveal-button").count() == 0) + check(mode + " denied route", page.request.get(origin + "/admin/secrets?role=denied").status == 403) + except Exception as error: + check(mode + " matrix completed", False, str(error)) + finally: + faults(page, origin) + check("No page errors", not results["pageErrors"], results["pageErrors"]) +(args.out / "results.json").write_text(json.dumps(results, indent=2) + "\n") +summary = {"checks": len(results["checks"]), "failed": [x["name"] for x in results["checks"] if not x["pass"]], "screenshots": len(results["cases"]), "browser": results.get("browser")} +print(json.dumps(summary)) +raise SystemExit(1 if summary["failed"] else 0)
Secret metadata. Updated times are UTC.
NameDescriptionUpdated (UTC)Actions
No secrets.
No secrets.
No names match this filter. Clear filter to see the loaded metadata.
@secret.Name.Value@secret.Description@secret.ContentType@secret.KekId@secret.Revision@secret.UpdatedUtc.UtcDateTime.ToString("u")@secret.UpdatedBy +
@secret.Name.Value + @secret.Description +
+ Technical metadata +
+
+
Content type
@secret.ContentType
+
KEK
@secret.KekId
+
Revision
@secret.Revision
+
Updated by
@secret.UpdatedBy
+
+
+
+
+ aria-label="@($"Rotate {secret.Name.Value}")" data-secret-name="@secret.Name.Value" disabled="@OperationBusy" + @onclick="() => ShowRotate(secret.Name)">Rotate + aria-label="@($"Delete {secret.Name.Value}")" id="@RowActionId(secret.Name)" data-secret-name="@secret.Name.Value" disabled="@OperationBusy" + @onclick="() => ShowDelete(secret.Name)">Delete -