- started privately with
+
+ started privately with
+
{agentName}
diff --git a/desktop/src/features/projects/ui/ProjectPullRequestsPanel.tsx b/desktop/src/features/projects/ui/ProjectPullRequestsPanel.tsx
index d4804ef6fe..3544c42c49 100644
--- a/desktop/src/features/projects/ui/ProjectPullRequestsPanel.tsx
+++ b/desktop/src/features/projects/ui/ProjectPullRequestsPanel.tsx
@@ -359,9 +359,15 @@ export function PullRequestDetailHeader({
testId="project-pull-request-copy-link"
/>
-
-
-
+
+
+
-
+
created {relativeTime(pullRequest.createdAt)}
+ layout.evaluate(
+ (element) =>
+ getComputedStyle(element)
+ .gridTemplateColumns.split(" ")
+ .filter(Boolean).length,
+ ),
+ )
+ .toBe(2);
+ await expect(
+ detail.getByRole("button", {
+ name: "Open author-claimed origin channel #general",
+ }),
+ ).toBeVisible();
+ const metadataPhrases = detail.locator("[data-project-metadata-phrase]");
+ await expect(metadataPhrases).not.toHaveCount(0);
+ const phraseLayouts = await metadataPhrases.evaluateAll((phrases) =>
+ phrases.map((phrase) => {
+ const style = getComputedStyle(phrase);
+ return {
+ height: phrase.getBoundingClientRect().height,
+ lineHeight: Number.parseFloat(style.lineHeight),
+ };
+ }),
+ );
+ for (const phrase of phraseLayouts) {
+ expect(phrase.height).toBeLessThanOrEqual(phrase.lineHeight * 1.5);
+ }
+ await waitForAnimations(page);
+ await detail.screenshot({
+ path: "test-results/project-inbox/02-pull-request-detail-wide.png",
+ });
});