Add a release-notes page linked from the footer version (v0.9.6)
Reconstructed from the commit history since the first production deployment; the initial entry is the 0.9.0 port of the legacy bash script to Kotlin/Spring Boot. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
d2b39c56d3
commit
428d1a06cb
@@ -286,6 +286,17 @@ class UiControllerTest : FunSpec() {
|
||||
.andExpect(header().string("Location", "/history"))
|
||||
}
|
||||
|
||||
test("release notes page renders the version history and the footer links to it") {
|
||||
mockMvc
|
||||
.perform(get("/releases"))
|
||||
.andExpect(status().isOk)
|
||||
.andExpect(content().string(containsString("Release Notes")))
|
||||
.andExpect(content().string(containsString("v0.9.0")))
|
||||
.andExpect(content().string(containsString("Kotlin/Spring Boot")))
|
||||
// the footer version (rendered on every page) is the link to this page
|
||||
.andExpect(content().string(containsString("""href="/releases"""")))
|
||||
}
|
||||
|
||||
test("artifact index of a pruned build explains the missing artifacts") {
|
||||
every { repository.history() } returns listOf(successResult)
|
||||
every { artifactStore.artifactDir("main-abc123-key") } returns null
|
||||
|
||||
Reference in New Issue
Block a user