public void DetailView_EnsureProjectValuesAreCorrect() { _grid.Search("Funny"); _grid.ClickTheFirstProject(); Assert.True(_details.GetTitle() == "Funny bunny"); Assert.True(_details.GetOwner() == "*****@*****.**"); Assert.True(_details.GetDescription() == "We want to create web aplication with many funny bunes"); Assert.True(_details.GetCreationDate() == new DateTime(2019, 2, 26).ToString("dd/MM/yyy")); Assert.True(_details.GetNewMembers()); }
[TestCase("TEST")] // Test for key sensitive in search public void SearchProject(string toSearch) { Assert.True(_grid.IsProjectDisplayed("Funny")); Assert.True(_grid.IsProjectDisplayed(toSearch)); _grid.Search(toSearch); Assert.False(_grid.IsProjectDisplayed("Funny")); Assert.True(_grid.IsProjectDisplayed(toSearch)); }