mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
Update chat.cy.ts
This commit is contained in:
parent
5cf621396d
commit
c1f88eb0ad
@ -21,14 +21,14 @@ describe('Settings', () => {
|
||||
// Click on the model selector
|
||||
cy.get('button[aria-label="Select a model"]').click();
|
||||
// Select the first model
|
||||
cy.get('div[role="option"][data-value]').first().click();
|
||||
cy.get('div[role="menuitem"][data-value]').first().click();
|
||||
});
|
||||
|
||||
it('user can perform text chat', () => {
|
||||
// Click on the model selector
|
||||
cy.get('button[aria-label="Select a model"]').click();
|
||||
// Select the first model
|
||||
cy.get('div[role="option"][data-value]').first().click();
|
||||
cy.get('div[role="menuitem"][data-value]').first().click();
|
||||
// Type a message
|
||||
cy.get('#chat-textarea').type('Hi, what can you do? A single sentence only please.', {
|
||||
force: true
|
||||
|
Loading…
Reference in New Issue
Block a user