Skip to content

Commit

Permalink
feat/3052-from-edit-to-move-endpoint: fixed more e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
irinakartun committed Jan 31, 2025
1 parent 250aed0 commit 87bb1a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion apps/chat-e2e/src/tests/defaultModelSettings.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ dialTest(
});
await dialHomePage.waitForPageLoaded();
await chat.changeAgentButton.click();
nonDefaultModel = ModelsUtil.getModel('gpt-4-turbo-2024-04-09')!;
await talkToAgentDialog.selectAgent(nonDefaultModel, marketplacePage);
await dialHomePage.mockChatTextResponse(
MockedChatApiResponseBodies.simpleTextBody,
Expand Down
4 changes: 2 additions & 2 deletions apps/chat-e2e/src/tests/sharedChatIcons.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ dialTest(
await dialTest.step(
'Confirm conversation rename and verify conversation is not shared and arrow icon disappears',
async () => {
await confirmationDialog.confirm({ triggeredHttpMethod: 'DELETE' });
await confirmationDialog.confirm({ triggeredHttpMethod: 'PUT' });
await conversationAssertion.assertEntityArrowIconState(
{ name: newName },
'hidden',
Expand All @@ -443,7 +443,7 @@ dialTest(
await dialTest.step(
'Confirm conversation model change and verify conversation is not shared and arrow icon disappears',
async () => {
await confirmationDialog.confirm({ triggeredHttpMethod: 'DELETE' });
await confirmationDialog.confirm({ triggeredHttpMethod: 'PUT' });
await conversationAssertion.assertEntityArrowIconState(
{ name: newName },
'hidden',
Expand Down
2 changes: 1 addition & 1 deletion apps/chat-e2e/src/tests/sharedFilesAttachments.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ dialSharedWithMeTest(
);
await renameConversationModal.saveButton.click();
await confirmationDialog.confirm({
triggeredHttpMethod: 'DELETE',
triggeredHttpMethod: 'PUT',
});
break;
case 'model change':
Expand Down
2 changes: 1 addition & 1 deletion apps/chat-e2e/src/tests/sharedPromptIcons.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ dialTest(
async () => {
await promptModalDialog.setField(promptModalDialog.name, newName);
await promptModalDialog.saveButton.click();
await confirmationDialog.confirm({ triggeredHttpMethod: 'DELETE' });
await confirmationDialog.confirm({ triggeredHttpMethod: 'PUT' });
await promptAssertion.assertEntityArrowIconState(
{ name: newName },
'hidden',
Expand Down

0 comments on commit 87bb1a8

Please sign in to comment.