Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(chat): redesign of empty conversation settings (Issue #2045) #2657

Open
wants to merge 102 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
ff17323
refactoring
IlyaBondar Nov 8, 2024
fd668b8
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 11, 2024
f2997e2
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 11, 2024
c2fc367
refactoring
IlyaBondar Nov 13, 2024
8b80e9e
use local bucket and check it
IlyaBondar Nov 13, 2024
7f01d5c
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 13, 2024
609f9e5
refactoring
IlyaBondar Nov 13, 2024
897c0a4
Merge branch 'fix/2566-create-new' of https://github.com/epam/ai-dial…
IlyaBondar Nov 13, 2024
0f6716c
use local bucket
IlyaBondar Nov 13, 2024
2e81b2a
displaying local conversation
IlyaBondar Nov 13, 2024
99e532b
fix uploading selected
IlyaBondar Nov 13, 2024
293adf6
drag&drop and send message
IlyaBondar Nov 14, 2024
467205b
fix postfix logic
IlyaBondar Nov 14, 2024
3ac550b
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 15, 2024
5d02f0a
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 15, 2024
dc413d4
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 15, 2024
ae8e4aa
remove unused argument
IlyaBondar Nov 15, 2024
b6f29aa
Merge branch 'fix/2566-create-new' of https://github.com/epam/ai-dial…
IlyaBondar Nov 15, 2024
8a82ad7
Update conversation.ts
IlyaBondar Nov 15, 2024
436c605
simplify
IlyaBondar Nov 15, 2024
6c6094a
fix deleting
IlyaBondar Nov 15, 2024
cebf3aa
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 15, 2024
d9c759e
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 19, 2024
40943b8
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 20, 2024
ceea4db
fix(chat): fix lastActivityDate sorting for public items (Issue #2056)
Alexander-Kezik Nov 20, 2024
565b460
last conversation settings in LocalStorage
IlyaBondar Nov 20, 2024
b2469bb
Merge branch 'development' into fix/public-conversation-selection
IlyaBondar Nov 20, 2024
9c976d8
fix(chat): if Playback or Replay conversation selected (Issue #2618)
IlyaBondar Nov 20, 2024
c0a694a
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 20, 2024
f7bd518
Merge remote-tracking branch 'origin/fix/public-conversation-selectio…
IlyaBondar Nov 20, 2024
6448a8b
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 20, 2024
203fd09
revert saveNewConversationEpic
IlyaBondar Nov 21, 2024
1dbd1f0
fix/2566-create-new: fixed e2e tests
irinakartun Nov 21, 2024
6a406a6
format:fix
IlyaBondar Nov 21, 2024
bd6e3df
code review comment resolving
IlyaBondar Nov 21, 2024
17c0c99
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 21, 2024
ac48d65
fix/2566-create-new: fixed e2e
irinakartun Nov 21, 2024
b50ee20
Merge remote-tracking branch 'origin/fix/2566-create-new' into fix/25…
irinakartun Nov 21, 2024
88f9c74
code review
IlyaBondar Nov 21, 2024
19b1c61
Merge branch 'fix/2566-create-new' of https://github.com/epam/ai-dial…
IlyaBondar Nov 21, 2024
4b590bd
fix/2566-create-new: fixed selectEntity method for e2e
irinakartun Nov 21, 2024
739b5d6
fix/2566-create-new: reverted test focus
irinakartun Nov 21, 2024
aee01b8
revert strange code
IlyaBondar Nov 21, 2024
7433ac1
fix Use model
IlyaBondar Nov 21, 2024
b71f592
Merge branch 'development' into fix/2566-create-new
IlyaBondar Nov 21, 2024
5a2f916
fix drag & drop
IlyaBondar Nov 21, 2024
b60bc49
remove unused code
IlyaBondar Nov 21, 2024
3daa5a5
clean up: useless code
IlyaBondar Nov 21, 2024
cbfb5fd
fix/2566-create-new: fixed e2e
irinakartun Nov 22, 2024
6684629
hide export all and delete all if only empty conversations
IlyaBondar Nov 22, 2024
2d85594
fix selection after delete all
IlyaBondar Nov 22, 2024
198b9cd
add TODO
IlyaBondar Nov 22, 2024
2a46670
fix/2566-create-new: added share users cleanup before tests
irinakartun Nov 22, 2024
50ff2bb
Merge remote-tracking branch 'origin/fix/2566-create-new' into fix/25…
irinakartun Nov 22, 2024
1395d5d
Merge branch 'development' into fix/2566-create-new
irinakartun Nov 22, 2024
a67bc18
Merge branch 'development' into fix/2566-create-new
irinakartun Nov 22, 2024
7600687
fix/2566-create-new: fixed e2e
irinakartun Nov 22, 2024
5553705
fix(chat): hide empty conversations and create new after delete selec…
IlyaBondar Nov 22, 2024
28c3abb
reset settings
IlyaBondar Nov 22, 2024
2c2b46c
add concurrency
IlyaBondar Nov 22, 2024
da8ce24
try concurrency check
IlyaBondar Nov 22, 2024
4c6bb7a
try concurrency check
IlyaBondar Nov 22, 2024
3af2d1c
try concurrency check
IlyaBondar Nov 22, 2024
83201e8
revert pr.yml
IlyaBondar Nov 22, 2024
2cc4e34
empty view
IlyaBondar Nov 22, 2024
035b3d2
fix footer position
IlyaBondar Nov 22, 2024
5abcaae
Merge branch 'development' into fix/2651-hide-empty-conversation
IlyaBondar Nov 22, 2024
dd17aae
Merge branch 'development' into fix/2651-hide-empty-conversation-base
IlyaBondar Nov 22, 2024
3396b89
Merge branch 'fix/2651-hide-empty-conversation-base' into fix/2651-hi…
IlyaBondar Nov 22, 2024
9f758d1
fix postfix for compare mode
IlyaBondar Nov 25, 2024
b1847db
Merge branch 'fix/2651-hide-empty-conversation-base' into fix/2651-hi…
IlyaBondar Nov 25, 2024
6d9e81f
fix/2651-hide-empty-conversation-base: fixed tests
irinakartun Nov 25, 2024
516376c
fix/2651-hide-empty-conversation-base: removed TODO
irinakartun Nov 25, 2024
58168aa
open settings
IlyaBondar Nov 25, 2024
71ef3d6
fix/2651-hide-empty-conversation-base: debug changes to revert
irinakartun Nov 25, 2024
39262be
Revert "fix/2651-hide-empty-conversation-base: debug changes to revert"
irinakartun Nov 25, 2024
f76b704
empty chat description
IlyaBondar Nov 25, 2024
316cf41
hide new empty conversations
IlyaBondar Nov 25, 2024
073c2ae
Merge branch 'fix/2651-hide-empty-conversation-base' into fix/2651-hi…
IlyaBondar Nov 25, 2024
9348633
filter local conversations
IlyaBondar Nov 25, 2024
7d90b35
removed reloading models and addons each time
IlyaBondar Nov 25, 2024
0135454
Merge branch 'fix/2651-hide-empty-conversation-base' into fix/2651-hi…
IlyaBondar Nov 25, 2024
135c6bd
fix/2651-hide-empty-conversation-base: fixed e2e
irinakartun Nov 26, 2024
61b43c0
fix clear all
IlyaBondar Nov 26, 2024
50470d3
fix/2651-hide-empty-conversation-base: fixed e2e
irinakartun Nov 26, 2024
2d10d8d
Merge branch 'development' into fix/2651-hide-empty-conversation-base
irinakartun Nov 26, 2024
656f2ae
Merge branch 'development' into fix/2651-hide-empty-conversation-base
IlyaBondar Nov 26, 2024
a91f031
fix/2651-hide-empty-conversation-base: fixed e2e
irinakartun Nov 26, 2024
18efc2f
Merge branch 'development' into fix/2651-hide-empty-conversation-base
irinakartun Nov 26, 2024
0456a0d
fix/2651-hide-empty-conversation-base: fixed e2e
irinakartun Nov 26, 2024
ae3071b
revert lastConversationSettings logic
IlyaBondar Nov 26, 2024
e4a79c3
Update conversations.selectors.ts
IlyaBondar Nov 26, 2024
b330b8a
Merge branch 'development' of github.com:epam/ai-dial-chat into fix/2…
irinakartun Nov 26, 2024
800bd68
fix/2651-hide-empty-conversation-base: fixed e2e
irinakartun Nov 26, 2024
3d4dae0
Merge remote-tracking branch 'origin/fix/2651-hide-empty-conversation…
irinakartun Nov 26, 2024
7655eb2
Merge branch 'fix/2651-hide-empty-conversation-base' into fix/2651-hi…
IlyaBondar Nov 26, 2024
83715cf
Merge branch 'development' into fix/2651-hide-empty-conversation
IlyaBondar Nov 26, 2024
2d2cee8
revert useless changes
IlyaBondar Nov 26, 2024
83e466a
Merge branch 'development' into fix/2651-hide-empty-conversation
IlyaBondar Nov 26, 2024
cf78c07
Merge branch 'development' into fix/2651-hide-empty-conversation
irinakartun Nov 27, 2024
59667bd
fix/2651-hide-empty-conversation: fixed e2e tests
irinakartun Nov 27, 2024
203b881
Merge branch 'development' into fix/2651-hide-empty-conversation
irinakartun Nov 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ This repository is managed as monorepo by [NX](https://nx.dev/) tools.

## Docs

* `DIAL Chat` documentation placed [here](./apps/chat/README.md).
* `DIAL Chat Theming` documentation is placed [here](./docs/THEME-CUSTOMIZATION.md).
* `DIAL Overlay` documentation is placed [here](./libs/overlay/README.md).
* `DIAL Chat Visualizer Connector` documentation is placed [here](./libs/chat-visualizer-connector/README.md).
* `DIAL Visualizer Connector` documentation is placed [here](./libs/visualizer-connector/README.md).
- `DIAL Chat` documentation placed [here](./apps/chat/README.md).
- `DIAL Chat Theming` documentation is placed [here](./docs/THEME-CUSTOMIZATION.md).
- `DIAL Overlay` documentation is placed [here](./libs/overlay/README.md).
- `DIAL Chat Visualizer Connector` documentation is placed [here](./libs/chat-visualizer-connector/README.md).
- `DIAL Visualizer Connector` documentation is placed [here](./libs/visualizer-connector/README.md).

> In [AI DIAL repository](https://github.com/epam/ai-dial/blob/main/docs/user-guide.md), you can find a user guide for the AI DIAL Chat application.
> In [AI DIAL repository](https://github.com/epam/ai-dial/blob/main/docs/user-guide.md), you can find a user guide for the AI DIAL Chat application.

## Development

Expand Down
18 changes: 18 additions & 0 deletions apps/chat-e2e/src/assertions/agentInfoAssertion.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { BaseAssertion } from '@/src/assertions/baseAssertion';
import { AgentInfo } from '@/src/ui/webElements';

export class AgentInfoAssertion extends BaseAssertion {
readonly agentInfo: AgentInfo;

constructor(agentInfo: AgentInfo) {
super();
this.agentInfo = agentInfo;
}

public async assertModelIcon(expectedIcon: string) {
await super.assertEntityIcon(
await this.agentInfo.getAgentIcon(),
expectedIcon,
);
}
}
2 changes: 1 addition & 1 deletion apps/chat-e2e/src/assertions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export * from './manageAttachmentsAssertion';
export * from './selectFolderModalAssertion';
export * from './baseAssertion';
export * from './conversationInfoTooltipAssertion';
export * from './isolatedViewAssertion';
export * from './agentInfoAssertion';
export * from './addonsDialogAssertion';
export * from './marketplaceApplicationsAssertion';
export * from './conversationToCompareAssertion';
18 changes: 0 additions & 18 deletions apps/chat-e2e/src/assertions/isolatedViewAssertion.ts

This file was deleted.

25 changes: 10 additions & 15 deletions apps/chat-e2e/src/core/dialFixtures.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import config from '../../config/chat.playwright.config';
import { DialHomePage, MarketplacePage } from '../ui/pages';
import {
AgentInfo,
AttachFilesModal,
Chat,
ChatBar,
Expand All @@ -10,14 +11,14 @@ import {
ConversationSettings,
ConversationToCompare,
EntitySelector,
MoreInfo,
PromptBar,
SelectFolderModal,
SendMessage,
} from '../ui/webElements';

import {
AccountSettingsAssertion,
AgentInfoAssertion,
ApiAssertion,
ChatAssertion,
ChatHeaderAssertion,
Expand All @@ -31,7 +32,6 @@ import {
ErrorToastAssertion,
FolderAssertion,
FooterAssertion,
IsolatedViewAssertion,
MarketplaceApplicationsAssertion,
MenuAssertion,
PlaybackAssertion,
Expand Down Expand Up @@ -169,7 +169,7 @@ const dialTest = test.extend<
temperatureSlider: TemperatureSlider;
addons: Addons;
addonsDialog: AddonsDialog;
isolatedView: MoreInfo;
agentInfo: AgentInfo;
conversationData: ConversationData;
promptData: PromptData;
conversationDropdownMenu: DropdownMenu;
Expand All @@ -179,7 +179,6 @@ const dialTest = test.extend<
promptModalDialog: PromptModalDialog;
variableModalDialog: VariableModalDialog;
chatHeader: ChatHeader;
moreInfo: MoreInfo;
chatInfoTooltip: ChatInfoTooltip;
compare: Compare;
compareConversation: ConversationToCompare;
Expand Down Expand Up @@ -267,7 +266,7 @@ const dialTest = test.extend<
selectFoldersAssertion: FolderAssertion<Folders>;
selectFolderModalAssertion: SelectFolderModalAssertion;
conversationInfoTooltipAssertion: ConversationInfoTooltipAssertion;
isolatedViewAssertion: IsolatedViewAssertion;
agentInfoAssertion: AgentInfoAssertion;
addonsDialogAssertion: AddonsDialogAssertion;
marketplaceApplicationsAssertion: MarketplaceApplicationsAssertion;
conversationToCompareAssertion: ConversationToCompareAssertion;
Expand Down Expand Up @@ -474,9 +473,9 @@ const dialTest = test.extend<
const addonsDialog = addons.getAddonsDialog();
await use(addonsDialog);
},
isolatedView: async ({ chat }, use) => {
const isolatedView = chat.getIsolatedView();
await use(isolatedView);
agentInfo: async ({ chat }, use) => {
const agentInfo = chat.getAgentInfo();
await use(agentInfo);
},
modelSelector: async ({ entitySettings }, use) => {
const modelSelector = entitySettings.getModelSelector();
Expand Down Expand Up @@ -506,10 +505,6 @@ const dialTest = test.extend<
const variableModalDialog = new VariableModalDialog(page);
await use(variableModalDialog);
},
moreInfo: async ({ entitySettings }, use) => {
const moreInfo = entitySettings.getMoreInfo();
await use(moreInfo);
},
chatHeader: async ({ chat }, use) => {
const chatHeader = chat.getChatHeader();
await use(chatHeader);
Expand Down Expand Up @@ -919,9 +914,9 @@ const dialTest = test.extend<
new ConversationInfoTooltipAssertion(chatInfoTooltip);
await use(conversationInfoTooltipAssertion);
},
isolatedViewAssertion: async ({ isolatedView }, use) => {
const isolatedViewAssertion = new IsolatedViewAssertion(isolatedView);
await use(isolatedViewAssertion);
agentInfoAssertion: async ({ agentInfo }, use) => {
const agentInfoAssertion = new AgentInfoAssertion(agentInfo);
await use(agentInfoAssertion);
},
addonsDialogAssertion: async ({ addonsDialog }, use) => {
const addonsDialogAssertion = new AddonsDialogAssertion(addonsDialog);
Expand Down
12 changes: 6 additions & 6 deletions apps/chat-e2e/src/tests/isolatedView.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dialTest(
'Isolated view: available features in conversation',
async ({
dialHomePage,
isolatedView,
agentInfo,
iconApiHelper,
chat,
chatBar,
Expand All @@ -24,7 +24,7 @@ dialTest(
chatMessages,
chatInfoTooltip,
conversationInfoTooltipAssertion,
isolatedViewAssertion,
agentInfoAssertion,
localStorageManager,
setTestIds,
}) => {
Expand All @@ -43,21 +43,21 @@ dialTest(
await dialHomePage.navigateToUrl(
ExpectedConstants.isolatedUrl(expectedModel.id),
);
await isolatedView.waitForState();
const modelName = await isolatedView.getEntityName();
await agentInfo.waitForState();
const modelName = await agentInfo.getAgentName();
expect
.soft(modelName, ExpectedMessages.entityNameIsValid)
.toBe(expectedModelName);

const modelDescription = await isolatedView.getEntityDescription();
const modelDescription = await agentInfo.getAgentDescription();
//only short description is displayed for isolated models
const expectedShortDescription =
expectedModel.description?.split(/\s*\n\s*\n\s*/g)[0];
expect
.soft(modelDescription, ExpectedMessages.entityDescriptionIsValid)
.toBe(expectedShortDescription);

await isolatedViewAssertion.assertModelIcon(expectedModelIcon);
await agentInfoAssertion.assertModelIcon(expectedModelIcon);
},
);

Expand Down
11 changes: 4 additions & 7 deletions apps/chat-e2e/src/ui/pages/dialHomePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,10 @@ export class DialHomePage extends BasePage {
await promptPreviewModal.waitForState();
await promptPreviewModal.promptName.waitForState();
} else {
const conversationSettings = appContainer.getConversationSettings();
await conversationSettings
.getTalkToSelector()
.waitForState({ state: 'attached' });
await conversationSettings
.getEntitySettings()
.waitForState({ state: 'attached' });
await chat.getAgentInfo().waitForState({ state: 'attached' });
await chat.configureSettingsButton.waitForState({
state: 'attached',
});
}
}

Expand Down
7 changes: 4 additions & 3 deletions apps/chat-e2e/src/ui/selectors/chatSelectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ export const ChatSettingsSelectors = {
selectedAddons: '[data-qa="selected-addons"]',
recentAddons: '[data-qa="recent-addons"]',
seeAllSelectors: '[data-qa="see-all-addons"]',
moreInfo: '[data-qa="more-info"]',
entityInfo: '[data-qa="entity-info"]',
entityDescription: '[data-qa="entity-descr"]',
agentInfoContainer: '[data-qa="agent-info-container"]',
agentInfo: '[data-qa="agent-info"]',
agentDescription: '[data-qa="entity-descr"]',
applyChanges: '[data-qa="apply-changes"]',
playbackButton: '[data-qa="Playback"]',
replayAsIsButton: '[data-qa="Replay as is"]',
configureSettingsButton: '[data-qa="configure-settings"]',
};

export const MessageInputSelectors = {
Expand Down
39 changes: 39 additions & 0 deletions apps/chat-e2e/src/ui/webElements/agentInfo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import { ChatSettingsSelectors } from '../selectors';
import { BaseElement } from './baseElement';

import { Tags } from '@/src/ui/domData';
import { Locator, Page } from '@playwright/test';

export class AgentInfo extends BaseElement {
constructor(page: Page, parentLocator: Locator) {
super(page, ChatSettingsSelectors.agentInfoContainer, parentLocator);
}
public agentInfo = this.getChildElementBySelector(
ChatSettingsSelectors.agentInfo,
);

public agentDescription = this.getChildElementBySelector(
ChatSettingsSelectors.agentDescription,
);
public agentIcon = this.getChildElementBySelector(Tags.img);

async getAgentIcon() {
await this.agentIcon.waitForState();
return this.getElementIcon(this.rootLocator);
}

public async getAgentDescription() {
if (await this.agentDescription.isVisible()) {
return this.agentDescription.getElementInnerContent();
}
return undefined;
}

public async getAgentName() {
return this.agentInfo
.getElementLocator()
.locator(Tags.span)
.last()
.textContent();
}
}
15 changes: 9 additions & 6 deletions apps/chat-e2e/src/ui/webElements/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { SendMessage } from './sendMessage';

import { API, ExpectedConstants, ScrollState, Side } from '@/src/testData';
import { keys } from '@/src/ui/keyboard';
import { AgentInfo } from '@/src/ui/webElements/agentInfo';
import { ChatHeader } from '@/src/ui/webElements/chatHeader';
import { Compare } from '@/src/ui/webElements/compare';
import { Footer } from '@/src/ui/webElements/footer';
import { MoreInfo } from '@/src/ui/webElements/moreInfo';
import { PlaybackControl } from '@/src/ui/webElements/playbackControl';
import { PublicationReviewControl } from '@/src/ui/webElements/publicationReviewControl';
import { Locator, Page } from '@playwright/test';
Expand All @@ -31,7 +31,7 @@ export class Chat extends BaseElement {
private chatMessages!: ChatMessages;
private compare!: Compare;
private playbackControl!: PlaybackControl;
private isolatedView!: MoreInfo;
private agentInfo!: AgentInfo;
private footer!: Footer;
private publicationReviewControl!: PublicationReviewControl;
public replay = this.getChildElementBySelector(ReplaySelectors.startReplay);
Expand All @@ -51,6 +51,9 @@ export class Chat extends BaseElement {
public addModelButton = this.getChildElementBySelector(
ChatSelectors.addModelToWorkspace,
);
public configureSettingsButton = this.getChildElementBySelector(
ChatSettingsSelectors.configureSettingsButton,
);

getChatHeader(): ChatHeader {
if (!this.chatHeader) {
Expand Down Expand Up @@ -87,11 +90,11 @@ export class Chat extends BaseElement {
return this.playbackControl;
}

getIsolatedView(): MoreInfo {
if (!this.isolatedView) {
this.isolatedView = new MoreInfo(this.page, this.rootLocator);
getAgentInfo(): AgentInfo {
if (!this.agentInfo) {
this.agentInfo = new AgentInfo(this.page, this.rootLocator);
}
return this.isolatedView;
return this.agentInfo;
}

getFooter(): Footer {
Expand Down
9 changes: 0 additions & 9 deletions apps/chat-e2e/src/ui/webElements/entitySettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { BaseElement } from './baseElement';
import { Addons } from '@/src/ui/webElements/addons';
import { PROMPT_APPLY_DELAY } from '@/src/ui/webElements/chat';
import { ModelSelector } from '@/src/ui/webElements/modelSelector';
import { MoreInfo } from '@/src/ui/webElements/moreInfo';
import { PromptList } from '@/src/ui/webElements/promptList';
import { TemperatureSlider } from '@/src/ui/webElements/temperatureSlider';
import { Locator, Page } from '@playwright/test';
Expand All @@ -20,7 +19,6 @@ export class EntitySettings extends BaseElement {
private temperatureSlider!: TemperatureSlider;
private addons!: Addons;
private modelSelector!: ModelSelector;
private moreInfo!: MoreInfo;
private promptList!: PromptList;

getPromptList() {
Expand Down Expand Up @@ -54,13 +52,6 @@ export class EntitySettings extends BaseElement {
return this.modelSelector;
}

getMoreInfo(): MoreInfo {
if (!this.moreInfo) {
this.moreInfo = new MoreInfo(this.page, this.rootLocator);
}
return this.moreInfo;
}

public async setSystemPrompt(prompt: string) {
await this.systemPrompt.typeInInput(prompt);
// eslint-disable-next-line playwright/no-wait-for-timeout
Expand Down
2 changes: 1 addition & 1 deletion apps/chat-e2e/src/ui/webElements/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export * from './promptModalDialog';
export * from './temperatureSlider';
export * from './promptList';
export * from './variableModalDialog';
export * from './moreInfo';
export * from './agentInfo';
export * from './chatHeader';
export * from './chatInfoTooltip';
export * from './compare';
Expand Down
Loading
Loading