Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions __tests__/footer.spec.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,14 @@ describe("feedme-footer spec acceptance tests", () => {
});
});

// FEEDME-033: by toy-crane 링크가 노션 프로필로 연결
// FEEDME-033: by toy-crane 링크가 toycrane.xyz로 연결
describe("FEEDME-033: by toy-crane 링크", () => {
it("footer에 'by toy-crane' 링크가 노션 프로필 페이지로 연결된다", () => {
it("footer에 'by toy-crane' 링크가 toycrane.xyz로 연결된다", () => {
render(<ContentExtractor />);

const link = screen.getByRole("link", { name: /by toy-crane/i });
expect(link).toBeVisible();
expect(link).toHaveAttribute(
"href",
"https://toycrane.notion.site/Toy-Crane-e1083f83d3864669bf27290a8f033b00"
);
expect(link).toHaveAttribute("href", "https://toycrane.xyz");
});
});
});
4 changes: 2 additions & 2 deletions artifacts/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ features:
- id: FEEDME-033
given: "feedme 페이지에 접속한 상태"
when: "페이지 하단을 확인한다"
then: "footer 영역에 'by toycrane' 링크가 노션 프로필 페이지로 연결된다"
then: "footer 영역에 'by toycrane' 링크가 toycrane.xyz로 연결된다"
examples:
- input: { page: "feedme" }
expect: { toycraneText: "by toy-crane", toycraneLinkHref: "https://toycrane.notion.site/Toy-Crane-e1083f83d3864669bf27290a8f033b00" }
expect: { toycraneText: "by toy-crane", toycraneLinkHref: "https://toycrane.xyz" }
excludes:
- "뉴스레터 구독 — MVP 범위 외"

Expand Down
2 changes: 1 addition & 1 deletion components/feedme-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function FeedmeFooter() {
</a>
</div>
<a
href="https://toycrane.notion.site/Toy-Crane-e1083f83d3864669bf27290a8f033b00"
href="https://toycrane.xyz"
target="_blank"
rel="noopener noreferrer"
className="text-xs"
Expand Down
Loading