2017-11-19 13:51:59 +03:00
|
|
|
describe('Standalone bundle test', function() {
|
|
|
|
describe('OAS3 mode', () => {
|
2017-11-20 14:55:32 +03:00
|
|
|
before(() => {
|
|
|
|
cy.visit('e2e/standalone.html');
|
|
|
|
});
|
|
|
|
|
2017-11-19 13:51:59 +03:00
|
|
|
it('Render and check no errors', function() {
|
2017-11-20 14:55:32 +03:00
|
|
|
cy.get('.api-info').should('exist');
|
2017-11-19 13:51:59 +03:00
|
|
|
});
|
|
|
|
|
|
|
|
it('Render and click all the menu items', function() {
|
2017-11-20 14:55:32 +03:00
|
|
|
cy.get('.menu-content li').click({ multiple: true, force: true });
|
2017-11-19 13:51:59 +03:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
describe('OAS2 compatibility mode', () => {
|
2017-11-20 14:55:32 +03:00
|
|
|
before(() => {
|
|
|
|
cy.visit('e2e/standalone.html');
|
|
|
|
});
|
|
|
|
|
2017-11-19 13:51:59 +03:00
|
|
|
it('Render and check no errors', function() {
|
2017-11-20 14:55:32 +03:00
|
|
|
cy.get('.api-info').should('exist');
|
2017-11-19 13:51:59 +03:00
|
|
|
});
|
|
|
|
|
|
|
|
it('Render and click all the menu items', function() {
|
2017-11-20 14:55:32 +03:00
|
|
|
cy.get('.menu-content li').click({ multiple: true, force: true });
|
2017-11-19 13:51:59 +03:00
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|