From 1c80fd17fdd51b56efdfc69f623d0b6f52ec6734 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 1 Jun 2022 12:37:43 -0700 Subject: [PATCH] Reorganize e2e tests --- .../cypress/integration/{ => documents}/document-detail.spec.ts | 0 .../cypress/integration/{ => documents}/documents-list.spec.ts | 2 +- src-ui/cypress/integration/{ => manage}/manage.spec.ts | 0 src-ui/cypress/integration/{ => settings}/settings.spec.ts | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename src-ui/cypress/integration/{ => documents}/document-detail.spec.ts (100%) rename src-ui/cypress/integration/{ => documents}/documents-list.spec.ts (99%) rename src-ui/cypress/integration/{ => manage}/manage.spec.ts (100%) rename src-ui/cypress/integration/{ => settings}/settings.spec.ts (100%) diff --git a/src-ui/cypress/integration/document-detail.spec.ts b/src-ui/cypress/integration/documents/document-detail.spec.ts similarity index 100% rename from src-ui/cypress/integration/document-detail.spec.ts rename to src-ui/cypress/integration/documents/document-detail.spec.ts diff --git a/src-ui/cypress/integration/documents-list.spec.ts b/src-ui/cypress/integration/documents/documents-list.spec.ts similarity index 99% rename from src-ui/cypress/integration/documents-list.spec.ts rename to src-ui/cypress/integration/documents/documents-list.spec.ts index 169bd333b..217923e2f 100644 --- a/src-ui/cypress/integration/documents-list.spec.ts +++ b/src-ui/cypress/integration/documents/documents-list.spec.ts @@ -77,7 +77,7 @@ describe('documents-list', () => { it('should show a list of documents rendered as cards with thumbnails', () => { cy.contains('3 documents') - cy.contains('lorem-ipsum') + cy.contains('lorem ipsum') cy.get('app-document-card-small:first-of-type img') .invoke('attr', 'src') .should('eq', 'http://localhost:8000/api/documents/1/thumb/') diff --git a/src-ui/cypress/integration/manage.spec.ts b/src-ui/cypress/integration/manage/manage.spec.ts similarity index 100% rename from src-ui/cypress/integration/manage.spec.ts rename to src-ui/cypress/integration/manage/manage.spec.ts diff --git a/src-ui/cypress/integration/settings.spec.ts b/src-ui/cypress/integration/settings/settings.spec.ts similarity index 100% rename from src-ui/cypress/integration/settings.spec.ts rename to src-ui/cypress/integration/settings/settings.spec.ts