Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cypress-file-upload reference #272

Merged
merged 8 commits into from
Apr 19, 2019
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ Get around the lack of a `.hover()` command.

- Use [`.trigger()`](https://on.cypress.io/trigger) to test drag-n-drop that uses mouse events.
- Use [`.trigger()`](https://on.cypress.io/trigger) to test drag-n-drop that uses drag events.
- Use [`cypress-file-upload`](https://github.com/abramenal/cypress-file-upload) for file upload testing with drag-n-drop.

### [grep](./examples/preprocessors__grep)

Expand Down Expand Up @@ -304,6 +305,7 @@ Get around the lack of a `.hover()` command.
- Passing synthetic test file to upload via an [`.trigger('change')`](https://on.cypress.io/trigger) event
- Stub remote server using [`cy.route()`](https://on.cypress.io/route)
- Alternatively stub `axios.post` method using [`cy.stub()`](https://on.cypress.io/stub)
- Alternatively use [`cypress-file-upload`](https://github.com/abramenal/cypress-file-upload) for file upload testing.

### [Adding Chai Assertions](./examples/extending-cypress__chai-assertions)

Expand Down
2 changes: 2 additions & 0 deletions examples/file-upload-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ Key concepts
- Passing synthetic test file to upload via an [`.trigger('change')`](https://on.cypress.io/trigger) event
- Stub remote server using [`cy.route()`](https://on.cypress.io/route)
- Alternatively stub `axios.post` method using [`cy.stub()`](https://on.cypress.io/stub)

Alternatively use [`cypress-file-upload`](https://github.com/abramenal/cypress-file-upload) for file upload testing.
2 changes: 2 additions & 0 deletions examples/testing-dom__drag-drop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ See test file [cypress/integration/drag_n_drop_spec.js](cypress/integration/drag
- drag events

In both cases, the tests use [`cy.trigger`](https://on.cypress.io/trigger) command.

Alternatively use [`cypress-file-upload`](https://github.com/abramenal/cypress-file-upload) if you test file upload with drag-n-drop component