Skip to content

Commit

Permalink
Revert "ci: Fix selector for saveas button"
Browse files Browse the repository at this point in the history
This reverts commit f790b57.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed Aug 21, 2024
1 parent 30e8e43 commit b9bd870
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ jobs:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
SPLIT: ${{ strategy.job-total }}
SPLIT_INDEX: ${{ strategy.job-index }}
CODE_RELEASE: ${{ matrix.code-image }}

- name: Upload test failure screenshots
uses: actions/upload-artifact@v2
Expand Down
6 changes: 3 additions & 3 deletions cypress/e2e/integration.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ describe('Nextcloud integration', function() {
cy.get('#tab-version_vue .list-item-content__name').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('#saveas').click()
Expand All @@ -87,7 +87,7 @@ describe('Nextcloud integration', function() {
cy.get('.oc-dialog').should('be.visible')
cy.get('.oc-dialog input[type=text]')
.should('be.visible')
.should('have.value', 'document.rtf')
.should('have.value', `/${exportFilename}`)

cy.get('.oc-dialog button.primary').click()

Expand All @@ -99,7 +99,7 @@ describe('Nextcloud integration', function() {
// FIXME: We should not need to reload
cy.get('.breadcrumb__crumbs a').eq(0).click()

cy.openFile('document.rtf')
cy.openFile(exportFilename)
})

it('Open locally', function() {
Expand Down

0 comments on commit b9bd870

Please sign in to comment.