Skip to content
Snippets Groups Projects
Commit 7e63eea6 authored by Arie Peterson's avatar Arie Peterson
Browse files

Fix typing of document name in test

parent 5afd9dc3
No related branches found
No related tags found
1 merge request!573Update Helm release nextcloud to v4.6.4
Pipeline #46242 failed with stages
in 9 minutes and 20 seconds
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment