-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "ci: Fix selector for saveas button"
This reverts commit f790b57. Signed-off-by: Julius Härtl <[email protected]>
- Loading branch information
1 parent
3a67f4e
commit 711d332
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
* SPDX-FileCopyrightText: 2023 Julius Härtl <[email protected]> | ||
* SPDX-License-Identifier: AGPL-3.0-or-later | ||
*/ | ||
|
||
const isNightly = Cypress.env('CODE_RELEASE') === 'nightly' | ||
|
||
describe('Nextcloud integration', function() { | ||
let randUser | ||
|
||
|
@@ -65,15 +68,14 @@ describe('Nextcloud integration', function() { | |
it('Save as', function() { | ||
cy.get('@loleafletframe').within(() => { | ||
cy.get('#File-tab-label').click() | ||
cy.get('#file-saveas').click() | ||
// FIXME: Seems currently broken, so let's skip this step | ||
// cy.get('#saveas-entries #saveas-entry-1').click() | ||
cy.get(isNightly ? '#file-saveas' : '#saveas').click() | ||
cy.get('#saveas-entries #saveas-entry-1').click() | ||
}) | ||
|
||
cy.get('.saveas-dialog').should('be.visible') | ||
cy.get('.saveas-dialog input[type=text]') | ||
.should('be.visible') | ||
.should('have.value', '/document.odt') | ||
.should('have.value', '/document.rtf') | ||
|
||
cy.get('.saveas-dialog button.button-vue--vue-primary').click() | ||
|
||
|
@@ -85,7 +87,7 @@ describe('Nextcloud integration', function() { | |
// FIXME: We should not need to reload | ||
cy.get('.breadcrumb__crumbs a').eq(0).click({ force: true }) | ||
|
||
cy.openFile('document.odt') | ||
cy.openFile('document.rtf') | ||
}) | ||
|
||
it('Open locally', function() { | ||
|