Commit db71080
fix(e2e): pass repo URL and synthesize test_* search terms
Closes the last 3 of the original 31 e2e failures.
1. Pass url= to Project() so save_repo_info populates Redis. The
/api/repo_info endpoint returns 400 if repo_info is None, which
broke canvas:167 with TypeError on response.info.node_count.
2. Synthesize test_<module> Function nodes for the search-bar tests.
testData.ts parametrizes over searchInput "test", but graphrag-sdk
0.8.2 has zero functions whose names contain "test", so the
auto-scroll dropdown isn't scrollable and the auto-complete count
is 0. 12 synthesized names give the dropdown enough to scroll.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b70fd97 commit db71080
1 file changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
73 | 94 | | |
74 | 95 | | |
75 | 96 | | |
76 | 97 | | |
77 | 98 | | |
78 | 99 | | |
79 | 100 | | |
80 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
81 | 106 | | |
82 | 107 | | |
83 | 108 | | |
| |||
86 | 111 | | |
87 | 112 | | |
88 | 113 | | |
| 114 | + | |
89 | 115 | | |
90 | 116 | | |
91 | 117 | | |
| |||
0 commit comments