Why is my potato dauphinoise watery?

POTATO AND MUSHROOM GRATIN

Indulge in the ultimate comfort food: a creamy, cheesy potato and mushroom gratin. This hearty dish is perfect for a ...