stable
Clone or download
Read-only
part of request #24235 Add cypress tests for git and pull request How to test: No functional change. make tests-e2e should pass. Since we re-create the repository, the delete test can be replayed. Notes: - Please change the "Automated tests" field in test_case #15222 and test_case #15219 - The test waits for the Git system event to run. It runs after a randomized time between 0 and 1 minute, we choose to reload and wait 10 seconds between each try. At most we will try 10 times, so it gives us 100 seconds maximum. This slows down the test suite, but it makes the test replayable. Change-Id: Id8dd9792a783a6ea63461e3801d5553eca7abf5e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/scripts/repositories-list/src/components/App.vue | +1 | −1 | Go to diff View file |
D | plugins/git/tests/e2e/cypress/_fixtures/git_delete/export/repository-6.bundle | +- | −- | Go to diff View file |
D | plugins/git/tests/e2e/cypress/_fixtures/git_delete/project.xml | +0 | −44 | Go to diff View file |
D | plugins/git/tests/e2e/cypress/_fixtures/git_delete/users.xml | +0 | −35 | Go to diff View file |
M | plugins/git/tests/e2e/cypress/cypress/e2e/git.cy.ts | +33 | −23 | Go to diff View file |