mirror of
https://github.com/Redocly/redoc.git
synced 2025-12-03 16:03:51 +03:00
18 lines
372 B
TypeScript
18 lines
372 B
TypeScript
describe('Schemas', () => {
|
|
it('expandSchemas != true', () => {
|
|
cy.visit('e2e/standalone.html');
|
|
|
|
cy.get('.api-content')
|
|
.find('.expanded')
|
|
.should('have.length', 0);
|
|
});
|
|
|
|
it('expandSchemas == true', () => {
|
|
cy.visit('e2e/expandSchemas.html');
|
|
|
|
cy.get('.api-content')
|
|
.find('.expanded')
|
|
.should('have.length', 146);
|
|
});
|
|
});
|