Commit graph

130 commits

Author SHA1 Message Date
Lars Brubaker
7e8bac8716 Run the printing test twice 2018-01-08 12:04:14 -08:00
John Lewin
f38be7eec8 Always initialize gCodeFileStream0, return -1 if null
- Issue MatterHackers/MCCentral#2599
Investigate PrinterRecoveryTest failure
2018-01-07 16:11:44 -08:00
John Lewin
e811fc625e Add support for navigating to SliceSetting fields
- Issue MatterHackers/MCCentral#2598
Investigate failing automation tests
2018-01-07 14:54:26 -08:00
Lars Brubaker
181ea3f204 Removed Lock and Unlock edit controls 2018-01-02 16:45:11 -08:00
John Lewin
c5ea8bb3c0 Update automation tests to account for printer settings changes 2017-12-28 09:02:44 -08:00
John Lewin
08018ea1c3 Remove MatterControlApplication.Instance dependencies 2017-12-18 10:53:26 -08:00
John Lewin
8839ed6e6c Rename WaitVanishForName to WaitForWigetDisappear 2017-12-15 23:35:24 -08:00
John Lewin
70c1894c9a Use default WaitFor timeouts
- Issue MatterHackers/MCCentral#2427
2017-12-15 20:25:07 -08:00
John Lewin
2d4282c801 Rename Delay<Func> to WaitFor<Func> for clarity 2017-12-15 20:25:07 -08:00
John Lewin
d3e988cc7e Fix PulseRequiresLevelingAndLevelingWorks Test
- Issue MatterHackers/MCCentral#2417
2017-12-15 08:45:55 -08:00
John Lewin
a129d66abd Revise failing tests 2017-12-14 21:59:41 -08:00
John Lewin
d9284e43b0 Fix PrinterRecoveryTest test
- Issue MatterHackers/MCCentral#2415
Null reference in TumbleCubeControl from PrinterRecoveryTest
2017-12-14 17:23:30 -08:00
John Lewin
5f6c553cd8 Fix CompletingPrintTurnsoffHeat test 2017-12-14 16:34:03 -08:00
John Lewin
0afb6ae29b Fix PulseRequiresLevelingAndLevelingWorks test 2017-12-14 16:28:38 -08:00
John Lewin
372846229a Fix PrinterRequestsResumeWorkingAsExpected test 2017-12-14 16:26:59 -08:00
John Lewin
deed45ab4a Fix CancelWorksAsExpected & RaftEnabledPassedToSliceEngine tests
- Make start/stop print automatable
- Make test helpers for:
  - OpenPrintPopupMenu
  - StartPrint
  - OpenGCode3DOverflowMenu
  - SwitchToSliceSettings
  - EnsurePrintersSidebarOpen
