Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/ReferenceLineMetaSelectionDialogTest.cs =================================================================== diff -u -ra8700b1afad48f78474132bf4745ba00a47df584 -r5e65d3b0d806b68c2deaaa2574dd3bcf100afe05 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/ReferenceLineMetaSelectionDialogTest.cs (.../ReferenceLineMetaSelectionDialogTest.cs) (revision a8700b1afad48f78474132bf4745ba00a47df584) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/ReferenceLineMetaSelectionDialogTest.cs (.../ReferenceLineMetaSelectionDialogTest.cs) (revision 5e65d3b0d806b68c2deaaa2574dd3bcf100afe05) @@ -29,6 +29,7 @@ using NUnit.Framework; using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Forms.Helpers; +using Ringtoets.Common.Forms.TestUtil; namespace Ringtoets.Integration.Forms.Test { @@ -78,9 +79,10 @@ Assert.IsInstanceOf(dialog); Assert.IsNull(dialog.SelectedReferenceLineMeta); Assert.AreEqual(@"Stel een traject samen", dialog.Text); - var selectAssessmentSectionLabel = (GroupBox) new ComponentTester("groupBox1", dialog).Properties; - Assert.AreEqual("Kies de norm van het dijktraject:", selectAssessmentSectionLabel.Text); + GroupBox groupBox = ControlTestHelper.GetControls(dialog, "groupBox1").Single(); + Assert.AreEqual("Kies de norm van het dijktraject:", groupBox.Text); + AssertReferenceLineMetaDataGridViewControl(dialog); } }