stable

Clone or download

Read-only

Cypress clean core tests

part of request #29992 Bump cypress to 12.1.0 Core test section have been cleared: - only projects with specific services/users are kept - frs can now create package via rest when package is only needed for test setup - tests have been grouped related to their depending project - core permissions tests were all depending on `permission_project` - dashboard tests are now executed in a single file All theses changes help execution time, when running the full test suite (on only full folder), I pass from an average of 5m9s to 4m39s Change-Id: I25f3ed26621fdb554355393053a3ebd5053d4278

Modified Files

Name
M lib/test-utils/cypress-utilities-support/src/api-helper.ts +1 −1 Go to diff View file
M lib/test-utils/cypress-utilities-support/src/commands-type-definitions.d.ts +9 −2 Go to diff View file
M lib/test-utils/cypress-utilities-support/src/commands.ts +4 −2 Go to diff View file
D tests/e2e/full/_fixtures/dashboard_project/project.xml +0 −89 Go to diff View file
D tests/e2e/full/_fixtures/dashboard_project/users.xml +0 −35 Go to diff View file
D tests/e2e/full/_fixtures/dashboard_user/project.xml +0 −87 Go to diff View file
D tests/e2e/full/_fixtures/dashboard_user/users.xml +0 −42 Go to diff View file
D tests/e2e/full/_fixtures/frs_hidden_project/project.xml +0 −23 Go to diff View file
D tests/e2e/full/_fixtures/frs_hidden_project/users.xml +0 −17 Go to diff View file
D tests/e2e/full/_fixtures/frs_project/project.xml +0 −23 Go to diff View file
D tests/e2e/full/_fixtures/frs_project/users.xml +0 −17 Go to diff View file
M tests/e2e/full/_fixtures/permission_project/users.xml +14 −7 Go to diff View file
A tests/e2e/full/cypress/e2e/core-permissions.cy.ts +92 −0 Go to diff View file
R tests/e2e/full/cypress/e2e/dashboard_user.cy.ts Go to diff View file
D tests/e2e/full/cypress/e2e/dashboard_project.cy.ts +0 −41 Go to diff View file
D tests/e2e/full/cypress/e2e/dashboard_site_administrator.cy.ts +0 −47 Go to diff View file
D tests/e2e/full/cypress/e2e/forum.cy.ts +0 −55 Go to diff View file
M tests/e2e/full/cypress/e2e/frs.cy.ts +25 −34 Go to diff View file
D tests/e2e/full/cypress/e2e/list.cy.ts +0 −57 Go to diff View file
D tests/e2e/full/cypress/e2e/news.cy.ts +0 −56 Go to diff View file
M tests/e2e/full/cypress/e2e/user_preferences.cy.ts +7 −16 Go to diff View file
D tests/e2e/full/cypress/e2e/wiki.cy.ts +0 −56 Go to diff View file