From 7883fad3338aef7025c92af223c8735630fbcafa Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Mon, 29 Jul 2019 13:12:30 +0300 Subject: [PATCH] chore: simplify demo spec --- demo/openapi.yaml | 16 ++-------------- e2e/integration/menu.e2e.ts | 2 +- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/demo/openapi.yaml b/demo/openapi.yaml index 16440bd22c..3a40a48c76 100644 --- a/demo/openapi.yaml +++ b/demo/openapi.yaml @@ -58,21 +58,9 @@ externalDocs: url: 'https://github.com/Rebilly/generator-openapi-repo' tags: - name: pet - description: | - Everything about your Pets - - ## The Pet Object - - - + description: Everything about your Pets - name: store - description: | - Access to Petstore orders - - ## The Order Object - - - + description: Access to Petstore orders - name: user description: Operations about user - name: pet_model diff --git a/e2e/integration/menu.e2e.ts b/e2e/integration/menu.e2e.ts index b0a7b9806c..511baca7d4 100644 --- a/e2e/integration/menu.e2e.ts +++ b/e2e/integration/menu.e2e.ts @@ -6,7 +6,7 @@ describe('Menu', () => { it('should have valid items count', () => { cy.get('.menu-content') .find('li') - .should('have.length', 6 + (2 + 8 + 1 + 4 + 1 + 1 + 2) + (1 + 8)); + .should('have.length', 6 + (2 + 8 + 1 + 4 + 2) + (1 + 8)); }); it('should sync active menu items while scroll', () => {