Skip to content

Commit a902806

Browse files
Fix integration test to set repo path display
The test was bypassing showVisualization() which sets the repo-path-display element. Now the test sets it directly when opening the repo. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a33e81f commit a902806

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

electron/tests/integration.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,11 @@ async function runIntegrationTests() {
7878
// Hide welcome screen, show app container
7979
const welcomeScreen = document.getElementById("welcome-screen");
8080
const appContainer = document.getElementById("app-container");
81+
const repoPathDisplay = document.getElementById("repo-path-display");
8182

8283
if (welcomeScreen) welcomeScreen.style.display = "none";
8384
if (appContainer) appContainer.style.display = "block";
85+
if (repoPathDisplay) repoPathDisplay.textContent = repoPath;
8486

8587
// Call the electronAPI to load the repo
8688
if (window.electronAPI && window.electronAPI.readGitRepo) {

0 commit comments

Comments
 (0)