Move e2e task into its own file