Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dyn-6201 test followup #14572

Merged
merged 14 commits into from
Nov 6, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ public void CanCreatePackageNodeDocumentationAndLoadImages()

// Assert
Assert.IsTrue(!string.IsNullOrEmpty(browserView.VirtualFolderPath));
//TODO this is false because package image loading is now broken.
Assert.IsTrue(Directory.Exists(browserView.VirtualFolderPath));
//Check that the virtual folder will be created in the Package/doc folder so images will be loaded correctly
Assert.IsTrue(browserView.VirtualFolderPath.Contains(packageDocPath));
Expand Down Expand Up @@ -761,7 +760,7 @@ public void AddGraphInSpecificLocationToWorkspace()
docsViewModel.InsertGraph();
}
//Validates that we have 5 nodes the CurrentWorkspace (after the graph was added)
//Assert.AreEqual(ViewModel.Model.CurrentWorkspace.Nodes.Count(), 5);
Assert.AreEqual(ViewModel.Model.CurrentWorkspace.Nodes.Count(), 5);
}

[Test]
Expand Down Expand Up @@ -831,7 +830,7 @@ public void Validate_GetGraphLinkFromPackage()
Assert.IsTrue(!string.IsNullOrEmpty(graphPathValue));

//check that the path contains "packageWithDocumentation"
Assert.That(graphPathValue.Contains("PackageWithNodeDocumentation\\doc"));
Assert.That(graphPathValue.Contains(Path.Combine("PackageWithNodeDocumentation","doc",dynFileName)));
}

#region Helpers
Expand Down
Loading