Issue #59 fixes
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user