ufocoder / redux-universal-boilerplate

Boilerplate for react universal (isomorphic) application based on flux architecture (redux implementation)
MIT License
72 stars 19 forks source link

Add basic acceptance (e2e) test using Puppeteer #33

Closed anishkny closed 7 years ago

anishkny commented 7 years ago

I added Puppeteer to devDependencies and added a simple test to load the page in headless Chrome and verify a few key elements are present in the DOM. I bumped the Travis Node version to 8 since Puppeteer requires Node 7+.

Build is passing on Travis: https://travis-ci.org/anishkny/redux-universal-boilerplate/builds/284243617

ufocoder commented 7 years ago

@anishkny Add please tests for login and logout. It will be enough for acceptance tests

ufocoder commented 7 years ago

@anishkny Exclude package-lock.json file from PR also please

ufocoder commented 7 years ago

@anishkny Thanks for PR. If you want you can try to replace PhantomJS to Puppeteer within hacktoberfest by next issue :)