remove integration test that was too specific
This commit is contained in:
parent
6e34eb6181
commit
73f6ca5049
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ dokku-setup.sh
|
||||
.claude/worktrees
|
||||
app/priv/blog/engineering/2026/04-24-what-it-takes-to-get-started-with-the-pi-coding-agent.md
|
||||
/tmp_work/
|
||||
.yaks
|
||||
|
||||
@ -7,10 +7,19 @@ When you are unsure about something, ALWAYS ask the user.
|
||||
|
||||
we use `yx` for planning run yx --help to see options. Invoke when the user wants to make a plan, work on something for a plan or mentions 'yak' or 'yaks'.
|
||||
|
||||
`yx list` - shows open yaks
|
||||
`yx add` - adds yaks
|
||||
|
||||
# Building
|
||||
|
||||
This is a Phoenix Liveview monorepo, the blogging library is in blogex, the application is in 'app'. Use `make` to build and `brief` to find out more about mix.
|
||||
|
||||
Main make targets:
|
||||
|
||||
- make test
|
||||
- make check - runs credo static analysis and suggests refactorings
|
||||
|
||||
|
||||
# Development
|
||||
Always fix failing tests, credo issues and format isseus.
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# Makefile for Firehose app
|
||||
|
||||
MISE_BIN ?= /home/vscode/.local/bin/mise
|
||||
MISE_BIN ?= $(HOME)/.local/bin/mise
|
||||
MISE_EXEC = $(MISE_BIN) exec --
|
||||
|
||||
.PHONY: check precommit deps compile test format credo
|
||||
|
||||
@ -89,35 +89,4 @@ defmodule FirehoseWeb.BlogTagsTest do
|
||||
assert body =~ "All posts"
|
||||
end
|
||||
end
|
||||
|
||||
describe "clickable tags on index page" do
|
||||
test "tags are rendered as clickable links on engineering blog index", %{
|
||||
conn: conn
|
||||
} do
|
||||
conn_res1 = get(conn, "/blog/engineering")
|
||||
body1 = html_response(conn_res1, 200)
|
||||
|
||||
# Verify tag links exist with correct href pattern
|
||||
assert body1 =~ ~r{href="/blog/engineering/tag/meta"}
|
||||
assert body1 =~ ~r{href="/blog/engineering/tag/ai"}
|
||||
end
|
||||
|
||||
test "tags are rendered as clickable links on releases blog index", %{
|
||||
conn: conn
|
||||
} do
|
||||
conn_res2 = get(conn, "/blog/releases")
|
||||
body2 = html_response(conn_res2, 200)
|
||||
|
||||
# Verify tag link exists
|
||||
assert body2 =~ ~r{href="/blog/releases/tag/release"}
|
||||
end
|
||||
|
||||
test "tag links have proper styling classes", %{conn: conn} do
|
||||
conn_res3 = get(conn, "/blog/engineering")
|
||||
body3 = html_response(conn_res3, 200)
|
||||
|
||||
# Verify blogex-tag-link class is present for tag links
|
||||
assert body3 =~ ~r{class="[^"]*blogex-tag-link}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user