mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-27 02:53:43 +03:00
31 lines
1.0 KiB
JavaScript
31 lines
1.0 KiB
JavaScript
describe('Standalone bundle test', function () {
|
|
describe('OAS3 mode', function () {
|
|
it('Render and check no errors', function () {
|
|
cy
|
|
.visit('e2e/standalone.html')
|
|
.get('.api-info')
|
|
.should('exist');
|
|
});
|
|
it('Render and click all the menu items', function () {
|
|
cy
|
|
.visit('e2e/standalone.html')
|
|
.get('.menu-content li')
|
|
.click({ multiple: true });
|
|
});
|
|
});
|
|
describe('OAS2 compatibility mode', function () {
|
|
it('Render and check no errors', function () {
|
|
cy
|
|
.visit('e2e/standalone.html')
|
|
.get('.api-info')
|
|
.should('exist');
|
|
});
|
|
it('Render and click all the menu items', function () {
|
|
cy
|
|
.visit('e2e/standalone.html')
|
|
.get('.menu-content li')
|
|
.click({ multiple: true });
|
|
});
|
|
});
|
|
});
|
|
//# sourceMappingURL=standalone.e2e.js.map
|