mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-18 05:20:43 +01:00
Revert "ci: Fix selector for saveas button"
This reverts commit f790b57e56.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
78b21775a4
commit
72b5773c3c
2 changed files with 7 additions and 6 deletions
1
.github/workflows/cypress-e2e.yml
vendored
1
.github/workflows/cypress-e2e.yml
vendored
|
|
@ -171,6 +171,7 @@ jobs:
|
|||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||
SPLIT: 3
|
||||
SPLIT_INDEX: ${{ env.container_index }}
|
||||
CODE_RELEASE: ${{ matrix.code-image }}
|
||||
|
||||
- name: Upload test failure screenshots
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
* SPDX-FileCopyrightText: 2023 Julius Härtl <jus@bitgrid.net>
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
describe('Nextcloud integration', function() {
|
||||
let randUser
|
||||
|
||||
|
|
@ -61,19 +62,18 @@ describe('Nextcloud integration', function() {
|
|||
cy.get('#tab-version_vue .version__info__label').contains('Current version')
|
||||
})
|
||||
|
||||
// Currently it seems that Collabora is missing the save as button
|
||||
it('Save as', function() {
|
||||
const exportFilename = 'document.rtf'
|
||||
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('#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', `/${exportFilename}`)
|
||||
|
||||
cy.get('.saveas-dialog button.button-vue--vue-primary').click()
|
||||
|
||||
|
|
@ -85,7 +85,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(exportFilename)
|
||||
})
|
||||
|
||||
it('Open locally', function() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue