chainlit--chainlit
16 行
360 B
TypeScript
16 行
360 B
TypeScript
import { submitMessage } from '../../support/testUtils';
|
|
|
|
export function tests() {
|
|
it('should be able to nest steps', () => {
|
|
submitMessage('Hello');
|
|
|
|
cy.get('#step-tool1').should('exist').click();
|
|
|
|
cy.get('#step-tool2').should('exist').click();
|
|
|
|
cy.get('#step-tool3').should('exist');
|
|
|
|
cy.get('.step').should('have.length', 5);
|
|
});
|
|
}
|