Commit graph

59 commits

Author SHA1 Message Date
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
John Lewin
30e1d20e66 Revise TuningAdjustmentControlsBoundToStreamValues test 2017-06-02 21:48:49 -07:00
John Lewin
b70908d770 Revise TuningAdjustmentsDefaultToOneAndPersists test
- Make 'Print' button visible on PrintFinished state
2017-06-02 21:42:19 -07:00
John Lewin
39fb56453e Revise PrinterRequestsResumeWorkingAsExpected test
- Test still failing due to pause dialogs not appearing
- Make WaitForPrintFinished helper/extension method
2017-06-02 21:20:56 -07:00
John Lewin
f770384137 Revise PulseRequiresLevelingAndLevelingWorks
- Test still fails likely due to recent bug in 1.7
2017-06-02 21:07:54 -07:00
John Lewin
543ddced7c Use single statement test syntax 2017-06-02 20:29:03 -07:00
John Lewin
b0957cdd13 Return emulator from helper function, remove casts to Emulator
- Use variable name that reflects type
2017-06-02 19:57:15 -07:00
John Lewin
ccd83ba673 Extract default file plating helper to extension method 2017-06-02 19:50:08 -07:00
John Lewin
563b371395 Make SwitchToAdvancedSliceSettings helper an extension method
- Rename for clarity - numerous Settings contexts in application
2017-06-02 19:49:33 -07:00
John Lewin
fa800c4a3b Get first ActivePrintItem test passing again
- CompletingPrintTurnsoffHeat now passing
- Create new 'Add to Plate' action for library selections
- Create zip files after print->slice->ActivePrintItem success
- Copy generated gcode into zip
- Copy SliceSettings into zip
  - Make DocumentPath on PrinterSettings public
- Copy printer plate to zip file
- Add ClearPlate helper function to ApplicationController
- Invoke ClearPlate on startup to initialize ActivePrintItem
- Make SliceSettings user mode resets SliceSettings not AdvControls
- Make Library Overflow menu and items automatable
2017-06-02 17:06:27 -07:00
John Lewin
9f6821305c Fix ClickingShowTerminalButtonOpensTerminal test
- Remove test navigation to SettingsAndControls
2017-05-21 22:11:27 -07:00
Lars Brubaker
a1e1c48d90 All new 1.7.1 changes 2017-05-19 14:39:57 -07:00
John Lewin
ab8cb11d92 Tuning adjustments default to 1.0 on application restart 2017-03-09 12:46:06 -08:00
Lars Brubaker
5218a82783 Fixed regression where we turned off sd card printing temps.
Wrote regression test for cancel print code
Made the emulator able to simulate sd card files
2017-03-07 17:52:44 -08:00
John Lewin
6bdcc19dd2 Fix path to ScrollableWidget, remove dead code 2017-02-24 08:52:08 -08:00
John Lewin
71bb68eb01 Modify tuning adjustment test to validate and expect new behavior
- Renamed to TuningAdjustmentsDefaultToOneAndPersist
- Move control and model validation to reusable function
2017-02-02 13:38:49 -08:00
John Lewin
3aa13d82c4 Persist tuning adjustments into printer settings 2017-02-02 10:56:14 -08:00
John Lewin
5f395c1aa0 Use new .Delay function 2017-02-01 13:07:29 -08:00
John Lewin
d34c42487f Add test for MatterHackers/MCCentral#1139 2017-02-01 11:10:18 -08:00
Lars Brubaker
19d22ce91d Refactor wait to delay 2017-02-01 10:12:31 -08:00
Lars Brubaker
da7bc876a0 Fixed a fix needed test
Fixed macro progress display
2017-01-19 12:35:33 -08:00
Lars Brubaker
de916a835b Making test better 2017-01-12 17:56:55 -08:00