Commit graph

363 commits

Author SHA1 Message Date
John Lewin
e83c5e7388 Add LayerGCodeHasExpectedValue test
- Immutable PrinterSettings.BaseLayer
- Add PrinterSettings.AutoSave flag to support disabling autosave
  - Save to default path fails under test
- Add PrinterSettings.Save(path) to support manual save
- Migrate 'active_quality_key' to SettingsKey class
2016-12-20 10:45:32 -08:00
John Lewin
27f6db7823 Add PLA density to Lepton 2, remove stringent OemProfile tests 2016-12-19 17:21:11 -08:00
Lars Brubaker
56bd301624 Wrote a test to validate that we remove the last queue item correctly
This is to test a regression that was fixed today.
2016-12-15 17:54:42 -08:00
John Lewin
caa2d6ae4f Support configuration based TimeToMoveMouse 2016-12-13 10:26:49 -08:00
John Lewin
b49b4b8c7e Reduce hard-coded test wait times, use initial dialog to add printers 2016-12-12 17:33:02 -08:00
John Lewin
d72503a9c4 Rename Com port to Serial port 2016-12-12 14:18:17 -08:00
Lars Brubaker
3b526cdc98 Fixed merge error in test
Make sure we don't ref a null mesh on rebuild bed
2016-12-07 17:04:35 -08:00
Lars Brubaker
f4633a582f Fixed test
Refactored to NumberOfHotEnds
2016-12-07 16:26:35 -08:00
Lars Brubaker
dbd2c20398 Merge branch '1.6'
# Conflicts:
#	SlicerConfiguration/Settings/ProfileManager.cs
#	Tests/MatterControl.AutomationTests/PrintQueueTests.cs
#	Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs
2016-12-07 16:14:56 -08:00
Lars Brubaker
ea8f3a70a0 enable hardware as long as we are on internal machines. 2016-12-07 15:24:48 -08:00
John Lewin
12bfe38519 Validate PrinterConnectionAndCommunication active item matches 2016-12-07 14:34:23 -08:00
John Lewin
153686968f Add PrintLibraryItem test, suppress Process.Kill exceptions 2016-12-07 13:21:53 -08:00
John Lewin
0d13eaef34 Adjust window width to ensure popout window -> Edit is targeted 2016-12-07 11:57:33 -08:00
Lars Brubaker
e89a1adad4 Fixed HasHeatedBedCheckedHidesBedTemperatureOptions 2016-12-07 11:10:35 -08:00
John Lewin
37a9941c70 Add 10 second timeout to WaitForReloadAll helper function 2016-12-06 18:52:25 -08:00
Lars Brubaker
054ba1c663 make sure we can go back to default (and test)
change default to none
2016-12-06 18:12:57 -08:00
Lars Brubaker
1e192d3cd0 Made a test to prove overrides persist on top of user overrides. 2016-12-06 17:54:27 -08:00
John Lewin
f19ffd5efe Use correct Assert method 2016-12-05 16:10:54 -08:00
John Lewin
716972896f Assert UserLayer is empty in production .printer files 2016-12-05 15:57:35 -08:00
John Lewin
57cfe64a5c Fix StaticData/Profiles path 2016-12-05 15:37:07 -08:00
John Lewin
755c7ac2aa Rewrite PrinterConfigTests to use .printer/PrinterSettings files
- Migrate first_layer_speed to SettingsKey
- Use specialized Asserts to assist in troubleshooting
- Improve failure text to assist in troubleshooting
- Process all layers in .printer files
2016-12-05 15:18:43 -08:00
Lars Brubaker
c6d50d9907 Make sure the queue is passing all unit tests
If single item selected add to array
Make sure we update selection visibility when going in and out of editor
Fixed some tests
2016-12-05 11:55:08 -08:00
larsbrubaker
541e4ef7b1 Fixed the test that had not been updated 2016-12-04 12:26:04 -08:00
Lars Brubaker
98594899df Merge branch 'master' into master 2016-12-03 12:09:50 -08:00
Lars Brubaker
2e93d43ccd Fixing up automation tests 2016-12-02 18:06:29 -08:00
Lars Brubaker
21b45ec761 Made it so that we can run tests in software mode. 2016-12-02 16:49:18 -08:00
Greg
9763016567 Removed failing experimental "stress" test 2016-12-02 16:34:44 -08:00
Lars Brubaker
23061f51cb Make AddAndSelectPrinter more stable 2016-12-02 15:44:12 -08:00
Greg
f0980c5031 Moved test from MatterControlAutomationTests to CloudServicesTests so that it works 2016-12-02 12:41:13 -08:00
Greg
8003114063 Fix ExportItemsFromDownloads.ExportAsGcode
MatterHackers/MCCentral#878
2016-12-02 11:38:13 -08:00
Lars Brubaker
2d0aa84c7d Reverted new command line code
Set test to use orthographic thumbnails
2016-12-02 10:52:33 -08:00
Lars Brubaker
7662e45586 Make it possible to pass command line arguments in test.
Made a new argument to do thumbnails as orthographic
Significantly speeds up tests
2016-12-01 18:03:40 -08:00
John Lewin
4c7cb5deba Fix issue with MatterControlRuns test when no printers exist 2016-12-01 15:44:13 -08:00
John Lewin
d4196b7b64 Fix failing QueueThumbnailWidgetOpensPartPreview test 2016-12-01 15:02:49 -08:00
John Lewin
0cabc4af74 Modify ClickByName automation helper to throw if not found 2016-12-01 13:25:17 -08:00
Lars Brubaker
7c2be58c6a Fixed extruder unit test 2016-11-30 13:44:56 -08:00
John Lewin
d4ce45b449 Revise failing tests
- Wait for ReloadAll after calling AddAndSelectPrinter
- Revise ClickQueueRowItemViewAndRemove test
  - Use specialized asserts
  - Assert expected start/end counts
  - Add descriptive failure messages
