fix(balance/models): request only when authenticated, modelsQuery "optimistic" update (#1031)
* fix(balanceQuery/modelsQuery): request only when authenticated * style: match new chat capitalization to official * fix(modelsQuery): update selected model optimistically * ci: update e2e changes, disable title in ci env * fix(ci): get new chat button by data-testid and not text
This commit is contained in:
@@ -86,7 +86,7 @@ test.describe('Messaging suite', () => {
|
||||
expect(currentUrl).toBe(initialUrl);
|
||||
|
||||
//cleanup the conversation
|
||||
await page.getByText('New chat', { exact: true }).click();
|
||||
await page.getByTestId('new-chat-button').click();
|
||||
expect(page.url()).toBe(initialUrl);
|
||||
|
||||
// Click on the first conversation
|
||||
@@ -166,7 +166,7 @@ test.describe('Messaging suite', () => {
|
||||
const currentUrl = page.url();
|
||||
const conversationId = currentUrl.split(basePath).pop() ?? '';
|
||||
expect(isUUID(conversationId)).toBeTruthy();
|
||||
await page.getByText('New chat', { exact: true }).click();
|
||||
await page.getByTestId('new-chat-button').click();
|
||||
expect(page.url()).toBe(initialUrl);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user