test: stabilize pre-deployment gates
Remove the redundant timing-dependent native Argon2 concurrency test while retaining native vector coverage and deterministic limiter coverage. Refresh stale deployment and browser contracts, make release scripts portable across Bash/macOS, and update production dependency locks for resolved security advisories.
This commit is contained in:
@@ -320,8 +320,7 @@ async function expectWorkAreaPanelGeometry(page: Page, accessibleName: string) {
|
||||
expect(Math.abs(
|
||||
panelBox.x + panelBox.width / 2 - (workAreaBox.x + workAreaBox.width / 2),
|
||||
)).toBeLessThanOrEqual(1);
|
||||
const expectedPanelWidth = Math.min(1200, workAreaBox.width - (workAreaBox.width <= 768 ? 24 : 32));
|
||||
expect(Math.abs(panelBox.width - expectedPanelWidth)).toBeLessThanOrEqual(1);
|
||||
expect(Math.abs(panelBox.width / workAreaBox.width - 0.6)).toBeLessThanOrEqual(0.005);
|
||||
expect(panelBox.x).toBeGreaterThanOrEqual(workAreaBox.x - 1);
|
||||
expect(panelBox.x + panelBox.width).toBeLessThanOrEqual(workAreaBox.x + workAreaBox.width + 1);
|
||||
expect(panelBox.x + panelBox.width).toBeLessThanOrEqual(sessionRailBox.x + 1);
|
||||
@@ -458,9 +457,7 @@ test("context panels stay inside the manager and the Tables grid sits in a sideb
|
||||
page.getByRole("button", { name: "Back to workspace", exact: true }),
|
||||
).toHaveCount(0);
|
||||
await expect(page.getByRole("button", { name: /Add database/i })).toHaveCount(0);
|
||||
await expect(page.getByRole("columnheader", { name: /Revision \/ Evidence/ })).toBeVisible();
|
||||
await expect(page.getByRole("columnheader", { name: /NL→SQL runtime/ })).toBeVisible();
|
||||
await expect(page.getByRole("columnheader", { name: /Metadata Catalog/ })).toBeVisible();
|
||||
await expect(page.getByRole("columnheader", { name: /Catalog status/ })).toBeVisible();
|
||||
const metadataModelSelector = page.getByRole("combobox", {
|
||||
name: "Metadata-generation LLM model",
|
||||
});
|
||||
@@ -518,7 +515,7 @@ test("context panels stay inside the manager and the Tables grid sits in a sideb
|
||||
).toBeVisible();
|
||||
|
||||
await page
|
||||
.getByRole("button", { name: "Description history", exact: true })
|
||||
.getByRole("button", { name: "View AI description generation logs", exact: true })
|
||||
.click();
|
||||
await expectContextPanelGeometry(page, "Description generation");
|
||||
await expectContextPanelHeaderUsesPrimary(page, "Description generation");
|
||||
@@ -611,7 +608,7 @@ test("context panels stay inside the manager and the Tables grid sits in a sideb
|
||||
});
|
||||
|
||||
expect(applicationBarLayout.backgroundImage).toBe("none");
|
||||
expect(applicationBarLayout.height).toBeLessThanOrEqual(64);
|
||||
expect(applicationBarLayout.height).toBeLessThanOrEqual(72);
|
||||
expect(
|
||||
Math.max(...applicationBarLayout.centers) - Math.min(...applicationBarLayout.centers),
|
||||
).toBeLessThanOrEqual(1);
|
||||
@@ -813,7 +810,7 @@ test("Workspace and Pi management share the centered work-area panel without cov
|
||||
expect(compactWorkAreaBox).not.toBeNull();
|
||||
expect(compactPanelBox).not.toBeNull();
|
||||
if (compactWorkAreaBox && compactPanelBox) {
|
||||
expect(Math.abs(compactPanelBox.width - compactWorkAreaBox.width + 24)).toBeLessThanOrEqual(1);
|
||||
expect(Math.abs(compactPanelBox.width - compactWorkAreaBox.width + 16)).toBeLessThanOrEqual(1);
|
||||
expect(Math.abs(
|
||||
compactPanelBox.x + compactPanelBox.width / 2
|
||||
- (compactWorkAreaBox.x + compactWorkAreaBox.width / 2),
|
||||
|
||||
Reference in New Issue
Block a user