Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs =================================================================== diff -u -raf6f1b30c6c6f8b9ee1b2df532979b43a1d7fcfe -r04e456a3c39bc3a6e9c4cba357964aa9c83f258c --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs (.../AssessmentSectionFromFileCommandHandlerTest.cs) (revision af6f1b30c6c6f8b9ee1b2df532979b43a1d7fcfe) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs (.../AssessmentSectionFromFileCommandHandlerTest.cs) (revision 04e456a3c39bc3a6e9c4cba357964aa9c83f258c) @@ -266,16 +266,20 @@ project.AssessmentSections.Add(TestAssessmentSection1_2(true)); var expectedAssessmentSectionName = NamingHelper.GetUniqueName(project.AssessmentSections, "1-2", a => a.Name); + bool signallingValueRadioButtonSelected = false; DialogBoxHandler = (name, wnd) => { var selectionDialog = (ReferenceLineMetaSelectionDialog) new FormTester(name).TheObject; + var signallingValueRadioButton = (RadioButton)new RadioButtonTester("SignallingValueRadioButton", selectionDialog).TheObject; + signallingValueRadioButtonSelected = signallingValueRadioButton.Checked; new ButtonTester("Ok", selectionDialog).Click(); }; // Call assessmentSectionFromFile.AddAssessmentSectionFromFile(); // Assert + Assert.IsTrue(signallingValueRadioButtonSelected); Assert.AreEqual(2, project.AssessmentSections.Count); AssessmentSection assessmentSection = project.AssessmentSections[1]; Assert.IsNotNull(assessmentSection); @@ -306,8 +310,8 @@ DialogBoxHandler = (name, wnd) => { var selectionDialog = (ReferenceLineMetaSelectionDialog) new FormTester(name).TheObject; - var combobox = (ComboBox) new ComboBoxTester("SignalingLowerLimitComboBox", selectionDialog).TheObject; - combobox.SelectedIndex = 1; + var lowLimitValueRadioButton = (RadioButton)new RadioButtonTester("LowLimitValueRadioButton", selectionDialog).TheObject; + lowLimitValueRadioButton.Checked = true; new ButtonTester("Ok", selectionDialog).Click(); };