angular-docs-cn/packages/platform-server/integrationtest
Vikram Subramanian 0c07f8c099 test(platform-server): fix and re-enable integration tests 2017-06-13 15:50:23 -07:00
..
e2e
src
.gitignore
README.md
build.sh
package.json test(platform-server): fix and re-enable integration tests 2017-06-13 15:50:23 -07:00
run_tests.sh
tsconfig.json test(platform-server): fix and re-enable integration tests 2017-06-13 15:50:23 -07:00
webpack.client.config.js
webpack.server.config.js

README.md

To add a new server side rendering E2E test

  • Add a new server side rendered application to src/
  • Edit webpack.client.config.js to add new entry point for the new client bundle
  • The index.html can access the client bundle from /built/.js
  • Edit src/server.ts to add the server side application to a new URL
  • Add a protractor test in e2e/ to test with the new URL