angular/packages/platform-server/integrationtest
Vikram Subramanian cfd9ca0d6f feat(platform-server): add an API to transfer state from server (#19134)
TransferState provides a shared store that is transferred from the
server to client. To use it import BrowserTransferStateModule from the
client app module and ServerTransferStateModule from the server app
module and TransferState will be available as an Injectable object.

PR Close #19134
2017-09-21 13:56:13 -07:00
..
e2e feat(platform-server): add an API to transfer state from server (#19134) 2017-09-21 13:56:13 -07:00
src feat(platform-server): add an API to transfer state from server (#19134) 2017-09-21 13:56:13 -07:00
.gitignore 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 build: remove references to tsc-wrapped (#19298) 2017-09-21 13:55:52 -07:00
README.md test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07: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): fix and re-enable integration tests 2017-06-13 15:50:23 -07:00
webpack.client.config.js feat(platform-server): add an API to transfer state from server (#19134) 2017-09-21 13:56:13 -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

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