Skip to content

Commit

Permalink
feat: modified how images are uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
DeeStarks committed Jun 19, 2024
1 parent 75c70ea commit 7a90d4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cypress/e2e/imsharer/02_upload_image.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ describe('upload and display images', () => {

it('uploads images', () => {
images.forEach((image) => {
cy.get('input[type="file"]').selectFile(`cypress/fixtures/${image}`, { force: true })
cy.get('input[type="button"]').click()
cy.get('input[name="upload"]').selectFile(`cypress/fixtures/${image}`, { force: true })
})
})

Expand Down

0 comments on commit 7a90d4c

Please sign in to comment.