a449b27eddbb
test: align contracts.test active-card expectation with Settings-opens-to-card-I (v3.6.85)
- time
- 2026-05-21 16:04 UTC · 5 months ago
- machine
- koh2
- parent
- 0f3e59b5732a
↓ peach-browser-a449b27e.tar.gzatlas at this save
files changed4 files
manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/popup/views/contracts.test.tsx+3 −1manifest.firefox.json+1 −1
@@ -2,7 +2,7 @@22 "_comment_audio_capture": "Firefox does not honor the Chrome 'audioCapture' optional_permission — getUserMedia in WebExtensions is gated solely by the runtime permission prompt. Microphone access for chirp pairing works from the popup under the existing '<all_urls>' host permission; no manifest entry is required or accepted here.",33 "manifest_version": 3,44 "name": "Peach",5- "version": "3.6.84",5+ "version": "3.6.85",66 "description": "Zero-knowledge password manager",77 "browser_specific_settings": {88 "gecko": {manifest.json+1 −1
@@ -1,7 +1,7 @@11 {22 "manifest_version": 3,33 "name": "Peach",4- "version": "3.6.84",4+ "version": "3.6.85",55 "description": "Zero-knowledge password manager",66 "action": {77 "default_popup": "src/popup/index.html",package.json+1 −1
@@ -1,6 +1,6 @@11 {22 "name": "peach",3- "version": "3.6.84",3+ "version": "3.6.85",44 "description": "Zero-knowledge password manager",55 "type": "module",66 "scripts": {src/popup/views/contracts.test.tsx+3 −1
@@ -327,7 +327,9 @@327327 await flushView();328328 329329 expect(container.querySelectorAll(".stk-card").length).toBe(7);330- expect(container.querySelector(".stk-card.is-active")?.textContent).toContain("Protection");330+ // Settings now opens to card I (Peach Pro) — see koh save [f7a2710b3f67]331+ // "open settings to card I (Peach Pro) instead of card II (Protection)".332+ expect(container.querySelector(".stk-card.is-active")?.textContent).toContain("Peach Pro");331333 332334 const changeButton = Array.from(container.querySelectorAll("button")).find(333335 (candidate) => candidate.textContent?.trim() === "change"