Getting old tests to pass
This commit is contained in:
parent
774aaceb00
commit
17af0bd27f
3 changed files with 9 additions and 65 deletions
|
|
@ -179,12 +179,9 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
|
||||
public static bool CompareExpectedSliceSettingValueWithActualVaue(string sliceSetting, string expectedValue)
|
||||
{
|
||||
string tempFolderPath = Path.Combine("..", "..", "..", "..", "Tests", "temp");
|
||||
string fullPath = Path.Combine(tempFolderPath, runName, "Test0", "data", "gcode");
|
||||
string fullPath = TestContext.CurrentContext.ResolveProjectPath(4, "Tests", "temp", runName, "Test0", "data", "gcode");
|
||||
|
||||
string[] gcodeFiles = Directory.GetFiles(fullPath);
|
||||
|
||||
foreach (string file in gcodeFiles)
|
||||
foreach (string file in Directory.GetFiles(fullPath))
|
||||
{
|
||||
if (file.Contains(".ini"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue