public void BasicExample_MediatorSendMessage_Receive(IWindowFixture i) { var newWindow = i.Click("SecondWindowButton").NewWindow("SecondWindow"); var testString = "Some Test Value"; newWindow.Fill("LeftTextBox").With(testString); newWindow.Click("SecondButton"); i.Get.Text.From("ClickTextBlock").Should().Be(testString); }
public void BasicExample_ClickButton_CheckText(IWindowFixture i) { i.Click("ClickButton"); i.Get.Text.From("ClickTextBlock").Should().Be(MainWindowViewModel.ClickString); }