chainlit--chainlit
13 行
343 B
TypeScript
13 行
343 B
TypeScript
import { submitMessage } from '../../support/testUtils';
|
|
|
|
describe('Ask User', () => {
|
|
it('should send a new message containing the user input', () => {
|
|
cy.get('.step').should('have.length', 1);
|
|
submitMessage('Jeeves');
|
|
|
|
cy.get('.step').should('have.length', 3);
|
|
|
|
cy.get('.step').eq(2).should('contain', 'Jeeves');
|
|
});
|
|
});
|