Skip to content

testdrivenio/cypress-mochawesome-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress + Mochawesome + S3 Upload

  1. Generate a single Mochawesome report
  2. Upload videos, screenshots, and reports to S3 after each test run

Getting Started

  1. Fork/Clone

  2. Install dependencies:

    $ npm install
  3. Set the following environment variables:

    $ export BUCKET_NAME=<YOUR_BUCKET_NAME>
    $ export AWS_ACCESS_ID=<YOUR_AWS_ACCESS_ID>
    $ export AWS_SECRET_KEY=<YOUR_AWS_SECRET_KEY>
  4. Run the tests:

    $ node scripts/test.js
  5. Skip S3 upload:

    $ node scripts/test.js local

Releases

No releases published

Packages

No packages published