소스 검색

Update chat.cy.ts

Timothy J. Baek 1 년 전
부모
커밋
2789102d27
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="menuitem"][data-value]').first().click();
+			cy.get('div[role="menuitem"]').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="menuitem"][data-value]').first().click();
+			cy.get('div[role="menuitem"]').first().click();
 			// Type a message
 			cy.get('#chat-textarea').type('Hi, what can you do? A single sentence only please.', {
 				force: true