mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-01 16:18:51 +01:00
add test id to TitleButton
This commit is contained in:
parent
55ce33aa6a
commit
ab4fc6eeb1
3 changed files with 5 additions and 5 deletions
|
|
@ -16,7 +16,7 @@ test.describe('Key suite', () => {
|
|||
await page.goto('http://localhost:3080/', { timeout: 5000 });
|
||||
const endpoint = 'chatGPTBrowser';
|
||||
|
||||
const newTopicButton = page.locator('.hide-scrollbar > .group');
|
||||
const newTopicButton = page.getByTestId('title-button');
|
||||
await newTopicButton.click();
|
||||
|
||||
const endpointItem = page.getByTestId(`endpoint-item-${endpoint}`);
|
||||
|
|
@ -53,7 +53,7 @@ test.describe('Key suite', () => {
|
|||
await page.goto('http://localhost:3080/', { timeout: 5000 });
|
||||
const endpoint = 'chatGPTBrowser';
|
||||
|
||||
const newTopicButton = page.locator('.hide-scrollbar > .group');
|
||||
const newTopicButton = page.getByTestId('title-button');
|
||||
await newTopicButton.click();
|
||||
|
||||
const endpointItem = page.getByTestId(`endpoint-item-${endpoint}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue