Issue #59 fixes

This commit is contained in:
adilallo
2026-05-25 22:05:00 -06:00
parent bd536a407f
commit 6b45a2e5d0
39 changed files with 167 additions and 124 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ const mockPosts = [
frontmatter: {
title: "Resolving Active Conflicts",
description: "Practical steps for resolving conflicts",
author: "Author name",
author: "CommunityRule",
date: "2025-04-15",
thumbnail: {
vertical: "resolving-active-conflicts-vertical.svg",
@@ -48,7 +48,7 @@ const mockPosts = [
frontmatter: {
title: "Operational Security for Mutual Aid",
description: "Tactics to protect members",
author: "Author name",
author: "CommunityRule",
date: "2025-04-10",
thumbnail: {
vertical: "operational-security-mutual-aid-vertical.svg",
+11 -5
View File
@@ -134,12 +134,16 @@ describe("User Journey Integration", () => {
const blueskyLink = screen.getByRole("link", {
name: "Follow us on Bluesky",
});
const gitlabLink = screen.getByRole("link", {
name: "Follow us on GitLab",
const giteaLink = screen.getByRole("link", {
name: "View source on Gitea",
});
const mastodonLink = screen.getByRole("link", {
name: "Follow us on Mastodon",
});
expect(blueskyLink).toBeInTheDocument();
expect(gitlabLink).toBeInTheDocument();
expect(giteaLink).toBeInTheDocument();
expect(mastodonLink).toBeInTheDocument();
});
test("user explores features and benefits", async () => {
@@ -179,9 +183,11 @@ describe("User Journey Integration", () => {
});
const blueskyLink = screen.getByRole("link", { name: /Bluesky/i });
const gitlabLink = screen.getByRole("link", { name: /GitLab/i });
const giteaLink = screen.getByRole("link", { name: /Gitea/i });
const mastodonLink = screen.getByRole("link", { name: /Mastodon/i });
expect(blueskyLink).toBeInTheDocument();
expect(gitlabLink).toBeInTheDocument();
expect(giteaLink).toBeInTheDocument();
expect(mastodonLink).toBeInTheDocument();
});
test("user completes the full journey from discovery to action", async () => {