angular-cn/packages/platform-server/integrationtest
Vikram Subramanian 5c5c2ae405 fix(platform-server): setup NoopAnimationsModule in ServerModule by default (#15131)
This is so that server side rendering does not throw an exception when it encounters animations on the server side and does not need the user to explicitly setup NoopAnimationsModule in their app server module.

Fixes #15098, #14784.

PR Close #15131
2017-03-17 16:21:51 -05:00
..
e2e test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
src test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
.gitignore test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
README.md test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
build.sh test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
package.json fix(platform-server): setup NoopAnimationsModule in ServerModule by default (#15131) 2017-03-17 16:21:51 -05:00
run_tests.sh test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
tsconfig.json test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
webpack.client.config.js test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
webpack.server.config.js test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00

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