Last active
April 8, 2016 09:29
-
-
Save angelovstanton/11c0a1fcb1f8d8c762e0b178defc27c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestMethod] | |
public void OrderIdEqualToFilter() | |
{ | |
this.driver.Navigate().GoToUrl(@"http://demos.telerik.com/kendo-ui/grid/frozen-columns"); | |
var kendoGrid = new KendoGrid(this.driver, this.driver.FindElement(By.Id("grid"))); | |
var newItem = this.CreateNewItemInDb(); | |
kendoGrid.Filter( | |
OrderIdColumnName, | |
Enums.FilterOperator.EqualTo, | |
newItem.OrderId.ToString()); | |
this.WaitForGridToLoad(1, kendoGrid); | |
var items = kendoGrid.GetItems<GridItem>(); | |
Assert.AreEqual(1, items.Count); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment