cypress: NC: visit the files URL directly.
Change-Id: I9d4666235308354f74105edfa0f5b1831ab0bf14 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
This commit is contained in:
parent
b5ca282a1a
commit
5db82b9622
1 changed files with 1 additions and 8 deletions
|
@ -71,7 +71,7 @@ function loadTestDocNextcloud(fileName, subFolder, subsequentLoad) {
|
|||
});
|
||||
|
||||
// Open local nextcloud installation
|
||||
cy.visit('http://localhost/nextcloud');
|
||||
cy.visit('http://localhost/nextcloud/index.php/apps/files');
|
||||
|
||||
if (subsequentLoad !== true) {
|
||||
// Log in with cypress test user / password
|
||||
|
@ -86,13 +86,6 @@ function loadTestDocNextcloud(fileName, subFolder, subsequentLoad) {
|
|||
cy.get('input#submit-form')
|
||||
.click();
|
||||
|
||||
// Select files on the starting screen
|
||||
cy.get('#appmenu [data-id="files"]', {timeout : Cypress.config('defaultCommandTimeout') * 2.0})
|
||||
.should('be.visible');
|
||||
|
||||
cy.get('#appmenu [data-id="files"]')
|
||||
.click();
|
||||
|
||||
cy.get('.button.new')
|
||||
.should('be.visible');
|
||||
|
||||
|
|
Loading…
Reference in a new issue