From f405401a7c4a7da743e6537cf3f947cd4edd8793 Mon Sep 17 00:00:00 2001 From: Phelipe Lorran <112786693+httpsphl@users.noreply.github.com> Date: Wed, 30 Sep 2026 14:50:52 -0300 Subject: [PATCH 1/2] test(messages): look up the read message again after it is read The read-marks test found "Read" synchronously inside the row it had found before. In CI, with the whole suite running, it failed once on #65 with "Unable to find an element with the text: Read" while passing alone. It now waits for the word in the timeline, which also covers a row drawn anew. --- app/src/features/messages/messages.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/features/messages/messages.test.tsx b/app/src/features/messages/messages.test.tsx index 8eadf903..82eb62a4 100644 --- a/app/src/features/messages/messages.test.tsx +++ b/app/src/features/messages/messages.test.tsx @@ -72,7 +72,8 @@ describe("messages", () => { act(() => { fake.conversation.read(delivery.id); }); - const read = within(row).getByText("Read"); + // Looked up again: the timeline may have drawn the row anew meanwhile. + const read = await within(messages()).findByText("Read"); // Only the marks take the color (a token, spec 15.3); the word stays as readable as before. expect(read.querySelector("svg")?.classList.contains("text-read")).toBe(true); expect(read.className).toContain("text-muted"); From a2484f7a9725aad279b2a5143038ab088506ef2b Mon Sep 17 00:00:00 2001 From: Phelipe Lorran <112786693+httpsphl@users.noreply.github.com> Date: Wed, 30 Sep 2026 14:50:54 -0300 Subject: [PATCH 2/2] chore: release 0.7.0 --- Cargo.lock | 10 +++++----- Cargo.toml | 2 +- app/package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 84a49b9a..6045c4ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -417,7 +417,7 @@ dependencies = [ [[package]] name = "botloft-app" -version = "0.6.0" +version = "0.7.0" dependencies = [ "dirs 7.0.0", "serde", @@ -434,7 +434,7 @@ dependencies = [ [[package]] name = "botloft-core" -version = "0.6.0" +version = "0.7.0" dependencies = [ "deunicode", "serde", @@ -446,7 +446,7 @@ dependencies = [ [[package]] name = "botloft-setup" -version = "0.6.0" +version = "0.7.0" dependencies = [ "serde", "tauri", @@ -457,7 +457,7 @@ dependencies = [ [[package]] name = "botloft-store" -version = "0.6.0" +version = "0.7.0" dependencies = [ "botloft-core", "rusqlite", @@ -468,7 +468,7 @@ dependencies = [ [[package]] name = "botloftd" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "axum", diff --git a/Cargo.toml b/Cargo.toml index 30933ebc..62f25761 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = ["crates/botloft-core", "crates/botloft-store", "crates/botloftd", "ap default-members = ["crates/botloft-core", "crates/botloft-store", "crates/botloftd"] [workspace.package] -version = "0.6.0" +version = "0.7.0" edition = "2024" license = "Apache-2.0" repository = "https://github.com/httpsphl/botloft" diff --git a/app/package.json b/app/package.json index 96c36f03..ae5bf04e 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "botloft-app", "private": true, - "version": "0.6.0", + "version": "0.7.0", "license": "Apache-2.0", "type": "module", "packageManager": "pnpm@12.4.1",