refactor: replace isLoading with status (#861)

This commit is contained in:
Jeremy 2025-03-11 15:33:18 -07:00 committed by GitHub
parent 8e561dced4
commit 553a3d825a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 72 additions and 109 deletions

View file

@ -179,15 +179,4 @@ export class ChatPage {
},
};
}
async waitForMessageGeneration(timeout = 10000) {
await this.page.waitForFunction(
() => {
return document.querySelector('[data-testid="send-button"]') !== null;
},
{ timeout },
);
await this.page.waitForTimeout(500);
}
}