Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🧷 ci: Await durable finalization in conversation-management mock e2e (#15791)

James Todaro3cab71c48a13
diff --git a/e2e/specs/mock/conversation-management.spec.ts b/e2e/specs/mock/conversation-management.spec.ts
index 1953b45117..80869a16be 100644
--- a/e2e/specs/mock/conversation-management.spec.ts
+++ b/e2e/specs/mock/conversation-management.spec.ts
@@ -7,7 +7,7 @@ import {
replyPrompt,
replyText,
selectMockEndpoint,
- sendMessage,
+ sendMessageAndWaitForCompletion,
} from './helpers';
const firstConversation = (page: Page) => page.getByTestId('convo-item').first();
@@ -24,7 +24,7 @@ async function openMockChat(page: Page) {
async function sendAndExpectReply(page: Page, label: string) {
const prompt = replyPrompt(label);
const reply = replyText(label);
- const response = await sendMessage(page, prompt);
+ const response = await sendMessageAndWaitForCompletion(page, prompt);
expect(response.ok()).toBeTruthy();
await expect(messagesView(page).getByText(prompt)).toBeVisible();
await expect(messagesView(page).getByText(reply)).toBeVisible();
@@ -48,6 +48,7 @@ async function renameConversation(page: Page, conversation: Locator, title: stri
test.describe('conversation management', () => {
test('loads a past sidebar conversation with its message history', async ({ page }) => {
+ test.setTimeout(90000);
const firstLabel = uniqueLabel('sidebar-history-first');
const secondLabel = uniqueLabel('sidebar-history-second');
@@ -73,6 +74,7 @@ test.describe('conversation management', () => {
});
test('renames a conversation from the sidebar', async ({ page }) => {
+ test.setTimeout(60000);
const label = uniqueLabel('sidebar-rename');
const renamedTitle = `Renamed ${label}`;
@@ -87,6 +89,7 @@ test.describe('conversation management', () => {
test('deletes a conversation, clears its messages, and blocks direct URL access', async ({
page,
}) => {
+ test.setTimeout(60000);
const label = uniqueLabel('sidebar-delete');
const renamedTitle = `Delete ${label}`;