- Eliminate excess wait times in RemoveAllMenuItemClickedRemovesAll due
  to WaitForName calls. Perform one wait, then assert expected
2016-11-15 15:15:02 -08:00
John Lewin
e7f36fcb59 Remove nunit from production code 2016-11-14 11:46:32 -08:00
Lars Brubaker
ff0c2738d8 Made importing a quality setting set the name correctly. 2016-11-07 12:41:05 -08:00
John Lewin
47c2d418b0 Revise failing RemoveAllMenuItemClickedRemovesAll test
- Use AreEqual for troubleshooting
2016-11-05 12:00:18 -07:00
John Lewin
8997aa3d21 Revise failing RenameButtonRenamesLocalLibraryFolder test 2016-11-05 11:48:08 -07:00
John Lewin
e923d8c211 Remove fixed wait time, wait for ReloadAll, fix typos 2016-11-05 11:30:52 -07:00
John Lewin
38b07d1799 Remove fixed wait values, wait for known conditions
- Add WaitForReload function
- Remove invalid WaitFor("Connection Wizard...") -2 seconds per call
- Remove fixed 2 second wait, waitfor known condition
2016-11-05 10:57:02 -07:00
John Lewin
6dc9d6ae2c Revise failing RaftEnabledPassedToSliceEngine test
- Add Wait calls after clicks
- After slicing, wait for expected result, up to 10 seconds
- Use utility functions for parsing .ini files
- Refactor AddAdSelectPrinter - remove unused variables, add Waits
2016-11-04 10:23:29 -07:00
John Lewin
0dfc3b2067 Revise failing test - DoneButtonTurnsOffEditMode 2016-11-04 07:17:59 -07:00
John Lewin
e6162a209e Revise failing test - RemoveButtonRemovesSingleItem
- Latest Agg
2016-11-03 17:01:27 -07:00
John Lewin
b0401478af Restore disabled automation tests 2016-11-03 09:53:22 -07:00
John Lewin
4a48e2d2b3 Disable broken automation test, fix typo 2016-11-03 09:13:18 -07:00
John Lewin
362b269dff Use single string for control names 2016-11-03 08:46:08 -07:00
John Lewin
f25252e03c Use new Agg dialogs in test projects 2016-11-03 08:36:19 -07:00