2017-12-14 16:19:22 -08:00
John Lewin
37742385f5 Remove delayBeforeReturn ClickByName param, explicitly delay 2017-12-06 17:21:53 -08:00
John Lewin
6378b4bc4a Cancel OnClosing event if using interactive dialog 2017-11-30 15:17:22 -08:00
John Lewin
07a9dcfc28 Validate Close confirm dialog works as expected
- Issue MatterHackers/MCCentral#2352
Abort dialog has no effect - MatterControl exits
2017-11-30 15:17:22 -08:00
Lars Brubaker
c02d2ca60f Made an automation test for print recovery (made it pass)
Fixed the DoUndoTests
2017-11-01 13:57:45 -07:00
Lars Brubaker
a84701be03 Getting interaction volumes to be able to be scripted in automation runner
Better testing of offsets
Refactoring
2017-10-27 14:20:07 -07:00
John Lewin
c9e37d1db5 Fix CloseShouldNotStopSDPrint test 2017-09-23 09:19:32 -07:00
John Lewin
1b819b66eb Fix ExpectedEmulatorResponses test 2017-09-22 23:51:19 -07:00
John Lewin
83b7085aea Fix CompletingPrintTurnsoffHeat test 2017-09-22 23:38:15 -07:00
John Lewin
569ce3498c Fix test exceptions due to naming mismatches 2017-09-22 23:38:15 -07:00
John Lewin
76e7af0436 Eliminate PrinterConnection.Instance 2017-09-17 21:08:16 -07:00
John Lewin
ed66d862a4 Rename ApplicationControl static printer property to ActivePrinter 2017-09-17 14:01:58 -07:00
John Lewin
75cfa29a1c Convert double AreEqual aserts to IsTrue due to NUnit bug 2017-09-16 21:25:32 -07:00
John Lewin
04c5653a84 Fix failing test, make more robust with better gating at start and end 2017-09-16 21:25:32 -07:00
John Lewin
c2b2175168 Fix and update SliceSetting field identifiers 2017-09-14 14:47:08 -07:00
Lars Brubaker
9479c2a061 Finished the temperature widget tests and implementation
Refactoring extruder to hotend where true
2017-09-08 10:23:28 -07:00
Lars Brubaker
41378d2286 Getting more tests passing 2017-08-30 13:42:11 -07:00
Lars Brubaker
293fd3ff12 Made more tests pass
deleted unused print status row
Made printer connection only have one status message output
Made sure the ApplicationTemDataPath is right for tests
Refactoring
2017-08-30 10:38:01 -07:00
Lars Brubaker
16866e5f95 Don't try to heat bed if it doesn't exists. 2017-08-09 14:35:28 -07:00
Lars Brubaker
7c5f5a2775 Brought in the changes to set temp before leveling. 2017-08-08 17:49:26 -07:00
John Lewin
d9b28cdd86 Add 'Print' menu action, implement Print for GCode and SD card GCode
- Fix and rename CloseShouldNotStopSDPrint test
- Fix product bugs regarding selecting and printing GCode
2017-06-21 07:43:40 -07:00
John Lewin
43656d4501 Use WaitForName defaults 2017-06-14 14:02:29 -07:00
John Lewin
1109b7b4ab Remove timeout from ClickByName 2017-06-14 11:13:39 -07:00
John Lewin
1ac3274e7d Move CommunicationState enums into PrinterCommunication namespace 2017-06-13 17:33:23 -07:00
John Lewin
9aaf0f6311 Rename PrinterConnectionAndCommunication 2017-06-13 17:22:49 -07:00
John Lewin
a6630fb8f8 Switch tests to Controls tab as needed 2017-06-13 13:22:22 -07:00
John Lewin
604d131a1b Make helper method pin SliceSettings tab as needed
- Use "Slice Settings" tab name expected by tests
2017-06-12 20:35:48 -07:00
John Lewin
ca641f8b13 Ensure Dispose is called on Emulator instance 2017-06-11 09:52:30 -07:00
John Lewin
c4b2e88921 Add Emulator test category 2017-06-11 07:59:13 -07:00
John Lewin
2a9e70c28c Ensure bedplate is saved before slicing
- Remove cheat in AddSelectedItemToBedplate helper which saved bed
- Invoke PersistePlateIfNeeded before slicing
- Mark plate as dirty when adding items
- Make SaveChanges awaitable so slicing queues until save is done
- Remove unused Action in functionToCallOnSaveAs delegate
- Change saveas delegate to support new awaitable signature
2017-06-05 14:37:32 -07:00
John Lewin
f7dba678cd Use new Task.CompletedTask result for clarity 2017-06-04 08:35:29 -07:00
John Lewin
fc45a60d35 Revise PauseOnLayerDoesPauseOnPrint test
- Now intermittently passing
- Make Layer toggle button and Bedplate Save button automatable
- Save Bedplate before leaving AddDefaultFileToBedplate
- Revise casing on AddDefaultFileToBedplate
2017-06-03 19:10:12 -07:00
John Lewin
89f3d26835 Revise QualitySettingsStayAsOverrides test
- Move ApartmentState.STA attributes to class
- Remove wrapper class, make part of SliceSettingsTests
2017-06-03 18:33:48 -07:00
John Lewin
6a1c0b5769 Revise HardwareLevelingUITests 2017-06-03 08:20:09 -07:00
John Lewin
8e4a02684e Revise CancelingNormalPrintTurnsHeatAndFanOff test 2017-06-02 21:54:23 -07:00