Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 010049b3c7 | |||
| 2552d85d5c |
@@ -1,290 +0,0 @@
|
||||
using System.Data.Common;
|
||||
using System.Text.Json;
|
||||
using JobTrackerApi.Data;
|
||||
using JobTrackerApi.Models;
|
||||
using JobTrackerApi.Services;
|
||||
using Microsoft.Data.Sqlite;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Diagnostics;
|
||||
using Moq;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
|
||||
namespace JobTrackerApi.Tests;
|
||||
|
||||
public sealed class AnalyticsStatsQueryTests(ITestOutputHelper output)
|
||||
{
|
||||
[Theory]
|
||||
[InlineData(0)]
|
||||
[InlineData(250)]
|
||||
[InlineData(2500)]
|
||||
public async Task Stats_keep_narrow_server_aggregates_with_two_fewer_roundtrips(int size)
|
||||
{
|
||||
await using var fixture = await Fixture.Create();
|
||||
var now = DateTime.Now;
|
||||
fixture.Db.JobApplications.AddRange(Enumerable.Range(0, size).Select(i => fixture.Job("owner", "Applied", now.AddDays(-10))));
|
||||
fixture.Db.JobApplications.Add(fixture.Job("foreign", "Private", now));
|
||||
fixture.Db.JobApplications.Add(fixture.Job(null, "Unowned", now));
|
||||
await fixture.Db.SaveChangesAsync();
|
||||
fixture.Db.ChangeTracker.Clear();
|
||||
fixture.Recorder.Commands.Clear();
|
||||
|
||||
var stats = await new AnalyticsService(fixture.Db).GetStatsAsync(default);
|
||||
Assert.Equal(size, stats.Total);
|
||||
Assert.Equal(size, stats.Active);
|
||||
Assert.Equal(0, stats.Deleted);
|
||||
Assert.Equal(size, stats.AppliedLast30Days);
|
||||
Assert.Equal(size == 0 ? 0 : 10, stats.AverageDaysSinceApplied);
|
||||
Assert.Equal(size == 0 ? 0 : 1, stats.ByStatus.Count);
|
||||
if (size > 0) Assert.Equal(size, stats.ByStatus["Applied"]);
|
||||
Assert.Empty(fixture.Db.ChangeTracker.Entries());
|
||||
|
||||
var rows = await fixture.Recorder.ReplayRows(fixture.Connection);
|
||||
output.WriteLine(JsonSerializer.Serialize(new { Provider = "SQLite", OwnedRows = size, Commands = fixture.Recorder.Commands.Count, ReturnedRowsPerCommand = rows, Sql = fixture.Recorder.Commands.Select(x => x.Sql) }));
|
||||
Assert.All(fixture.Recorder.Commands, command =>
|
||||
{
|
||||
Assert.DoesNotContain("Description", command.Sql);
|
||||
Assert.DoesNotContain("CoverLetterText", command.Sql);
|
||||
Assert.DoesNotContain("JobTitle", command.Sql);
|
||||
});
|
||||
Assert.Equal(size == 0 ? 2 : 3, fixture.Recorder.Commands.Count);
|
||||
Assert.Equal(size == 0 ? 0 : size + 2, rows.Sum());
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Stats_preserve_deleted_nullable_future_dates_status_keys_and_live_owner_filters()
|
||||
{
|
||||
await using var fixture = await Fixture.Create();
|
||||
var now = DateTime.Now;
|
||||
var statuses = new[] { "Applied", "Applied", "applied", "", " ", "Unknown", " Applied " };
|
||||
DateTime?[] dates = [now.AddDays(-29.5), now.AddDays(-30.5), now.AddDays(-10.375), now.AddDays(2), null, null, null];
|
||||
fixture.Db.JobApplications.AddRange(statuses.Select((status, i) => fixture.Job("owner", status, dates[i])));
|
||||
fixture.Db.JobApplications.Add(fixture.Job("owner", "Deleted", now, deleted: true));
|
||||
fixture.Db.JobApplications.Add(fixture.Job("owner", "Deleted", null, deleted: true));
|
||||
fixture.Db.JobApplications.Add(fixture.Job("foreign", "Private", now.AddDays(-1)));
|
||||
fixture.Db.JobApplications.Add(fixture.Job(null, "Unowned", now));
|
||||
await fixture.Db.SaveChangesAsync();
|
||||
|
||||
var service = new AnalyticsService(fixture.Db);
|
||||
var stats = await service.GetStatsAsync(default);
|
||||
Assert.Equal(9, stats.Total);
|
||||
Assert.Equal(7, stats.Active);
|
||||
Assert.Equal(2, stats.Deleted);
|
||||
Assert.Equal(3, stats.AppliedLast30Days); // Future dates still satisfy the existing lower bound.
|
||||
Assert.Equal(17.6, stats.AverageDaysSinceApplied); // Nulls excluded; future age clamped to zero.
|
||||
Assert.Equal(3, stats.ByStatus["Unknown"]);
|
||||
Assert.Equal(2, stats.ByStatus["Applied"]);
|
||||
Assert.Equal(1, stats.ByStatus["applied"]);
|
||||
Assert.Equal(1, stats.ByStatus[" Applied "]);
|
||||
Assert.Equal(4, stats.ByStatus.Count);
|
||||
|
||||
fixture.User.SetupGet(x => x.UserId).Returns("foreign");
|
||||
Assert.Equal(1, (await service.GetStatsAsync(default)).Total);
|
||||
fixture.User.SetupGet(x => x.UserId).Returns((string?)null);
|
||||
var anonymous = await service.GetStatsAsync(default);
|
||||
Assert.Equal(0, anonymous.Total);
|
||||
Assert.Equal(0, anonymous.Active);
|
||||
Assert.Equal(0, anonymous.AppliedLast30Days);
|
||||
Assert.Equal(0, anonymous.AverageDaysSinceApplied);
|
||||
Assert.Empty(anonymous.ByStatus);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(true)]
|
||||
[InlineData(false)]
|
||||
public async Task Deleted_only_and_null_applied_dates_keep_zero_averages(bool deleted)
|
||||
{
|
||||
await using var fixture = await Fixture.Create();
|
||||
fixture.Db.JobApplications.Add(fixture.Job("owner", "Saved", null, deleted));
|
||||
await fixture.Db.SaveChangesAsync();
|
||||
fixture.Recorder.Commands.Clear();
|
||||
var stats = await new AnalyticsService(fixture.Db).GetStatsAsync(default);
|
||||
Assert.Equal(1, stats.Total);
|
||||
Assert.Equal(deleted ? 0 : 1, stats.Active);
|
||||
Assert.Equal(deleted ? 1 : 0, stats.Deleted);
|
||||
Assert.Equal(0, stats.AppliedLast30Days);
|
||||
Assert.Equal(0, stats.AverageDaysSinceApplied);
|
||||
Assert.Equal(deleted ? 2 : 3, fixture.Recorder.Commands.Count);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Applied_volume_keeps_the_exact_thirty_day_lower_bound_inclusive()
|
||||
{
|
||||
await using var fixture = await Fixture.Create();
|
||||
var atBoundary = fixture.Job("owner", "Applied", null);
|
||||
var beforeBoundary = fixture.Job("owner", "Applied", null);
|
||||
fixture.Db.JobApplications.AddRange(atBoundary, beforeBoundary);
|
||||
await fixture.Db.SaveChangesAsync();
|
||||
var setBoundary = false;
|
||||
fixture.Recorder.BeforeReader = () =>
|
||||
{
|
||||
var parameter = fixture.Recorder.Commands.Last().Parameters.FirstOrDefault(x => x.Key.Contains("last30", StringComparison.Ordinal));
|
||||
if (setBoundary || parameter.Value is not DateTime cutoff) return;
|
||||
// Use the service's captured cutoff, so this assertion cannot drift with the clock.
|
||||
using var command = fixture.Connection.CreateCommand();
|
||||
command.CommandText = "UPDATE JobApplications SET DateApplied = $date WHERE Id = $id";
|
||||
command.Parameters.AddWithValue("$date", cutoff);
|
||||
command.Parameters.AddWithValue("$id", atBoundary.Id);
|
||||
command.ExecuteNonQuery();
|
||||
command.Parameters["$date"].Value = cutoff.AddTicks(-1);
|
||||
command.Parameters["$id"].Value = beforeBoundary.Id;
|
||||
command.ExecuteNonQuery();
|
||||
setBoundary = true;
|
||||
};
|
||||
var stats = await new AnalyticsService(fixture.Db).GetStatsAsync(default);
|
||||
Assert.True(setBoundary);
|
||||
Assert.Equal(1, stats.AppliedLast30Days);
|
||||
Assert.Equal(30, stats.AverageDaysSinceApplied);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Repeated_stats_observe_mutations_without_caching()
|
||||
{
|
||||
await using var fixture = await Fixture.Create();
|
||||
var job = fixture.Job("owner", "Saved", null);
|
||||
fixture.Db.JobApplications.Add(job);
|
||||
await fixture.Db.SaveChangesAsync();
|
||||
var service = new AnalyticsService(fixture.Db);
|
||||
var before = await service.GetStatsAsync(default);
|
||||
Assert.Equal(1, before.Active);
|
||||
job.IsDeleted = true;
|
||||
job.DateApplied = DateTime.Now;
|
||||
await fixture.Db.SaveChangesAsync();
|
||||
var after = await service.GetStatsAsync(default);
|
||||
Assert.Equal(1, after.Total);
|
||||
Assert.Equal(0, after.Active);
|
||||
Assert.Empty(after.ByStatus);
|
||||
Assert.Equal(1, before.ByStatus["Saved"]);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Cancellation_reaches_the_native_command_and_stops_later_queries()
|
||||
{
|
||||
await using var fixture = await Fixture.Create();
|
||||
using var cancellation = new CancellationTokenSource();
|
||||
fixture.Recorder.Commands.Clear();
|
||||
fixture.Recorder.BeforeReader = () => cancellation.Cancel();
|
||||
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => new AnalyticsService(fixture.Db).GetStatsAsync(cancellation.Token));
|
||||
Assert.Single(fixture.Recorder.Commands);
|
||||
Assert.Equal(cancellation.Token, fixture.Recorder.LastToken);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Pomelo_generates_the_actual_stats_aggregate_without_opening_a_database()
|
||||
{
|
||||
var connectionGuard = new ClosedConnectionGuard();
|
||||
var capture = new PomeloCommandCapture();
|
||||
var options = new DbContextOptionsBuilder<JobTrackerContext>()
|
||||
.UseMySql("Server=127.0.0.1;Database=translation_only;User=none;Password=none;", new MariaDbServerVersion(new Version(12, 2, 2)))
|
||||
.AddInterceptors(connectionGuard, capture).Options;
|
||||
var user = new Mock<ICurrentUserService>();
|
||||
user.SetupGet(x => x.UserId).Returns("owner");
|
||||
await using var db = new JobTrackerContext(options, user.Object);
|
||||
await Assert.ThrowsAsync<CapturedSqlException>(() => new AnalyticsService(db).GetStatsAsync(default));
|
||||
Assert.Equal(System.Data.ConnectionState.Closed, db.Database.GetDbConnection().State);
|
||||
Assert.Equal(1, connectionGuard.SuppressedOpenRequests);
|
||||
Assert.Contains("COUNT(", capture.Sql);
|
||||
Assert.Contains("CASE", capture.Sql);
|
||||
Assert.Contains("`OwnerUserId`", capture.Sql);
|
||||
Assert.Contains("`DateApplied`", capture.Sql);
|
||||
Assert.Contains(">=", capture.Sql);
|
||||
Assert.Contains("GROUP BY", capture.Sql);
|
||||
Assert.DoesNotContain("Description", capture.Sql);
|
||||
output.WriteLine("Pomelo SQL compiled but not executed: " + capture.Sql);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Legacy_null_status_still_merges_into_unknown()
|
||||
{
|
||||
var options = new DbContextOptionsBuilder<JobTrackerContext>().UseInMemoryDatabase(Guid.NewGuid().ToString(), config => config.EnableNullChecks(false)).Options;
|
||||
var user = new Mock<ICurrentUserService>();
|
||||
user.SetupGet(x => x.UserId).Returns("owner");
|
||||
await using var db = new JobTrackerContext(options, user.Object);
|
||||
db.JobApplications.AddRange(new JobApplication { OwnerUserId = "owner", Status = null! }, new JobApplication { OwnerUserId = "owner", Status = "Unknown" });
|
||||
await db.SaveChangesAsync();
|
||||
var stats = await new AnalyticsService(db).GetStatsAsync(default);
|
||||
Assert.Equal(2, stats.ByStatus["Unknown"]);
|
||||
}
|
||||
|
||||
private sealed class Fixture(SqliteConnection connection, JobTrackerContext db, Mock<ICurrentUserService> user, CommandRecorder recorder) : IAsyncDisposable
|
||||
{
|
||||
public SqliteConnection Connection => connection;
|
||||
public JobTrackerContext Db => db;
|
||||
public Mock<ICurrentUserService> User => user;
|
||||
public CommandRecorder Recorder => recorder;
|
||||
public JobApplication Job(string? owner, string status, DateTime? applied, bool deleted = false) => new()
|
||||
{
|
||||
OwnerUserId = owner, CompanyId = 1, JobTitle = "Synthetic", Status = status, DateApplied = applied, IsDeleted = deleted,
|
||||
Description = new string('x', 4096), CoverLetterText = new string('y', 4096)
|
||||
};
|
||||
public static async Task<Fixture> Create()
|
||||
{
|
||||
var connection = new SqliteConnection("Data Source=:memory:");
|
||||
await connection.OpenAsync();
|
||||
var recorder = new CommandRecorder();
|
||||
var user = new Mock<ICurrentUserService>();
|
||||
user.SetupGet(x => x.UserId).Returns("owner");
|
||||
var db = new JobTrackerContext(new DbContextOptionsBuilder<JobTrackerContext>().UseSqlite(connection).AddInterceptors(recorder).Options, user.Object);
|
||||
await db.Database.EnsureCreatedAsync();
|
||||
db.Users.AddRange(new ApplicationUser { Id = "owner" }, new ApplicationUser { Id = "foreign" });
|
||||
db.Companies.Add(new Company { Id = 1, Name = "Synthetic", OwnerUserId = "owner" });
|
||||
await db.SaveChangesAsync();
|
||||
recorder.Commands.Clear();
|
||||
return new Fixture(connection, db, user, recorder);
|
||||
}
|
||||
public async ValueTask DisposeAsync() { await db.DisposeAsync(); await connection.DisposeAsync(); }
|
||||
}
|
||||
|
||||
private sealed class CommandRecorder : DbCommandInterceptor
|
||||
{
|
||||
public List<(string Sql, Dictionary<string, object?> Parameters)> Commands { get; } = [];
|
||||
public Action? BeforeReader { get; set; }
|
||||
public CancellationToken LastToken { get; private set; }
|
||||
public override ValueTask<InterceptionResult<DbDataReader>> ReaderExecutingAsync(DbCommand command, CommandEventData eventData, InterceptionResult<DbDataReader> result, CancellationToken cancellationToken = default)
|
||||
{
|
||||
Commands.Add((command.CommandText, command.Parameters.Cast<DbParameter>().ToDictionary(p => p.ParameterName, p => p.Value)));
|
||||
LastToken = cancellationToken;
|
||||
BeforeReader?.Invoke();
|
||||
return ValueTask.FromResult(result);
|
||||
}
|
||||
public async Task<List<int>> ReplayRows(SqliteConnection connection)
|
||||
{
|
||||
var rows = new List<int>();
|
||||
foreach (var captured in Commands)
|
||||
{
|
||||
await using var command = connection.CreateCommand();
|
||||
command.CommandText = captured.Sql;
|
||||
foreach (var parameter in captured.Parameters) command.Parameters.AddWithValue(parameter.Key, parameter.Value ?? DBNull.Value);
|
||||
var count = 0;
|
||||
await using var reader = await command.ExecuteReaderAsync();
|
||||
while (await reader.ReadAsync()) count++;
|
||||
rows.Add(count);
|
||||
}
|
||||
return rows;
|
||||
}
|
||||
}
|
||||
|
||||
private sealed class CapturedSqlException : Exception;
|
||||
|
||||
private sealed class ClosedConnectionGuard : DbConnectionInterceptor
|
||||
{
|
||||
public int SuppressedOpenRequests { get; private set; }
|
||||
public override InterceptionResult ConnectionOpening(DbConnection connection, ConnectionEventData eventData, InterceptionResult result)
|
||||
{
|
||||
SuppressedOpenRequests++;
|
||||
return InterceptionResult.Suppress();
|
||||
}
|
||||
public override ValueTask<InterceptionResult> ConnectionOpeningAsync(DbConnection connection, ConnectionEventData eventData, InterceptionResult result, CancellationToken cancellationToken = default)
|
||||
=> ValueTask.FromResult(ConnectionOpening(connection, eventData, result));
|
||||
}
|
||||
|
||||
private sealed class PomeloCommandCapture : DbCommandInterceptor
|
||||
{
|
||||
public string Sql { get; private set; } = "";
|
||||
public override ValueTask<InterceptionResult<DbDataReader>> ReaderExecutingAsync(DbCommand command, CommandEventData eventData, InterceptionResult<DbDataReader> result, CancellationToken cancellationToken = default)
|
||||
{
|
||||
Sql = command.CommandText;
|
||||
throw new CapturedSqlException();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,18 +25,10 @@ namespace JobTrackerApi.Services
|
||||
var last30 = now.AddDays(-30);
|
||||
|
||||
// Aggregate server-side (COUNT/GROUP BY) instead of pulling every row into memory.
|
||||
var counts = await _db.JobApplications.AsNoTracking()
|
||||
.GroupBy(_ => 1)
|
||||
.Select(g => new
|
||||
{
|
||||
Total = g.Count(),
|
||||
Active = g.Count(j => !j.IsDeleted),
|
||||
AppliedLast30Days = g.Count(j => !j.IsDeleted && j.DateApplied >= last30)
|
||||
})
|
||||
.SingleOrDefaultAsync(cancellationToken);
|
||||
var total = counts?.Total ?? 0;
|
||||
var active = counts?.Active ?? 0;
|
||||
var appliedLast30Days = counts?.AppliedLast30Days ?? 0;
|
||||
var total = await _db.JobApplications.AsNoTracking().CountAsync(cancellationToken);
|
||||
var active = await _db.JobApplications.AsNoTracking().CountAsync(j => !j.IsDeleted, cancellationToken);
|
||||
var appliedLast30Days = await _db.JobApplications.AsNoTracking()
|
||||
.CountAsync(j => !j.IsDeleted && j.DateApplied >= last30, cancellationToken);
|
||||
|
||||
var byStatus = await _db.JobApplications
|
||||
.AsNoTracking()
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
# PERF-06 · Analytics stats aggregate queries
|
||||
|
||||
Application baseline `1db5f488f6138e4f0f33749452b7d9f47658f4b0`, isolated `codex/analytics-query-batch`. Roadmap source `271d37d1`, `docs/direct-roadmap/LATEST_CHECKPOINT.md` and PERF-06 in `ROADMAP_TODO.md`, required a measured baseline before combining queries. The only application edit is inside `AnalyticsService.GetStatsAsync`; controller, DTO, overview, schema, configuration, Career completeness and caching are unchanged.
|
||||
|
||||
## Native baseline and change
|
||||
|
||||
Before editing the service, a command interceptor recorded the SQL and parameters actually issued by GetStats against disposable in-memory **native SQLite** fixtures. Replaying those exact recorded commands/parameters against the unchanged fixture measured result-row counts. The diagnostic replay commands run after the service and are not included in its command count. Every fixture also contains a foreign-owned application and an unowned application, with wide synthetic text columns that must not appear in the selected projection.
|
||||
|
||||
| Owned active applications | Before service commands | After service commands | Before replay result rows | After replay result rows |
|
||||
| ---: | ---: | ---: | --- | --- |
|
||||
| 0 | 4 | 2 | `[1,1,1,0]` | `[0,0]` |
|
||||
| 250 | 5 | 3 | `[1,1,1,1,250]` | `[1,1,250]` |
|
||||
| 2,500 | 5 | 3 | `[1,1,1,1,2500]` | `[1,1,2500]` |
|
||||
|
||||
The baseline issued three separate scalar counts (total, non-deleted, non-deleted applied since the cutoff), then the existing status group query and, when active rows exist, the existing DateApplied projection. A constant-group aggregate now returns the same three counts in one command. An empty owned set produces no aggregate row, explicitly mapped to zero counts. Deleted-only tenants retain their total and skip the date query. Status grouping, whitespace-to-Unknown merging, dictionary order, date projection and client-side age calculation remain the existing code.
|
||||
|
||||
This proves **two fewer service database roundtrips** on these fixtures. It does not establish lower latency, fewer physical database rows examined, better query plans, or higher throughput. Active dates still return one row per non-deleted application with an applied date; memory/row growth for that existing projection is unchanged. No wide application blobs or tracked application entities are materialized by stats.
|
||||
|
||||
## Preservation checks
|
||||
|
||||
The final ten dedicated cases cover native SQLite command/row behavior at zero/250/2,500 owned rows; foreign and null-owner denial; live owner switching on the same context; deleted-only tenants; null applied dates; future dates included in the existing lower-bound applied-volume predicate but clamped to zero age; exact inclusive 30-day cutoff versus one tick before; status case/whitespace keys; repeat reads after a mutation; and cancellation reaching the native command and preventing later queries. The cutoff fixture uses the service's actual captured DateTime parameter, avoiding clock-boundary flakiness.
|
||||
|
||||
Nine of those dedicated cases execute SQLite. The legacy **null Status** case uses EF InMemory with null checks disabled because the current native SQLite schema requires Status; it verifies the unchanged defensive Unknown merge, not native nullable-column compatibility. One additional dedicated case checks Pomelo SQL generation as described below. The overview method's entire LF-normalized byte range is unchanged and hashed in the receipts. Existing related salary/stage/calendar/rules/ownership/query-parity cases also pass.
|
||||
|
||||
## Exact execution evidence
|
||||
|
||||
- Original service, first nine dedicated cases: **4 passed / 5 expected failures**. Only roundtrip budget assertions failed; captured native commands/result rows establish the baseline. This is red evidence, not an accepted test pass.
|
||||
- Initial optimized run: **9/9 passed**. The exact-cutoff case was then added.
|
||||
- Final Release run: **51/51 passed, zero skipped**, comprising ten dedicated cases plus 41 existing related cases: salary 1, stage 4, ownership 3, rules/prospect 5, calendar 10, query parity 18. This total includes the overlapping focused runs; it is not 51+9.
|
||||
- Additional distinct Pomelo SQL-generation case: **1/1 passed**, after parent review requested provider translation evidence. With Pomelo 9.0.0 and explicit MariaDB 12.2.2 metadata, the test invokes the actual GetStats method, suppresses the connection-open request, captures its first compiled provider command, and throws a sentinel before reader execution. The MySqlConnection remains Closed. Generated SQL contains the conditional counts, tenant filter, inclusive applied-date predicate and GROUP BY, with no wide description projection. No hand-written duplicate aggregate or server contact is involved. Native `pomelo.trx` retains the SQL; this is translation-only, not actual database acceptance. The existing 51 cases were not repeated; run-specific test-source hashes distinguish the added case.
|
||||
- Release API/test/stub compilation succeeded as part of those native test commands. Pinned SDK **9.0.317**, runtime 9.0.19, Windows x64, cached locked restore with an empty package-source config. All generated build/test/cache/temp artifacts are in the isolated E: workspace/evidence area. Existing global NuGet packages were selected explicitly; the initial isolated-home cache miss and successful cached retry are retained. No package versions or lock files changed and no external package source was contacted.
|
||||
- Native stdout/stderr/TRX, exact commands/exits, source/overview hashes, SDK identity and original roadmap evidence are preserved in [evidence](perf-06/evidence/SOURCE_RECEIPTS.json). [Structured query measurements](perf-06/evidence/QUERY_MEASUREMENTS.json) and [reconciled test counts](perf-06/evidence/TEST_SUMMARY.json) are derived from the native TRX, with self-checks against the expected shapes.
|
||||
- Final AST-only graph refresh after the Pomelo test: PASS, 19,928 nodes / 48,200 edges. Extractor/community-label warnings are retained; no model labeling was started. The newly generated untracked graph is retained in sibling `analytics-query-batch-evidence/graphify-out`, with artifact hashes; shared graphs are untouched.
|
||||
|
||||
## Separate gates and limits
|
||||
|
||||
**Actual MariaDB execution/server acceptance, EXPLAIN/rows examined, native cancellation and provider-specific status collation remain NOT RUN.** Pomelo SQL generation alone does not establish those properties. Before MariaDB qualification, execute the actual service against a disposable pinned MariaDB fixture with the same ownership/deletion/date/status cases and measure its command/plan behavior. SQLite results do not qualify the standard MariaDB deployment or infer throughput gains. The change adds no cross-query transaction snapshot; status/date queries remain separate, as before.
|
||||
|
||||
No full backend suite, frontend regression, browser, hosted CI, production workload, provider/model, deployment or orchestrator work was performed. Parent review/integration and real-provider qualification remain separate decisions. No main merge or push was performed by this worker.
|
||||
Binary file not shown.
@@ -1,150 +0,0 @@
|
||||
{
|
||||
"baseline": [
|
||||
{
|
||||
"Provider": "SQLite",
|
||||
"OwnedRows": 0,
|
||||
"Commands": 4,
|
||||
"ReturnedRowsPerCommand": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"Sql": [
|
||||
"SELECT COUNT(*)\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0",
|
||||
"SELECT COUNT(*)\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")",
|
||||
"SELECT COUNT(*)\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\") AND \"j\".\"DateApplied\" >= @__last30_0",
|
||||
"SELECT \"j\".\"Status\", COUNT(*) AS \"Count\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")\r\nGROUP BY \"j\".\"Status\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"Provider": "SQLite",
|
||||
"OwnedRows": 250,
|
||||
"Commands": 5,
|
||||
"ReturnedRowsPerCommand": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
250
|
||||
],
|
||||
"Sql": [
|
||||
"SELECT COUNT(*)\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0",
|
||||
"SELECT COUNT(*)\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")",
|
||||
"SELECT COUNT(*)\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\") AND \"j\".\"DateApplied\" >= @__last30_0",
|
||||
"SELECT \"j\".\"Status\", COUNT(*) AS \"Count\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")\r\nGROUP BY \"j\".\"Status\"",
|
||||
"SELECT \"j\".\"DateApplied\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\") AND \"j\".\"DateApplied\" IS NOT NULL"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Provider": "SQLite",
|
||||
"OwnedRows": 2500,
|
||||
"Commands": 5,
|
||||
"ReturnedRowsPerCommand": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
2500
|
||||
],
|
||||
"Sql": [
|
||||
"SELECT COUNT(*)\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0",
|
||||
"SELECT COUNT(*)\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")",
|
||||
"SELECT COUNT(*)\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\") AND \"j\".\"DateApplied\" >= @__last30_0",
|
||||
"SELECT \"j\".\"Status\", COUNT(*) AS \"Count\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")\r\nGROUP BY \"j\".\"Status\"",
|
||||
"SELECT \"j\".\"DateApplied\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\") AND \"j\".\"DateApplied\" IS NOT NULL"
|
||||
]
|
||||
}
|
||||
],
|
||||
"final": [
|
||||
{
|
||||
"Provider": "SQLite",
|
||||
"OwnedRows": 0,
|
||||
"Commands": 2,
|
||||
"ReturnedRowsPerCommand": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"Sql": [
|
||||
"SELECT COUNT(*) AS \"Total\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") THEN 1\r\nEND) AS \"Active\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") AND \"j0\".\"DateApplied\" >= @__last30_0 THEN 1\r\nEND) AS \"AppliedLast30Days\"\r\nFROM (\r\n SELECT \"j\".\"DateApplied\", \"j\".\"IsDeleted\", 1 AS \"Key\"\r\n FROM \"JobApplications\" AS \"j\"\r\n WHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0\r\n) AS \"j0\"\r\nGROUP BY \"j0\".\"Key\"\r\nLIMIT 2",
|
||||
"SELECT \"j\".\"Status\", COUNT(*) AS \"Count\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")\r\nGROUP BY \"j\".\"Status\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"Provider": "SQLite",
|
||||
"OwnedRows": 250,
|
||||
"Commands": 3,
|
||||
"ReturnedRowsPerCommand": [
|
||||
1,
|
||||
1,
|
||||
250
|
||||
],
|
||||
"Sql": [
|
||||
"SELECT COUNT(*) AS \"Total\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") THEN 1\r\nEND) AS \"Active\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") AND \"j0\".\"DateApplied\" >= @__last30_0 THEN 1\r\nEND) AS \"AppliedLast30Days\"\r\nFROM (\r\n SELECT \"j\".\"DateApplied\", \"j\".\"IsDeleted\", 1 AS \"Key\"\r\n FROM \"JobApplications\" AS \"j\"\r\n WHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0\r\n) AS \"j0\"\r\nGROUP BY \"j0\".\"Key\"\r\nLIMIT 2",
|
||||
"SELECT \"j\".\"Status\", COUNT(*) AS \"Count\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")\r\nGROUP BY \"j\".\"Status\"",
|
||||
"SELECT \"j\".\"DateApplied\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\") AND \"j\".\"DateApplied\" IS NOT NULL"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Provider": "SQLite",
|
||||
"OwnedRows": 2500,
|
||||
"Commands": 3,
|
||||
"ReturnedRowsPerCommand": [
|
||||
1,
|
||||
1,
|
||||
2500
|
||||
],
|
||||
"Sql": [
|
||||
"SELECT COUNT(*) AS \"Total\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") THEN 1\r\nEND) AS \"Active\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") AND \"j0\".\"DateApplied\" >= @__last30_0 THEN 1\r\nEND) AS \"AppliedLast30Days\"\r\nFROM (\r\n SELECT \"j\".\"DateApplied\", \"j\".\"IsDeleted\", 1 AS \"Key\"\r\n FROM \"JobApplications\" AS \"j\"\r\n WHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0\r\n) AS \"j0\"\r\nGROUP BY \"j0\".\"Key\"\r\nLIMIT 2",
|
||||
"SELECT \"j\".\"Status\", COUNT(*) AS \"Count\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")\r\nGROUP BY \"j\".\"Status\"",
|
||||
"SELECT \"j\".\"DateApplied\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\") AND \"j\".\"DateApplied\" IS NOT NULL"
|
||||
]
|
||||
}
|
||||
],
|
||||
"related": [
|
||||
{
|
||||
"Provider": "SQLite",
|
||||
"OwnedRows": 0,
|
||||
"Commands": 2,
|
||||
"ReturnedRowsPerCommand": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"Sql": [
|
||||
"SELECT COUNT(*) AS \"Total\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") THEN 1\r\nEND) AS \"Active\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") AND \"j0\".\"DateApplied\" >= @__last30_0 THEN 1\r\nEND) AS \"AppliedLast30Days\"\r\nFROM (\r\n SELECT \"j\".\"DateApplied\", \"j\".\"IsDeleted\", 1 AS \"Key\"\r\n FROM \"JobApplications\" AS \"j\"\r\n WHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0\r\n) AS \"j0\"\r\nGROUP BY \"j0\".\"Key\"\r\nLIMIT 2",
|
||||
"SELECT \"j\".\"Status\", COUNT(*) AS \"Count\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")\r\nGROUP BY \"j\".\"Status\""
|
||||
]
|
||||
},
|
||||
{
|
||||
"Provider": "SQLite",
|
||||
"OwnedRows": 250,
|
||||
"Commands": 3,
|
||||
"ReturnedRowsPerCommand": [
|
||||
1,
|
||||
1,
|
||||
250
|
||||
],
|
||||
"Sql": [
|
||||
"SELECT COUNT(*) AS \"Total\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") THEN 1\r\nEND) AS \"Active\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") AND \"j0\".\"DateApplied\" >= @__last30_0 THEN 1\r\nEND) AS \"AppliedLast30Days\"\r\nFROM (\r\n SELECT \"j\".\"DateApplied\", \"j\".\"IsDeleted\", 1 AS \"Key\"\r\n FROM \"JobApplications\" AS \"j\"\r\n WHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0\r\n) AS \"j0\"\r\nGROUP BY \"j0\".\"Key\"\r\nLIMIT 2",
|
||||
"SELECT \"j\".\"Status\", COUNT(*) AS \"Count\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")\r\nGROUP BY \"j\".\"Status\"",
|
||||
"SELECT \"j\".\"DateApplied\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\") AND \"j\".\"DateApplied\" IS NOT NULL"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Provider": "SQLite",
|
||||
"OwnedRows": 2500,
|
||||
"Commands": 3,
|
||||
"ReturnedRowsPerCommand": [
|
||||
1,
|
||||
1,
|
||||
2500
|
||||
],
|
||||
"Sql": [
|
||||
"SELECT COUNT(*) AS \"Total\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") THEN 1\r\nEND) AS \"Active\", COUNT(CASE\r\n WHEN NOT (\"j0\".\"IsDeleted\") AND \"j0\".\"DateApplied\" >= @__last30_0 THEN 1\r\nEND) AS \"AppliedLast30Days\"\r\nFROM (\r\n SELECT \"j\".\"DateApplied\", \"j\".\"IsDeleted\", 1 AS \"Key\"\r\n FROM \"JobApplications\" AS \"j\"\r\n WHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0\r\n) AS \"j0\"\r\nGROUP BY \"j0\".\"Key\"\r\nLIMIT 2",
|
||||
"SELECT \"j\".\"Status\", COUNT(*) AS \"Count\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\")\r\nGROUP BY \"j\".\"Status\"",
|
||||
"SELECT \"j\".\"DateApplied\"\r\nFROM \"JobApplications\" AS \"j\"\r\nWHERE @__ef_filter__p_1 AND \"j\".\"OwnerUserId\" = @__ef_filter__CurrentUserId_0 AND NOT (\"j\".\"IsDeleted\") AND \"j\".\"DateApplied\" IS NOT NULL"
|
||||
]
|
||||
}
|
||||
],
|
||||
"pomelo": []
|
||||
}
|
||||
@@ -1,244 +0,0 @@
|
||||
{
|
||||
"baseline": "1db5f488f6138e4f0f33749452b7d9f47658f4b0",
|
||||
"roadmapSource": "271d37d1",
|
||||
"baselineServiceSha256Lf": "88968cfb23e298a8db0c541fc134d3f6e1a0864443baafa24ec9c70f5faeee11",
|
||||
"sourceSha256Lf": {
|
||||
"JobTrackerApi/Services/AnalyticsService.cs": "0859ad9202bbaf4de810f8b1bc9946cbed061f69105c02993f079715f59aa2b1",
|
||||
"JobTrackerApi.Tests/AnalyticsStatsQueryTests.cs": "4c11c99c392c4fe770dae39e4e0a6af71869410268908425322ac9042b4caa25",
|
||||
"JobTrackerApi/JobTrackerApi.csproj": "50164c5dceafc805cc73018bfcd444428736029f6fdad220e4ff07cf38e116c4",
|
||||
"JobTrackerApi.Tests/JobTrackerApi.Tests.csproj": "6564ff0044af2ce8c55d557b180c57e16e238395424778878b56eb9e3e082c0d",
|
||||
"JobTrackerApi/packages.lock.json": "f63bbf68503fd46effda290a29551ebacac84d0faf8c367fe28caa11ec404abf",
|
||||
"JobTrackerApi.Tests/packages.lock.json": "548f67d1ef3b5a9acfe5fc6124891583b6073ac4b6ca515241330e097152bc4a"
|
||||
},
|
||||
"overviewUnchangedSha256Lf": "5ae34fbd456f76e3215b227c499154a700394acc5870e98baa10a25f82dd3f48",
|
||||
"nativeReceipts": [
|
||||
{
|
||||
"path": "baseline.trx.gz",
|
||||
"rawSha256": "0cfdd06a851cc8d8c98b3065dad540e2682f64c87b9d3b57bc1181a3d4251595",
|
||||
"gzipSha256": "b7ed8ccc520c1e4f90a4a1bb497f590a5b5eb761579c51e2b11f57669ef16f9f",
|
||||
"rawBytes": 33153
|
||||
},
|
||||
{
|
||||
"path": "baseline.exit.json.gz",
|
||||
"rawSha256": "f7efa5369267584aecf389b8b9ced993c802ca7510837a2f4bb6af64cabee00e",
|
||||
"gzipSha256": "37a20ee637dd5cd7006728b330d6e1e5e97183dfdc5a1aa8858b73d03fcf9338",
|
||||
"rawBytes": 469
|
||||
},
|
||||
{
|
||||
"path": "baseline.stderr.txt.gz",
|
||||
"rawSha256": "8a49c99e252f93ad5f0bfa72f828d8270f8d73378eb2057b645c365f4ef394d9",
|
||||
"gzipSha256": "20a42b896bff92fb1de2561e32bbc96fe3495771ee3bee18ac00b509b7f6c8c7",
|
||||
"rawBytes": 782
|
||||
},
|
||||
{
|
||||
"path": "baseline.stdout.txt.gz",
|
||||
"rawSha256": "24a0c4ebc1ec30b415616fff784993eaa6e4db34004c1f72ccaaf21e5f5393d2",
|
||||
"gzipSha256": "e0ab1ccd0ca7fc340b85313e38e36064f09fd3273f8b2b14192698c723ed1c47",
|
||||
"rawBytes": 18240
|
||||
},
|
||||
{
|
||||
"path": "final.trx.gz",
|
||||
"rawSha256": "9809164998214d6229ce2ae17a92bfda28f6df53d59881c52320b5e592e8a50d",
|
||||
"gzipSha256": "22f3e05f63217755106fbc0e19fae97f547d10aa31d7a080bf8544dd0c475d2a",
|
||||
"rawBytes": 19199
|
||||
},
|
||||
{
|
||||
"path": "final.exit.json.gz",
|
||||
"rawSha256": "56f04d240300a79b6b95f4e85c1ac7e71e28752ba43117e3af100414c6836f85",
|
||||
"gzipSha256": "9f59b6aed0b6fd1d9ae3c8030f8ee7ac353008755afbfe958fccc1686d7433fd",
|
||||
"rawBytes": 462
|
||||
},
|
||||
{
|
||||
"path": "final.stderr.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e",
|
||||
"rawBytes": 0
|
||||
},
|
||||
{
|
||||
"path": "final.stdout.txt.gz",
|
||||
"rawSha256": "0a310a146116711cc5acec5209f7e47fc09a74d7069e31a4a8e8de2cb102263b",
|
||||
"gzipSha256": "32b865e89eb0f147ed3cd7d0cfd3196f0abb9590a878e1cd2051ff1c4e252303",
|
||||
"rawBytes": 2500
|
||||
},
|
||||
{
|
||||
"path": "graph-artifacts.json.gz",
|
||||
"rawSha256": "525974fdd4376c3ffdc80a4c38d9125063ce53cebf252b3aa35d5be700fa2e04",
|
||||
"gzipSha256": "4c6741770d72a2936903a0e56a7dfd4c17dcc25fb4ab4f36cd4281837613dfff",
|
||||
"rawBytes": 424
|
||||
},
|
||||
{
|
||||
"path": "graph-final-artifacts.json.gz",
|
||||
"rawSha256": "bbf1cb9140faeb803f679135973503465b81e852c57a0f70fe8771c0a582f132",
|
||||
"gzipSha256": "c90dfd8b0d7709883ebf921c050b388bfe15c727a1fe1cdfaf96d6fb93ae9ff4",
|
||||
"rawBytes": 424
|
||||
},
|
||||
{
|
||||
"path": "graph-final.exit.json.gz",
|
||||
"rawSha256": "4f4f3be6ad6b528d4e936c80571d404779fbdce454abf3d361eec3365a03772e",
|
||||
"gzipSha256": "4a6bbb34469691ad44f1c4490e3f8102c132a4ce1c8456a03b67ecf4d017cc7c",
|
||||
"rawBytes": 94
|
||||
},
|
||||
{
|
||||
"path": "graph-final.stderr.txt.gz",
|
||||
"rawSha256": "8757dcf1461d6b3128c3bdc048447e23eabd3e05538514a1318d10af024586c2",
|
||||
"gzipSha256": "1273c4e70d6b9fe6154bf42a0aa917e4a21b35a50776939735c6156e7e41b6fc",
|
||||
"rawBytes": 725
|
||||
},
|
||||
{
|
||||
"path": "graph-final.stdout.txt.gz",
|
||||
"rawSha256": "d75537e648fdc2cea191d13d9a9342f5440dbc5bce6b98a4869c41bc263579cf",
|
||||
"gzipSha256": "b752a37d98031e6f92228c2ecec2eb95fb3f6c73408c363175d6da022aba9cb2",
|
||||
"rawBytes": 1169
|
||||
},
|
||||
{
|
||||
"path": "graph.exit.json.gz",
|
||||
"rawSha256": "2609a5c688566b24a0229f7f5ef328ab9d11c309f29048c3c87963e625066dea",
|
||||
"gzipSha256": "a90f5c0ab24ac9d292395d12e048783821e2a33b00dde88ea5ce8b50035a9196",
|
||||
"rawBytes": 94
|
||||
},
|
||||
{
|
||||
"path": "graph.stderr.txt.gz",
|
||||
"rawSha256": "252f13231cdf5188fedb3f87caa797600ea7eee4e589778807168be2fe7c20c1",
|
||||
"gzipSha256": "742558330e5618c0487c801ccaa3b27a8fdbe6a6f8d8df1123d3411fa7eabca0",
|
||||
"rawBytes": 669
|
||||
},
|
||||
{
|
||||
"path": "graph.stdout.txt.gz",
|
||||
"rawSha256": "c76c12ed748397c7fe062a6900f4719ee128d73b57c38196b10b1fb74b0fb971",
|
||||
"gzipSha256": "9a5f15999b64f9d537315d3da6327b261ab7a1a6057d1c8cb1f61f15daa4ca47",
|
||||
"rawBytes": 2928
|
||||
},
|
||||
{
|
||||
"path": "NuGet.Config.gz",
|
||||
"rawSha256": "2142cfb2dfa2c7feefbe40fabcc68b0dfecadafa99a1db9b70239d977cf2a7ef",
|
||||
"gzipSha256": "f69b2177a7e14d14bbf0f5f66292e0aa0ec4e22ac56e016a63e407db01a41591",
|
||||
"rawBytes": 113
|
||||
},
|
||||
{
|
||||
"path": "pomelo.trx.gz",
|
||||
"rawSha256": "78d6865a361821c39ff1314c3b39027acf15c411a3e5e718d3b2a937bb5d21d2",
|
||||
"gzipSha256": "ab13f9032406fae9c6a6e18f1449c20dd7ef6a56a8f7f655f08317d57112f8ae",
|
||||
"rawBytes": 3738
|
||||
},
|
||||
{
|
||||
"path": "pomelo-generated-sql.txt.gz",
|
||||
"rawSha256": "98e8ea948a12b98f33ed66946c629a41b83a71ab369794a8be4bb6742287c5ff",
|
||||
"gzipSha256": "7b4d463080964e66980735df680e485833f406ddf282cf5c0f9f0ce764a74a68",
|
||||
"rawBytes": 494
|
||||
},
|
||||
{
|
||||
"path": "pomelo.exit.json.gz",
|
||||
"rawSha256": "0fcda1c553282de3b85c8b398bfa6f3959424ab92ee0590023783e3ba4348578",
|
||||
"gzipSha256": "d126bc2e72367ea43f96cdd0de58d15cf2d805884c91e2c66357b3a3d64998f5",
|
||||
"rawBytes": 510
|
||||
},
|
||||
{
|
||||
"path": "pomelo.stderr.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e",
|
||||
"rawBytes": 0
|
||||
},
|
||||
{
|
||||
"path": "pomelo.stdout.txt.gz",
|
||||
"rawSha256": "514805b39aa81de333b4796dd1e622a5d0956202c911403bd08839b2c0a94059",
|
||||
"gzipSha256": "59017c3ca6efec93ae7308f0f0ef1d60e468e9f637479d3949a15bd6a1e19506",
|
||||
"rawBytes": 1470
|
||||
},
|
||||
{
|
||||
"path": "related.trx.gz",
|
||||
"rawSha256": "ee8f44ad2f3e67c69165a9d21722a58572633a588009884c76877273fed04074",
|
||||
"gzipSha256": "dcefc964158456d1aa2d5b58ac630de579ab455137bdb3f052b3b156e39a91be",
|
||||
"rawBytes": 82468
|
||||
},
|
||||
{
|
||||
"path": "related-run-sources.json.gz",
|
||||
"rawSha256": "3e4adeaa74793556ae789929e3844f109bfa619e940465fa0d8c379273797d02",
|
||||
"gzipSha256": "62119f84bdeb87a83352c7a1b192c10fca32ad202228b442bc8628aa5d6af15a",
|
||||
"rawBytes": 406
|
||||
},
|
||||
{
|
||||
"path": "related.exit.json.gz",
|
||||
"rawSha256": "ef658a012e34cd6722aa9edc904ea4ca8b13d7e950a357994c9ae38c01c8cfc9",
|
||||
"gzipSha256": "3da9ed91394e419e8906e013a5d7b83e9a43dcdd5d99879bc80086343896517f",
|
||||
"rawBytes": 722
|
||||
},
|
||||
{
|
||||
"path": "related.stderr.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e",
|
||||
"rawBytes": 0
|
||||
},
|
||||
{
|
||||
"path": "related.stdout.txt.gz",
|
||||
"rawSha256": "d983b3f3f4baa951a105e280ce8d93ffc167b6ca3fb617edd8d6f9d78d239df0",
|
||||
"gzipSha256": "0aeb4b15a3946738c5878aaa01137e179c0cbe6f32d69efbb9ce388d72937da3",
|
||||
"rawBytes": 8002
|
||||
},
|
||||
{
|
||||
"path": "restore-cached.exit.json.gz",
|
||||
"rawSha256": "337301aa9d2fff23a0ffbbffdcc77215cef28ed08fa3ddb2792d93931eef0e87",
|
||||
"gzipSha256": "58bd0d2d31584b19d573d0fc7b33140f0f85b7ed4f623fb063daded0dc3dc159",
|
||||
"rawBytes": 310
|
||||
},
|
||||
{
|
||||
"path": "restore-cached.stderr.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e",
|
||||
"rawBytes": 0
|
||||
},
|
||||
{
|
||||
"path": "restore-cached.stdout.txt.gz",
|
||||
"rawSha256": "271a7efafd57e4889a2094bd64280710a0c2fce0f12ccab9789e421b4241869f",
|
||||
"gzipSha256": "d2155860fadba93e89eac27f7b44b6776530a4ce77c4f8e31a48b5f8669fcef7",
|
||||
"rawBytes": 488
|
||||
},
|
||||
{
|
||||
"path": "restore.exit.json.gz",
|
||||
"rawSha256": "8bf4635a3f8301adfa741ea41bd86f16b8f13117734d8830feab4fb416d19d0e",
|
||||
"gzipSha256": "2408933238d86fa9c532cb0ec583952b77778dea6119698efbde2b0cf67e885a",
|
||||
"rawBytes": 310
|
||||
},
|
||||
{
|
||||
"path": "restore.stderr.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e",
|
||||
"rawBytes": 0
|
||||
},
|
||||
{
|
||||
"path": "restore.stdout.txt.gz",
|
||||
"rawSha256": "55a03484d9fec31f39414c5363f0bfe7a2dbf6836039d88b28d80769e241d973",
|
||||
"gzipSha256": "8972df257e0b36320e9a8897ca72034507ae2451f815fa408236cd48d643c486",
|
||||
"rawBytes": 10564
|
||||
},
|
||||
{
|
||||
"path": "roadmap-checkpoint.txt.gz",
|
||||
"rawSha256": "9ac029153db7b7265d00c11b6155d8fbf58d30cc9f0418f8440324f860138498",
|
||||
"gzipSha256": "c337a0b2a70a1135e88829aaa54cb8a89c92524aa8a8ca749bb4f544d0443d53",
|
||||
"rawBytes": 226686
|
||||
},
|
||||
{
|
||||
"path": "roadmap-perf-source.txt.gz",
|
||||
"rawSha256": "ac4cda9471ef29fd0a942ec986269b14354d46a3688eb00e9b4acd7c5826427f",
|
||||
"gzipSha256": "94fbc0fa1f081065c183b202360a9e4476deca0f9f56c6de4c2ba7438f554326",
|
||||
"rawBytes": 53575
|
||||
},
|
||||
{
|
||||
"path": "sdk.exit.json.gz",
|
||||
"rawSha256": "d752216624832dac2c78b4c38943cddf20fb970e7030fc556557917946de44e6",
|
||||
"gzipSha256": "a8912a8383fc5a47d2238e48493a5e6e23055e090fa58eadf8bf51c8c06801a7",
|
||||
"rawBytes": 115
|
||||
},
|
||||
{
|
||||
"path": "sdk.stderr.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e",
|
||||
"rawBytes": 0
|
||||
},
|
||||
{
|
||||
"path": "sdk.stdout.txt.gz",
|
||||
"rawSha256": "ebeeab4ff7b83567d77106097e9d5fce8fff28a7cb8cb1ff5aeca16453104a7a",
|
||||
"gzipSha256": "b5ec27efd8af9856eff8962e44fc8be8ff49ef6fdee5f2018bbecdd17f948230",
|
||||
"rawBytes": 1251
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,74 +0,0 @@
|
||||
{
|
||||
"baseline": {
|
||||
"total": "9",
|
||||
"executed": "9",
|
||||
"passed": "4",
|
||||
"failed": "5",
|
||||
"error": "0",
|
||||
"timeout": "0",
|
||||
"aborted": "0",
|
||||
"inconclusive": "0",
|
||||
"passedButRunAborted": "0",
|
||||
"notRunnable": "0",
|
||||
"notExecuted": "0",
|
||||
"disconnected": "0",
|
||||
"warning": "0",
|
||||
"completed": "0",
|
||||
"inProgress": "0",
|
||||
"pending": "0"
|
||||
},
|
||||
"final": {
|
||||
"total": "9",
|
||||
"executed": "9",
|
||||
"passed": "9",
|
||||
"failed": "0",
|
||||
"error": "0",
|
||||
"timeout": "0",
|
||||
"aborted": "0",
|
||||
"inconclusive": "0",
|
||||
"passedButRunAborted": "0",
|
||||
"notRunnable": "0",
|
||||
"notExecuted": "0",
|
||||
"disconnected": "0",
|
||||
"warning": "0",
|
||||
"completed": "0",
|
||||
"inProgress": "0",
|
||||
"pending": "0"
|
||||
},
|
||||
"related": {
|
||||
"total": "51",
|
||||
"executed": "51",
|
||||
"passed": "51",
|
||||
"failed": "0",
|
||||
"error": "0",
|
||||
"timeout": "0",
|
||||
"aborted": "0",
|
||||
"inconclusive": "0",
|
||||
"passedButRunAborted": "0",
|
||||
"notRunnable": "0",
|
||||
"notExecuted": "0",
|
||||
"disconnected": "0",
|
||||
"warning": "0",
|
||||
"completed": "0",
|
||||
"inProgress": "0",
|
||||
"pending": "0"
|
||||
},
|
||||
"pomelo": {
|
||||
"total": "1",
|
||||
"executed": "1",
|
||||
"passed": "1",
|
||||
"failed": "0",
|
||||
"error": "0",
|
||||
"timeout": "0",
|
||||
"aborted": "0",
|
||||
"inconclusive": "0",
|
||||
"passedButRunAborted": "0",
|
||||
"notRunnable": "0",
|
||||
"notExecuted": "0",
|
||||
"disconnected": "0",
|
||||
"warning": "0",
|
||||
"completed": "0",
|
||||
"inProgress": "0",
|
||||
"pending": "0"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,21 +0,0 @@
|
||||
# PERF-BASE / PERF-12 static encoding measurement
|
||||
|
||||
Recorded 17 November, preserved and qualified 18 November 2026. Frozen source `eb2538772e1bfabbeb291e4a5efa177c79074de1`, Node24.19.0 Windows, Next16.4.6 static export, explicit API5302 build. This is an offline content-size/encoding baseline, not an application optimisation, current later-source export, deployed compression test or production readiness. The previous performance baseline used a different application source and is not a controlled before/after comparison.
|
||||
|
||||
| Frozen export group | Files | Raw bytes | Gzip6 bytes | Brotli5 bytes |
|
||||
| --- | ---: | ---: | ---: | ---: |
|
||||
| JavaScript | 58 | 3,674,509 | 1,089,362 | 1,015,470 |
|
||||
| CSS | 2 | 3,958 | 1,189 | 1,073 |
|
||||
| SVG | 4 | 28,397 | 6,971 | 6,404 |
|
||||
| HTML | 3 | 32,504 | 8,339 | 7,486 |
|
||||
| Root-declared scripts, deduplicated, including legacy | 7 | 582,094 | 178,820 | 169,211 |
|
||||
|
||||
All67 text assets were compressed three times in memory and decompressed with exact byte equality:402 roundtrip assertions passed. Native JSON retains each raw SHA256, encoded sizes and all three elapsed-time samples. Root-declared scripts exclude later dynamic imports; complete export inventory is not a route/network request budget. No source maps were emitted by this frozen build. Headers, TLS, cache state, transfer and on-device decompression are not measured.
|
||||
|
||||
The summed per-file median encoding costs were approximately84.9ms gzip6 and180.6ms Brotli5 on this warm-file Windows host. They are exploratory local CPU observations, not a batch-time median or server capacity result. Other development/browser work was active; there was no controlled idle-host/load experiment. These timings justify no production throughput/latency or cost claim. Encoded content sizes are deterministic for the recorded inputs/runtime; no live delivery savings are claimed.
|
||||
|
||||
The local desktop-linux Docker endpoint was confirmed to be the local Windows named pipe; a read-only version probe failed because that pipe was absent. No daemon/infrastructure repair, container/image operation or repeated unchanged failure was attempted. Runtime Nginx/static encoding, Accept-Encoding/Vary/cache and private-response boundaries remain unqualified. No gzip/Brotli configuration, CDN, topology, image, API middleware, dependency, file deletion or production change was made.
|
||||
|
||||
Next eligible runtime experiment requires an available authorised disposable Nginx/container lane. Compare public immutable assets first; retain HTML revalidation and private API/document isolation, one encoding layer, correct MIME/cache/Vary behavior and exact decode integrity. Brotli module presence and target CPU/storage cost must be proven rather than assumed. Keep PERF-12 PARTIAL and deployed configuration unchanged until that evidence exists. PERF-04 requested-icon and PERF-09 route-chunk concerns retain their own measurements and gates; this census does not qualify either.
|
||||
|
||||
[Source, producer and native receipts](evidence/SOURCE_RECEIPTS.json) preserve the exact frozen manifest and assert-bearing Node script without adding a runtime/CI runner. No new backend/MariaDB/browser/provider/model/hosted/native-device or production qualification.
|
||||
@@ -1,33 +0,0 @@
|
||||
{
|
||||
"sourceCommit": "eb2538772e1bfabbeb291e4a5efa177c79074de1",
|
||||
"sourceGitBlobSha256": {
|
||||
"job-tracker-ui/package.json": "8b31e44c10b77b6d1e007af04c757c0577f12972ff3f6c7079bbc4c446a0d415",
|
||||
"job-tracker-ui/package-lock.json": "ac90fbdc79e2e0f23d54748814b41a03f5dcaf8fd27291b3dcb73b2603a83e72",
|
||||
"job-tracker-ui/next.config.js": "2bbcc9d6093d6f263114f4992fd9c77a6172f0602deb92bf7163823ba58b1757",
|
||||
"job-tracker-ui/app/layout.tsx": "d2e460998e4182f11657089850f9144059f453ebd9c4d1fbcd3f6aee25449843"
|
||||
},
|
||||
"nativeReceipts": [
|
||||
{
|
||||
"path": "measure-static-encoding.mjs.txt",
|
||||
"canonicalSha256": "b700120c790f4ec50f125ade040b82044ccbc79a5d0142885d7a34910762b682",
|
||||
"rawSha256": "b700120c790f4ec50f125ade040b82044ccbc79a5d0142885d7a34910762b682",
|
||||
"gzipSha256": "020bb4bc3445a426f8757b9268b8b3b62e1ddbc8d8961d8a35c511840c7cb7d5",
|
||||
"nativeEncoding": "utf-8-sig"
|
||||
},
|
||||
{
|
||||
"path": "static-encoding.json",
|
||||
"canonicalSha256": "a5ba46dcad650f8de1bbadcb5f77331ed3f40fc05058f5c79d347471b654a25b",
|
||||
"rawSha256": "a5ba46dcad650f8de1bbadcb5f77331ed3f40fc05058f5c79d347471b654a25b",
|
||||
"gzipSha256": "941f8e1bb95196a1c3dd2341623a2f4fd7a79460395afab34562aba14712bcd9",
|
||||
"nativeEncoding": "utf-8-sig"
|
||||
},
|
||||
{
|
||||
"path": "static-encoding.txt",
|
||||
"canonicalSha256": "8ae1d675b5874c82ddf4cc0e4a4e7351822f293953ec8338034d3cc3736fefa1",
|
||||
"rawSha256": "1171e4f98ed0c9eac50f6b1f71c6f643e6e324c4c29aba6ac868e7d7a3717ccd",
|
||||
"gzipSha256": "5efc6aaf111bfec3478589d5d6d5ced531623a40d41c07408f233b9be84053b7",
|
||||
"nativeEncoding": "utf-16"
|
||||
}
|
||||
],
|
||||
"scope": "Frozen offline export census/encoding only, not current runtime or deployed transfer"
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import crypto from 'node:crypto';
|
||||
import os from 'node:os';
|
||||
import assert from 'node:assert/strict';
|
||||
import { performance } from 'node:perf_hooks';
|
||||
import { gzipSync, gunzipSync, brotliCompressSync, brotliDecompressSync, constants } from 'node:zlib';
|
||||
const [exportPath, output] = process.argv.slice(2);
|
||||
const root = path.resolve(exportPath);
|
||||
const sha = bytes => crypto.createHash('sha256').update(bytes).digest('hex');
|
||||
function walk(dir) { return fs.readdirSync(dir, { withFileTypes: true }).flatMap(e => e.isDirectory() ? walk(path.join(dir, e.name)) : [path.join(dir, e.name)]); }
|
||||
const entries = walk(root).filter(name => /\.(?:js|css|html|svg)$/.test(name)).sort();
|
||||
assert.ok(entries.length > 0);
|
||||
const median = values => [...values].sort((a,b)=>a-b)[Math.floor(values.length/2)];
|
||||
const files = entries.map(name => {
|
||||
const raw = fs.readFileSync(name), relative = path.relative(root, name).replaceAll('\\', '/');
|
||||
const gzipTimes = [], brotliTimes = [];
|
||||
let gzip, brotli;
|
||||
for (let repetition=0; repetition<3; repetition++) {
|
||||
let start = performance.now(); gzip = gzipSync(raw, { level: 6 }); gzipTimes.push(performance.now()-start);
|
||||
start = performance.now(); brotli = brotliCompressSync(raw, { params: { [constants.BROTLI_PARAM_QUALITY]: 5 } }); brotliTimes.push(performance.now()-start);
|
||||
assert.deepEqual(gunzipSync(gzip), raw); assert.deepEqual(brotliDecompressSync(brotli), raw);
|
||||
}
|
||||
return { path: relative, sha256: sha(raw), rawBytes: raw.length, gzip6Bytes: gzip.length, brotli5Bytes: brotli.length, gzipMilliseconds: gzipTimes, brotliMilliseconds: brotliTimes, gzipMedianMilliseconds: median(gzipTimes), brotliMedianMilliseconds: median(brotliTimes) };
|
||||
});
|
||||
const sum = group => ({ files: group.length, rawBytes: group.reduce((n,x)=>n+x.rawBytes,0), gzip6Bytes: group.reduce((n,x)=>n+x.gzip6Bytes,0), brotli5Bytes: group.reduce((n,x)=>n+x.brotli5Bytes,0) });
|
||||
const html = fs.readFileSync(path.join(root, 'index.html'), 'utf8');
|
||||
const scriptPaths = [...new Set([...html.matchAll(/<script\b[^>]*\bsrc="([^"]+)"[^>]*>/g)].map(m=>m[1].split('?')[0].replace(/^\//,'')))];
|
||||
assert.ok(scriptPaths.length > 0);
|
||||
const indexScripts = files.filter(f=>scriptPaths.includes(f.path));
|
||||
assert.equal(indexScripts.length, scriptPaths.length);
|
||||
const report = { source: 'eb2538772e1bfabbeb291e4a5efa177c79074de1', environment: { node: process.version, platform: process.platform, architecture: process.arch, cpu: os.cpus()[0].model }, buildApiBase: 'http://localhost:5302/api', indexSha256: sha(Buffer.from(html)), repetitions: 3, summaries: { javascript: sum(files.filter(x=>x.path.endsWith('.js'))), css: sum(files.filter(x=>x.path.endsWith('.css'))), svg: sum(files.filter(x=>x.path.endsWith('.svg'))), html: sum(files.filter(x=>x.path.endsWith('.html'))), declaredIndexScripts: sum(indexScripts) }, sourceMaps: walk(root).filter(name=>name.endsWith('.map')).length, files, limits: ['Offline warm-file compression cost and content sizes only; excludes HTTP headers/TLS/network', 'No nginx/CDN/API compression configuration or production change', 'Complete export inventory is not a route request budget; root declared scripts exclude later dynamic imports', 'Three local repeats do not establish field latency, server throughput or deployed encoding'] };
|
||||
fs.writeFileSync(output, JSON.stringify(report, null, 2)+'\n');
|
||||
console.log(JSON.stringify({ summaries: report.summaries, sourceMaps: report.sourceMaps, verifiedRoundTrips: files.length * 3 * 2 }));
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1 +0,0 @@
|
||||
{"summaries":{"javascript":{"files":58,"rawBytes":3674509,"gzip6Bytes":1089362,"brotli5Bytes":1015470},"css":{"files":2,"rawBytes":3958,"gzip6Bytes":1189,"brotli5Bytes":1073},"svg":{"files":4,"rawBytes":28397,"gzip6Bytes":6971,"brotli5Bytes":6404},"html":{"files":3,"rawBytes":32504,"gzip6Bytes":8339,"brotli5Bytes":7486},"declaredIndexScripts":{"files":7,"rawBytes":582094,"gzip6Bytes":178820,"brotli5Bytes":169211}},"sourceMaps":0,"verifiedRoundTrips":402}
|
||||
Binary file not shown.
@@ -1,19 +0,0 @@
|
||||
# Public landing semantic landmarks
|
||||
|
||||
18 November2026. Application source36084473, baseline5b50cb27. Existing anonymous landing correctness/accessibility work only; public homepage visual direction and final launch acceptance remain separate.
|
||||
|
||||
The12-state landing review reproduced two axe best-practice failures in every configuration: no main landmark and25 content nodes outside landmarks. A new regression failed on the original runtime source with `Unable to find an accessible element with the role main`. The existing top/footer boxes now render as `header`/`footer`, and a plain existing MUI Box groups the unchanged page content as `main`. The loading surface also renders as main. No style, content, action, translation, dependency, routing or authenticated preference behavior changed.
|
||||
|
||||
Verification PASSED:
|
||||
|
||||
- 14 affected tests/three suites, zero failures/skips; the new failing regression is included in14. Main contains the hero/plans and excludes the header/footer. Existing local language, authenticated preference and deep-link tests remain.
|
||||
- Scoped ESLint, standard Next16.4.6 build/TypeScript/static export and source whitespace check.
|
||||
- 12 existing rendered journeys at320/768/1440, EN/NB, light/dark; zero rejected preference requests, unexpected writes, unavailable reads or page errors.
|
||||
- 12 scoped axe scans now have **zero violations** under the unchanged WCAG2A/AA,2.1AA,2.2AA and best-practice tags. These tags are a bounded automated scan, not native/human/whole-application acceptance.
|
||||
- All12 before/after full-page PNG pairs are **byte-identical**, proving no screenshot-visible change for these samples. Hash pairs are in the receipts; two selected baseline screenshots are already committed under landing-local-language/browser, all12 pairs remain preserved locally. No image conversion or new imaging dependency was needed.
|
||||
|
||||
The existing harness was reused with isolated output/current API origin plus explicit zero-violation and zero-preference-request assertions. All API responses are intercepted; no real identity, email, provider/model or production activity. Original failed snapshots/logs remain retained; they are not replaced with green outputs. Exact native logs/JSON gzip and executed harness/source bindings: [receipts](evidence/landing-landmarks/browser/SOURCE_RECEIPTS.json).
|
||||
|
||||
Raw static SEO, earlier mockup images and public design/claim decisions remain open. Full A3 route/preservation acceptance, human/device/AT/native-language checks and security/release qualification remain open. Rollback restores the semantic tags/removes the plain main grouping and its regression; no data rollback or migration.
|
||||
|
||||
AST-only graph refresh PASSED19,898 nodes/49,311 edges with existing missing SQL extractor/symbol-free file warnings; no semantic/model processing.
|
||||
@@ -31,9 +31,3 @@ These are mocked API/JSDOM contract checks. No fresh browser, real preference AP
|
||||
Rollback restores the two LandingPage setter references and associated regression tests; no data migration or stored preference rollback is required.
|
||||
|
||||
Root recovery verification: independently verified all12 source/native receipt bindings and the structured13-case passing result, repeated nonincremental TypeScript and scoped ESLint (exit0), and completed `graphify update . --no-cluster` (19,888 nodes/49,292 edges, AST only). Missing SQL extractor and symbol-free file warnings remain. The worker usage interruption did not lose these changes. No browser result is implied by this checkpoint.
|
||||
|
||||
## Integrated rendered verification
|
||||
|
||||
On integrated application c536e091/evidence d9fbed52, fresh standard Next16.4.6 build/TypeScript/export PASSED. The existing landing harness was reused with an isolated evidence directory, current5302 API origin and an explicit zero-preference-PUT assertion. Original baseline evidence was not overwritten. **12/12 controlled rendered journeys PASSED** across320/768/1440 widths, EN/NB, light/dark: language switch both directions, local preference, features anchor, sign-in and registration navigation. Rejected preference requests fell from historical24 to **zero** under the same12-state matrix; zero unexpected writes, unavailable reads or page errors. All API responses are intercepted and external requests blocked; this proves frontend behavior, not real identity/server persistence. No auth submissions or provider/model activation.
|
||||
|
||||
Existing accessibility findings remain: each state reports missing main landmark and uncontained regions (25 nodes), unchanged from the recorded landing baseline. Therefore the accessibility scans are **not passing acceptance**. Raw static HTML still lacks canonical/hreflang and headings. These findings remain in the public-site backlog; a passing navigation/language journey does not close LAUNCH or final A3 acceptance. Selected desktop/mobile screenshots, native exact-gzip build/browser logs and executed harness are bound in [browser receipts](evidence/landing-local-language/browser/SOURCE_RECEIPTS.json); other12-state captures remain locally preserved.
|
||||
|
||||
@@ -24,11 +24,3 @@ The PDF check covers MIME, filename, %PDF header, download completion, hash and
|
||||
Root inspected retained desktop/mobile focus viewport screenshots and the populated connected CV capture against the existing A3 reference. Editor-left/preview-right, mobile navigation, readable wrap and visible keyboard focus remain. Full-page images can place sticky elements outside the viewport; viewport captures are separately retained. Synthetic empty-source recovery is not a populated-concept comparison. These samples do not close the34-route/57-group visual discrepancy register or final owner review.
|
||||
|
||||
Evidence and exact source/native hashes: [receipts](evidence/native-recovery-20261118/SOURCE_RECEIPTS.json). Native traces and disposable credentials stay outside Git. Rollback restores the small heading delta and test changes; no data rollback or dependency change. Parent read/draft lifetime fixes and later dependency candidates retain their own source-bound evidence. No orchestrator, main merge or deployment.
|
||||
|
||||
## Final integrated affected regression
|
||||
|
||||
18 November: frozen application0765b151, qualification HEAD4eb8a293 (documentation-only difference), freshly locked E-drive dependencies. Full lint and standard Next16.4.6 build/TypeScript/export PASSED exit0. Fresh server-backed Playwright run PASSED **44/44 tests across five existing specs**, zero skipped, failed or flaky,292.38seconds. This is original43 plus the new connected selected-source CV journey; it supersedes the earlier40/3 outcome for this affected scope, without erasing original failures. Counts overlap prior focused runs and are not added together.
|
||||
|
||||
Coverage: application form draft/revision/recovery paths, Career Profile overview/evidence/history, saved discovery actions, document ownership/source/error/retry/sign-out and CV profile-selection/edit/preview/explicit PDF. Responsive cases include finite desktop/tablet/phone EN/NB/theme samples with existing axe/target-size assertions. It is not all34 routes,57 groups, full backend/MariaDB, human/device/AT/native-language, PDF fidelity, provider/model, integrated security/recovery or release acceptance. Disposable SQLite and actual local Identity/CSRF/API/renderer were used; provider/model/import workers disabled, browser external/model/delivery requests blocked.
|
||||
|
||||
Exact native logs (including original encoding) are losslessly gzipped beside normalized UTF8 reports and source/blob receipts in [native-integrated evidence](evidence/native-integrated-20261118/SOURCE_RECEIPTS.json). Traces/disposable credentials remain outside Git. No running production service was accessed.
|
||||
|
||||
@@ -1,471 +0,0 @@
|
||||
{
|
||||
"screens": [
|
||||
{
|
||||
"width": 320,
|
||||
"language": "en",
|
||||
"mode": "light",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 320,
|
||||
"language": "en",
|
||||
"mode": "dark",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 320,
|
||||
"language": "nb",
|
||||
"mode": "light",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 320,
|
||||
"language": "nb",
|
||||
"mode": "dark",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"language": "en",
|
||||
"mode": "light",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"language": "en",
|
||||
"mode": "dark",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"language": "nb",
|
||||
"mode": "light",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"language": "nb",
|
||||
"mode": "dark",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"language": "en",
|
||||
"mode": "light",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"language": "en",
|
||||
"mode": "dark",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"language": "nb",
|
||||
"mode": "light",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"language": "nb",
|
||||
"mode": "dark",
|
||||
"state": "landing-baseline",
|
||||
"layout": {
|
||||
"pageOverflow": false,
|
||||
"landmarks": [
|
||||
"header",
|
||||
"main",
|
||||
"footer"
|
||||
],
|
||||
"mockups": [
|
||||
{
|
||||
"src": "/mockups/dashboard.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/pipeline.svg",
|
||||
"loaded": true
|
||||
},
|
||||
{
|
||||
"src": "/mockups/workspace.svg",
|
||||
"loaded": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"violations": []
|
||||
}
|
||||
],
|
||||
"journeys": [
|
||||
{
|
||||
"width": 320,
|
||||
"language": "en",
|
||||
"mode": "light",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 320,
|
||||
"language": "en",
|
||||
"mode": "dark",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 320,
|
||||
"language": "nb",
|
||||
"mode": "light",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 320,
|
||||
"language": "nb",
|
||||
"mode": "dark",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"language": "en",
|
||||
"mode": "light",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"language": "en",
|
||||
"mode": "dark",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"language": "nb",
|
||||
"mode": "light",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 768,
|
||||
"language": "nb",
|
||||
"mode": "dark",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"language": "en",
|
||||
"mode": "light",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"language": "en",
|
||||
"mode": "dark",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"language": "nb",
|
||||
"mode": "light",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"language": "nb",
|
||||
"mode": "dark",
|
||||
"publicLanguageSwitch": "PASS",
|
||||
"featuresAnchorAndAuthNavigation": "PASS",
|
||||
"submissions": "NOT RUN"
|
||||
}
|
||||
],
|
||||
"confirmations": [],
|
||||
"signIns": [],
|
||||
"challenges": [],
|
||||
"preferenceDenials": [],
|
||||
"unexpectedWrites": [],
|
||||
"unavailableReads": [],
|
||||
"blockedExternal": [],
|
||||
"errors": [],
|
||||
"rawHtml": {
|
||||
"language": "en",
|
||||
"title": "Jobbjakt",
|
||||
"description": "Jobbjakt — track and manage job applications",
|
||||
"canonical": null,
|
||||
"alternateLanguages": [],
|
||||
"headings": []
|
||||
},
|
||||
"limits": [
|
||||
"Every API response is intercepted; no real account, password, email delivery, verification, MFA or provider activation.",
|
||||
"Synthetic confirmation tokens and challenge values cannot qualify server-side token, rate-limit or authentication enforcement.",
|
||||
"No native/human, integrated security, release or production qualification."
|
||||
]
|
||||
}
|
||||
@@ -1,135 +0,0 @@
|
||||
{
|
||||
"source": "36084473c354592769578d1436e43f4fc338e1b3",
|
||||
"artifacts": [
|
||||
{
|
||||
"file": "BROWSER.json",
|
||||
"bytes": 10446,
|
||||
"sha256": "aee8f14ed626ab7bb838c65ed4fbd02e22b90946d2ca4cd59af78ccaf14a673c"
|
||||
},
|
||||
{
|
||||
"file": "browser.txt",
|
||||
"bytes": 363,
|
||||
"sha256": "178bcdb49a9b9bcea6a1ede31dea679931768d11c71e87c47a3fac9c1cabcadb"
|
||||
},
|
||||
{
|
||||
"file": "browser.txt.native.gz",
|
||||
"bytes": 218,
|
||||
"sha256": "dbf4626aaf58502b47e1277fb1caa7f527a5d9ea21877594cc920975774c8fb0"
|
||||
},
|
||||
{
|
||||
"file": "build.txt",
|
||||
"bytes": 592,
|
||||
"sha256": "677596d0debc6ad0606124824048f9234574c2fad59511583ff371000b884d34"
|
||||
},
|
||||
{
|
||||
"file": "build.txt.native.gz",
|
||||
"bytes": 485,
|
||||
"sha256": "1d27f1eee3d98eeb42cca7813c7d6190b68c2cf33ad156f8745ff96bca86c366"
|
||||
},
|
||||
{
|
||||
"file": "green.json",
|
||||
"bytes": 6817,
|
||||
"sha256": "a73bcff9ecddb907056fff0ba2ef6da4070572f17e921b6b0e7016864c9c10de"
|
||||
},
|
||||
{
|
||||
"file": "green.json.native.gz",
|
||||
"bytes": 1330,
|
||||
"sha256": "9468011271553f8637bc91333f82c8625053aa297a33270c55507e8115c239e2"
|
||||
},
|
||||
{
|
||||
"file": "green.txt",
|
||||
"bytes": 643,
|
||||
"sha256": "007abce908e81c1cbc70223e35ff952c8ff526bdb14da2a209dee73b569cb89c"
|
||||
},
|
||||
{
|
||||
"file": "green.txt.native.gz",
|
||||
"bytes": 511,
|
||||
"sha256": "7d6bf6e13c33da11d668606e1fb0e27af0e6d7dcf2897951395d2651c889ed11"
|
||||
},
|
||||
{
|
||||
"file": "harness.mjs.txt",
|
||||
"bytes": 16218,
|
||||
"sha256": "c9d0cfb7c2b6b29540e02f0b7bae218ba47a4f9bdd648c3cd3f95d53b4ea7cda"
|
||||
},
|
||||
{
|
||||
"file": "red.json",
|
||||
"bytes": 65549,
|
||||
"sha256": "e474e48993708a252f942ecf52d7fe2f9f374a14e8cb8f8a576bd129c2ff71d2"
|
||||
},
|
||||
{
|
||||
"file": "red.json.native.gz",
|
||||
"bytes": 4866,
|
||||
"sha256": "bb81a380e6379e277a91b35cf6637f41c08ec32b4f6b492e5eb7c1829a1b6218"
|
||||
},
|
||||
{
|
||||
"file": "red.txt",
|
||||
"bytes": 26905,
|
||||
"sha256": "57254b44ce28f7794abd4c4f62618e661e269b12b30fd2786deb46c3b8b89251"
|
||||
},
|
||||
{
|
||||
"file": "red.txt.native.gz",
|
||||
"bytes": 3708,
|
||||
"sha256": "dd56c99927f7db535eba399cf379526b0b39660091227d43f713dc9dc0f0165a"
|
||||
}
|
||||
],
|
||||
"screenshotPairs": [
|
||||
{
|
||||
"file": "landing-en-dark-1440.png",
|
||||
"beforeAfterExactSha256": "bd01a89dacbc90a9de8c66907b7184a86fc429554cc1ba16ef2c9c9c946ccb20"
|
||||
},
|
||||
{
|
||||
"file": "landing-en-dark-320.png",
|
||||
"beforeAfterExactSha256": "d3bafb63cc49e19edf37d73e0bc06fdbe42962f485a50c02db4e8de9ff7fce9b"
|
||||
},
|
||||
{
|
||||
"file": "landing-en-dark-768.png",
|
||||
"beforeAfterExactSha256": "d9d52097ba94554ce9790a0b01aa2a22a358410ad7c787171445efb4b7ce6dde"
|
||||
},
|
||||
{
|
||||
"file": "landing-en-light-1440.png",
|
||||
"beforeAfterExactSha256": "587172f777a93c3333a26f8257b30f8ea84ea8724ab94bb4a1fa4d147055c6fa"
|
||||
},
|
||||
{
|
||||
"file": "landing-en-light-320.png",
|
||||
"beforeAfterExactSha256": "536b4ec0a27e4b979db51703031f0c3dd7e367b20a19e59405355c4feaf18cb1"
|
||||
},
|
||||
{
|
||||
"file": "landing-en-light-768.png",
|
||||
"beforeAfterExactSha256": "95b8bb5e87966a3579cfc03f9293a67b6bf3697fd3292d7614e1af19ea9b9f27"
|
||||
},
|
||||
{
|
||||
"file": "landing-nb-dark-1440.png",
|
||||
"beforeAfterExactSha256": "e4372d03a59798b023eb658c75b54cbf23fd508e3d21af6143c16e7155695d0f"
|
||||
},
|
||||
{
|
||||
"file": "landing-nb-dark-320.png",
|
||||
"beforeAfterExactSha256": "4c51ec5a53766805719d78be00c8692e83bd98c533f6761bf238b36d04f430c7"
|
||||
},
|
||||
{
|
||||
"file": "landing-nb-dark-768.png",
|
||||
"beforeAfterExactSha256": "7c0b22d80cfb38197652f6d12b1241e1c091907a6a0378281d873e7ff66efd60"
|
||||
},
|
||||
{
|
||||
"file": "landing-nb-light-1440.png",
|
||||
"beforeAfterExactSha256": "fe51361187f27df68d286bb2e926a25f79fbc35860097161700eef889851e3b6"
|
||||
},
|
||||
{
|
||||
"file": "landing-nb-light-320.png",
|
||||
"beforeAfterExactSha256": "72b97cf02e0961db26519ec44964f57583a498ab55522d6a09c8b9bd5c27441d"
|
||||
},
|
||||
{
|
||||
"file": "landing-nb-light-768.png",
|
||||
"beforeAfterExactSha256": "60deb31ef35d89b0e7a735911b58d58cca7ae856fe770801810acb93d1dcf2cc"
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"path": "job-tracker-ui/src/views/LandingPage.tsx",
|
||||
"gitBlob": "deaeb7dc494f34275d1042fd75b66704a795bd27"
|
||||
},
|
||||
{
|
||||
"path": "job-tracker-ui/src/landing-page.test.tsx",
|
||||
"gitBlob": "63841c030eeb519213d302b51003a8ae82b61570"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
Checking 320/en/light
|
||||
Checking 320/en/dark
|
||||
Checking 320/nb/light
|
||||
Checking 320/nb/dark
|
||||
Checking 768/en/light
|
||||
Checking 768/en/dark
|
||||
Checking 768/nb/light
|
||||
Checking 768/nb/dark
|
||||
Checking 1440/en/light
|
||||
Checking 1440/en/dark
|
||||
Checking 1440/nb/light
|
||||
Checking 1440/nb/dark
|
||||
Audited 12 existing landing states. 12 controlled navigation journeys passed. See recorded findings.
|
||||
Binary file not shown.
@@ -1,23 +0,0 @@
|
||||
|
||||
> job-tracker-ui@0.1.0 build
|
||||
> node --max-old-space-size=4096 ./node_modules/next/dist/bin/next build
|
||||
|
||||
▲ Next.js 16.4.6 (Turbopack)
|
||||
✓ Running next.config.js took 31ms
|
||||
|
||||
Creating an optimized production build ...
|
||||
✓ Compiled successfully in 878ms
|
||||
Running TypeScript ...
|
||||
Finished TypeScript in 5.7s ...
|
||||
Collecting page data using 4 workers ...
|
||||
Generating static pages using 4 workers (0/3) ...
|
||||
✓ Generating static pages using 4 workers (3/3) in 901ms
|
||||
Finalizing page optimization ...
|
||||
|
||||
Route (app)
|
||||
┌ ○ /
|
||||
└ ○ /_not-found
|
||||
|
||||
|
||||
○ (Static) prerendered as static content
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1,14 +0,0 @@
|
||||
node :
|
||||
At line:1 char:1
|
||||
+ node node_modules/jest/bin/jest.js --runInBand --runTestsByPath src/l ...
|
||||
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
+ CategoryInfo : NotSpecified: (:String) [], RemoteException
|
||||
+ FullyQualifiedErrorId : NativeCommandError
|
||||
|
||||
Test Suites: 3 passed, 3 total
|
||||
Tests: 14 passed, 14 total
|
||||
Snapshots: 0 total
|
||||
Time: 6.197 s, estimated 10 s
|
||||
Ran all test suites within paths "src/landing-page.test.tsx", "src/i18n-provider.test.tsx",
|
||||
"src/LandingPage.authRedirect.test.tsx".
|
||||
Test results written to: ..\..\browser-restoration-20261117\landing-landmarks-green.json
|
||||
Binary file not shown.
@@ -1,134 +0,0 @@
|
||||
// Actual public routes; synthetic confirmation/MFA responses, no real identity or provider access.
|
||||
import { chromium, expect } from '@playwright/test';
|
||||
import AxeBuilder from '@axe-core/playwright';
|
||||
import ts from 'typescript';
|
||||
import assert from 'node:assert/strict';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
const compiled = ts.transpileModule(fs.readFileSync(new URL('../src/i18n/translations.ts', import.meta.url), 'utf8'), { compilerOptions: { module: ts.ModuleKind.ESNext } }).outputText;
|
||||
const { translations } = await import(`data:text/javascript;base64,${Buffer.from(compiled).toString('base64')}`);
|
||||
const landingAudit = process.env.A3_LANDING_AUDIT === '1';
|
||||
const out = path.resolve(import.meta.dirname, '../../docs/ui-modernisation/evidence/landing-landmarks/browser');
|
||||
fs.mkdirSync(out, { recursive: true });
|
||||
const report = { screens: [], journeys: [], confirmations: [], signIns: [], challenges: [], preferenceDenials: [], unexpectedWrites: [], unavailableReads: [], blockedExternal: [], errors: [] };
|
||||
const browser = await chromium.launch();
|
||||
try {
|
||||
const widths = landingAudit ? [320, 768, 1440] : [320, 360, 390, 430, 768, 1024, 1280, 1440, 1920];
|
||||
const configurations = process.env.A3_PILOT ? [[320, 'en', 'light']] : widths.flatMap(width => ['en', 'nb'].flatMap(language => ['light', 'dark'].map(mode => [width, language, mode])));
|
||||
for (const [width, language, mode] of configurations) {
|
||||
console.log(`Checking ${width}/${language}/${mode}`);
|
||||
const other = language === 'en' ? 'nb' : 'en';
|
||||
const text = (locale, key) => { assert.ok(translations[locale][key], key); return translations[locale][key]; };
|
||||
const t = key => text(language, key);
|
||||
const context = await browser.newContext({ viewport: { width, height: 1000 }, reducedMotion: 'reduce' });
|
||||
const page = await context.newPage(); page.on('pageerror', error => report.errors.push(error.message));
|
||||
await page.addInitScript(({ language, mode }) => { localStorage.setItem('uiLanguage', language); localStorage.setItem('jobtracker.themeMode', mode); }, { language, mode });
|
||||
let configReads = 0, confirmations = 0, signIns = 0, challenges = 0;
|
||||
await page.route('**/*', route => {
|
||||
const req = route.request(), url = new URL(req.url()), p = url.pathname;
|
||||
if (url.origin !== 'http://localhost:4338' && !(url.origin === 'http://localhost:5302' && p.startsWith('/api/'))) { report.blockedExternal.push(url.origin); return route.abort(); }
|
||||
if (landingAudit && p === '/mockups/dashboard.svg') {
|
||||
const mockup = fs.readFileSync(path.resolve(import.meta.dirname, '../out/mockups/dashboard.svg'), 'utf8');
|
||||
const safeMockup = mockup.replace(/[\w.%+-]+@[\w.-]+\.[A-Za-z]{2,}/g, 'alex@example.test');
|
||||
return route.fulfill({ status: 200, contentType: 'image/svg+xml', body: safeMockup });
|
||||
}
|
||||
if (!p.startsWith('/api/')) return route.continue();
|
||||
const answer = data => route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify(data) });
|
||||
if (req.method() === 'GET' && p === '/api/auth/config') { configReads++; return answer({ requireAuth: true, localEnabled: true, allowRegistration: true, requireEmailVerification: true, googleEnabled: false, microsoftEnabled: false, turnstileEnabled: false }); }
|
||||
if (landingAudit && req.method() === 'GET' && p === '/api/auth/me') return route.fulfill({ status: 401, contentType: 'application/json', body: '{}' });
|
||||
if (landingAudit && req.method() === 'PUT' && p === '/api/auth/preferences/language') {
|
||||
const preference = req.postDataJSON().language;
|
||||
assert.ok(['en', 'nb-NO'].includes(preference));
|
||||
report.preferenceDenials.push({ width, language, mode, preference });
|
||||
return route.fulfill({ status: 401, contentType: 'application/json', body: '{}' });
|
||||
}
|
||||
if (landingAudit && req.method() !== 'GET') { report.unexpectedWrites.push(p); return route.abort(); }
|
||||
if (req.method() === 'POST' && ['/api/auth/verify-email', '/api/auth/email-change/confirm'].includes(p)) {
|
||||
const expected = { userId: 'synthetic-owner', ...(p.includes('email-change') ? { email: 'synthetic@example.test' } : {}), token: 'synthetic-confirmation' };
|
||||
assert.deepEqual(req.postDataJSON(), expected); confirmations++; report.confirmations.push({ width, language, mode, path: p }); return answer({});
|
||||
}
|
||||
if (req.method() === 'POST' && p === '/api/auth/login') {
|
||||
const body = req.postDataJSON(); assert.equal(body.email, 'synthetic@example.test'); assert.equal(body.password, 'Synthetic challenge example'); assert.equal(typeof body.rememberMe, 'boolean'); assert.deepEqual(Object.keys(body).sort(), ['email', 'password', 'rememberMe']);
|
||||
signIns++; report.signIns.push({ width, language, mode }); return answer({ requiresTwoFactor: true, pendingToken: 'synthetic-pending' });
|
||||
}
|
||||
if (req.method() === 'POST' && p === '/api/auth/2fa/challenge') {
|
||||
assert.deepEqual(req.postDataJSON(), { pendingToken: 'synthetic-pending', code: '000000', trustDevice: false }); challenges++; report.challenges.push({ width, language, mode });
|
||||
return route.fulfill({ status: 429, contentType: 'application/problem+json', body: '{}' });
|
||||
}
|
||||
if (req.method() !== 'GET') { report.unexpectedWrites.push(p); return route.abort(); }
|
||||
report.unavailableReads.push(p); return route.fulfill({ status: 503, contentType: 'application/json', body: '{}' });
|
||||
});
|
||||
const scan = async state => {
|
||||
assert.equal(await page.evaluate(() => document.documentElement.scrollWidth > innerWidth + 1), false, `overflow:${state}`);
|
||||
const result = await new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa']).analyze();
|
||||
report.screens.push({ width, language, mode, state, violations: result.violations }); assert.deepEqual(result.violations, [], state);
|
||||
await page.evaluate(() => window.scrollTo({ top: 0, behavior: 'instant' })); await page.screenshot({ path: path.join(out, `${state}-${language}-${mode}-${width}.png`), fullPage: true });
|
||||
};
|
||||
const selectLanguage = locale => page.getByRole('button', { name: locale === 'en' ? 'English' : 'Norsk bokmål', exact: true }).click();
|
||||
const ready = async (url, title, config = false) => { await page.goto(`http://localhost:4338${url}`); await expect(page.getByRole('heading', { level: 1, name: t(title), exact: true })).toBeVisible(); if (config) await expect(page.getByText(t('loading'), { exact: true })).toHaveCount(0); };
|
||||
if (landingAudit) {
|
||||
const landing = async locale => {
|
||||
const heading = `${text(locale, 'landingHeroBefore')} ${text(locale, 'landingHeroAccent')}.`;
|
||||
await expect(page.getByRole('heading', { level: 1, name: heading, exact: true })).toBeVisible();
|
||||
};
|
||||
await page.goto('http://localhost:4338/');
|
||||
await landing(language);
|
||||
await expect.poll(() => page.locator('img[src^="/mockups/"]').evaluateAll(images => images.filter(img => img.complete).length)).toBe(3);
|
||||
if (!report.rawHtml) {
|
||||
const response = await page.request.get('http://localhost:4338/');
|
||||
assert.equal(response.status(), 200);
|
||||
report.rawHtml = await page.evaluate(html => {
|
||||
const raw = new DOMParser().parseFromString(html, 'text/html');
|
||||
return { language: raw.documentElement.lang, title: raw.title, description: raw.querySelector('meta[name=description]')?.content ?? null, canonical: raw.querySelector('link[rel=canonical]')?.getAttribute('href') ?? null, alternateLanguages: [...raw.querySelectorAll('link[hreflang]')].map(link => link.hreflang), headings: [...raw.querySelectorAll('body h1')].map(heading => heading.textContent) };
|
||||
}, await response.text());
|
||||
}
|
||||
const layout = await page.evaluate(() => ({
|
||||
pageOverflow: document.documentElement.scrollWidth > innerWidth + 1,
|
||||
landmarks: [...document.querySelectorAll('header, main, footer, nav')].map(node => node.tagName.toLowerCase()),
|
||||
mockups: [...document.querySelectorAll('img[src^="/mockups/"]')].map(img => ({ src: img.getAttribute('src'), loaded: img.complete && img.naturalWidth > 0 })),
|
||||
}));
|
||||
const result = await new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa', 'best-practice']).analyze();
|
||||
report.screens.push({ width, language, mode, state: 'landing-baseline', layout, violations: result.violations });
|
||||
await page.screenshot({ path: path.join(out, `landing-${language}-${mode}-${width}.png`), fullPage: true });
|
||||
await selectLanguage(other); await landing(other);
|
||||
assert.equal(await page.evaluate(() => localStorage.getItem('uiLanguage')), other);
|
||||
await selectLanguage(language); await landing(language);
|
||||
await page.getByRole('link', { name: t('landingSeeFeatures'), exact: true }).press('Enter');
|
||||
await expect.poll(() => new URL(page.url()).hash).toBe('#features');
|
||||
await page.getByRole('button', { name: t('landingSignIn'), exact: true }).first().press('Enter');
|
||||
await expect(page.getByRole('heading', { name: t('signInTitle'), level: 1, exact: true })).toBeVisible();
|
||||
await page.goto('http://localhost:4338/'); await landing(language);
|
||||
await page.getByRole('button', { name: t('landingPlanFreeCta'), exact: true }).press('Enter');
|
||||
await expect(page.getByRole('heading', { name: t('createAccount'), level: 1, exact: true })).toBeVisible();
|
||||
report.journeys.push({ width, language, mode, publicLanguageSwitch: 'PASS', featuresAnchorAndAuthNavigation: 'PASS', submissions: 'NOT RUN' });
|
||||
await context.close(); continue;
|
||||
}
|
||||
await ready('/login', 'signInTitle', true); await scan('login');
|
||||
await page.getByLabel(t('usernameOrEmail'), { exact: true }).fill('synthetic@example.test'); await page.getByLabel(t('profileCurrentPassword'), { exact: true }).fill('Synthetic unsubmitted example');
|
||||
const reads = configReads; await selectLanguage(other);
|
||||
await expect(page.getByLabel(text(other, 'usernameOrEmail'), { exact: true })).toHaveValue('synthetic@example.test'); await expect(page.getByLabel(text(other, 'profileCurrentPassword'), { exact: true })).toHaveValue('Synthetic unsubmitted example');
|
||||
assert.equal(await page.evaluate(() => localStorage.getItem('uiLanguage')), other); assert.equal(configReads, reads); assert.equal(signIns, 0);
|
||||
await selectLanguage(language); await page.getByLabel(t('usernameOrEmail'), { exact: true }).fill(''); await page.getByLabel(t('profileCurrentPassword'), { exact: true }).fill('');
|
||||
await page.getByRole('button', { name: t('signInTitle'), exact: true }).click(); await expect(page.getByText(t('usernameOrEmailRequired'), { exact: true })).toBeVisible(); await scan('login-validation');
|
||||
await ready('/register', 'createAccount', true); await scan('register'); await page.getByRole('button', { name: t('createAccount'), exact: true }).click(); await expect(page.getByText(t('emailRequired'), { exact: true })).toBeVisible(); await scan('register-validation');
|
||||
await ready('/forgot-password', 'forgotPasswordTitle'); await scan('password-request'); await page.getByRole('button', { name: t('forgotPasswordSubmit'), exact: true }).click(); await expect(page.getByText(t('emailRequired'), { exact: true })).toBeVisible(); await scan('password-request-validation');
|
||||
await ready('/reset-password?email=synthetic%40example.test&token=synthetic', 'resetPasswordTitle'); await expect(page.getByRole('button', { name: t('updatePassword'), exact: true })).toBeEnabled(); await scan('password-reset');
|
||||
await page.getByRole('button', { name: t('updatePassword'), exact: true }).click(); await expect(page.getByLabel(t('profileNewPassword'), { exact: true })).toHaveAttribute('aria-invalid', 'true'); await scan('password-reset-validation');
|
||||
for (const [url, title, errorKey, state] of [['/verify-email', 'verifyEmailTitle', 'missingVerifyLinkInfo', 'verify-missing'], ['/confirm-email-change', 'confirmEmailChangeTitle', 'missingEmailChangeLinkInfo', 'email-change-missing'], ['/microsoft-legacy-relink', 'microsoftLegacyRelinkTitle', 'microsoftLegacyRelinkMissing', 'microsoft-recovery-missing']]) {
|
||||
await ready(url, title); await expect(page.getByRole('main').getByRole('alert')).toContainText(t(errorKey)); if (state === 'microsoft-recovery-missing') await expect(page.getByRole('button', { name: t('continueWithMicrosoft'), exact: true })).toBeDisabled(); await scan(state);
|
||||
}
|
||||
assert.equal(confirmations, 0); assert.equal(signIns, 0); assert.equal(challenges, 0);
|
||||
for (const [url, title, successKey, state] of [['/verify-email?userId=synthetic-owner&token=synthetic-confirmation', 'verifyEmailTitle', 'verifyEmailSuccess', 'verify-success'], ['/confirm-email-change?userId=synthetic-owner&email=synthetic%40example.test&token=synthetic-confirmation', 'confirmEmailChangeTitle', 'confirmEmailChangeSuccess', 'email-change-success']]) {
|
||||
const expected = confirmations + 1; await ready(url, title); await expect(page.getByRole('status')).toContainText(t(successKey)); await selectLanguage(other); await expect(page.getByRole('status')).toContainText(text(other, successKey)); await selectLanguage(language); assert.equal(confirmations, expected); await scan(state);
|
||||
}
|
||||
await ready('/login', 'signInTitle', true); await page.getByLabel(t('usernameOrEmail'), { exact: true }).fill('synthetic@example.test'); await page.getByLabel(t('profileCurrentPassword'), { exact: true }).fill('Synthetic challenge example'); await page.getByRole('button', { name: t('signInTitle'), exact: true }).click();
|
||||
await page.getByLabel(t('twoFactorCodeLabel'), { exact: true }).fill('000000'); await page.getByRole('button', { name: t('twoFactorVerify'), exact: true }).click(); await expect(page.getByRole('main').getByRole('alert')).toContainText(t('twoFactorRateLimited'));
|
||||
await selectLanguage(other); await expect(page.getByRole('main').getByRole('alert')).toContainText(text(other, 'twoFactorRateLimited')); await expect(page.getByLabel(text(other, 'twoFactorCodeLabel'), { exact: true })).toHaveValue('000000'); await selectLanguage(language); await scan('mfa-rate-limit');
|
||||
assert.equal(confirmations, 2); assert.equal(signIns, 1); assert.equal(challenges, 1); report.journeys.push({ width, language, mode, publicLanguageAndDraft: 'PASS', clientValidationWithoutSubmission: 'PASS', confirmationLocaleWithoutReplay: 'PASS', mfaRateLimitAndCodeRetained: 'PASS' }); await context.close();
|
||||
}
|
||||
assert.equal(report.screens.length, configurations.length * (landingAudit ? 1 : 14)); assert.equal(report.journeys.length, configurations.length); assert.equal(report.confirmations.length, landingAudit ? 0 : configurations.length * 2); assert.equal(report.signIns.length, landingAudit ? 0 : configurations.length); assert.equal(report.challenges.length, landingAudit ? 0 : configurations.length);
|
||||
assert.ok(report.screens.every(screen => screen.violations.length === 0)); assert.deepEqual(report.preferenceDenials, []); assert.deepEqual(report.errors, []); assert.deepEqual(report.unexpectedWrites, []); assert.deepEqual(report.unavailableReads, []); assert.ok(report.blockedExternal.every(origin => origin === 'https://fonts.googleapis.com'));
|
||||
console.log(landingAudit ? `Audited ${report.screens.length} existing landing states. ${report.journeys.length} controlled navigation journeys passed. See recorded findings.` : `PASS:${report.journeys.length} public journeys,${report.screens.length} scans/captures; synthetic confirmations and MFA only.`);
|
||||
} finally {
|
||||
fs.writeFileSync(path.join(out, process.env.A3_PILOT ? 'PILOT.json' : 'BROWSER.json'), JSON.stringify({ ...report, limits: ['Every API response is intercepted; no real account, password, email delivery, verification, MFA or provider activation.', 'Synthetic confirmation tokens and challenge values cannot qualify server-side token, rate-limit or authentication enforcement.', 'No native/human, integrated security, release or production qualification.'] }, null, 2)); await browser.close();
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1,629 +0,0 @@
|
||||
node : FAIL src/landing-page.test.tsx (9.641 s)
|
||||
At line:1 char:1
|
||||
+ node node_modules/jest/bin/jest.js --runInBand --runTestsByPath src/l ...
|
||||
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
+ CategoryInfo : NotSpecified: (FAIL src/landing-page.test.tsx (9.641 s):String) [], RemoteException
|
||||
+ FullyQualifiedErrorId : NativeCommandError
|
||||
|
||||
● public content is reachable through one main landmark separate from header and footer
|
||||
|
||||
TestingLibraryElementError: Unable to find an accessible element with the role "main"
|
||||
|
||||
Here are the accessible roles:
|
||||
|
||||
paragraph:
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-8snv7u-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-88irll-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-69zigq-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-h0dad7-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1ywugkf-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-h0dad7-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-8hj93v-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1ogsywi-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-h0dad7-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-8hj93v-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1u5co4u-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1u5co4u-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1unda5x-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-vefrzx-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-1uztt2u-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "":
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-z0yr09-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------
|
||||
group:
|
||||
|
||||
Name "Application language":
|
||||
[36m<div[39m
|
||||
[33maria-label[39m=[32m"Application language"[39m
|
||||
[33mclass[39m=[32m"MuiButtonGroup-root MuiButtonGroup-outlined MuiButtonGroup-horizontal
|
||||
MuiButtonGroup-colorPrimary css-u6fmfy-MuiButtonGroup-root"[39m
|
||||
[33mrole[39m=[32m"group"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------
|
||||
button:
|
||||
|
||||
Name "English":
|
||||
[36m<button[39m
|
||||
[33maria-label[39m=[32m"English"[39m
|
||||
[33maria-pressed[39m=[32m"true"[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary
|
||||
MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped
|
||||
MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal
|
||||
MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary
|
||||
MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped
|
||||
MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal
|
||||
MuiButtonGroup-groupedOutlinedPrimary MuiButtonGroup-firstButton css-tm237w-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mlang[39m=[32m"en"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Norsk bokmål":
|
||||
[36m<button[39m
|
||||
[33maria-label[39m=[32m"Norsk bokmål"[39m
|
||||
[33maria-pressed[39m=[32m"false"[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary
|
||||
MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped
|
||||
MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal
|
||||
MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall
|
||||
MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal
|
||||
MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary
|
||||
MuiButtonGroup-lastButton css-74b9is-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mlang[39m=[32m"nb"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Sign in":
|
||||
[36m<button[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary
|
||||
MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-root
|
||||
MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium
|
||||
MuiButton-colorPrimary MuiButton-disableElevation css-xg69i6-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Get started":
|
||||
[36m<button[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary
|
||||
MuiButton-sizeLarge MuiButton-containedSizeLarge MuiButton-colorPrimary MuiButton-disableElevation MuiButton-root
|
||||
MuiButton-contained MuiButton-containedPrimary MuiButton-sizeLarge MuiButton-containedSizeLarge MuiButton-colorPrimary
|
||||
MuiButton-disableElevation css-1iy5dy8-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Create a Free account":
|
||||
[36m<button[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary
|
||||
MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-fullWidth MuiButton-root
|
||||
MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary
|
||||
MuiButton-fullWidth css-7ojbb2-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Sign in to view Pro":
|
||||
[36m<button[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary
|
||||
MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation
|
||||
MuiButton-fullWidth MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium
|
||||
MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-fullWidth
|
||||
css-1si4an9-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Sign in →":
|
||||
[36m<button[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary
|
||||
MuiButton-sizeLarge MuiButton-containedSizeLarge MuiButton-colorPrimary MuiButton-disableElevation MuiButton-root
|
||||
MuiButton-contained MuiButton-containedPrimary MuiButton-sizeLarge MuiButton-containedSizeLarge MuiButton-colorPrimary
|
||||
MuiButton-disableElevation css-1ikfjcd-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Sign in":
|
||||
[36m<button[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary
|
||||
MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-text
|
||||
MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary
|
||||
css-r98byb-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------
|
||||
heading:
|
||||
|
||||
Name "Run your job search without losing the thread .":
|
||||
[36m<h1[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-xp5go3-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Your whole search, at a glance":
|
||||
[36m<h2[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-5cqdzm-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "One workspace for the whole search":
|
||||
[36m<h2[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-fo8kax-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "From a link to an offer":
|
||||
[36m<h2[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-fo8kax-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Two clear plans":
|
||||
[36m<h2[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-fo8kax-MuiTypography-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Free":
|
||||
[36m<h3[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-101xmb3-MuiTypography-root"[39m
|
||||
[33mid[39m=[32m"plan-free"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Pro":
|
||||
[36m<h3[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-101xmb3-MuiTypography-root"[39m
|
||||
[33mid[39m=[32m"plan-pro"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------
|
||||
link:
|
||||
|
||||
Name "See features":
|
||||
[36m<a[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary
|
||||
MuiButton-sizeLarge MuiButton-outlinedSizeLarge MuiButton-colorPrimary MuiButton-root MuiButton-outlined
|
||||
MuiButton-outlinedPrimary MuiButton-sizeLarge MuiButton-outlinedSizeLarge MuiButton-colorPrimary
|
||||
css-484vrr-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mhref[39m=[32m"#features"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------
|
||||
img:
|
||||
|
||||
Name "Jobbjakt dashboard — KPIs, funnel, response trend and follow-ups":
|
||||
[36m<img[39m
|
||||
[33malt[39m=[32m"Jobbjakt dashboard — KPIs, funnel, response trend and follow-ups"[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-1pf0x3y"[39m
|
||||
[33msrc[39m=[32m"/mockups/dashboard.svg"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Drag-and-drop pipeline board":
|
||||
[36m<img[39m
|
||||
[33malt[39m=[32m"Drag-and-drop pipeline board"[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-1pf0x3y"[39m
|
||||
[33msrc[39m=[32m"/mockups/pipeline.svg"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Per-job workspace with match score, correspondence and attachments":
|
||||
[36m<img[39m
|
||||
[33malt[39m=[32m"Per-job workspace with match score, correspondence and attachments"[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-1pf0x3y"[39m
|
||||
[33msrc[39m=[32m"/mockups/workspace.svg"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------
|
||||
region:
|
||||
|
||||
Name "Free":
|
||||
[36m<section[39m
|
||||
[33maria-labelledby[39m=[32m"plan-free"[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-1aena2c"[39m
|
||||
[36m/>[39m
|
||||
|
||||
Name "Pro":
|
||||
[36m<section[39m
|
||||
[33maria-labelledby[39m=[32m"plan-pro"[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-1yhjs04"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
Ignored nodes: comments, script, style
|
||||
[36m<body>[39m
|
||||
[36m<div>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-1k9ek97"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-922rya"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiContainer-root MuiContainer-maxWidthLg css-5c1adp-MuiContainer-root"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiStack-root css-paiku9-MuiStack-root"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiStack-root css-19jlz5w-MuiStack-root"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-2jp6ab"[39m
|
||||
[36m>[39m
|
||||
[0m✓[0m
|
||||
[36m</div>[39m
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-8snv7u-MuiTypography-root"[39m
|
||||
[36m>[39m
|
||||
[0mJobbjakt[0m
|
||||
[36m</p>[39m
|
||||
[36m</div>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiStack-root css-kdc3n8-MuiStack-root"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33maria-label[39m=[32m"Application language"[39m
|
||||
[33mclass[39m=[32m"MuiButtonGroup-root MuiButtonGroup-outlined MuiButtonGroup-horizontal
|
||||
MuiButtonGroup-colorPrimary css-u6fmfy-MuiButtonGroup-root"[39m
|
||||
[33mrole[39m=[32m"group"[39m
|
||||
[36m>[39m
|
||||
[36m<button[39m
|
||||
[33maria-label[39m=[32m"English"[39m
|
||||
[33maria-pressed[39m=[32m"true"[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-contained
|
||||
MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary
|
||||
MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined
|
||||
MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-contained
|
||||
MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary
|
||||
MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined
|
||||
MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButtonGroup-firstButton
|
||||
css-tm237w-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mlang[39m=[32m"en"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m>[39m
|
||||
[0mEN[0m
|
||||
[36m</button>[39m
|
||||
[36m<button[39m
|
||||
[33maria-label[39m=[32m"Norsk bokmål"[39m
|
||||
[33maria-pressed[39m=[32m"false"[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-outlined
|
||||
MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary
|
||||
MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined
|
||||
MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-outlined
|
||||
MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary
|
||||
MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined
|
||||
MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButtonGroup-lastButton
|
||||
css-74b9is-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mlang[39m=[32m"nb"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m>[39m
|
||||
[0mNB[0m
|
||||
[36m</button>[39m
|
||||
[36m</div>[39m
|
||||
[36m<button[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-contained
|
||||
MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary
|
||||
MuiButton-disableElevation MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium
|
||||
MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation
|
||||
css-xg69i6-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m>[39m
|
||||
[0mSign in[0m
|
||||
[36m</button>[39m
|
||||
[36m</div>[39m
|
||||
[36m</div>[39m
|
||||
[36m</div>[39m
|
||||
[36m</div>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-1c6h5d8"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiContainer-root MuiContainer-maxWidthLg css-5c1adp-MuiContainer-root"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-ld23xc"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-1guva6p"[39m
|
||||
[36m>[39m
|
||||
[0mAI-ASSISTED JOB SEARCH WORKSPACE[0m
|
||||
[36m</div>[39m
|
||||
[36m<h1[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-xp5go3-MuiTypography-root"[39m
|
||||
[36m>[39m
|
||||
[0mRun your job search without losing[0m
|
||||
[0m [0m
|
||||
[36m<span[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-1n4n1k3"[39m
|
||||
[36m>[39m
|
||||
[0mthe thread[0m
|
||||
[36m</span>[39m
|
||||
[0m.[0m
|
||||
[36m</h1>[39m
|
||||
[36m<p[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-88irll-MuiTypography-root"[39m
|
||||
[36m>[39m
|
||||
[0mImport a role, tailor your CV, track every application, and keep recruiter correspondence tied
|
||||
to the right job — all in one focused workspace. Assistive, never autonomous: you approve every draft.[0m
|
||||
[36m</p>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiStack-root css-w7gobd-MuiStack-root"[39m
|
||||
[36m>[39m
|
||||
[36m<button[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-contained
|
||||
MuiButton-containedPrimary MuiButton-sizeLarge MuiButton-containedSizeLarge MuiButton-colorPrimary
|
||||
MuiButton-disableElevation MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeLarge
|
||||
MuiButton-containedSizeLarge MuiButton-colorPrimary MuiButton-disableElevation
|
||||
css-1iy5dy8-MuiButtonBase-root-MuiButton-root"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m>[39m
|
||||
[0mGet started[0m
|
||||
[36m</button>[39m
|
||||
[36m<a[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiButton-root MuiButton-outlined
|
||||
MuiButton-outlinedPrimary MuiBu...
|
||||
|
||||
25 | render(<MemoryRouter><I18nProvider><LandingPage /></I18nProvider></MemoryRouter>);
|
||||
26 | await screen.findByRole("heading", { name: "Two clear plans" });
|
||||
> 27 | const main = screen.getByRole("main");
|
||||
| ^
|
||||
28 | expect(within(main).getByRole("heading", { level: 1 })).toBeInTheDocument();
|
||||
29 | expect(within(main).getByRole("heading", { name: "Two clear plans" })).toBeInTheDocument();
|
||||
30 | expect(main).not.toContainElement(screen.getByRole("banner"));
|
||||
|
||||
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
|
||||
at Object.getByRole (src/landing-page.test.tsx:27:23)
|
||||
|
||||
Test Suites: 1 failed, 1 total
|
||||
Tests: 1 failed, 4 skipped, 5 total
|
||||
Snapshots: 0 total
|
||||
Time: 11.853 s
|
||||
Ran all test suites within paths "src/landing-page.test.tsx".
|
||||
Test results written to: ..\..\browser-restoration-20261117\landing-landmarks-red.json
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"applicationSource": "c536e091",
|
||||
"qualificationHead": "d9fbed52",
|
||||
"scope": "12 controlled anonymous rendered journeys; no actual identity/provider request",
|
||||
"artifacts": [
|
||||
{
|
||||
"file": "BROWSER.json",
|
||||
"bytes": 279294,
|
||||
"sha256": "33aa51245c82feccbf7d2880f1dc629d4714ac756b2279b131b9ee67b9e6bd40"
|
||||
},
|
||||
{
|
||||
"file": "build.txt",
|
||||
"bytes": 592,
|
||||
"sha256": "47c4e98408a969b95b31f2b88bda7a7862f2f677ef5d99d5d84ac84934864fd3"
|
||||
},
|
||||
{
|
||||
"file": "build.txt.native.gz",
|
||||
"bytes": 484,
|
||||
"sha256": "ea9e34632b3377f950c90f46911d44f8e3b15205ff6dd442c4dc833a70da256a"
|
||||
},
|
||||
{
|
||||
"file": "browser.txt",
|
||||
"bytes": 363,
|
||||
"sha256": "178bcdb49a9b9bcea6a1ede31dea679931768d11c71e87c47a3fac9c1cabcadb"
|
||||
},
|
||||
{
|
||||
"file": "browser.txt.native.gz",
|
||||
"bytes": 218,
|
||||
"sha256": "dbf4626aaf58502b47e1277fb1caa7f527a5d9ea21877594cc920975774c8fb0"
|
||||
},
|
||||
{
|
||||
"file": "harness.mjs.txt",
|
||||
"bytes": 16014,
|
||||
"sha256": "3cc33a244a865738566a1d56dccd9fa143ff6404b4134e12a21a89b3ca1b2488"
|
||||
},
|
||||
{
|
||||
"file": "harness.mjs.txt.native.gz",
|
||||
"bytes": 4616,
|
||||
"sha256": "e69774adeec4c65feb0fa2b8a37901ace441725dc0706dc4761a3c27b2c5ff4c"
|
||||
},
|
||||
{
|
||||
"file": "landing-en-light-1440.png",
|
||||
"bytes": 857207,
|
||||
"sha256": "587172f777a93c3333a26f8257b30f8ea84ea8724ab94bb4a1fa4d147055c6fa"
|
||||
},
|
||||
{
|
||||
"file": "landing-nb-dark-320.png",
|
||||
"bytes": 466798,
|
||||
"sha256": "4c51ec5a53766805719d78be00c8692e83bd98c533f6761bf238b36d04f430c7"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
Checking 320/en/light
|
||||
Checking 320/en/dark
|
||||
Checking 320/nb/light
|
||||
Checking 320/nb/dark
|
||||
Checking 768/en/light
|
||||
Checking 768/en/dark
|
||||
Checking 768/nb/light
|
||||
Checking 768/nb/dark
|
||||
Checking 1440/en/light
|
||||
Checking 1440/en/dark
|
||||
Checking 1440/nb/light
|
||||
Checking 1440/nb/dark
|
||||
Audited 12 existing landing states. 12 controlled navigation journeys passed. See recorded findings.
|
||||
Binary file not shown.
@@ -1,23 +0,0 @@
|
||||
|
||||
> job-tracker-ui@0.1.0 build
|
||||
> node --max-old-space-size=4096 ./node_modules/next/dist/bin/next build
|
||||
|
||||
▲ Next.js 16.4.6 (Turbopack)
|
||||
✓ Running next.config.js took 31ms
|
||||
|
||||
Creating an optimized production build ...
|
||||
✓ Compiled successfully in 806ms
|
||||
Running TypeScript ...
|
||||
Finished TypeScript in 5.5s ...
|
||||
Collecting page data using 4 workers ...
|
||||
Generating static pages using 4 workers (0/3) ...
|
||||
✓ Generating static pages using 4 workers (3/3) in 858ms
|
||||
Finalizing page optimization ...
|
||||
|
||||
Route (app)
|
||||
┌ ○ /
|
||||
└ ○ /_not-found
|
||||
|
||||
|
||||
○ (Static) prerendered as static content
|
||||
|
||||
Binary file not shown.
@@ -1,134 +0,0 @@
|
||||
// Actual public routes; synthetic confirmation/MFA responses, no real identity or provider access.
|
||||
import { chromium, expect } from '@playwright/test';
|
||||
import AxeBuilder from '@axe-core/playwright';
|
||||
import ts from 'typescript';
|
||||
import assert from 'node:assert/strict';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
const compiled = ts.transpileModule(fs.readFileSync(new URL('../src/i18n/translations.ts', import.meta.url), 'utf8'), { compilerOptions: { module: ts.ModuleKind.ESNext } }).outputText;
|
||||
const { translations } = await import(`data:text/javascript;base64,${Buffer.from(compiled).toString('base64')}`);
|
||||
const landingAudit = process.env.A3_LANDING_AUDIT === '1';
|
||||
const out = path.resolve(import.meta.dirname, '../../docs/ui-modernisation/evidence/landing-local-language/browser');
|
||||
fs.mkdirSync(out, { recursive: true });
|
||||
const report = { screens: [], journeys: [], confirmations: [], signIns: [], challenges: [], preferenceDenials: [], unexpectedWrites: [], unavailableReads: [], blockedExternal: [], errors: [] };
|
||||
const browser = await chromium.launch();
|
||||
try {
|
||||
const widths = landingAudit ? [320, 768, 1440] : [320, 360, 390, 430, 768, 1024, 1280, 1440, 1920];
|
||||
const configurations = process.env.A3_PILOT ? [[320, 'en', 'light']] : widths.flatMap(width => ['en', 'nb'].flatMap(language => ['light', 'dark'].map(mode => [width, language, mode])));
|
||||
for (const [width, language, mode] of configurations) {
|
||||
console.log(`Checking ${width}/${language}/${mode}`);
|
||||
const other = language === 'en' ? 'nb' : 'en';
|
||||
const text = (locale, key) => { assert.ok(translations[locale][key], key); return translations[locale][key]; };
|
||||
const t = key => text(language, key);
|
||||
const context = await browser.newContext({ viewport: { width, height: 1000 }, reducedMotion: 'reduce' });
|
||||
const page = await context.newPage(); page.on('pageerror', error => report.errors.push(error.message));
|
||||
await page.addInitScript(({ language, mode }) => { localStorage.setItem('uiLanguage', language); localStorage.setItem('jobtracker.themeMode', mode); }, { language, mode });
|
||||
let configReads = 0, confirmations = 0, signIns = 0, challenges = 0;
|
||||
await page.route('**/*', route => {
|
||||
const req = route.request(), url = new URL(req.url()), p = url.pathname;
|
||||
if (url.origin !== 'http://localhost:4338' && !(url.origin === 'http://localhost:5302' && p.startsWith('/api/'))) { report.blockedExternal.push(url.origin); return route.abort(); }
|
||||
if (landingAudit && p === '/mockups/dashboard.svg') {
|
||||
const mockup = fs.readFileSync(path.resolve(import.meta.dirname, '../out/mockups/dashboard.svg'), 'utf8');
|
||||
const safeMockup = mockup.replace(/[\w.%+-]+@[\w.-]+\.[A-Za-z]{2,}/g, 'alex@example.test');
|
||||
return route.fulfill({ status: 200, contentType: 'image/svg+xml', body: safeMockup });
|
||||
}
|
||||
if (!p.startsWith('/api/')) return route.continue();
|
||||
const answer = data => route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify(data) });
|
||||
if (req.method() === 'GET' && p === '/api/auth/config') { configReads++; return answer({ requireAuth: true, localEnabled: true, allowRegistration: true, requireEmailVerification: true, googleEnabled: false, microsoftEnabled: false, turnstileEnabled: false }); }
|
||||
if (landingAudit && req.method() === 'GET' && p === '/api/auth/me') return route.fulfill({ status: 401, contentType: 'application/json', body: '{}' });
|
||||
if (landingAudit && req.method() === 'PUT' && p === '/api/auth/preferences/language') {
|
||||
const preference = req.postDataJSON().language;
|
||||
assert.ok(['en', 'nb-NO'].includes(preference));
|
||||
report.preferenceDenials.push({ width, language, mode, preference });
|
||||
return route.fulfill({ status: 401, contentType: 'application/json', body: '{}' });
|
||||
}
|
||||
if (landingAudit && req.method() !== 'GET') { report.unexpectedWrites.push(p); return route.abort(); }
|
||||
if (req.method() === 'POST' && ['/api/auth/verify-email', '/api/auth/email-change/confirm'].includes(p)) {
|
||||
const expected = { userId: 'synthetic-owner', ...(p.includes('email-change') ? { email: 'synthetic@example.test' } : {}), token: 'synthetic-confirmation' };
|
||||
assert.deepEqual(req.postDataJSON(), expected); confirmations++; report.confirmations.push({ width, language, mode, path: p }); return answer({});
|
||||
}
|
||||
if (req.method() === 'POST' && p === '/api/auth/login') {
|
||||
const body = req.postDataJSON(); assert.equal(body.email, 'synthetic@example.test'); assert.equal(body.password, 'Synthetic challenge example'); assert.equal(typeof body.rememberMe, 'boolean'); assert.deepEqual(Object.keys(body).sort(), ['email', 'password', 'rememberMe']);
|
||||
signIns++; report.signIns.push({ width, language, mode }); return answer({ requiresTwoFactor: true, pendingToken: 'synthetic-pending' });
|
||||
}
|
||||
if (req.method() === 'POST' && p === '/api/auth/2fa/challenge') {
|
||||
assert.deepEqual(req.postDataJSON(), { pendingToken: 'synthetic-pending', code: '000000', trustDevice: false }); challenges++; report.challenges.push({ width, language, mode });
|
||||
return route.fulfill({ status: 429, contentType: 'application/problem+json', body: '{}' });
|
||||
}
|
||||
if (req.method() !== 'GET') { report.unexpectedWrites.push(p); return route.abort(); }
|
||||
report.unavailableReads.push(p); return route.fulfill({ status: 503, contentType: 'application/json', body: '{}' });
|
||||
});
|
||||
const scan = async state => {
|
||||
assert.equal(await page.evaluate(() => document.documentElement.scrollWidth > innerWidth + 1), false, `overflow:${state}`);
|
||||
const result = await new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa']).analyze();
|
||||
report.screens.push({ width, language, mode, state, violations: result.violations }); assert.deepEqual(result.violations, [], state);
|
||||
await page.evaluate(() => window.scrollTo({ top: 0, behavior: 'instant' })); await page.screenshot({ path: path.join(out, `${state}-${language}-${mode}-${width}.png`), fullPage: true });
|
||||
};
|
||||
const selectLanguage = locale => page.getByRole('button', { name: locale === 'en' ? 'English' : 'Norsk bokmål', exact: true }).click();
|
||||
const ready = async (url, title, config = false) => { await page.goto(`http://localhost:4338${url}`); await expect(page.getByRole('heading', { level: 1, name: t(title), exact: true })).toBeVisible(); if (config) await expect(page.getByText(t('loading'), { exact: true })).toHaveCount(0); };
|
||||
if (landingAudit) {
|
||||
const landing = async locale => {
|
||||
const heading = `${text(locale, 'landingHeroBefore')} ${text(locale, 'landingHeroAccent')}.`;
|
||||
await expect(page.getByRole('heading', { level: 1, name: heading, exact: true })).toBeVisible();
|
||||
};
|
||||
await page.goto('http://localhost:4338/');
|
||||
await landing(language);
|
||||
await expect.poll(() => page.locator('img[src^="/mockups/"]').evaluateAll(images => images.filter(img => img.complete).length)).toBe(3);
|
||||
if (!report.rawHtml) {
|
||||
const response = await page.request.get('http://localhost:4338/');
|
||||
assert.equal(response.status(), 200);
|
||||
report.rawHtml = await page.evaluate(html => {
|
||||
const raw = new DOMParser().parseFromString(html, 'text/html');
|
||||
return { language: raw.documentElement.lang, title: raw.title, description: raw.querySelector('meta[name=description]')?.content ?? null, canonical: raw.querySelector('link[rel=canonical]')?.getAttribute('href') ?? null, alternateLanguages: [...raw.querySelectorAll('link[hreflang]')].map(link => link.hreflang), headings: [...raw.querySelectorAll('body h1')].map(heading => heading.textContent) };
|
||||
}, await response.text());
|
||||
}
|
||||
const layout = await page.evaluate(() => ({
|
||||
pageOverflow: document.documentElement.scrollWidth > innerWidth + 1,
|
||||
landmarks: [...document.querySelectorAll('header, main, footer, nav')].map(node => node.tagName.toLowerCase()),
|
||||
mockups: [...document.querySelectorAll('img[src^="/mockups/"]')].map(img => ({ src: img.getAttribute('src'), loaded: img.complete && img.naturalWidth > 0 })),
|
||||
}));
|
||||
const result = await new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa', 'best-practice']).analyze();
|
||||
report.screens.push({ width, language, mode, state: 'landing-baseline', layout, violations: result.violations });
|
||||
await page.screenshot({ path: path.join(out, `landing-${language}-${mode}-${width}.png`), fullPage: true });
|
||||
await selectLanguage(other); await landing(other);
|
||||
assert.equal(await page.evaluate(() => localStorage.getItem('uiLanguage')), other);
|
||||
await selectLanguage(language); await landing(language);
|
||||
await page.getByRole('link', { name: t('landingSeeFeatures'), exact: true }).press('Enter');
|
||||
await expect.poll(() => new URL(page.url()).hash).toBe('#features');
|
||||
await page.getByRole('button', { name: t('landingSignIn'), exact: true }).first().press('Enter');
|
||||
await expect(page.getByRole('heading', { name: t('signInTitle'), level: 1, exact: true })).toBeVisible();
|
||||
await page.goto('http://localhost:4338/'); await landing(language);
|
||||
await page.getByRole('button', { name: t('landingPlanFreeCta'), exact: true }).press('Enter');
|
||||
await expect(page.getByRole('heading', { name: t('createAccount'), level: 1, exact: true })).toBeVisible();
|
||||
report.journeys.push({ width, language, mode, publicLanguageSwitch: 'PASS', featuresAnchorAndAuthNavigation: 'PASS', submissions: 'NOT RUN' });
|
||||
await context.close(); continue;
|
||||
}
|
||||
await ready('/login', 'signInTitle', true); await scan('login');
|
||||
await page.getByLabel(t('usernameOrEmail'), { exact: true }).fill('synthetic@example.test'); await page.getByLabel(t('profileCurrentPassword'), { exact: true }).fill('Synthetic unsubmitted example');
|
||||
const reads = configReads; await selectLanguage(other);
|
||||
await expect(page.getByLabel(text(other, 'usernameOrEmail'), { exact: true })).toHaveValue('synthetic@example.test'); await expect(page.getByLabel(text(other, 'profileCurrentPassword'), { exact: true })).toHaveValue('Synthetic unsubmitted example');
|
||||
assert.equal(await page.evaluate(() => localStorage.getItem('uiLanguage')), other); assert.equal(configReads, reads); assert.equal(signIns, 0);
|
||||
await selectLanguage(language); await page.getByLabel(t('usernameOrEmail'), { exact: true }).fill(''); await page.getByLabel(t('profileCurrentPassword'), { exact: true }).fill('');
|
||||
await page.getByRole('button', { name: t('signInTitle'), exact: true }).click(); await expect(page.getByText(t('usernameOrEmailRequired'), { exact: true })).toBeVisible(); await scan('login-validation');
|
||||
await ready('/register', 'createAccount', true); await scan('register'); await page.getByRole('button', { name: t('createAccount'), exact: true }).click(); await expect(page.getByText(t('emailRequired'), { exact: true })).toBeVisible(); await scan('register-validation');
|
||||
await ready('/forgot-password', 'forgotPasswordTitle'); await scan('password-request'); await page.getByRole('button', { name: t('forgotPasswordSubmit'), exact: true }).click(); await expect(page.getByText(t('emailRequired'), { exact: true })).toBeVisible(); await scan('password-request-validation');
|
||||
await ready('/reset-password?email=synthetic%40example.test&token=synthetic', 'resetPasswordTitle'); await expect(page.getByRole('button', { name: t('updatePassword'), exact: true })).toBeEnabled(); await scan('password-reset');
|
||||
await page.getByRole('button', { name: t('updatePassword'), exact: true }).click(); await expect(page.getByLabel(t('profileNewPassword'), { exact: true })).toHaveAttribute('aria-invalid', 'true'); await scan('password-reset-validation');
|
||||
for (const [url, title, errorKey, state] of [['/verify-email', 'verifyEmailTitle', 'missingVerifyLinkInfo', 'verify-missing'], ['/confirm-email-change', 'confirmEmailChangeTitle', 'missingEmailChangeLinkInfo', 'email-change-missing'], ['/microsoft-legacy-relink', 'microsoftLegacyRelinkTitle', 'microsoftLegacyRelinkMissing', 'microsoft-recovery-missing']]) {
|
||||
await ready(url, title); await expect(page.getByRole('main').getByRole('alert')).toContainText(t(errorKey)); if (state === 'microsoft-recovery-missing') await expect(page.getByRole('button', { name: t('continueWithMicrosoft'), exact: true })).toBeDisabled(); await scan(state);
|
||||
}
|
||||
assert.equal(confirmations, 0); assert.equal(signIns, 0); assert.equal(challenges, 0);
|
||||
for (const [url, title, successKey, state] of [['/verify-email?userId=synthetic-owner&token=synthetic-confirmation', 'verifyEmailTitle', 'verifyEmailSuccess', 'verify-success'], ['/confirm-email-change?userId=synthetic-owner&email=synthetic%40example.test&token=synthetic-confirmation', 'confirmEmailChangeTitle', 'confirmEmailChangeSuccess', 'email-change-success']]) {
|
||||
const expected = confirmations + 1; await ready(url, title); await expect(page.getByRole('status')).toContainText(t(successKey)); await selectLanguage(other); await expect(page.getByRole('status')).toContainText(text(other, successKey)); await selectLanguage(language); assert.equal(confirmations, expected); await scan(state);
|
||||
}
|
||||
await ready('/login', 'signInTitle', true); await page.getByLabel(t('usernameOrEmail'), { exact: true }).fill('synthetic@example.test'); await page.getByLabel(t('profileCurrentPassword'), { exact: true }).fill('Synthetic challenge example'); await page.getByRole('button', { name: t('signInTitle'), exact: true }).click();
|
||||
await page.getByLabel(t('twoFactorCodeLabel'), { exact: true }).fill('000000'); await page.getByRole('button', { name: t('twoFactorVerify'), exact: true }).click(); await expect(page.getByRole('main').getByRole('alert')).toContainText(t('twoFactorRateLimited'));
|
||||
await selectLanguage(other); await expect(page.getByRole('main').getByRole('alert')).toContainText(text(other, 'twoFactorRateLimited')); await expect(page.getByLabel(text(other, 'twoFactorCodeLabel'), { exact: true })).toHaveValue('000000'); await selectLanguage(language); await scan('mfa-rate-limit');
|
||||
assert.equal(confirmations, 2); assert.equal(signIns, 1); assert.equal(challenges, 1); report.journeys.push({ width, language, mode, publicLanguageAndDraft: 'PASS', clientValidationWithoutSubmission: 'PASS', confirmationLocaleWithoutReplay: 'PASS', mfaRateLimitAndCodeRetained: 'PASS' }); await context.close();
|
||||
}
|
||||
assert.equal(report.screens.length, configurations.length * (landingAudit ? 1 : 14)); assert.equal(report.journeys.length, configurations.length); assert.equal(report.confirmations.length, landingAudit ? 0 : configurations.length * 2); assert.equal(report.signIns.length, landingAudit ? 0 : configurations.length); assert.equal(report.challenges.length, landingAudit ? 0 : configurations.length);
|
||||
assert.deepEqual(report.preferenceDenials, []); assert.deepEqual(report.errors, []); assert.deepEqual(report.unexpectedWrites, []); assert.deepEqual(report.unavailableReads, []); assert.ok(report.blockedExternal.every(origin => origin === 'https://fonts.googleapis.com'));
|
||||
console.log(landingAudit ? `Audited ${report.screens.length} existing landing states. ${report.journeys.length} controlled navigation journeys passed. See recorded findings.` : `PASS:${report.journeys.length} public journeys,${report.screens.length} scans/captures; synthetic confirmations and MFA only.`);
|
||||
} finally {
|
||||
fs.writeFileSync(path.join(out, process.env.A3_PILOT ? 'PILOT.json' : 'BROWSER.json'), JSON.stringify({ ...report, limits: ['Every API response is intercepted; no real account, password, email delivery, verification, MFA or provider activation.', 'Synthetic confirmation tokens and challenge values cannot qualify server-side token, rate-limit or authentication enforcement.', 'No native/human, integrated security, release or production qualification.'] }, null, 2)); await browser.close();
|
||||
}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 837 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 456 KiB |
@@ -1,76 +0,0 @@
|
||||
{
|
||||
"source": "0765b15133da62b86fcc9a8bc29eb8d39c42d1a9",
|
||||
"qualificationHead": "4eb8a2933bc415619449c56aaecc7d61b35d703d",
|
||||
"artifacts": [
|
||||
{
|
||||
"file": "final-integrated-browser.json",
|
||||
"rawBytes": 18243058,
|
||||
"rawSha256": "d760c44750d296dd613c2e2b40ccf411fde332072e550119e93e9b812e5ca3a9",
|
||||
"gzipSha256": "a401b49362657e1ff05ef761c05a3163c62ef983412392da518daf12d08d9913",
|
||||
"readableSha256": "d760c44750d296dd613c2e2b40ccf411fde332072e550119e93e9b812e5ca3a9"
|
||||
},
|
||||
{
|
||||
"file": "final-integrated-browser.txt",
|
||||
"rawBytes": 35456,
|
||||
"rawSha256": "c80d2ac2cc4af4e78a882fe443cf6ddc723ad2b51b0597cb7c1807394af67376",
|
||||
"gzipSha256": "173ded2533e5cf8b7a33172a1ab577bfb576520e9a21d8393f3a9b1c869705eb",
|
||||
"readableSha256": "331230b22df370020711f15952b80b8771e356669ea21b6cd19fdfad7047f0a1"
|
||||
},
|
||||
{
|
||||
"file": "final-integrated-build.txt",
|
||||
"rawBytes": 1198,
|
||||
"rawSha256": "70993c436767495479c084028f696098bdc42405acd41a344a3780531180fab3",
|
||||
"gzipSha256": "4386e50a577a8b8be5108e1626e54ff8eb208455a7084d7621fd6a1bdf818ce5",
|
||||
"readableSha256": "03a5b237d5301d5f1c017a24854859fd1f8e5fe03a884d35c8a50c3327b5d65b"
|
||||
},
|
||||
{
|
||||
"file": "final-integrated-lint.txt",
|
||||
"rawBytes": 126,
|
||||
"rawSha256": "70b99199998f4015dc89fd257334e3305134d5cdbacd266edade2a0cd3879813",
|
||||
"gzipSha256": "e4f328fce264b72a40febec1945aeea71ac2ce2ce5821f1eb15e22550a090ffb",
|
||||
"readableSha256": "90b7cd72b55fedd90de76daaa13f3c58e1b051481ede133c1904168b2f6bf6b0"
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"path": "job-tracker-ui/package.json",
|
||||
"gitBlob": "46c3aee468a332372aae874d56ea645a1c8836d7"
|
||||
},
|
||||
{
|
||||
"path": "job-tracker-ui/package-lock.json",
|
||||
"gitBlob": "4c277d454e1164b1e24f21f463b5251052e53eaa"
|
||||
},
|
||||
{
|
||||
"path": "job-tracker-ui/playwright.config.ts",
|
||||
"gitBlob": "f879fa74c763bc5a535d0544a7bc67005aef5dd6"
|
||||
},
|
||||
{
|
||||
"path": "job-tracker-ui/e2e/phase7-application-forms.spec.ts",
|
||||
"gitBlob": "923ce19a99dff94b3d9b29ea9bd2322dd0cd5e60"
|
||||
},
|
||||
{
|
||||
"path": "job-tracker-ui/e2e/phase7-career-overview.spec.ts",
|
||||
"gitBlob": "e7571f37dd5077db6e351f3ddb2670f54dafb6b0"
|
||||
},
|
||||
{
|
||||
"path": "job-tracker-ui/e2e/phase7-discovery.spec.ts",
|
||||
"gitBlob": "4fffcdf8f26c1afdc3e2645c6100bb5769537f70"
|
||||
},
|
||||
{
|
||||
"path": "job-tracker-ui/e2e/phase7-documents.spec.ts",
|
||||
"gitBlob": "e6f5537c4884b20c5d21639f589e22438b2ebb52"
|
||||
},
|
||||
{
|
||||
"path": "job-tracker-ui/e2e/phase7-cv-library.spec.ts",
|
||||
"gitBlob": "38dc5debfa9307eee2820ad0d2a934d1c3bd755a"
|
||||
}
|
||||
],
|
||||
"stats": {
|
||||
"startTime": "2026-11-18T00:29:36.693Z",
|
||||
"duration": 292377.201,
|
||||
"expected": 44,
|
||||
"skipped": 0,
|
||||
"unexpected": 0,
|
||||
"flaky": 0
|
||||
}
|
||||
}
|
||||
-2898
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
-112
@@ -1,112 +0,0 @@
|
||||
[WebServer] Using launch settings from ..\JobTrackerApi\Properties\launchSettings.json...
|
||||
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[30200]
|
||||
[WebServer] An operation of type 'SqlOperation' will be attempted while a rebuild of table 'JobApplications' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
|
||||
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[20410]
|
||||
[WebServer] The migration operation 'PRAGMA foreign_keys = 0;
|
||||
[WebServer] ' from migration 'AddJobEntityAndProspectStages' cannot be executed in a transaction. If the app is terminated or an unrecoverable error occurs while this operation is being executed then the migration will be left in a partially applied state and would need to be reverted manually before it can be applied again. Create a separate migration that contains just this operation.
|
||||
[WebServer] warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
|
||||
[WebServer] No XML encryptor configured. Key {3ca3fbf3-cf67-4b23-a44d-7158372c8d0e} may be persisted to storage in unencrypted form.
|
||||
node : [WebServer] (node:36332) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||||
At line:1 char:538
|
||||
+ ... wser.json"; node node_modules/@playwright/test/cli.js test e2e/phase7 ...
|
||||
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
+ CategoryInfo : NotSpecified: ([WebServer] (no... env being set.:String) [], RemoteException
|
||||
+ FullyQualifiedErrorId : NativeCommandError
|
||||
|
||||
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
|
||||
|
||||
Running 44 tests using 1 worker
|
||||
|
||||
(node:18868) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||||
[WebServer] fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
|
||||
[WebServer] Failed executing DbCommand (3ms) [Parameters=[@p0='?' (Size = 15), @p1='?' (Size = 11), @p2='?' (DbType = DateTimeOffset), @p3='?' (DbType = DateTimeOffset), @p4='?' (Size = 74), @p5='?' (DbType = Boolean), @p6='?' (DbType = Boolean), @p7='?' (DbType = Int32), @p8='?' (Size = 36), @p9='?' (Size = 11), @p10='?' (DbType = Int32), @p11='?' (Size = 7), @p12='?' (Size = 18), @p13='?' (Size = 18), @p14='?' (DbType = DateTimeOffset)], CommandType='Text', CommandTimeout='30']
|
||||
[WebServer] INSERT INTO "ApplicationChecklistItems" ("AutoSignal", "Category", "CompletedAt", "CreatedAtUtc", "Description", "IsAutoCompleted", "IsSystemGenerated", "JobApplicationId", "OwnerUserId", "Section", "SortOrder", "Status", "SystemKey", "Title", "UpdatedAtUtc")
|
||||
[WebServer] VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14)
|
||||
[WebServer] RETURNING "Id";
|
||||
[WebServer] fail: Microsoft.EntityFrameworkCore.Update[10000]
|
||||
[WebServer] An exception occurred in the database while saving changes for context type 'JobTrackerApi.Data.JobTrackerContext'.
|
||||
[WebServer] Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
|
||||
[WebServer] ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: ApplicationChecklistItems.JobApplicationId, ApplicationChecklistItems.SystemKey'.
|
||||
[WebServer] at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
|
||||
[WebServer] at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
|
||||
[WebServer] at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
|
||||
[WebServer] at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
|
||||
[WebServer] --- End of inner exception stack trace ---
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
|
||||
[WebServer] Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
|
||||
[WebServer] ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: ApplicationChecklistItems.JobApplicationId, ApplicationChecklistItems.SystemKey'.
|
||||
[WebServer] at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
|
||||
[WebServer] at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
|
||||
[WebServer] at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
|
||||
[WebServer] at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
|
||||
[WebServer] --- End of inner exception stack trace ---
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
|
||||
[WebServer] at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
|
||||
ok 1 [chromium] › e2e\phase7-application-forms.spec.ts:164:1 › [P7-06 PRES-W01 W04 W10] same-route job navigation waits for owned answers and preserves both jobs on save (6.9s)
|
||||
ok 2 [chromium] › e2e\phase7-application-forms.spec.ts:227:1 › [P7-11 E08] Strategy failed reads remain distinct from exact not-generated state and retry only GET in both locales (7.0s)
|
||||
ok 3 [chromium] › e2e\phase7-application-forms.spec.ts:255:1 › [P7-06 forms] held CV read Retry preserves its request and actual attach/replace/detach remain owner scoped (4.3s)
|
||||
ok 4 [chromium] › e2e\phase7-application-forms.spec.ts:293:1 › [P7-06 forms] long letter failed held Save retains snapshot and dirty restore Cancel writes nothing before additive explicit restore (6.2s)
|
||||
ok 5 [chromium] › e2e\phase7-application-forms.spec.ts:333:1 › [P7-06 forms] failed held Answers save preserves both drafts and ordinary Notes through explicit recovery and reload (5.4s)
|
||||
ok 6 [chromium] › e2e\phase7-application-forms.spec.ts:361:1 › [P7-06 forms] actual native capture freezes CV and exact archive bytes after current sources change without renderer mutation (31.7s)
|
||||
ok 7 [chromium] › e2e\phase7-application-forms.spec.ts:399:1 › [P7-06 forms] failed preserved detail and download retain history and Retry only the original owned read (4.8s)
|
||||
ok 8 [chromium] › e2e\phase7-application-forms.spec.ts:426:1 › [P7-06 forms] live EN/Bokmal retains dirty letter and both answer drafts without asset GET or writes (4.7s)
|
||||
[WebServer] warn: Microsoft.EntityFrameworkCore.Query[20504]
|
||||
[WebServer] Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
|
||||
ok 9 [chromium] › e2e\phase7-application-forms.spec.ts:451:1 › [P7-06 forms] real duplicate then failed attach preserves created copy and original without automatic duplicate retry (3.5s)
|
||||
ok 10 [chromium] › e2e\phase7-application-forms.spec.ts:487:1 › [P7-06 forms] eight finite bilingual theme widths keep long CV, letter, drafts and frozen preview usable with keyboard (51.7s)
|
||||
ok 11 [chromium] › e2e\phase7-application-forms.spec.ts:544:1 › [P7-06 forms] controlled language HTTP503 preserves local dirty drafts and Retry only repeats the language request (4.6s)
|
||||
ok 12 [chromium] › e2e\phase7-career-overview.spec.ts:106:1 › [P7-02 PRES-C04 E09] real SQLite evidence list preserves owner boundaries and existing validation (536ms)
|
||||
ok 13 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] nb/dark 320px overview and factual evidence preserve canonical source and recent CV links (3.9s)
|
||||
ok 14 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] en/light 360px overview and factual evidence preserve canonical source and recent CV links (4.1s)
|
||||
ok 15 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] nb/light 390px overview and factual evidence preserve canonical source and recent CV links (3.8s)
|
||||
ok 16 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] en/dark 768px overview and factual evidence preserve canonical source and recent CV links (4.6s)
|
||||
ok 17 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] nb/dark 1024px overview and factual evidence preserve canonical source and recent CV links (4.2s)
|
||||
ok 18 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] en/light 1280px overview and factual evidence preserve canonical source and recent CV links (4.4s)
|
||||
ok 19 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] nb/light 1440px overview and factual evidence preserve canonical source and recent CV links (4.5s)
|
||||
ok 20 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] en/dark 1920px overview and factual evidence preserve canonical source and recent CV links (4.6s)
|
||||
ok 21 [chromium] › e2e\phase7-career-overview.spec.ts:191:3 › [P7-02 PRES-C02 E09] unavailable /career/profile stays unknown and retries its reads without writes or false first-run guidance (2.3s)
|
||||
ok 22 [chromium] › e2e\phase7-career-overview.spec.ts:191:3 › [P7-02 PRES-C02 E09] unavailable /profile-cv/runs stays unknown and retries its reads without writes or false first-run guidance (2.3s)
|
||||
ok 23 [chromium] › e2e\phase7-career-overview.spec.ts:191:3 › [P7-02 PRES-C02 E09] unavailable /cv/variants stays unknown and retries its reads without writes or false first-run guidance (2.3s)
|
||||
ok 24 [chromium] › e2e\phase7-career-overview.spec.ts:229:1 › [P7-02 PRES-C04 E09] evidence pending/failure/read retry and failed save preserve drafts across section changes, cancellation and actual deletion (6.5s)
|
||||
ok 25 [chromium] › e2e\phase7-career-overview.spec.ts:331:1 › [P7-02 PRES-C01 C02] existing raw source copy and history entry remain read-only (2.1s)
|
||||
ok 26 [chromium] › e2e\phase7-cv-library.spec.ts:264:1 › [P7-04 connected C01 C05 C07 C08 C10] native profile save to selected-source CV creation, scoped edit, preview and explicit PDF (9.0s)
|
||||
ok 27 [chromium] › e2e\phase7-discovery.spec.ts:213:1 › [P7-05 Discovery] saved A to manual search clears saved-result context and preserves native saved rows (2.3s)
|
||||
ok 28 [chromium] › e2e\phase7-discovery.spec.ts:236:1 › [P7-05 Discovery] held saved B removes A rows, locks all mutations and starts one request (2.5s)
|
||||
ok 29 [chromium] › e2e\phase7-discovery.spec.ts:274:1 › [P7-05 Discovery] failed saved-run Retry posts the same ID with stable keyboard focus and held progress (3.2s)
|
||||
ok 30 [chromium] › e2e\phase7-discovery.spec.ts:314:1 › [P7-05 Discovery] mutation failures retain drafts and current rows without offering an unrelated manual-search retry (3.0s)
|
||||
ok 31 [chromium] › e2e\phase7-discovery.spec.ts:372:1 › [P7-05 Discovery] keyboard native create and alert updates persist; delete Cancel restores focus and held delete starts once (7.9s)
|
||||
ok 32 [chromium] › e2e\phase7-discovery.spec.ts:459:1 › [P7-05 Discovery] contextual Dismiss preserves a row on real missing-result denial and qualifies intercepted UI recovery (3.9s)
|
||||
ok 33 [chromium] › e2e\phase7-discovery.spec.ts:530:1 › [P7-05 Discovery] eight finite responsive locale/theme states retain source labels and all-enabled accessibility vectors (18.7s)
|
||||
ok 34 [chromium] › e2e\phase7-discovery.spec.ts:576:1 › [P7-05 Discovery] header locale change retains drafts, selected saved source and rows without discovery refetch (2.3s)
|
||||
ok 35 [chromium] › e2e\phase7-documents.spec.ts:76:1 › [P7-07 Documents] seven owned metadata kinds retain honest source actions and frozen provenance after current source deletion (2.8s)
|
||||
ok 36 [chromium] › e2e\phase7-documents.spec.ts:85:1 › [P7-07 Documents] server pages filter history owned job selection and reload preserve unknown query and hash (4.9s)
|
||||
ok 37 [chromium] › e2e\phase7-documents.spec.ts:92:1 › [P7-07 Documents] initial503 Retry and incompatible held query expose no stale actions or false empty state (2.3s)
|
||||
ok 38 [chromium] › e2e\phase7-documents.spec.ts:100:1 › [P7-07 Documents] stale CV opens the existing missing-source error and Back plus explicit Refresh removes its metadata (2.1s)
|
||||
ok 39 [chromium] › e2e\phase7-documents.spec.ts:106:1 › [P7-11 E08 C05] transient private CV entry recovers GET reads and keyboard focus without saving (6.0s)
|
||||
ok 40 [chromium] › e2e\phase7-documents.spec.ts:133:1 › [P7-11 E08] unknown routes have bilingual contextual headings and preserve browser history (6.4s)
|
||||
ok 41 [chromium] › e2e\phase7-documents.spec.ts:148:1 › [P7-07 Documents] explicit authenticated attachment GET retries exact bytes and a real404 offers only list Refresh (2.4s)
|
||||
ok 42 [chromium] › e2e\phase7-documents.spec.ts:154:1 › [P7-07 Documents] actual sign-out clears private rows and a separate owner sees only its own metadata (3.1s)
|
||||
ok 43 [chromium] › e2e\phase7-documents.spec.ts:159:1 › [P7-07 Documents] existing letter source keeps dirty edits on navigation Cancel and reindexes only the explicit saved revision (3.5s)
|
||||
ok 44 [chromium] › e2e\phase7-documents.spec.ts:167:1 › [P7-07 Documents] eight finite bilingual theme widths retain long metadata keyboard actions and complete axe vectors (16.6s)
|
||||
|
||||
44 passed (4.9m)
|
||||
BIN
Binary file not shown.
@@ -1,23 +0,0 @@
|
||||
|
||||
> job-tracker-ui@0.1.0 build
|
||||
> node --max-old-space-size=4096 ./node_modules/next/dist/bin/next build
|
||||
|
||||
▲ Next.js 16.4.6 (Turbopack)
|
||||
✓ Running next.config.js took 31ms
|
||||
|
||||
Creating an optimized production build ...
|
||||
✓ Compiled successfully in 450ms
|
||||
Running TypeScript ...
|
||||
Finished TypeScript in 6.3s ...
|
||||
Collecting page data using 4 workers ...
|
||||
Generating static pages using 4 workers (0/3) ...
|
||||
✓ Generating static pages using 4 workers (3/3) in 1005ms
|
||||
Finalizing page optimization ...
|
||||
|
||||
Route (app)
|
||||
┌ ○ /
|
||||
└ ○ /_not-found
|
||||
|
||||
|
||||
○ (Static) prerendered as static content
|
||||
|
||||
BIN
Binary file not shown.
@@ -1,4 +0,0 @@
|
||||
|
||||
> job-tracker-ui@0.1.0 lint
|
||||
> eslint . --max-warnings=0
|
||||
|
||||
BIN
Binary file not shown.
@@ -34,7 +34,7 @@ Owner correction: 3 November 2026. This register extends IM10 and the original 3
|
||||
| V24 | Calendar workflow | Scheduling updates reminder card but leaves adjacent agenda stale | RESOLVED inc0ef4171;23 native cases and8 configurations/48 connected states passed,16 intercepted status/date writes | Refresh only after committed follow-up change; preserve selected month/view; backend/provider/timezone/native/owner acceptance remains separate |
|
||||
| V25 | Audit table timestamp | Tablet Bokmål capture wraps both the column heading and timestamp inside words | RESOLVED in `2dc8fe4c` | All six columns and locale formatting retained. Final fixture row stays compact. See [Audit date review](AUDIT_DATE_REVIEW.md) |
|
||||
| V26 | Embedded Gmail review counts | One thread/suggestion renders “1 candidate threads” and “1 suggested jobs” | RESOLVED in `e8e7d839` | EN/NB singular cases, zero/plural and live language switching verified. See [review count wording](MAIL_REVIEW_COUNTS.md) |
|
||||
| V27 | Public homepage baseline | Earlier mockups and crawlable locale content remain; anonymous preference requests and missing landmarks fixed | PARTIAL; LAUNCH-SITE-01 design/SEO open | [Local language](../LANDING_LOCAL_LANGUAGE.md) and [semantic landmarks](../LANDING_LANDMARKS.md):12 journeys/12 scoped scans pass,12 byte-identical screenshot pairs; human/launch acceptance open |
|
||||
| V27 | Public homepage baseline | Earlier mockups, missing landmarks and crawlable locale content, anonymous preference request rejected | OPEN in LAUNCH-SITE-01 | [Rendered baseline](LANDING_BASELINE_REVIEW.md) captures mobile, tablet and desktop without choosing a launch design |
|
||||
| V28 | Application list | Ordinary rows show permanent selection controls and company before the role | RESOLVED in `1246994c` | [Selection review](APPLICATION_SELECTION_REVIEW.md) covers title-first hierarchy and the explicit mode. Secondary action consolidation remains open. |
|
||||
| V29 | Admin Users | Row details sit above the centre of the action controls | RESOLVED in `dddec043` | [Alignment review](ADMIN_USER_ALIGNMENT_REVIEW.md) records the before and after geometry and phone layout. |
|
||||
| V30 | Admin System | Operators cannot tell when the displayed status response last succeeded | RESOLVED in `4981a242` | [Status refresh review](SYSTEM_STATUS_REFRESH_REVIEW.md) qualifies timestamp, stale warning and keyboard retry. Per-signal telemetry remains open. |
|
||||
|
||||
@@ -29,9 +29,9 @@
|
||||
"LandingPage"
|
||||
],
|
||||
"visualStatus": "BASELINE_RENDERED_AUDIT_LAUNCH_DESIGN_OPEN",
|
||||
"afterStatus": "PASSED:12 existing public journeys and12 scoped axe scans; anonymous preference requests zero; visual design, SEO and human acceptance remain open",
|
||||
"afterStatus": "AUDITED:12 existing public states; navigation passed and landmark/SEO findings remain open",
|
||||
"functionalCriteria": "Original preservation register retained; no capability acceptance promotion",
|
||||
"evidence": "LANDING_BASELINE_REVIEW.md; evidence/landing-baseline/BROWSER.json; ../LANDING_LOCAL_LANGUAGE.md; ../LANDING_LANDMARKS.md"
|
||||
"evidence": "LANDING_BASELINE_REVIEW.md; evidence/landing-baseline/BROWSER.json"
|
||||
},
|
||||
{
|
||||
"route": "/dashboard",
|
||||
@@ -396,7 +396,7 @@
|
||||
"Empty/error/permission states; populated detail/filter/keyboard synthetic qualification passed; see ADMIN_REVIEW.md for remaining limits"
|
||||
],
|
||||
"/": [
|
||||
"V27 crawlable locale content and preview assets; local preference and semantic landmarks qualified at36084473; launch design, claims and human acceptance gates remain separate"
|
||||
"V27 landmarks, crawlable locale content, preview assets and anonymous preference request; launch design and claims gates remain separate"
|
||||
]
|
||||
},
|
||||
"remainingConnectedJourneys": [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import "@testing-library/jest-dom";
|
||||
import { fireEvent, render, screen, waitFor, within } from "@testing-library/react";
|
||||
import { fireEvent, render, screen, waitFor } from "@testing-library/react";
|
||||
import { MemoryRouter } from "react-router-dom";
|
||||
|
||||
import { api } from "./api";
|
||||
@@ -21,16 +21,6 @@ beforeEach(() => {
|
||||
(api.get as jest.Mock).mockRejectedValue({ response: { status: 401 } });
|
||||
});
|
||||
|
||||
test("public content is reachable through one main landmark separate from header and footer", async () => {
|
||||
render(<MemoryRouter><I18nProvider><LandingPage /></I18nProvider></MemoryRouter>);
|
||||
await screen.findByRole("heading", { name: "Two clear plans" });
|
||||
const main = screen.getByRole("main");
|
||||
expect(within(main).getByRole("heading", { level: 1 })).toBeInTheDocument();
|
||||
expect(within(main).getByRole("heading", { name: "Two clear plans" })).toBeInTheDocument();
|
||||
expect(main).not.toContainElement(screen.getByRole("banner"));
|
||||
expect(main).not.toContainElement(screen.getByRole("contentinfo"));
|
||||
});
|
||||
|
||||
test("shows exactly Free and Pro without invented commercial terms", async () => {
|
||||
render(
|
||||
<MemoryRouter>
|
||||
|
||||
@@ -69,7 +69,7 @@ export default function LandingPage() {
|
||||
|
||||
if (checking) {
|
||||
return (
|
||||
<Box component="main" sx={{ minHeight: "100vh", display: "grid", placeItems: "center", bgcolor: BRAND_DARK }}>
|
||||
<Box sx={{ minHeight: "100vh", display: "grid", placeItems: "center", bgcolor: BRAND_DARK }}>
|
||||
<Typography sx={{ color: "#94a3b8" }}>{t("loading")}</Typography>
|
||||
</Box>
|
||||
);
|
||||
@@ -91,7 +91,7 @@ export default function LandingPage() {
|
||||
return (
|
||||
<Box sx={{ bgcolor: "background.default" }}>
|
||||
{/* Top bar */}
|
||||
<Box component="header" sx={{ position: "sticky", top: 0, zIndex: 10, bgcolor: alpha(BRAND_DARK, 0.85), backdropFilter: "blur(8px)", borderBottom: `1px solid ${alpha("#ffffff", 0.08)}` }}>
|
||||
<Box sx={{ position: "sticky", top: 0, zIndex: 10, bgcolor: alpha(BRAND_DARK, 0.85), backdropFilter: "blur(8px)", borderBottom: `1px solid ${alpha("#ffffff", 0.08)}` }}>
|
||||
<Container maxWidth="lg">
|
||||
<Stack direction="row" alignItems="center" justifyContent="space-between" sx={{ height: 64 }}>
|
||||
<Stack direction="row" alignItems="center" spacing={1.25}>
|
||||
@@ -108,7 +108,6 @@ export default function LandingPage() {
|
||||
</Container>
|
||||
</Box>
|
||||
|
||||
<Box component="main">
|
||||
{/* Hero */}
|
||||
<Box sx={{ background: `radial-gradient(1200px 500px at 80% -10%, ${alpha("#6366f1", 0.35)}, transparent), linear-gradient(180deg, ${BRAND_DARK}, ${BRAND_PANEL})`, color: "#fff", py: { xs: 8, md: 12 } }}>
|
||||
<Container maxWidth="lg">
|
||||
@@ -268,10 +267,8 @@ export default function LandingPage() {
|
||||
</Box>
|
||||
</Container>
|
||||
|
||||
</Box>
|
||||
|
||||
{/* Footer */}
|
||||
<Box component="footer" sx={{ borderTop: "1px solid", borderColor: "divider", py: 4 }}>
|
||||
<Box sx={{ borderTop: "1px solid", borderColor: "divider", py: 4 }}>
|
||||
<Container maxWidth="lg">
|
||||
<Stack direction={{ xs: "column", sm: "row" }} justifyContent="space-between" alignItems="center" spacing={1}>
|
||||
<Typography sx={{ color: "text.secondary", fontSize: 14 }}>{t("landingFooter", { year: new Date().getFullYear() })}</Typography>
|
||||
|
||||
Reference in New Issue
Block a user