public void SelectPack1_CorrectDescriptionRepresentation() { var pack = _packService.GetPackById(1); SelectFirstPack(); var description = MainWindow.Get <Label>(SearchCriteria.ByAutomationId("PackDescriptionLabel")).Text; Assert.AreEqual(pack.Description, description); }
public void GetPackInfoTest() { var pack = _packService.GetPackById(Id); Assert.IsNotNull(pack); Assert.IsNotEmpty(pack.Name); Assert.IsNotEmpty(pack.Description); Assert.IsNotNull(pack.Phrases); }