01 - Preheat the oven to 400°F. Lightly grease a 9×13-inch baking dish and set aside.
02 - Bring a large pot of generously salted water to a rolling boil. Add the pasta and cook according to package directions until al dente. Drain well and set aside.
03 - While the pasta cooks, heat olive oil in a large skillet over medium-high heat. Add the diced chicken, season generously with salt and pepper, and sauté until golden brown and cooked through, approximately 6 to 7 minutes. Remove from heat and set aside.
04 - In a large mixing bowl, toss together the drained pasta, seared chicken, basil pesto, heavy cream, milk, and half of the shredded mozzarella. Fold in the cherry tomatoes and baby spinach if using. Transfer the mixture evenly into the prepared baking dish.
05 - Scatter the remaining mozzarella and the grated Parmesan evenly over the top of the casserole.
06 - Bake on the center rack for 20 minutes, or until the cheese is melted, bubbly, and lightly golden in spots.
07 - Remove from the oven and let stand for 5 minutes to allow the sauce to set. Garnish with fresh basil leaves if desired and serve warm.