Skip to content

Commit

Permalink
e2e/disable_blocked_tests: disabled blocked tests; fixed test with no…
Browse files Browse the repository at this point in the history
…t responding Amazon Titan model (#282)

Co-authored-by: Irina_Kartun <[email protected]>
  • Loading branch information
irinakartun and irinakartun authored Dec 4, 2023
1 parent 633cd5f commit 5069343
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions e2e/src/tests/replay.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ test(
Import.oldVersionAppFolderChatName,
);

const newModels = [ModelIds.AWS_TITAN, ModelIds.GPT_4];
const newModels = [ModelIds.BISON_001, ModelIds.GPT_4];
for (let i = 1; i <= newModels.length; i++) {
await chatHeader.openConversationSettings.click();
await talkToSelector.selectModel(
Expand Down Expand Up @@ -925,7 +925,7 @@ test(
...newMessages,
]);
for (let i = 0; i < requests.length; i++) {
const modelId = i === 1 ? ModelIds.AWS_TITAN : ModelIds.GPT_4;
const modelId = i === 1 ? ModelIds.BISON_001 : ModelIds.GPT_4;
expect
.soft(requests[i].modelId, ExpectedMessages.chatRequestModelIsValid)
.toBe(modelId);
Expand Down
6 changes: 4 additions & 2 deletions e2e/src/tests/workWithModels.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ test('System prompt is applied in Model', async ({
});
});

test('Stop generating for models like GPT (1 symbol = 1 token)', async ({
//TODO: enable test when response is returned by chunks
test.skip('Stop generating for models like GPT (1 symbol = 1 token)', async ({
dialHomePage,
chat,
setTestIds,
Expand Down Expand Up @@ -323,7 +324,8 @@ test('Stop generating for models like GPT (1 symbol = 1 token)', async ({
});
});

test('Send button in new message is available for Model if previous response is partly received when Stop generating was used', async ({
//TODO: enable test when response is returned by chunks
test.skip('Send button in new message is available for Model if previous response is partly received when Stop generating was used', async ({
dialHomePage,
chat,
setTestIds,
Expand Down

0 comments on commit 5069343

Please sign in to comment.