redoc/e2e/integration/schema.e2e.ts
2018-09-27 11:31:08 +03:00

13 lines
304 B
TypeScript

describe('Schema View', () => {
beforeEach(() => {
cy.visit('e2e/standalone.html');
});
it('Pet schema view should match screenshot', () => {
cy.get('[data-section-id="operation/addPet"] table')
.last()
.scrollIntoView()
.matchImageSnapshot('pet-schema-view');
});
});