Skip to content

Commit

Permalink
Merge pull request #1154 from nextcloud/feat/github-docker-image
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Feb 21, 2022
2 parents 9ba02ad + c2f9b56 commit 7fe0c66
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cypress/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.7'

services:
nextcloud:
image: nextcloudci/server
image: ghcr.io/nextcloud/continuous-integration-shallow-server

ports:
- 8082:80
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/download-share-disabled.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe(`Download ${fileName} in viewer`, function() {

it('See the title on the viewer header but not the Download button', function() {
cy.get('body > .viewer .modal-title').should('contain', 'image1.jpg')
cy.get('body > .viewer .modal-header a.action-item.icon-download').should('not.exist')
cy.get('body > .viewer .modal-header a.action-item > .download-icon').should('not.exist')
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
})

Expand Down
4 changes: 2 additions & 2 deletions cypress/integration/download-share.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ describe(`Download ${fileName} from viewer in link share`, function() {

it('See the download icon and title on the viewer header', function() {
cy.get('body > .viewer .modal-title').should('contain', 'image1.jpg')
cy.get('body > .viewer .modal-header a.action-item.icon-download').should('be.visible')
cy.get('body > .viewer .modal-header a.action-item > .download-icon').should('be.visible')
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
})

it('Download the image', function() {
// download the file
cy.get('body > .viewer .modal-header a.action-item.icon-download').click()
cy.get('body > .viewer .modal-header a.action-item > .download-icon').click()
})

it('Compare downloaded file with asset by size', function() {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/download.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe(`Download ${fileName} in viewer`, function() {
// open the menu
cy.get('body > .viewer .modal-header button.action-item__menutoggle').click()
// download the file
cy.get('.action-link__icon.icon-download').click()
cy.get('.action-link .download-icon').click()
})

it('Compare downloaded file with asset by size', function() {
Expand Down

0 comments on commit 7fe0c66

Please sign in to comment.