Skip to content

Commit 6ace2d5

Browse files
committed
mito-ai: make test more lenient
1 parent e166a9a commit 6ace2d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/mitoai_ui_tests/backgroundAgent.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ test.describe.parallel("Background Agent functionality", () => {
100100

101101
// Verify the agent worked in the original notebook
102102
const firstCodeCell = await getCodeFromCell(page, 0);
103-
expect(firstCodeCell).toContain('meta_stock_prices.csv');
103+
const secondCodeCell = await getCodeFromCell(page, 1);
104+
const combinedCode = `${firstCodeCell}\n${secondCodeCell}`;
105+
expect(combinedCode).toContain('meta_stock_prices.csv');
104106

105107
// Check that the agent never used the run_all_cells tool
106108
// by looking at the content in the chat taskpane

0 commit comments

Comments
 (0)