Update chat.cy.ts

This commit is contained in:
Timothy J. Baek 2024-05-02 12:49:25 -07:00
parent 5cf621396d
commit c1f88eb0ad
1 changed files with 2 additions and 2 deletions

View File

@ -21,14 +21,14 @@ describe('Settings', () => {
// Click on the model selector // Click on the model selector
cy.get('button[aria-label="Select a model"]').click(); cy.get('button[aria-label="Select a model"]').click();
// Select the first model // 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', () => { it('user can perform text chat', () => {
// Click on the model selector // Click on the model selector
cy.get('button[aria-label="Select a model"]').click(); cy.get('button[aria-label="Select a model"]').click();
// Select the first model // 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 // Type a message
cy.get('#chat-textarea').type('Hi, what can you do? A single sentence only please.', { cy.get('#chat-textarea').type('Hi, what can you do? A single sentence only please.', {
force: true force: true