Timothy J. Baek 1 год назад
Родитель
Сommit
c1f88eb0ad
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      cypress/e2e/chat.cy.ts

+ 2 - 2
cypress/e2e/chat.cy.ts

@@ -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