test(e2e): accept enriched task title or fallback in activity feed
This commit is contained in:
@@ -115,9 +115,9 @@ describe("/activity feed", () => {
|
|||||||
assertSignedInAndLanded();
|
assertSignedInAndLanded();
|
||||||
cy.wait("@activityList", { timeout: 20_000 });
|
cy.wait("@activityList", { timeout: 20_000 });
|
||||||
|
|
||||||
// The Activity page lists generic activity events; task title enrichment is best-effort.
|
// Task-title rendering can be either enriched title or fallback label,
|
||||||
// When the task metadata isn't available yet, it renders as "Unknown task".
|
// depending on metadata resolution timing.
|
||||||
cy.contains(/unknown task/i).should("be.visible");
|
cy.contains(/ci hardening|unknown task/i).should("be.visible");
|
||||||
cy.contains(/hello world/i).should("be.visible");
|
cy.contains(/hello world/i).should("be.visible");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user