public void StorageConfigurationToggleMoreDetails() { var detailsToggle = storageLocationDialog.GetDetailsToggle(); var cashingPolicy = storageLocationDialog.GetCashingPolicyDropdown(); var bytesPerSector = storageLocationDialog.GetBytesPerSectorDropdown(); var avrgBytesPerSector = storageLocationDialog.GetAvrgBytesPerSector(); Assert.AreEqual("More Details", detailsToggle.Text); storageLocationDialog.ToggleDetails(); Assert.AreEqual("Hide Details", detailsToggle.Text); Assert.IsTrue(cashingPolicy.Displayed); Assert.IsTrue(bytesPerSector.Displayed); Assert.IsTrue(avrgBytesPerSector.Displayed); storageLocationDialog.ToggleDetails(); Assert.IsFalse(cashingPolicy.Displayed); Assert.IsFalse(bytesPerSector.Displayed); Assert.IsFalse(avrgBytesPerSector.Displayed); }