Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Reorganize e2e tests

Michael Shamoon1c80fd17fdd5
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