Skip to content

akaiserg/cypress-io-e2e-upload-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

cypress-io-e2e-upload-file

This is an example to show how to upload a pic with express. It uses the example

https://github.com/Lazercat/node-express-file-form-upload-demo

Run locally

  1. INSTALL NPM PACKAGES

Go to the folder e2e and run

npm install

Then go to the folder node-express-file-form-upload and run the same command

  1. RUN THE APP

Go to the folder node-express-file-form-upload and run

node App.js

Visit http://localhost:3000 in your web browser to check out.

  1. RUN CYPRESS Go to the folder e2e and run

npm run cypress

The trick is in the folder support, the file commands.js

About

Example how to upload an image with Cypress io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published