fix: align deployment links across repository views
ForgeFlow quality gate / quality (push) Canceled after 0s
ForgeFlow quality gate / quality (push) Canceled after 0s
This commit is contained in:
@@ -135,6 +135,17 @@ test("deployment inventory supports dense workloads without ambiguous blank card
|
||||
for (let index = 0; index < Math.min(count, 25); index += 1) {
|
||||
await expect(cards.nth(index)).not.toHaveText(/^\s*$/);
|
||||
}
|
||||
const unresolved = page.locator(".tool-row", { hasText: "Legacy Worker" });
|
||||
await expect(unresolved).toContainText("Link unresolved");
|
||||
await expect(unresolved).not.toContainText(/^Linked$/);
|
||||
await expect(page.locator(".server-inventory-panel").first()).toContainText("1 unresolved");
|
||||
const repositoryLink = page.locator('[data-action="open-deployment-link"]');
|
||||
if (await repositoryLink.count()) {
|
||||
await repositoryLink.first().click();
|
||||
await expect(page.locator('.tab[data-action="repo-tab"][data-tab="deployments"]')).toHaveClass(/active/);
|
||||
await expect(page.locator(".repository-workloads")).toBeVisible();
|
||||
await expect(page.locator(".repository-workload-row").first()).toContainText("Repository linked");
|
||||
}
|
||||
await assertSurface(page);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user