Fix re-renders from adding too many dependencies to useEffect (#2123)

Co-authored-by: Alex Hancock <alexhancock@block.xyz>
This commit is contained in:
Zane
2025-04-10 08:54:10 -07:00
committed by GitHub
parent 6b173682e0
commit 4b9cb74402
7 changed files with 10 additions and 23 deletions
-6
View File
@@ -525,12 +525,6 @@ test.describe('Goose App', () => {
// Wait a bit and dump HTML to see structure
await mainWindow.waitForTimeout(1000);
const html = await mainWindow.evaluate(() => document.documentElement.outerHTML);
console.log('Full page HTML after clicking Output:', html);
// Also dump just the response area HTML
const responseHtml = await response.evaluate(el => el.outerHTML);
console.log('Response area HTML:', responseHtml);
// Take screenshot before trying to find content
await mainWindow.screenshot({ path: `test-results/${provider.name.toLowerCase()}-quote-response-debug.png` });