Fix #1047: mark platform as generated and add e2e tests
4 files changed