summaryrefslogtreecommitdiffstats
path: root/cypress/e2e
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-03-22 13:54:29 +0100
committerLouis Chemineau <louis@chmn.me>2023-04-05 11:51:44 +0200
commitca53eef3174fb49156572c138a011475d05ce4c0 (patch)
tree7cea2ac6a57b6bae660a208aca2e735f62abffed /cypress/e2e
parent435d7447e61c3e0eb464e492514d45b219a1dba4 (diff)
downloadnextcloud-server-ca53eef3174fb49156572c138a011475d05ce4c0.tar.gz
nextcloud-server-ca53eef3174fb49156572c138a011475d05ce4c0.zip
Increase wait to ensure versions are created
In files_versions cypress tests, we wait for 1000ms between each versions uploads to make sure that the server properly create a version. Under 1s the serve does not create a version. This commit increases the wait time as it might help to ensure that the time span is enough between two uploads. Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'cypress/e2e')
-rw-r--r--cypress/e2e/files_versions/filesVersionsUtils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress/e2e/files_versions/filesVersionsUtils.ts b/cypress/e2e/files_versions/filesVersionsUtils.ts
index 1aa7ebde316..e2267538471 100644
--- a/cypress/e2e/files_versions/filesVersionsUtils.ts
+++ b/cypress/e2e/files_versions/filesVersionsUtils.ts
@@ -24,9 +24,9 @@ import path from "path"
export function uploadThreeVersions(user) {
cy.uploadContent(user, new Blob(['v1'], { type: 'text/plain' }), 'text/plain', '/test.txt')
- cy.wait(1000)
+ cy.wait(1500)
cy.uploadContent(user, new Blob(['v2'], { type: 'text/plain' }), 'text/plain', '/test.txt')
- cy.wait(1000)
+ cy.wait(1500)
cy.uploadContent(user, new Blob(['v3'], { type: 'text/plain' }), 'text/plain', '/test.txt')
cy.login(user)
}