public void Then_last_updated_label_should_be_updated() { using (var appRunner = new ApplicationRunner()) { var button = appRunner.GetControl <Button>("uiaUpdateButton"); button.RaiseClickEvent(); var label = appRunner.GetControl <Label>("uiaLastUpdated"); Assert.That(() => label.Text, Is.Not.EqualTo(string.Empty).After(15000, 100)); } }
public void Then_last_updated_label_should_be_updated() { using (var appRunner = new ApplicationRunner()) { var button = appRunner.GetControl<Button>("uiaUpdateButton"); button.RaiseClickEvent(); var label = appRunner.GetControl<Label>("uiaLastUpdated"); Assert.That(() => label.Text, Is.Not.EqualTo(string.Empty).After(15000, 100)); } }
public void Then_last_updated_label_should_be_empty() { using (var appRunner = new ApplicationRunner()) { var label = appRunner.GetControl<Label>("uiaLastUpdated"); Assert.AreEqual(string.Empty, label.Text); } }
public void Then_last_updated_label_should_be_empty() { using (var appRunner = new ApplicationRunner()) { var label = appRunner.GetControl <Label>("uiaLastUpdated"); Assert.AreEqual(string.Empty, label.Text); } }