Skip to content

Commit

Permalink
Disable download from albums
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Feb 21, 2023
1 parent 858c42e commit d33bf56
Show file tree
Hide file tree
Showing 19 changed files with 46 additions and 44 deletions.
34 changes: 17 additions & 17 deletions cypress/e2e/albums.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,23 +92,23 @@ describe('Manage albums', () => {
cy.get('[aria-label="The file is in the favorites"]').should('not.exist')
})

it('Download a file from an album', () => {
selectMedia([0])
downloadSelection()
unselectMedia([0])
})

it('Download multiple files from an album', () => {
selectMedia([1, 2])
downloadSelection()
unselectMedia([1, 2])
})

it('Download all files from an album', () => {
selectMedia([1, 2])
downloadSelection()
unselectMedia([1, 2])
})
// it('Download a file from an album', () => {
// selectMedia([0])
// downloadSelection()
// unselectMedia([0])
// })

// it('Download multiple files from an album', () => {
// selectMedia([1, 2])
// downloadSelection()
// unselectMedia([1, 2])
// })

// it('Download all files from an album', () => {
// selectMedia([1, 2])
// downloadSelection()
// unselectMedia([1, 2])
// })

it('Edit an album\'s name', () => {
cy.get('[aria-label="Open actions menu"]').click()
Expand Down
4 changes: 2 additions & 2 deletions js/photos-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-main.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/photos-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-public.js.map

Large diffs are not rendered by default.

This file was deleted.

Loading

0 comments on commit d33bf56

Please sign in to comment.