From 7e63eea6728bd6cb468d9b494277c60ae09bfa58 Mon Sep 17 00:00:00 2001 From: Arie Peterson <arie@greenhost.nl> Date: Thu, 28 Mar 2024 15:59:51 +0100 Subject: [PATCH] Fix typing of document name in test --- cypress/e2e/test-nextcloud.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/test-nextcloud.cy.js b/cypress/e2e/test-nextcloud.cy.js index cdbc5eda..265a8a61 100644 --- a/cypress/e2e/test-nextcloud.cy.js +++ b/cypress/e2e/test-nextcloud.cy.js @@ -56,7 +56,7 @@ describe('Test nextcloud', () => { // Create a new OO document with a random file name cy.visit('apps/files') cy.contains('button', 'New').click() - const file_rand = 'test-' + Math.random().toString(16).substr(2, 12) + const file_rand = '{selectAll}{del}test-' + Math.random().toString(16).substr(2, 12) + '.docx' cy.contains('button', 'New document').click() cy.get('input[placeholder="Filename"]').type(file_rand) cy.contains('span', 'Create').click() -- GitLab