stable

Clone or download

Read-only

Move docman cypress to document plugin

part of story #26808 have document part of Community Edition All tests have been moved to new document UI as the few ones (versionning) who perform tests on legacy UI, needs document to instantiate data Note: - I removed the empty state check, it does not have any values an can distrub the replay of test suite - I replaced test of creating an empty property by a unit test suite - There is no need to test that required property is mandatory at creation: it's tested in vuejs and in backend Change-Id: I0b677a399a2f699051f7d5b2dff57a018cd17b2f

Modified Files

Name
M plugins/docman/include/Docman_Controller.class.php +5 −28 Go to diff View file
A plugins/docman/include/Metadata/CreationMetadataValidator.php +49 −0 Go to diff View file
M plugins/docman/include/view/Docman_View_ItemDetailsSectionHistory.class.php +1 −1 Go to diff View file
M plugins/docman/templates/widget/my-docman-search.mustache +2 −2 Go to diff View file
D plugins/docman/tests/e2e/cypress/cypress.json +0 −16 Go to diff View file
D plugins/docman/tests/e2e/cypress/cypress/integration/docman.spec.ts +0 −298 Go to diff View file
D plugins/docman/tests/e2e/cypress/cypress/support/index.ts +0 −21 Go to diff View file
D plugins/docman/tests/e2e/cypress/tsconfig.json +0 −6 Go to diff View file
A plugins/docman/tests/unit/Metadata/CreationMetadataValidatorTest.php +64 −0 Go to diff View file
M plugins/document/tests/e2e/cypress/cypress/integration/document.spec.ts +318 −175 Go to diff View file
M tests/e2e/full/_fixtures/dashboard_project/project.xml +34 −1 Go to diff View file
M tests/e2e/full/cypress/integration/dashboard_site_administrator.spec.ts +2 −2 Go to diff View file
M tests/e2e/full/cypress/integration/dashboard_user.spec.ts +2 −4 Go to diff View file