fix(editor): Add missing explanation for ai execution test change (no-changelog) (#12971)

This commit is contained in:
Alex Grozav 2025-01-31 12:06:55 +02:00 committed by GitHub
parent 44391d52bb
commit c60cc43124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -265,6 +265,9 @@ describe('CanvasChat', () => {
const input = await findByTestId('chat-input');
await userEvent.type(input, 'Test message');
// Since runWorkflow resolve is mocked, the isWorkflowRunning will be false from the first run.
// This means that the loading state never gets a chance to appear.
// We're forcing isWorkflowRunning to be true for the first run.
workflowsStore.isWorkflowRunning = true;
await userEvent.keyboard('{Enter}');