saasforge / open-source-saas-boilerpate

Free SaaS boilerplate (Python/PostgreSQL/ReactJS/Webpack)
https://www.saasforge.dev
MIT License
816 stars 120 forks source link

Add E2E testing, static analysis, continuous integration, dbreset with test user, Webpack cache busting #12

Closed lowlyocean closed 4 years ago

lowlyocean commented 4 years ago

Launching the auth.spec.js integration test using npx cypress open in order to view step-by-step results: ezgif-5-e846adc3381c

lowlyocean commented 4 years ago

Great! Please provide documentation for testing and webpack. It's still not clear for me how to use webpackchunks names.

Have added commit with updates to relevant documentation. The webpackChunkName is so that there are some recognizable names rather than numeric IDs (see red underline). Similarly [chunkhash] in webpack.common.js will force browser to download latest result of npm run dev if there are changes to corresponding source code (see green underline).

image