Skip to content

Commit

Permalink
Merge pull request #228 from adrienjoly/patch-1
Browse files Browse the repository at this point in the history
fix(docs): Make it clear that the fixture file can be any file
  • Loading branch information
abramenal committed Sep 6, 2020
2 parents 0bf04b5 + 8207353 commit 02a8165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Now you are ready to actually test uploading. Here are some basic examples:
```javascript
/* Plain HTML input */

const yourFixturePath = 'data.json';
const yourFixturePath = 'data.json'; // the file to be uploaded, from the cypress/fixtures/ directory
cy.get('[data-cy="file-input"]').attachFile(yourFixturePath);

/* Drag-n-drop component */
Expand Down

0 comments on commit 02a8165

Please sign in to comment.