public void KendoComboBoxOptionsTest() { var options = new Collection <string> { "Cotton", "Polyester", "Cotton/Polyester", "Rib Knit" }; var homePage = new KendoComboBoxPage(this.DriverContext); homePage.Open(); CollectionAssert.AreEqual(options, homePage.FabricOptions); }
public void KendoOpenCloseComboboxTest() { var homePage = new KendoComboBoxPage(this.DriverContext); homePage.Open(); homePage.OpenFabricComboBox(); Assert.True(homePage.IsFabricComboBoxExpanded()); homePage.CloseFabricComboBox(); Assert.False(homePage.IsFabricComboBoxExpanded()); }
public void KendoComboBoxSearchOptionsTest() { var searchString = "cotton"; var options = new Collection <string> { "Cotton", "Cotton/Polyester" }; var homePage = new KendoComboBoxPage(this.DriverContext); homePage.Open(); homePage.SearchFabricOptions(searchString); CollectionAssert.AreEqual(options, homePage.FabricOptions); }